@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAppStreamAsyncClient extends AmazonAppStreamClient implements AmazonAppStreamAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
You can use Amazon AppStream 2.0 to stream desktop applications to any device running a web browser, without rewriting them.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonAppStreamAsyncClient()
Deprecated.
|
AmazonAppStreamAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AmazonAppStreamAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AmazonAppStreamAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
associateFleet, builder, copyImage, createDirectoryConfig, createFleet, createImageBuilder, createImageBuilderStreamingURL, createStack, createStreamingURL, deleteDirectoryConfig, deleteFleet, deleteImage, deleteImageBuilder, deleteStack, describeDirectoryConfigs, describeFleets, describeImageBuilders, describeImages, describeSessions, describeStacks, disassociateFleet, expireSession, getCachedResponseMetadata, listAssociatedFleets, listAssociatedStacks, listTagsForResource, startFleet, startImageBuilder, stopFleet, stopImageBuilder, tagResource, untagResource, updateDirectoryConfig, updateFleet, updateStack, waitersaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateFleet, copyImage, createDirectoryConfig, createFleet, createImageBuilder, createImageBuilderStreamingURL, createStack, createStreamingURL, deleteDirectoryConfig, deleteFleet, deleteImage, deleteImageBuilder, deleteStack, describeDirectoryConfigs, describeFleets, describeImageBuilders, describeImages, describeSessions, describeStacks, disassociateFleet, expireSession, getCachedResponseMetadata, listAssociatedFleets, listAssociatedStacks, listTagsForResource, setEndpoint, setRegion, startFleet, startImageBuilder, stopFleet, stopImageBuilder, tagResource, untagResource, updateDirectoryConfig, updateFleet, updateStack, waiters@Deprecated public AmazonAppStreamAsyncClient()
AmazonAppStreamAsyncClientBuilder.defaultClient()Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AmazonAppStreamAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections().
clientConfiguration - The client configuration options controlling how this client connects to Amazon AppStream (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain,
Executors.newFixedThreadPool(int)@Deprecated public AmazonAppStreamAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AmazonAppStreamAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonAppStreamAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections().
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain,
Executors.newFixedThreadPool(int)@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonAppStreamAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).executorService - The executor service by which all asynchronous requests will be executed.public static AmazonAppStreamAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateFleetResult> associateFleetAsync(AssociateFleetRequest request)
AmazonAppStreamAsyncAssociates the specified fleet with the specified stack.
associateFleetAsync in interface AmazonAppStreamAsyncpublic Future<AssociateFleetResult> associateFleetAsync(AssociateFleetRequest request, AsyncHandler<AssociateFleetRequest,AssociateFleetResult> asyncHandler)
AmazonAppStreamAsyncAssociates the specified fleet with the specified stack.
associateFleetAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CopyImageResult> copyImageAsync(CopyImageRequest request)
AmazonAppStreamAsyncCopies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
copyImageAsync in interface AmazonAppStreamAsyncpublic Future<CopyImageResult> copyImageAsync(CopyImageRequest request, AsyncHandler<CopyImageRequest,CopyImageResult> asyncHandler)
AmazonAppStreamAsyncCopies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
copyImageAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDirectoryConfigResult> createDirectoryConfigAsync(CreateDirectoryConfigRequest request)
AmazonAppStreamAsyncCreates a directory configuration.
createDirectoryConfigAsync in interface AmazonAppStreamAsyncpublic Future<CreateDirectoryConfigResult> createDirectoryConfigAsync(CreateDirectoryConfigRequest request, AsyncHandler<CreateDirectoryConfigRequest,CreateDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsyncCreates a directory configuration.
createDirectoryConfigAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFleetResult> createFleetAsync(CreateFleetRequest request)
AmazonAppStreamAsyncCreates a fleet.
createFleetAsync in interface AmazonAppStreamAsyncpublic Future<CreateFleetResult> createFleetAsync(CreateFleetRequest request, AsyncHandler<CreateFleetRequest,CreateFleetResult> asyncHandler)
AmazonAppStreamAsyncCreates a fleet.
createFleetAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateImageBuilderResult> createImageBuilderAsync(CreateImageBuilderRequest request)
AmazonAppStreamAsyncCreates an image builder.
The initial state of the builder is PENDING. When it is ready, the state is RUNNING.
createImageBuilderAsync in interface AmazonAppStreamAsyncpublic Future<CreateImageBuilderResult> createImageBuilderAsync(CreateImageBuilderRequest request, AsyncHandler<CreateImageBuilderRequest,CreateImageBuilderResult> asyncHandler)
AmazonAppStreamAsyncCreates an image builder.
The initial state of the builder is PENDING. When it is ready, the state is RUNNING.
createImageBuilderAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateImageBuilderStreamingURLResult> createImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request)
AmazonAppStreamAsyncCreates a URL to start an image builder streaming session.
createImageBuilderStreamingURLAsync in interface AmazonAppStreamAsyncpublic Future<CreateImageBuilderStreamingURLResult> createImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, AsyncHandler<CreateImageBuilderStreamingURLRequest,CreateImageBuilderStreamingURLResult> asyncHandler)
AmazonAppStreamAsyncCreates a URL to start an image builder streaming session.
createImageBuilderStreamingURLAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateStackResult> createStackAsync(CreateStackRequest request)
AmazonAppStreamAsyncCreates a stack.
createStackAsync in interface AmazonAppStreamAsyncpublic Future<CreateStackResult> createStackAsync(CreateStackRequest request, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
AmazonAppStreamAsyncCreates a stack.
createStackAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateStreamingURLResult> createStreamingURLAsync(CreateStreamingURLRequest request)
AmazonAppStreamAsyncCreates a URL to start a streaming session for the specified user.
createStreamingURLAsync in interface AmazonAppStreamAsyncpublic Future<CreateStreamingURLResult> createStreamingURLAsync(CreateStreamingURLRequest request, AsyncHandler<CreateStreamingURLRequest,CreateStreamingURLResult> asyncHandler)
AmazonAppStreamAsyncCreates a URL to start a streaming session for the specified user.
createStreamingURLAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDirectoryConfigResult> deleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request)
AmazonAppStreamAsyncDeletes the specified directory configuration.
deleteDirectoryConfigAsync in interface AmazonAppStreamAsyncpublic Future<DeleteDirectoryConfigResult> deleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, AsyncHandler<DeleteDirectoryConfigRequest,DeleteDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsyncDeletes the specified directory configuration.
deleteDirectoryConfigAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest request)
AmazonAppStreamAsyncDeletes the specified fleet.
deleteFleetAsync in interface AmazonAppStreamAsyncpublic Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest request, AsyncHandler<DeleteFleetRequest,DeleteFleetResult> asyncHandler)
AmazonAppStreamAsyncDeletes the specified fleet.
deleteFleetAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteImageResult> deleteImageAsync(DeleteImageRequest request)
AmazonAppStreamAsyncDeletes the specified image. You cannot delete an image that is currently in use. After you delete an image, you cannot provision new capacity using the image.
deleteImageAsync in interface AmazonAppStreamAsyncpublic Future<DeleteImageResult> deleteImageAsync(DeleteImageRequest request, AsyncHandler<DeleteImageRequest,DeleteImageResult> asyncHandler)
AmazonAppStreamAsyncDeletes the specified image. You cannot delete an image that is currently in use. After you delete an image, you cannot provision new capacity using the image.
deleteImageAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteImageBuilderResult> deleteImageBuilderAsync(DeleteImageBuilderRequest request)
AmazonAppStreamAsyncDeletes the specified image builder and releases the capacity.
deleteImageBuilderAsync in interface AmazonAppStreamAsyncpublic Future<DeleteImageBuilderResult> deleteImageBuilderAsync(DeleteImageBuilderRequest request, AsyncHandler<DeleteImageBuilderRequest,DeleteImageBuilderResult> asyncHandler)
AmazonAppStreamAsyncDeletes the specified image builder and releases the capacity.
deleteImageBuilderAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest request)
AmazonAppStreamAsyncDeletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
deleteStackAsync in interface AmazonAppStreamAsyncpublic Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest request, AsyncHandler<DeleteStackRequest,DeleteStackResult> asyncHandler)
AmazonAppStreamAsyncDeletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
deleteStackAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDirectoryConfigsResult> describeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request)
AmazonAppStreamAsyncDescribes the specified directory configurations. Note that although the response syntax in this topic includes the account password, this password is not returned in the actual response.
describeDirectoryConfigsAsync in interface AmazonAppStreamAsyncpublic Future<DescribeDirectoryConfigsResult> describeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, AsyncHandler<DescribeDirectoryConfigsRequest,DescribeDirectoryConfigsResult> asyncHandler)
AmazonAppStreamAsyncDescribes the specified directory configurations. Note that although the response syntax in this topic includes the account password, this password is not returned in the actual response.
describeDirectoryConfigsAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFleetsResult> describeFleetsAsync(DescribeFleetsRequest request)
AmazonAppStreamAsyncDescribes the specified fleets or all fleets in the account.
describeFleetsAsync in interface AmazonAppStreamAsyncpublic Future<DescribeFleetsResult> describeFleetsAsync(DescribeFleetsRequest request, AsyncHandler<DescribeFleetsRequest,DescribeFleetsResult> asyncHandler)
AmazonAppStreamAsyncDescribes the specified fleets or all fleets in the account.
describeFleetsAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeImageBuildersResult> describeImageBuildersAsync(DescribeImageBuildersRequest request)
AmazonAppStreamAsyncDescribes the specified image builders or all image builders in the account.
describeImageBuildersAsync in interface AmazonAppStreamAsyncpublic Future<DescribeImageBuildersResult> describeImageBuildersAsync(DescribeImageBuildersRequest request, AsyncHandler<DescribeImageBuildersRequest,DescribeImageBuildersResult> asyncHandler)
AmazonAppStreamAsyncDescribes the specified image builders or all image builders in the account.
describeImageBuildersAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest request)
AmazonAppStreamAsyncDescribes the specified images or all images in the account.
describeImagesAsync in interface AmazonAppStreamAsyncpublic Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest request, AsyncHandler<DescribeImagesRequest,DescribeImagesResult> asyncHandler)
AmazonAppStreamAsyncDescribes the specified images or all images in the account.
describeImagesAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSessionsResult> describeSessionsAsync(DescribeSessionsRequest request)
AmazonAppStreamAsyncDescribes the streaming sessions for the specified stack and fleet. If a user ID is provided, only the streaming sessions for only that user are returned. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
describeSessionsAsync in interface AmazonAppStreamAsyncpublic Future<DescribeSessionsResult> describeSessionsAsync(DescribeSessionsRequest request, AsyncHandler<DescribeSessionsRequest,DescribeSessionsResult> asyncHandler)
AmazonAppStreamAsyncDescribes the streaming sessions for the specified stack and fleet. If a user ID is provided, only the streaming sessions for only that user are returned. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
describeSessionsAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request)
AmazonAppStreamAsyncDescribes the specified stacks or all stacks in the account.
describeStacksAsync in interface AmazonAppStreamAsyncpublic Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
AmazonAppStreamAsyncDescribes the specified stacks or all stacks in the account.
describeStacksAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateFleetResult> disassociateFleetAsync(DisassociateFleetRequest request)
AmazonAppStreamAsyncDisassociates the specified fleet from the specified stack.
disassociateFleetAsync in interface AmazonAppStreamAsyncpublic Future<DisassociateFleetResult> disassociateFleetAsync(DisassociateFleetRequest request, AsyncHandler<DisassociateFleetRequest,DisassociateFleetResult> asyncHandler)
AmazonAppStreamAsyncDisassociates the specified fleet from the specified stack.
disassociateFleetAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ExpireSessionResult> expireSessionAsync(ExpireSessionRequest request)
AmazonAppStreamAsyncStops the specified streaming session.
expireSessionAsync in interface AmazonAppStreamAsyncpublic Future<ExpireSessionResult> expireSessionAsync(ExpireSessionRequest request, AsyncHandler<ExpireSessionRequest,ExpireSessionResult> asyncHandler)
AmazonAppStreamAsyncStops the specified streaming session.
expireSessionAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAssociatedFleetsResult> listAssociatedFleetsAsync(ListAssociatedFleetsRequest request)
AmazonAppStreamAsyncLists the fleets associated with the specified stack.
listAssociatedFleetsAsync in interface AmazonAppStreamAsyncpublic Future<ListAssociatedFleetsResult> listAssociatedFleetsAsync(ListAssociatedFleetsRequest request, AsyncHandler<ListAssociatedFleetsRequest,ListAssociatedFleetsResult> asyncHandler)
AmazonAppStreamAsyncLists the fleets associated with the specified stack.
listAssociatedFleetsAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAssociatedStacksResult> listAssociatedStacksAsync(ListAssociatedStacksRequest request)
AmazonAppStreamAsyncLists the stacks associated with the specified fleet.
listAssociatedStacksAsync in interface AmazonAppStreamAsyncpublic Future<ListAssociatedStacksResult> listAssociatedStacksAsync(ListAssociatedStacksRequest request, AsyncHandler<ListAssociatedStacksRequest,ListAssociatedStacksResult> asyncHandler)
AmazonAppStreamAsyncLists the stacks associated with the specified fleet.
listAssociatedStacksAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonAppStreamAsyncLists the tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
listTagsForResourceAsync in interface AmazonAppStreamAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonAppStreamAsyncLists the tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
listTagsForResourceAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartFleetResult> startFleetAsync(StartFleetRequest request)
AmazonAppStreamAsyncStarts the specified fleet.
startFleetAsync in interface AmazonAppStreamAsyncpublic Future<StartFleetResult> startFleetAsync(StartFleetRequest request, AsyncHandler<StartFleetRequest,StartFleetResult> asyncHandler)
AmazonAppStreamAsyncStarts the specified fleet.
startFleetAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartImageBuilderResult> startImageBuilderAsync(StartImageBuilderRequest request)
AmazonAppStreamAsyncStarts the specified image builder.
startImageBuilderAsync in interface AmazonAppStreamAsyncpublic Future<StartImageBuilderResult> startImageBuilderAsync(StartImageBuilderRequest request, AsyncHandler<StartImageBuilderRequest,StartImageBuilderResult> asyncHandler)
AmazonAppStreamAsyncStarts the specified image builder.
startImageBuilderAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopFleetResult> stopFleetAsync(StopFleetRequest request)
AmazonAppStreamAsyncStops the specified fleet.
stopFleetAsync in interface AmazonAppStreamAsyncpublic Future<StopFleetResult> stopFleetAsync(StopFleetRequest request, AsyncHandler<StopFleetRequest,StopFleetResult> asyncHandler)
AmazonAppStreamAsyncStops the specified fleet.
stopFleetAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopImageBuilderResult> stopImageBuilderAsync(StopImageBuilderRequest request)
AmazonAppStreamAsyncStops the specified image builder.
stopImageBuilderAsync in interface AmazonAppStreamAsyncpublic Future<StopImageBuilderResult> stopImageBuilderAsync(StopImageBuilderRequest request, AsyncHandler<StopImageBuilderRequest,StopImageBuilderResult> asyncHandler)
AmazonAppStreamAsyncStops the specified image builder.
stopImageBuilderAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonAppStreamAsyncAdds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.
Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
tagResourceAsync in interface AmazonAppStreamAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonAppStreamAsyncAdds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.
Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
tagResourceAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonAppStreamAsyncDisassociates the specified tags from the specified AppStream 2.0 resource.
To list the current tags for your resources, use ListTagsForResource.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
untagResourceAsync in interface AmazonAppStreamAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonAppStreamAsyncDisassociates the specified tags from the specified AppStream 2.0 resource.
To list the current tags for your resources, use ListTagsForResource.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
untagResourceAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDirectoryConfigResult> updateDirectoryConfigAsync(UpdateDirectoryConfigRequest request)
AmazonAppStreamAsyncUpdates the specified directory configuration.
updateDirectoryConfigAsync in interface AmazonAppStreamAsyncpublic Future<UpdateDirectoryConfigResult> updateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, AsyncHandler<UpdateDirectoryConfigRequest,UpdateDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsyncUpdates the specified directory configuration.
updateDirectoryConfigAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest request)
AmazonAppStreamAsyncUpdates the specified fleet.
If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the
fleet is in the RUNNING state, you can update the DisplayName and
ComputeCapacity attributes. If the fleet is in the STARTING or STOPPING
state, you can't update it.
updateFleetAsync in interface AmazonAppStreamAsyncpublic Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest request, AsyncHandler<UpdateFleetRequest,UpdateFleetResult> asyncHandler)
AmazonAppStreamAsyncUpdates the specified fleet.
If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the
fleet is in the RUNNING state, you can update the DisplayName and
ComputeCapacity attributes. If the fleet is in the STARTING or STOPPING
state, you can't update it.
updateFleetAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request)
AmazonAppStreamAsyncUpdates the specified stack.
updateStackAsync in interface AmazonAppStreamAsyncpublic Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request, AsyncHandler<UpdateStackRequest,UpdateStackResult> asyncHandler)
AmazonAppStreamAsyncUpdates the specified stack.
updateStackAsync in interface AmazonAppStreamAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonAppStreamshutdown in class AmazonAppStreamClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.