@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonAppStreamAsync extends AmazonAppStream
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonAppStreamAsync
instead.
API documentation for Amazon AppStream 2.0.
ENDPOINT_PREFIX
associateFleet, createFleet, createStack, createStreamingURL, deleteFleet, deleteStack, describeFleets, describeImages, describeSessions, describeStacks, disassociateFleet, expireSession, getCachedResponseMetadata, listAssociatedFleets, listAssociatedStacks, setEndpoint, setRegion, shutdown, startFleet, stopFleet, updateFleet, updateStack, waiters
Future<AssociateFleetResult> associateFleetAsync(AssociateFleetRequest associateFleetRequest)
Associate a fleet to a stack.
associateFleetRequest
- Future<AssociateFleetResult> associateFleetAsync(AssociateFleetRequest associateFleetRequest, AsyncHandler<AssociateFleetRequest,AssociateFleetResult> asyncHandler)
Associate a fleet to a stack.
associateFleetRequest
- 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.Future<CreateFleetResult> createFleetAsync(CreateFleetRequest createFleetRequest)
Creates a new fleet.
createFleetRequest
- Contains the parameters for the new fleet to create.Future<CreateFleetResult> createFleetAsync(CreateFleetRequest createFleetRequest, AsyncHandler<CreateFleetRequest,CreateFleetResult> asyncHandler)
Creates a new fleet.
createFleetRequest
- Contains the parameters for the new fleet to create.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.Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest)
Create a new stack.
createStackRequest
- Future<CreateStackResult> createStackAsync(CreateStackRequest createStackRequest, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
Create a new stack.
createStackRequest
- 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.Future<CreateStreamingURLResult> createStreamingURLAsync(CreateStreamingURLRequest createStreamingURLRequest)
Creates a URL to start an AppStream 2.0 streaming session for a user. By default, the URL is valid only for 1 minute from the time that it is generated.
createStreamingURLRequest
- Future<CreateStreamingURLResult> createStreamingURLAsync(CreateStreamingURLRequest createStreamingURLRequest, AsyncHandler<CreateStreamingURLRequest,CreateStreamingURLResult> asyncHandler)
Creates a URL to start an AppStream 2.0 streaming session for a user. By default, the URL is valid only for 1 minute from the time that it is generated.
createStreamingURLRequest
- 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.Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest deleteFleetRequest)
Deletes a fleet.
deleteFleetRequest
- Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest deleteFleetRequest, AsyncHandler<DeleteFleetRequest,DeleteFleetResult> asyncHandler)
Deletes a fleet.
deleteFleetRequest
- 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.Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest deleteStackRequest)
Deletes the stack. After this operation completes, the environment can no longer be activated, and any reservations made for the stack are released.
deleteStackRequest
- Future<DeleteStackResult> deleteStackAsync(DeleteStackRequest deleteStackRequest, AsyncHandler<DeleteStackRequest,DeleteStackResult> asyncHandler)
Deletes the stack. After this operation completes, the environment can no longer be activated, and any reservations made for the stack are released.
deleteStackRequest
- 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.Future<DescribeFleetsResult> describeFleetsAsync(DescribeFleetsRequest describeFleetsRequest)
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.
describeFleetsRequest
- Future<DescribeFleetsResult> describeFleetsAsync(DescribeFleetsRequest describeFleetsRequest, AsyncHandler<DescribeFleetsRequest,DescribeFleetsResult> asyncHandler)
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.
describeFleetsRequest
- 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.Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest describeImagesRequest)
Describes the images. If a list of names is not provided, all images in your account are returned. This operation does not return a paginated result.
describeImagesRequest
- Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest describeImagesRequest, AsyncHandler<DescribeImagesRequest,DescribeImagesResult> asyncHandler)
Describes the images. If a list of names is not provided, all images in your account are returned. This operation does not return a paginated result.
describeImagesRequest
- 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.Future<DescribeSessionsResult> describeSessionsAsync(DescribeSessionsRequest describeSessionsRequest)
Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns
streaming sessions for only that user. Pass this value for the nextToken
parameter in a subsequent
call to this operation to retrieve the next set of items.
describeSessionsRequest
- Future<DescribeSessionsResult> describeSessionsAsync(DescribeSessionsRequest describeSessionsRequest, AsyncHandler<DescribeSessionsRequest,DescribeSessionsResult> asyncHandler)
Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns
streaming sessions for only that user. Pass this value for the nextToken
parameter in a subsequent
call to this operation to retrieve the next set of items.
describeSessionsRequest
- 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.Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest)
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the
account are described. Pass the nextToken
value in a subsequent call to this operation to retrieve
the next set of items.
describeStacksRequest
- Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest describeStacksRequest, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the
account are described. Pass the nextToken
value in a subsequent call to this operation to retrieve
the next set of items.
describeStacksRequest
- 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.Future<DisassociateFleetResult> disassociateFleetAsync(DisassociateFleetRequest disassociateFleetRequest)
Disassociates a fleet from a stack.
disassociateFleetRequest
- Future<DisassociateFleetResult> disassociateFleetAsync(DisassociateFleetRequest disassociateFleetRequest, AsyncHandler<DisassociateFleetRequest,DisassociateFleetResult> asyncHandler)
Disassociates a fleet from a stack.
disassociateFleetRequest
- 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.Future<ExpireSessionResult> expireSessionAsync(ExpireSessionRequest expireSessionRequest)
This operation immediately stops a streaming session.
expireSessionRequest
- Future<ExpireSessionResult> expireSessionAsync(ExpireSessionRequest expireSessionRequest, AsyncHandler<ExpireSessionRequest,ExpireSessionResult> asyncHandler)
This operation immediately stops a streaming session.
expireSessionRequest
- 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.Future<ListAssociatedFleetsResult> listAssociatedFleetsAsync(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists all fleets associated with the stack.
listAssociatedFleetsRequest
- Future<ListAssociatedFleetsResult> listAssociatedFleetsAsync(ListAssociatedFleetsRequest listAssociatedFleetsRequest, AsyncHandler<ListAssociatedFleetsRequest,ListAssociatedFleetsResult> asyncHandler)
Lists all fleets associated with the stack.
listAssociatedFleetsRequest
- 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.Future<ListAssociatedStacksResult> listAssociatedStacksAsync(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists all stacks to which the specified fleet is associated.
listAssociatedStacksRequest
- Future<ListAssociatedStacksResult> listAssociatedStacksAsync(ListAssociatedStacksRequest listAssociatedStacksRequest, AsyncHandler<ListAssociatedStacksRequest,ListAssociatedStacksResult> asyncHandler)
Lists all stacks to which the specified fleet is associated.
listAssociatedStacksRequest
- 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.Future<StartFleetResult> startFleetAsync(StartFleetRequest startFleetRequest)
Starts a fleet.
startFleetRequest
- Future<StartFleetResult> startFleetAsync(StartFleetRequest startFleetRequest, AsyncHandler<StartFleetRequest,StartFleetResult> asyncHandler)
Starts a fleet.
startFleetRequest
- 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.Future<StopFleetResult> stopFleetAsync(StopFleetRequest stopFleetRequest)
Stops a fleet.
stopFleetRequest
- Future<StopFleetResult> stopFleetAsync(StopFleetRequest stopFleetRequest, AsyncHandler<StopFleetRequest,StopFleetResult> asyncHandler)
Stops a fleet.
stopFleetRequest
- 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.Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest updateFleetRequest)
Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state. Only ComputeCapacity and ImageName can be updated in any other state.
updateFleetRequest
- Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest updateFleetRequest, AsyncHandler<UpdateFleetRequest,UpdateFleetResult> asyncHandler)
Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state. Only ComputeCapacity and ImageName can be updated in any other state.
updateFleetRequest
- 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.Future<UpdateStackResult> updateStackAsync(UpdateStackRequest updateStackRequest)
Updates the specified fields in the stack with the specified name.
updateStackRequest
- Future<UpdateStackResult> updateStackAsync(UpdateStackRequest updateStackRequest, AsyncHandler<UpdateStackRequest,UpdateStackResult> asyncHandler)
Updates the specified fields in the stack with the specified name.
updateStackRequest
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.