@Generated(value="software.amazon.awssdk:codegen") public interface AppStreamClient extends SdkClient
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 |
Modifier and Type | Method and Description |
---|---|
default AssociateFleetResponse |
associateFleet(AssociateFleetRequest associateFleetRequest)
Associates the specified fleet with the specified stack.
|
default AssociateFleetResponse |
associateFleet(Consumer<AssociateFleetRequest.Builder> associateFleetRequest)
Associates the specified fleet with the specified stack.
|
static AppStreamClientBuilder |
builder()
Create a builder that can be used to configure and create a
AppStreamClient . |
static AppStreamClient |
create()
Create a
AppStreamClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateDirectoryConfigResponse |
createDirectoryConfig(Consumer<CreateDirectoryConfigRequest.Builder> createDirectoryConfigRequest)
Creates a directory configuration.
|
default CreateDirectoryConfigResponse |
createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest)
Creates a directory configuration.
|
default CreateFleetResponse |
createFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest)
Creates a fleet.
|
default CreateFleetResponse |
createFleet(CreateFleetRequest createFleetRequest)
Creates a fleet.
|
default CreateImageBuilderResponse |
createImageBuilder(Consumer<CreateImageBuilderRequest.Builder> createImageBuilderRequest)
Invokes the CreateImageBuilder operation.
|
default CreateImageBuilderResponse |
createImageBuilder(CreateImageBuilderRequest createImageBuilderRequest)
Invokes the CreateImageBuilder operation.
|
default CreateImageBuilderStreamingUrlResponse |
createImageBuilderStreamingURL(Consumer<CreateImageBuilderStreamingUrlRequest.Builder> createImageBuilderStreamingUrlRequest)
Invokes the CreateImageBuilderStreamingURL operation.
|
default CreateImageBuilderStreamingUrlResponse |
createImageBuilderStreamingURL(CreateImageBuilderStreamingUrlRequest createImageBuilderStreamingUrlRequest)
Invokes the CreateImageBuilderStreamingURL operation.
|
default CreateStackResponse |
createStack(Consumer<CreateStackRequest.Builder> createStackRequest)
Creates a stack.
|
default CreateStackResponse |
createStack(CreateStackRequest createStackRequest)
Creates a stack.
|
default CreateStreamingUrlResponse |
createStreamingURL(Consumer<CreateStreamingUrlRequest.Builder> createStreamingUrlRequest)
Creates a URL to start a streaming session for the specified user.
|
default CreateStreamingUrlResponse |
createStreamingURL(CreateStreamingUrlRequest createStreamingUrlRequest)
Creates a URL to start a streaming session for the specified user.
|
default DeleteDirectoryConfigResponse |
deleteDirectoryConfig(Consumer<DeleteDirectoryConfigRequest.Builder> deleteDirectoryConfigRequest)
Deletes the specified directory configuration.
|
default DeleteDirectoryConfigResponse |
deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest)
Deletes the specified directory configuration.
|
default DeleteFleetResponse |
deleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest)
Deletes the specified fleet.
|
default DeleteFleetResponse |
deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes the specified fleet.
|
default DeleteImageResponse |
deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest)
Invokes the DeleteImage operation.
|
default DeleteImageResponse |
deleteImage(DeleteImageRequest deleteImageRequest)
Invokes the DeleteImage operation.
|
default DeleteImageBuilderResponse |
deleteImageBuilder(Consumer<DeleteImageBuilderRequest.Builder> deleteImageBuilderRequest)
Invokes the DeleteImageBuilder operation.
|
default DeleteImageBuilderResponse |
deleteImageBuilder(DeleteImageBuilderRequest deleteImageBuilderRequest)
Invokes the DeleteImageBuilder operation.
|
default DeleteStackResponse |
deleteStack(Consumer<DeleteStackRequest.Builder> deleteStackRequest)
Deletes the specified stack.
|
default DeleteStackResponse |
deleteStack(DeleteStackRequest deleteStackRequest)
Deletes the specified stack.
|
default DescribeDirectoryConfigsResponse |
describeDirectoryConfigs()
Describes the specified directory configurations.
|
default DescribeDirectoryConfigsResponse |
describeDirectoryConfigs(Consumer<DescribeDirectoryConfigsRequest.Builder> describeDirectoryConfigsRequest)
Describes the specified directory configurations.
|
default DescribeDirectoryConfigsResponse |
describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest)
Describes the specified directory configurations.
|
default DescribeFleetsResponse |
describeFleets()
Describes the specified fleets or all fleets in the account.
|
default DescribeFleetsResponse |
describeFleets(Consumer<DescribeFleetsRequest.Builder> describeFleetsRequest)
Describes the specified fleets or all fleets in the account.
|
default DescribeFleetsResponse |
describeFleets(DescribeFleetsRequest describeFleetsRequest)
Describes the specified fleets or all fleets in the account.
|
default DescribeImageBuildersResponse |
describeImageBuilders()
Invokes the DescribeImageBuilders operation.
|
default DescribeImageBuildersResponse |
describeImageBuilders(Consumer<DescribeImageBuildersRequest.Builder> describeImageBuildersRequest)
Invokes the DescribeImageBuilders operation.
|
default DescribeImageBuildersResponse |
describeImageBuilders(DescribeImageBuildersRequest describeImageBuildersRequest)
Invokes the DescribeImageBuilders operation.
|
default DescribeImagesResponse |
describeImages()
Describes the specified images or all images in the account.
|
default DescribeImagesResponse |
describeImages(Consumer<DescribeImagesRequest.Builder> describeImagesRequest)
Describes the specified images or all images in the account.
|
default DescribeImagesResponse |
describeImages(DescribeImagesRequest describeImagesRequest)
Describes the specified images or all images in the account.
|
default DescribeSessionsResponse |
describeSessions(Consumer<DescribeSessionsRequest.Builder> describeSessionsRequest)
Describes the streaming sessions for the specified stack and fleet.
|
default DescribeSessionsResponse |
describeSessions(DescribeSessionsRequest describeSessionsRequest)
Describes the streaming sessions for the specified stack and fleet.
|
default DescribeStacksResponse |
describeStacks()
Describes the specified stacks or all stacks in the account.
|
default DescribeStacksResponse |
describeStacks(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
Describes the specified stacks or all stacks in the account.
|
default DescribeStacksResponse |
describeStacks(DescribeStacksRequest describeStacksRequest)
Describes the specified stacks or all stacks in the account.
|
default DisassociateFleetResponse |
disassociateFleet(Consumer<DisassociateFleetRequest.Builder> disassociateFleetRequest)
Disassociates the specified fleet from the specified stack.
|
default DisassociateFleetResponse |
disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
Disassociates the specified fleet from the specified stack.
|
default ExpireSessionResponse |
expireSession(Consumer<ExpireSessionRequest.Builder> expireSessionRequest)
Stops the specified streaming session.
|
default ExpireSessionResponse |
expireSession(ExpireSessionRequest expireSessionRequest)
Stops the specified streaming session.
|
default ListAssociatedFleetsResponse |
listAssociatedFleets(Consumer<ListAssociatedFleetsRequest.Builder> listAssociatedFleetsRequest)
Lists the fleets associated with the specified stack.
|
default ListAssociatedFleetsResponse |
listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists the fleets associated with the specified stack.
|
default ListAssociatedStacksResponse |
listAssociatedStacks(Consumer<ListAssociatedStacksRequest.Builder> listAssociatedStacksRequest)
Lists the stacks associated with the specified fleet.
|
default ListAssociatedStacksResponse |
listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists the stacks associated with the specified fleet.
|
static ServiceMetadata |
serviceMetadata() |
default StartFleetResponse |
startFleet(Consumer<StartFleetRequest.Builder> startFleetRequest)
Starts the specified fleet.
|
default StartFleetResponse |
startFleet(StartFleetRequest startFleetRequest)
Starts the specified fleet.
|
default StartImageBuilderResponse |
startImageBuilder(Consumer<StartImageBuilderRequest.Builder> startImageBuilderRequest)
Invokes the StartImageBuilder operation.
|
default StartImageBuilderResponse |
startImageBuilder(StartImageBuilderRequest startImageBuilderRequest)
Invokes the StartImageBuilder operation.
|
default StopFleetResponse |
stopFleet(Consumer<StopFleetRequest.Builder> stopFleetRequest)
Stops the specified fleet.
|
default StopFleetResponse |
stopFleet(StopFleetRequest stopFleetRequest)
Stops the specified fleet.
|
default StopImageBuilderResponse |
stopImageBuilder(Consumer<StopImageBuilderRequest.Builder> stopImageBuilderRequest)
Invokes the StopImageBuilder operation.
|
default StopImageBuilderResponse |
stopImageBuilder(StopImageBuilderRequest stopImageBuilderRequest)
Invokes the StopImageBuilder operation.
|
default UpdateDirectoryConfigResponse |
updateDirectoryConfig(Consumer<UpdateDirectoryConfigRequest.Builder> updateDirectoryConfigRequest)
Updates the specified directory configuration.
|
default UpdateDirectoryConfigResponse |
updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest)
Updates the specified directory configuration.
|
default UpdateFleetResponse |
updateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest)
Updates the specified fleet.
|
default UpdateFleetResponse |
updateFleet(UpdateFleetRequest updateFleetRequest)
Updates the specified fleet.
|
default UpdateStackResponse |
updateStack(Consumer<UpdateStackRequest.Builder> updateStackRequest)
Updates the specified stack.
|
default UpdateStackResponse |
updateStack(UpdateStackRequest updateStackRequest)
Updates the specified stack.
|
serviceName
close
static final String SERVICE_NAME
static AppStreamClient create()
AppStreamClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static AppStreamClientBuilder builder()
AppStreamClient
.default AssociateFleetResponse associateFleet(AssociateFleetRequest associateFleetRequest) throws LimitExceededException, ResourceNotFoundException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException
Associates the specified fleet with the specified stack.
associateFleetRequest
- LimitExceededException
- The requested limit exceeds the permitted limit for an account.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.IncompatibleImageException
- The image does not support storage connectors.OperationNotPermittedException
- The attempted operation is not permitted.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AssociateFleetResponse associateFleet(Consumer<AssociateFleetRequest.Builder> associateFleetRequest) throws LimitExceededException, ResourceNotFoundException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException
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.LimitExceededException
- The requested limit exceeds the permitted limit for an account.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.IncompatibleImageException
- The image does not support storage connectors.OperationNotPermittedException
- The attempted operation is not permitted.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDirectoryConfigResponse createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest) throws ResourceAlreadyExistsException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException
Creates a directory configuration.
createDirectoryConfigRequest
- ResourceAlreadyExistsException
- The specified resource already exists.LimitExceededException
- The requested limit exceeds the permitted limit for an account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDirectoryConfigResponse createDirectoryConfig(Consumer<CreateDirectoryConfigRequest.Builder> createDirectoryConfigRequest) throws ResourceAlreadyExistsException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceAlreadyExistsException
- The specified resource already exists.LimitExceededException
- The requested limit exceeds the permitted limit for an account.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateFleetResponse createFleet(CreateFleetRequest createFleetRequest) throws ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, LimitExceededException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException
Creates a fleet.
createFleetRequest
- ResourceAlreadyExistsException
- The specified resource already exists.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.ResourceNotFoundException
- The specified resource was not found.LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidRoleException
- The specified role is invalid.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.IncompatibleImageException
- The image does not support storage connectors.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateFleetResponse createFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest) throws ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, LimitExceededException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceAlreadyExistsException
- The specified resource already exists.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.ResourceNotFoundException
- The specified resource was not found.LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidRoleException
- The specified role is invalid.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.IncompatibleImageException
- The image does not support storage connectors.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateImageBuilderResponse createImageBuilder(CreateImageBuilderRequest createImageBuilderRequest) throws LimitExceededException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException
createImageBuilderRequest
- LimitExceededException
- The requested limit exceeds the permitted limit for an account.ResourceAlreadyExistsException
- The specified resource already exists.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.ResourceNotFoundException
- The specified resource was not found.InvalidRoleException
- The specified role is invalid.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.IncompatibleImageException
- The image does not support storage connectors.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateImageBuilderResponse createImageBuilder(Consumer<CreateImageBuilderRequest.Builder> createImageBuilderRequest) throws LimitExceededException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException
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.LimitExceededException
- The requested limit exceeds the permitted limit for an account.ResourceAlreadyExistsException
- The specified resource already exists.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.ResourceNotFoundException
- The specified resource was not found.InvalidRoleException
- The specified role is invalid.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.IncompatibleImageException
- The image does not support storage connectors.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateImageBuilderStreamingUrlResponse createImageBuilderStreamingURL(CreateImageBuilderStreamingUrlRequest createImageBuilderStreamingUrlRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
createImageBuilderStreamingUrlRequest
- OperationNotPermittedException
- The attempted operation is not permitted.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateImageBuilderStreamingUrlResponse createImageBuilderStreamingURL(Consumer<CreateImageBuilderStreamingUrlRequest.Builder> createImageBuilderStreamingUrlRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
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.OperationNotPermittedException
- The attempted operation is not permitted.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateStackResponse createStack(CreateStackRequest createStackRequest) throws LimitExceededException, ResourceAlreadyExistsException, ConcurrentModificationException, InvalidRoleException, ResourceNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException
Creates a stack.
createStackRequest
- LimitExceededException
- The requested limit exceeds the permitted limit for an account.ResourceAlreadyExistsException
- The specified resource already exists.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.InvalidRoleException
- The specified role is invalid.ResourceNotFoundException
- The specified resource was not found.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateStackResponse createStack(Consumer<CreateStackRequest.Builder> createStackRequest) throws LimitExceededException, ResourceAlreadyExistsException, ConcurrentModificationException, InvalidRoleException, ResourceNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException
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.LimitExceededException
- The requested limit exceeds the permitted limit for an account.ResourceAlreadyExistsException
- The specified resource already exists.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.InvalidRoleException
- The specified role is invalid.ResourceNotFoundException
- The specified resource was not found.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateStreamingUrlResponse createStreamingURL(CreateStreamingUrlRequest createStreamingUrlRequest) throws ResourceNotFoundException, ResourceNotAvailableException, OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException
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
- ResourceNotFoundException
- The specified resource was not found.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.OperationNotPermittedException
- The attempted operation is not permitted.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateStreamingUrlResponse createStreamingURL(Consumer<CreateStreamingUrlRequest.Builder> createStreamingUrlRequest) throws ResourceNotFoundException, ResourceNotAvailableException, OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.OperationNotPermittedException
- The attempted operation is not permitted.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDirectoryConfigResponse deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Deletes the specified directory configuration.
deleteDirectoryConfigRequest
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDirectoryConfigResponse deleteDirectoryConfig(Consumer<DeleteDirectoryConfigRequest.Builder> deleteDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteFleetResponse deleteFleet(DeleteFleetRequest deleteFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
Deletes the specified fleet.
deleteFleetRequest
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteFleetResponse deleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteImageResponse deleteImage(DeleteImageRequest deleteImageRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
deleteImageRequest
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteImageResponse deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteImageBuilderResponse deleteImageBuilder(DeleteImageBuilderRequest deleteImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
deleteImageBuilderRequest
- ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteImageBuilderResponse deleteImageBuilder(Consumer<DeleteImageBuilderRequest.Builder> deleteImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteStackResponse deleteStack(DeleteStackRequest deleteStackRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteStackResponse deleteStack(Consumer<DeleteStackRequest.Builder> deleteStackRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeDirectoryConfigsResponse describeDirectoryConfigs() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified directory configurations.
ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
describeDirectoryConfigs(DescribeDirectoryConfigsRequest)
,
AWS API Documentationdefault DescribeDirectoryConfigsResponse describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified directory configurations.
describeDirectoryConfigsRequest
- ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeDirectoryConfigsResponse describeDirectoryConfigs(Consumer<DescribeDirectoryConfigsRequest.Builder> describeDirectoryConfigsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeFleetsResponse describeFleets() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified fleets or all fleets in the account.
ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
describeFleets(DescribeFleetsRequest)
,
AWS API
Documentationdefault DescribeFleetsResponse describeFleets(DescribeFleetsRequest describeFleetsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified fleets or all fleets in the account.
describeFleetsRequest
- ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeFleetsResponse describeFleets(Consumer<DescribeFleetsRequest.Builder> describeFleetsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeImageBuildersResponse describeImageBuilders() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
describeImageBuilders(DescribeImageBuildersRequest)
,
AWS API Documentationdefault DescribeImageBuildersResponse describeImageBuilders(DescribeImageBuildersRequest describeImageBuildersRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
describeImageBuildersRequest
- ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeImageBuildersResponse describeImageBuilders(Consumer<DescribeImageBuildersRequest.Builder> describeImageBuildersRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeImagesResponse describeImages() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified images or all images in the account.
ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
describeImages(DescribeImagesRequest)
,
AWS API
Documentationdefault DescribeImagesResponse describeImages(DescribeImagesRequest describeImagesRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified images or all images in the account.
describeImagesRequest
- ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeImagesResponse describeImages(Consumer<DescribeImagesRequest.Builder> describeImagesRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeSessionsResponse describeSessions(DescribeSessionsRequest describeSessionsRequest) throws InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException
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
- InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeSessionsResponse describeSessions(Consumer<DescribeSessionsRequest.Builder> describeSessionsRequest) throws InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException
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.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeStacksResponse describeStacks() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified stacks or all stacks in the account.
ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
describeStacks(DescribeStacksRequest)
,
AWS API
Documentationdefault DescribeStacksResponse describeStacks(DescribeStacksRequest describeStacksRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
Describes the specified stacks or all stacks in the account.
describeStacksRequest
- ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeStacksResponse describeStacks(Consumer<DescribeStacksRequest.Builder> describeStacksRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DisassociateFleetResponse disassociateFleet(DisassociateFleetRequest disassociateFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
Disassociates the specified fleet from the specified stack.
disassociateFleetRequest
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DisassociateFleetResponse disassociateFleet(Consumer<DisassociateFleetRequest.Builder> disassociateFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ExpireSessionResponse expireSession(ExpireSessionRequest expireSessionRequest) throws AwsServiceException, SdkClientException, AppStreamException
Stops the specified streaming session.
expireSessionRequest
- SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ExpireSessionResponse expireSession(Consumer<ExpireSessionRequest.Builder> expireSessionRequest) throws AwsServiceException, SdkClientException, AppStreamException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAssociatedFleetsResponse listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest) throws AwsServiceException, SdkClientException, AppStreamException
Lists the fleets associated with the specified stack.
listAssociatedFleetsRequest
- SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAssociatedFleetsResponse listAssociatedFleets(Consumer<ListAssociatedFleetsRequest.Builder> listAssociatedFleetsRequest) throws AwsServiceException, SdkClientException, AppStreamException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAssociatedStacksResponse listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest) throws AwsServiceException, SdkClientException, AppStreamException
Lists the stacks associated with the specified fleet.
listAssociatedStacksRequest
- SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAssociatedStacksResponse listAssociatedStacks(Consumer<ListAssociatedStacksRequest.Builder> listAssociatedStacksRequest) throws AwsServiceException, SdkClientException, AppStreamException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartFleetResponse startFleet(StartFleetRequest startFleetRequest) throws ResourceNotFoundException, OperationNotPermittedException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
Starts the specified fleet.
startFleetRequest
- ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.LimitExceededException
- The requested limit exceeds the permitted limit for an account.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartFleetResponse startFleet(Consumer<StartFleetRequest.Builder> startFleetRequest) throws ResourceNotFoundException, OperationNotPermittedException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.LimitExceededException
- The requested limit exceeds the permitted limit for an account.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartImageBuilderResponse startImageBuilder(StartImageBuilderRequest startImageBuilderRequest) throws ResourceNotAvailableException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
startImageBuilderRequest
- ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartImageBuilderResponse startImageBuilder(Consumer<StartImageBuilderRequest.Builder> startImageBuilderRequest) throws ResourceNotAvailableException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopFleetResponse stopFleet(StopFleetRequest stopFleetRequest) throws ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
Stops the specified fleet.
stopFleetRequest
- ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopFleetResponse stopFleet(Consumer<StopFleetRequest.Builder> stopFleetRequest) throws ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopImageBuilderResponse stopImageBuilder(StopImageBuilderRequest stopImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
stopImageBuilderRequest
- ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopImageBuilderResponse stopImageBuilder(Consumer<StopImageBuilderRequest.Builder> stopImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.OperationNotPermittedException
- The attempted operation is not permitted.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDirectoryConfigResponse updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
Updates the specified directory configuration.
updateDirectoryConfigRequest
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDirectoryConfigResponse updateDirectoryConfig(Consumer<UpdateDirectoryConfigRequest.Builder> updateDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFleetResponse updateFleet(UpdateFleetRequest updateFleetRequest) throws ResourceInUseException, LimitExceededException, InvalidRoleException, ResourceNotFoundException, ResourceNotAvailableException, InvalidParameterCombinationException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException
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
- ResourceInUseException
- The specified resource is in use.LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidRoleException
- The specified role is invalid.ResourceNotFoundException
- The specified resource was not found.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.IncompatibleImageException
- The image does not support storage connectors.OperationNotPermittedException
- The attempted operation is not permitted.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateFleetResponse updateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest) throws ResourceInUseException, LimitExceededException, InvalidRoleException, ResourceNotFoundException, ResourceNotAvailableException, InvalidParameterCombinationException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceInUseException
- The specified resource is in use.LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidRoleException
- The specified role is invalid.ResourceNotFoundException
- The specified resource was not found.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.IncompatibleImageException
- The image does not support storage connectors.OperationNotPermittedException
- The attempted operation is not permitted.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateStackResponse updateStack(UpdateStackRequest updateStackRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidRoleException, InvalidParameterCombinationException, LimitExceededException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException
Updates the specified stack.
updateStackRequest
- ResourceNotFoundException
- The specified resource was not found.ResourceInUseException
- The specified resource is in use.InvalidRoleException
- The specified role is invalid.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.LimitExceededException
- The requested limit exceeds the permitted limit for an account.IncompatibleImageException
- The image does not support storage connectors.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateStackResponse updateStack(Consumer<UpdateStackRequest.Builder> updateStackRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidRoleException, InvalidParameterCombinationException, LimitExceededException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException
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.ResourceNotFoundException
- The specified resource was not found.ResourceInUseException
- The specified resource is in use.InvalidRoleException
- The specified role is invalid.InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.LimitExceededException
- The requested limit exceeds the permitted limit for an account.IncompatibleImageException
- The image does not support storage connectors.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppStreamException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.