@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_METRIC
ENDPOINT_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, deleteImagePermissions, deleteStack, describeDirectoryConfigs, describeFleets, describeImageBuilders, describeImagePermissions, describeImages, describeSessions, describeStacks, disassociateFleet, expireSession, getCachedResponseMetadata, listAssociatedFleets, listAssociatedStacks, listTagsForResource, startFleet, startImageBuilder, stopFleet, stopImageBuilder, tagResource, untagResource, updateDirectoryConfig, updateFleet, updateImagePermissions, updateStack, waiters
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateFleet, copyImage, createDirectoryConfig, createFleet, createImageBuilder, createImageBuilderStreamingURL, createStack, createStreamingURL, deleteDirectoryConfig, deleteFleet, deleteImage, deleteImageBuilder, deleteImagePermissions, deleteStack, describeDirectoryConfigs, describeFleets, describeImageBuilders, describeImagePermissions, describeImages, describeSessions, describeStacks, disassociateFleet, expireSession, getCachedResponseMetadata, listAssociatedFleets, listAssociatedStacks, listTagsForResource, setEndpoint, setRegion, startFleet, startImageBuilder, stopFleet, stopImageBuilder, tagResource, untagResource, updateDirectoryConfig, updateFleet, updateImagePermissions, 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)
AmazonAppStreamAsync
Associates the specified fleet with the specified stack.
associateFleetAsync
in interface AmazonAppStreamAsync
public Future<AssociateFleetResult> associateFleetAsync(AssociateFleetRequest request, AsyncHandler<AssociateFleetRequest,AssociateFleetResult> asyncHandler)
AmazonAppStreamAsync
Associates the specified fleet with the specified stack.
associateFleetAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Copies 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 AmazonAppStreamAsync
public Future<CopyImageResult> copyImageAsync(CopyImageRequest request, AsyncHandler<CopyImageRequest,CopyImageResult> asyncHandler)
AmazonAppStreamAsync
Copies 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 AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Creates a Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
createDirectoryConfigAsync
in interface AmazonAppStreamAsync
public Future<CreateDirectoryConfigResult> createDirectoryConfigAsync(CreateDirectoryConfigRequest request, AsyncHandler<CreateDirectoryConfigRequest,CreateDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsync
Creates a Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
createDirectoryConfigAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Creates a fleet. A fleet consists of streaming instances that run a specified image.
createFleetAsync
in interface AmazonAppStreamAsync
public Future<CreateFleetResult> createFleetAsync(CreateFleetRequest request, AsyncHandler<CreateFleetRequest,CreateFleetResult> asyncHandler)
AmazonAppStreamAsync
Creates a fleet. A fleet consists of streaming instances that run a specified image.
createFleetAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Creates an image builder. An image builder is a virtual machine that is used to create an image.
The initial state of the builder is PENDING
. When it is ready, the state is RUNNING
.
createImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<CreateImageBuilderResult> createImageBuilderAsync(CreateImageBuilderRequest request, AsyncHandler<CreateImageBuilderRequest,CreateImageBuilderResult> asyncHandler)
AmazonAppStreamAsync
Creates an image builder. An image builder is a virtual machine that is used to create an image.
The initial state of the builder is PENDING
. When it is ready, the state is RUNNING
.
createImageBuilderAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Creates a URL to start an image builder streaming session.
createImageBuilderStreamingURLAsync
in interface AmazonAppStreamAsync
public Future<CreateImageBuilderStreamingURLResult> createImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, AsyncHandler<CreateImageBuilderStreamingURLRequest,CreateImageBuilderStreamingURLResult> asyncHandler)
AmazonAppStreamAsync
Creates a URL to start an image builder streaming session.
createImageBuilderStreamingURLAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
createStackAsync
in interface AmazonAppStreamAsync
public Future<CreateStackResult> createStackAsync(CreateStackRequest request, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
AmazonAppStreamAsync
Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
createStackAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
createStreamingURLAsync
in interface AmazonAppStreamAsync
public Future<CreateStreamingURLResult> createStreamingURLAsync(CreateStreamingURLRequest request, AsyncHandler<CreateStreamingURLRequest,CreateStreamingURLResult> asyncHandler)
AmazonAppStreamAsync
Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
createStreamingURLAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
deleteDirectoryConfigAsync
in interface AmazonAppStreamAsync
public Future<DeleteDirectoryConfigResult> deleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, AsyncHandler<DeleteDirectoryConfigRequest,DeleteDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
deleteDirectoryConfigAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Deletes the specified fleet.
deleteFleetAsync
in interface AmazonAppStreamAsync
public Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest request, AsyncHandler<DeleteFleetRequest,DeleteFleetResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified fleet.
deleteFleetAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.
deleteImageAsync
in interface AmazonAppStreamAsync
public Future<DeleteImageResult> deleteImageAsync(DeleteImageRequest request, AsyncHandler<DeleteImageRequest,DeleteImageResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.
deleteImageAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Deletes the specified image builder and releases the capacity.
deleteImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<DeleteImageBuilderResult> deleteImageBuilderAsync(DeleteImageBuilderRequest request, AsyncHandler<DeleteImageBuilderRequest,DeleteImageBuilderResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified image builder and releases the capacity.
deleteImageBuilderAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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<DeleteImagePermissionsResult> deleteImagePermissionsAsync(DeleteImagePermissionsRequest request)
AmazonAppStreamAsync
Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.
deleteImagePermissionsAsync
in interface AmazonAppStreamAsync
public Future<DeleteImagePermissionsResult> deleteImagePermissionsAsync(DeleteImagePermissionsRequest request, AsyncHandler<DeleteImagePermissionsRequest,DeleteImagePermissionsResult> asyncHandler)
AmazonAppStreamAsync
Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.
deleteImagePermissionsAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.
deleteStackAsync
in interface AmazonAppStreamAsync
public Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest request, AsyncHandler<DeleteStackRequest,DeleteStackResult> asyncHandler)
AmazonAppStreamAsync
Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.
deleteStackAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the information required to join streaming instances to an Active Directory domain.
Although the response syntax in this topic includes the account password, this password is not returned in the actual response.
describeDirectoryConfigsAsync
in interface AmazonAppStreamAsync
public Future<DescribeDirectoryConfigsResult> describeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, AsyncHandler<DescribeDirectoryConfigsRequest,DescribeDirectoryConfigsResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the information required to join streaming instances to an Active Directory domain.
Although the response syntax in this topic includes the account password, this password is not returned in the actual response.
describeDirectoryConfigsAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
describeFleetsAsync
in interface AmazonAppStreamAsync
public Future<DescribeFleetsResult> describeFleetsAsync(DescribeFleetsRequest request, AsyncHandler<DescribeFleetsRequest,DescribeFleetsResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
describeFleetsAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.
describeImageBuildersAsync
in interface AmazonAppStreamAsync
public Future<DescribeImageBuildersResult> describeImageBuildersAsync(DescribeImageBuildersRequest request, AsyncHandler<DescribeImageBuildersRequest,DescribeImageBuildersResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.
describeImageBuildersAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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<DescribeImagePermissionsResult> describeImagePermissionsAsync(DescribeImagePermissionsRequest request)
AmazonAppStreamAsync
Retrieves a list that describes the permissions for a private image that you own.
describeImagePermissionsAsync
in interface AmazonAppStreamAsync
public Future<DescribeImagePermissionsResult> describeImagePermissionsAsync(DescribeImagePermissionsRequest request, AsyncHandler<DescribeImagePermissionsRequest,DescribeImagePermissionsResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list that describes the permissions for a private image that you own.
describeImagePermissionsAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified images, if the image names are provided. Otherwise, all images in the account are described.
describeImagesAsync
in interface AmazonAppStreamAsync
public Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest request, AsyncHandler<DescribeImagesRequest,DescribeImagesResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified images, if the image names are provided. Otherwise, all images in the account are described.
describeImagesAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a user ID is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
describeSessionsAsync
in interface AmazonAppStreamAsync
public Future<DescribeSessionsResult> describeSessionsAsync(DescribeSessionsRequest request, AsyncHandler<DescribeSessionsRequest,DescribeSessionsResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a user ID is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
describeSessionsAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
describeStacksAsync
in interface AmazonAppStreamAsync
public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
describeStacksAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Disassociates the specified fleet from the specified stack.
disassociateFleetAsync
in interface AmazonAppStreamAsync
public Future<DisassociateFleetResult> disassociateFleetAsync(DisassociateFleetRequest request, AsyncHandler<DisassociateFleetRequest,DisassociateFleetResult> asyncHandler)
AmazonAppStreamAsync
Disassociates the specified fleet from the specified stack.
disassociateFleetAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Immediately stops the specified streaming session.
expireSessionAsync
in interface AmazonAppStreamAsync
public Future<ExpireSessionResult> expireSessionAsync(ExpireSessionRequest request, AsyncHandler<ExpireSessionRequest,ExpireSessionResult> asyncHandler)
AmazonAppStreamAsync
Immediately stops the specified streaming session.
expireSessionAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves the name of the fleet that is associated with the specified stack.
listAssociatedFleetsAsync
in interface AmazonAppStreamAsync
public Future<ListAssociatedFleetsResult> listAssociatedFleetsAsync(ListAssociatedFleetsRequest request, AsyncHandler<ListAssociatedFleetsRequest,ListAssociatedFleetsResult> asyncHandler)
AmazonAppStreamAsync
Retrieves the name of the fleet that is associated with the specified stack.
listAssociatedFleetsAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves the name of the stack with which the specified fleet is associated.
listAssociatedStacksAsync
in interface AmazonAppStreamAsync
public Future<ListAssociatedStacksResult> listAssociatedStacksAsync(ListAssociatedStacksRequest request, AsyncHandler<ListAssociatedStacksRequest,ListAssociatedStacksResult> asyncHandler)
AmazonAppStreamAsync
Retrieves the name of the stack with which the specified fleet is associated.
listAssociatedStacksAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Retrieves a list of all 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 AmazonAppStreamAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonAppStreamAsync
Retrieves a list of all 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 AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Starts the specified fleet.
startFleetAsync
in interface AmazonAppStreamAsync
public Future<StartFleetResult> startFleetAsync(StartFleetRequest request, AsyncHandler<StartFleetRequest,StartFleetResult> asyncHandler)
AmazonAppStreamAsync
Starts the specified fleet.
startFleetAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Starts the specified image builder.
startImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<StartImageBuilderResult> startImageBuilderAsync(StartImageBuilderRequest request, AsyncHandler<StartImageBuilderRequest,StartImageBuilderResult> asyncHandler)
AmazonAppStreamAsync
Starts the specified image builder.
startImageBuilderAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Stops the specified fleet.
stopFleetAsync
in interface AmazonAppStreamAsync
public Future<StopFleetResult> stopFleetAsync(StopFleetRequest request, AsyncHandler<StopFleetRequest,StopFleetResult> asyncHandler)
AmazonAppStreamAsync
Stops the specified fleet.
stopFleetAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Stops the specified image builder.
stopImageBuilderAsync
in interface AmazonAppStreamAsync
public Future<StopImageBuilderResult> stopImageBuilderAsync(StopImageBuilderRequest request, AsyncHandler<StopImageBuilderRequest,StopImageBuilderResult> asyncHandler)
AmazonAppStreamAsync
Stops the specified image builder.
stopImageBuilderAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Adds 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 AmazonAppStreamAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonAppStreamAsync
Adds 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 AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Disassociates one or more 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 AmazonAppStreamAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonAppStreamAsync
Disassociates one or more 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 AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Updates the specified Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
updateDirectoryConfigAsync
in interface AmazonAppStreamAsync
public Future<UpdateDirectoryConfigResult> updateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, AsyncHandler<UpdateDirectoryConfigRequest,UpdateDirectoryConfigResult> asyncHandler)
AmazonAppStreamAsync
Updates the specified Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
updateDirectoryConfigAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Updates 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 AmazonAppStreamAsync
public Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest request, AsyncHandler<UpdateFleetRequest,UpdateFleetResult> asyncHandler)
AmazonAppStreamAsync
Updates 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 AmazonAppStreamAsync
asyncHandler
- 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<UpdateImagePermissionsResult> updateImagePermissionsAsync(UpdateImagePermissionsRequest request)
AmazonAppStreamAsync
Adds or updates permissions for the specified private image.
updateImagePermissionsAsync
in interface AmazonAppStreamAsync
public Future<UpdateImagePermissionsResult> updateImagePermissionsAsync(UpdateImagePermissionsRequest request, AsyncHandler<UpdateImagePermissionsRequest,UpdateImagePermissionsResult> asyncHandler)
AmazonAppStreamAsync
Adds or updates permissions for the specified private image.
updateImagePermissionsAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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)
AmazonAppStreamAsync
Updates the specified fields for the specified stack.
updateStackAsync
in interface AmazonAppStreamAsync
public Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request, AsyncHandler<UpdateStackRequest,UpdateStackResult> asyncHandler)
AmazonAppStreamAsync
Updates the specified fields for the specified stack.
updateStackAsync
in interface AmazonAppStreamAsync
asyncHandler
- 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 AmazonAppStream
shutdown
in class AmazonAppStreamClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.