AutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface AppStreamAsyncClient extends AutoCloseable
builder()
method.
API documentation for Amazon AppStream 2.0.
Modifier and Type | Method | Description |
---|---|---|
default CompletableFuture<AssociateFleetResponse> |
associateFleet(AssociateFleetRequest associateFleetRequest) |
Associate a fleet to a stack.
|
static AppStreamAsyncClientBuilder |
builder() |
Create a builder that can be used to configure and create a
AppStreamAsyncClient . |
static AppStreamAsyncClient |
create() |
Create a
AppStreamAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateFleetResponse> |
createFleet(CreateFleetRequest createFleetRequest) |
Creates a new fleet.
|
default CompletableFuture<CreateStackResponse> |
createStack(CreateStackRequest createStackRequest) |
Create a new stack.
|
default CompletableFuture<CreateStreamingURLResponse> |
createStreamingURL(CreateStreamingURLRequest createStreamingURLRequest) |
Creates a URL to start an AppStream 2.0 streaming session for a user.
|
default CompletableFuture<DeleteFleetResponse> |
deleteFleet(DeleteFleetRequest deleteFleetRequest) |
Deletes a fleet.
|
default CompletableFuture<DeleteStackResponse> |
deleteStack(DeleteStackRequest deleteStackRequest) |
Deletes the stack.
|
default CompletableFuture<DescribeFleetsResponse> |
describeFleets(DescribeFleetsRequest describeFleetsRequest) |
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the
account are described.
|
default CompletableFuture<DescribeImagesResponse> |
describeImages(DescribeImagesRequest describeImagesRequest) |
Describes the images.
|
default CompletableFuture<DescribeSessionsResponse> |
describeSessions(DescribeSessionsRequest describeSessionsRequest) |
Describes the streaming sessions for a stack and a fleet.
|
default CompletableFuture<DescribeStacksResponse> |
describeStacks(DescribeStacksRequest describeStacksRequest) |
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the
account are described.
|
default CompletableFuture<DisassociateFleetResponse> |
disassociateFleet(DisassociateFleetRequest disassociateFleetRequest) |
Disassociates a fleet from a stack.
|
default CompletableFuture<ExpireSessionResponse> |
expireSession(ExpireSessionRequest expireSessionRequest) |
This operation immediately stops a streaming session.
|
default CompletableFuture<ListAssociatedFleetsResponse> |
listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest) |
Lists all fleets associated with the stack.
|
default CompletableFuture<ListAssociatedStacksResponse> |
listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest) |
Lists all stacks to which the specified fleet is associated.
|
default CompletableFuture<StartFleetResponse> |
startFleet(StartFleetRequest startFleetRequest) |
Starts a fleet.
|
default CompletableFuture<StopFleetResponse> |
stopFleet(StopFleetRequest stopFleetRequest) |
Stops a fleet.
|
default CompletableFuture<UpdateFleetResponse> |
updateFleet(UpdateFleetRequest updateFleetRequest) |
Updates an existing fleet.
|
default CompletableFuture<UpdateStackResponse> |
updateStack(UpdateStackRequest updateStackRequest) |
Updates the specified fields in the stack with the specified name.
|
close
static AppStreamAsyncClient create()
AppStreamAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static AppStreamAsyncClientBuilder builder()
AppStreamAsyncClient
.default CompletableFuture<AssociateFleetResponse> associateFleet(AssociateFleetRequest associateFleetRequest)
Associate a fleet to a stack.
associateFleetRequest
- default CompletableFuture<CreateFleetResponse> createFleet(CreateFleetRequest createFleetRequest)
Creates a new fleet.
createFleetRequest
- Contains the parameters for the new fleet to create.default CompletableFuture<CreateStackResponse> createStack(CreateStackRequest createStackRequest)
Create a new stack.
createStackRequest
- default CompletableFuture<CreateStreamingURLResponse> createStreamingURL(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
- default CompletableFuture<DeleteFleetResponse> deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes a fleet.
deleteFleetRequest
- default CompletableFuture<DeleteStackResponse> deleteStack(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
- default CompletableFuture<DescribeFleetsResponse> describeFleets(DescribeFleetsRequest describeFleetsRequest)
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.
describeFleetsRequest
- default CompletableFuture<DescribeImagesResponse> describeImages(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
- default CompletableFuture<DescribeSessionsResponse> describeSessions(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. If an authentication type is not provided, the
operation defaults to users authenticated using a streaming URL.
describeSessionsRequest
- default CompletableFuture<DescribeStacksResponse> describeStacks(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
- default CompletableFuture<DisassociateFleetResponse> disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
Disassociates a fleet from a stack.
disassociateFleetRequest
- default CompletableFuture<ExpireSessionResponse> expireSession(ExpireSessionRequest expireSessionRequest)
This operation immediately stops a streaming session.
expireSessionRequest
- default CompletableFuture<ListAssociatedFleetsResponse> listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists all fleets associated with the stack.
listAssociatedFleetsRequest
- default CompletableFuture<ListAssociatedStacksResponse> listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists all stacks to which the specified fleet is associated.
listAssociatedStacksRequest
- default CompletableFuture<StartFleetResponse> startFleet(StartFleetRequest startFleetRequest)
Starts a fleet.
startFleetRequest
- default CompletableFuture<StopFleetResponse> stopFleet(StopFleetRequest stopFleetRequest)
Stops a fleet.
stopFleetRequest
- default CompletableFuture<UpdateFleetResponse> updateFleet(UpdateFleetRequest updateFleetRequest)
Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state.
When a fleet is in the RUNNING state, only DisplayName
and ComputeCapacity
can
be updated. A fleet cannot be updated in a status of STARTING or STOPPING.
updateFleetRequest
- default CompletableFuture<UpdateStackResponse> updateStack(UpdateStackRequest updateStackRequest)
Updates the specified fields in the stack with the specified name.
updateStackRequest
- Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.