@Generated(value="software.amazon.awssdk:codegen") public interface AppStreamAsyncClient extends SdkClient, SdkAutoCloseable
builder() method.
You can use Amazon AppStream 2.0 to stream desktop applications to any device running a web browser, without rewriting them.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
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)
Associates the specified fleet with the specified stack.
associateFleetRequest - default CompletableFuture<AssociateFleetResponse> associateFleet(Consumer<AssociateFleetRequest.Builder> associateFleetRequest)
Associates the specified fleet with the specified stack.
This is a convenience which creates an instance of the AssociateFleetRequest.Builder avoiding the need to
create one manually via AssociateFleetRequest.builder()
associateFleetRequest - A Consumer that will call methods on AssociateFleetRequest.Builder to create a request.default CompletableFuture<CreateDirectoryConfigResponse> createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest)
Creates a directory configuration.
createDirectoryConfigRequest - default CompletableFuture<CreateDirectoryConfigResponse> createDirectoryConfig(Consumer<CreateDirectoryConfigRequest.Builder> createDirectoryConfigRequest)
Creates a directory configuration.
This is a convenience which creates an instance of the CreateDirectoryConfigRequest.Builder avoiding the
need to create one manually via CreateDirectoryConfigRequest.builder()
createDirectoryConfigRequest - A Consumer that will call methods on CreateDirectoryConfigRequest.Builder to create a
request.default CompletableFuture<CreateFleetResponse> createFleet(CreateFleetRequest createFleetRequest)
Creates a fleet.
createFleetRequest - default CompletableFuture<CreateFleetResponse> createFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest)
Creates a fleet.
This is a convenience which creates an instance of the CreateFleetRequest.Builder avoiding the need to
create one manually via CreateFleetRequest.builder()
createFleetRequest - A Consumer that will call methods on CreateFleetRequest.Builder to create a request.default CompletableFuture<CreateImageBuilderResponse> createImageBuilder(CreateImageBuilderRequest createImageBuilderRequest)
createImageBuilderRequest - default CompletableFuture<CreateImageBuilderResponse> createImageBuilder(Consumer<CreateImageBuilderRequest.Builder> createImageBuilderRequest)
This is a convenience which creates an instance of the CreateImageBuilderRequest.Builder avoiding the
need to create one manually via CreateImageBuilderRequest.builder()
createImageBuilderRequest - A Consumer that will call methods on CreateImageBuilderRequest.Builder to create a
request.default CompletableFuture<CreateImageBuilderStreamingURLResponse> createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest createImageBuilderStreamingURLRequest)
createImageBuilderStreamingURLRequest - default CompletableFuture<CreateImageBuilderStreamingURLResponse> createImageBuilderStreamingURL(Consumer<CreateImageBuilderStreamingURLRequest.Builder> createImageBuilderStreamingURLRequest)
This is a convenience which creates an instance of the CreateImageBuilderStreamingURLRequest.Builder
avoiding the need to create one manually via CreateImageBuilderStreamingURLRequest.builder()
createImageBuilderStreamingURLRequest - A Consumer that will call methods on CreateImageBuilderStreamingURLRequest.Builder to
create a request.default CompletableFuture<CreateStackResponse> createStack(CreateStackRequest createStackRequest)
Creates a stack.
createStackRequest - default CompletableFuture<CreateStackResponse> createStack(Consumer<CreateStackRequest.Builder> createStackRequest)
Creates a stack.
This is a convenience which creates an instance of the CreateStackRequest.Builder avoiding the need to
create one manually via CreateStackRequest.builder()
createStackRequest - A Consumer that will call methods on CreateStackRequest.Builder to create a request.default CompletableFuture<CreateStreamingURLResponse> createStreamingURL(CreateStreamingURLRequest createStreamingURLRequest)
Creates a URL to start a streaming session for the specified user.
By default, the URL is valid only for one minute from the time that it is generated.
createStreamingURLRequest - default CompletableFuture<CreateStreamingURLResponse> createStreamingURL(Consumer<CreateStreamingURLRequest.Builder> createStreamingURLRequest)
Creates a URL to start a streaming session for the specified user.
By default, the URL is valid only for one minute from the time that it is generated.
This is a convenience which creates an instance of the CreateStreamingURLRequest.Builder avoiding the
need to create one manually via CreateStreamingURLRequest.builder()
createStreamingURLRequest - A Consumer that will call methods on CreateStreamingURLRequest.Builder to create a
request.default CompletableFuture<DeleteDirectoryConfigResponse> deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest)
Deletes the specified directory configuration.
deleteDirectoryConfigRequest - default CompletableFuture<DeleteDirectoryConfigResponse> deleteDirectoryConfig(Consumer<DeleteDirectoryConfigRequest.Builder> deleteDirectoryConfigRequest)
Deletes the specified directory configuration.
This is a convenience which creates an instance of the DeleteDirectoryConfigRequest.Builder avoiding the
need to create one manually via DeleteDirectoryConfigRequest.builder()
deleteDirectoryConfigRequest - A Consumer that will call methods on DeleteDirectoryConfigRequest.Builder to create a
request.default CompletableFuture<DeleteFleetResponse> deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes the specified fleet.
deleteFleetRequest - default CompletableFuture<DeleteFleetResponse> deleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest)
Deletes the specified fleet.
This is a convenience which creates an instance of the DeleteFleetRequest.Builder avoiding the need to
create one manually via DeleteFleetRequest.builder()
deleteFleetRequest - A Consumer that will call methods on DeleteFleetRequest.Builder to create a request.default CompletableFuture<DeleteImageResponse> deleteImage(DeleteImageRequest deleteImageRequest)
deleteImageRequest - default CompletableFuture<DeleteImageResponse> deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest)
This is a convenience which creates an instance of the DeleteImageRequest.Builder avoiding the need to
create one manually via DeleteImageRequest.builder()
deleteImageRequest - A Consumer that will call methods on DeleteImageRequest.Builder to create a request.default CompletableFuture<DeleteImageBuilderResponse> deleteImageBuilder(DeleteImageBuilderRequest deleteImageBuilderRequest)
deleteImageBuilderRequest - default CompletableFuture<DeleteImageBuilderResponse> deleteImageBuilder(Consumer<DeleteImageBuilderRequest.Builder> deleteImageBuilderRequest)
This is a convenience which creates an instance of the DeleteImageBuilderRequest.Builder avoiding the
need to create one manually via DeleteImageBuilderRequest.builder()
deleteImageBuilderRequest - A Consumer that will call methods on DeleteImageBuilderRequest.Builder to create a
request.default CompletableFuture<DeleteStackResponse> deleteStack(DeleteStackRequest deleteStackRequest)
Deletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
deleteStackRequest - default CompletableFuture<DeleteStackResponse> deleteStack(Consumer<DeleteStackRequest.Builder> deleteStackRequest)
Deletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
This is a convenience which creates an instance of the DeleteStackRequest.Builder avoiding the need to
create one manually via DeleteStackRequest.builder()
deleteStackRequest - A Consumer that will call methods on DeleteStackRequest.Builder to create a request.default CompletableFuture<DescribeDirectoryConfigsResponse> describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest)
Describes the specified directory configurations.
describeDirectoryConfigsRequest - default CompletableFuture<DescribeDirectoryConfigsResponse> describeDirectoryConfigs(Consumer<DescribeDirectoryConfigsRequest.Builder> describeDirectoryConfigsRequest)
Describes the specified directory configurations.
This is a convenience which creates an instance of the DescribeDirectoryConfigsRequest.Builder avoiding
the need to create one manually via DescribeDirectoryConfigsRequest.builder()
describeDirectoryConfigsRequest - A Consumer that will call methods on DescribeDirectoryConfigsRequest.Builder to create a
request.default CompletableFuture<DescribeDirectoryConfigsResponse> describeDirectoryConfigs()
Describes the specified directory configurations.
default CompletableFuture<DescribeFleetsResponse> describeFleets(DescribeFleetsRequest describeFleetsRequest)
Describes the specified fleets or all fleets in the account.
describeFleetsRequest - default CompletableFuture<DescribeFleetsResponse> describeFleets(Consumer<DescribeFleetsRequest.Builder> describeFleetsRequest)
Describes the specified fleets or all fleets in the account.
This is a convenience which creates an instance of the DescribeFleetsRequest.Builder avoiding the need to
create one manually via DescribeFleetsRequest.builder()
describeFleetsRequest - A Consumer that will call methods on DescribeFleetsRequest.Builder to create a request.default CompletableFuture<DescribeFleetsResponse> describeFleets()
Describes the specified fleets or all fleets in the account.
default CompletableFuture<DescribeImageBuildersResponse> describeImageBuilders(DescribeImageBuildersRequest describeImageBuildersRequest)
describeImageBuildersRequest - default CompletableFuture<DescribeImageBuildersResponse> describeImageBuilders(Consumer<DescribeImageBuildersRequest.Builder> describeImageBuildersRequest)
This is a convenience which creates an instance of the DescribeImageBuildersRequest.Builder avoiding the
need to create one manually via DescribeImageBuildersRequest.builder()
describeImageBuildersRequest - A Consumer that will call methods on DescribeImageBuildersRequest.Builder to create a
request.default CompletableFuture<DescribeImageBuildersResponse> describeImageBuilders()
default CompletableFuture<DescribeImagesResponse> describeImages(DescribeImagesRequest describeImagesRequest)
Describes the specified images or all images in the account.
describeImagesRequest - default CompletableFuture<DescribeImagesResponse> describeImages(Consumer<DescribeImagesRequest.Builder> describeImagesRequest)
Describes the specified images or all images in the account.
This is a convenience which creates an instance of the DescribeImagesRequest.Builder avoiding the need to
create one manually via DescribeImagesRequest.builder()
describeImagesRequest - A Consumer that will call methods on DescribeImagesRequest.Builder to create a request.default CompletableFuture<DescribeImagesResponse> describeImages()
Describes the specified images or all images in the account.
default CompletableFuture<DescribeSessionsResponse> describeSessions(DescribeSessionsRequest describeSessionsRequest)
Describes 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.
describeSessionsRequest - default CompletableFuture<DescribeSessionsResponse> describeSessions(Consumer<DescribeSessionsRequest.Builder> describeSessionsRequest)
Describes 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.
This is a convenience which creates an instance of the DescribeSessionsRequest.Builder avoiding the need
to create one manually via DescribeSessionsRequest.builder()
describeSessionsRequest - A Consumer that will call methods on DescribeSessionsRequest.Builder to create a request.default CompletableFuture<DescribeStacksResponse> describeStacks(DescribeStacksRequest describeStacksRequest)
Describes the specified stacks or all stacks in the account.
describeStacksRequest - default CompletableFuture<DescribeStacksResponse> describeStacks(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
Describes the specified stacks or all stacks in the account.
This is a convenience which creates an instance of the DescribeStacksRequest.Builder avoiding the need to
create one manually via DescribeStacksRequest.builder()
describeStacksRequest - A Consumer that will call methods on DescribeStacksRequest.Builder to create a request.default CompletableFuture<DescribeStacksResponse> describeStacks()
Describes the specified stacks or all stacks in the account.
default CompletableFuture<DisassociateFleetResponse> disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
Disassociates the specified fleet from the specified stack.
disassociateFleetRequest - default CompletableFuture<DisassociateFleetResponse> disassociateFleet(Consumer<DisassociateFleetRequest.Builder> disassociateFleetRequest)
Disassociates the specified fleet from the specified stack.
This is a convenience which creates an instance of the DisassociateFleetRequest.Builder avoiding the need
to create one manually via DisassociateFleetRequest.builder()
disassociateFleetRequest - A Consumer that will call methods on DisassociateFleetRequest.Builder to create a request.default CompletableFuture<ExpireSessionResponse> expireSession(ExpireSessionRequest expireSessionRequest)
Stops the specified streaming session.
expireSessionRequest - default CompletableFuture<ExpireSessionResponse> expireSession(Consumer<ExpireSessionRequest.Builder> expireSessionRequest)
Stops the specified streaming session.
This is a convenience which creates an instance of the ExpireSessionRequest.Builder avoiding the need to
create one manually via ExpireSessionRequest.builder()
expireSessionRequest - A Consumer that will call methods on ExpireSessionRequest.Builder to create a request.default CompletableFuture<ListAssociatedFleetsResponse> listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists the fleets associated with the specified stack.
listAssociatedFleetsRequest - default CompletableFuture<ListAssociatedFleetsResponse> listAssociatedFleets(Consumer<ListAssociatedFleetsRequest.Builder> listAssociatedFleetsRequest)
Lists the fleets associated with the specified stack.
This is a convenience which creates an instance of the ListAssociatedFleetsRequest.Builder avoiding the
need to create one manually via ListAssociatedFleetsRequest.builder()
listAssociatedFleetsRequest - A Consumer that will call methods on ListAssociatedFleetsRequest.Builder to create a
request.default CompletableFuture<ListAssociatedStacksResponse> listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists the stacks associated with the specified fleet.
listAssociatedStacksRequest - default CompletableFuture<ListAssociatedStacksResponse> listAssociatedStacks(Consumer<ListAssociatedStacksRequest.Builder> listAssociatedStacksRequest)
Lists the stacks associated with the specified fleet.
This is a convenience which creates an instance of the ListAssociatedStacksRequest.Builder avoiding the
need to create one manually via ListAssociatedStacksRequest.builder()
listAssociatedStacksRequest - A Consumer that will call methods on ListAssociatedStacksRequest.Builder to create a
request.default CompletableFuture<StartFleetResponse> startFleet(StartFleetRequest startFleetRequest)
Starts the specified fleet.
startFleetRequest - default CompletableFuture<StartFleetResponse> startFleet(Consumer<StartFleetRequest.Builder> startFleetRequest)
Starts the specified fleet.
This is a convenience which creates an instance of the StartFleetRequest.Builder avoiding the need to
create one manually via StartFleetRequest.builder()
startFleetRequest - A Consumer that will call methods on StartFleetRequest.Builder to create a request.default CompletableFuture<StartImageBuilderResponse> startImageBuilder(StartImageBuilderRequest startImageBuilderRequest)
startImageBuilderRequest - default CompletableFuture<StartImageBuilderResponse> startImageBuilder(Consumer<StartImageBuilderRequest.Builder> startImageBuilderRequest)
This is a convenience which creates an instance of the StartImageBuilderRequest.Builder avoiding the need
to create one manually via StartImageBuilderRequest.builder()
startImageBuilderRequest - A Consumer that will call methods on StartImageBuilderRequest.Builder to create a request.default CompletableFuture<StopFleetResponse> stopFleet(StopFleetRequest stopFleetRequest)
Stops the specified fleet.
stopFleetRequest - default CompletableFuture<StopFleetResponse> stopFleet(Consumer<StopFleetRequest.Builder> stopFleetRequest)
Stops the specified fleet.
This is a convenience which creates an instance of the StopFleetRequest.Builder avoiding the need to
create one manually via StopFleetRequest.builder()
stopFleetRequest - A Consumer that will call methods on StopFleetRequest.Builder to create a request.default CompletableFuture<StopImageBuilderResponse> stopImageBuilder(StopImageBuilderRequest stopImageBuilderRequest)
stopImageBuilderRequest - default CompletableFuture<StopImageBuilderResponse> stopImageBuilder(Consumer<StopImageBuilderRequest.Builder> stopImageBuilderRequest)
This is a convenience which creates an instance of the StopImageBuilderRequest.Builder avoiding the need
to create one manually via StopImageBuilderRequest.builder()
stopImageBuilderRequest - A Consumer that will call methods on StopImageBuilderRequest.Builder to create a request.default CompletableFuture<UpdateDirectoryConfigResponse> updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest)
Updates the specified directory configuration.
updateDirectoryConfigRequest - default CompletableFuture<UpdateDirectoryConfigResponse> updateDirectoryConfig(Consumer<UpdateDirectoryConfigRequest.Builder> updateDirectoryConfigRequest)
Updates the specified directory configuration.
This is a convenience which creates an instance of the UpdateDirectoryConfigRequest.Builder avoiding the
need to create one manually via UpdateDirectoryConfigRequest.builder()
updateDirectoryConfigRequest - A Consumer that will call methods on UpdateDirectoryConfigRequest.Builder to create a
request.default CompletableFuture<UpdateFleetResponse> updateFleet(UpdateFleetRequest updateFleetRequest)
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.
updateFleetRequest - default CompletableFuture<UpdateFleetResponse> updateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest)
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.
This is a convenience which creates an instance of the UpdateFleetRequest.Builder avoiding the need to
create one manually via UpdateFleetRequest.builder()
updateFleetRequest - A Consumer that will call methods on UpdateFleetRequest.Builder to create a request.default CompletableFuture<UpdateStackResponse> updateStack(UpdateStackRequest updateStackRequest)
Updates the specified stack.
updateStackRequest - default CompletableFuture<UpdateStackResponse> updateStack(Consumer<UpdateStackRequest.Builder> updateStackRequest)
Updates the specified stack.
This is a convenience which creates an instance of the UpdateStackRequest.Builder avoiding the need to
create one manually via UpdateStackRequest.builder()
updateStackRequest - A Consumer that will call methods on UpdateStackRequest.Builder to create a request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.