@Generated(value="software.amazon.awssdk:codegen") public interface AppStreamClient 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 |
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, SdkServiceException, 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.SdkServiceException
default AssociateFleetResponse associateFleet(Consumer<AssociateFleetRequest.Builder> associateFleetRequest) throws LimitExceededException, ResourceNotFoundException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, SdkServiceException, 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.SdkServiceException
default CreateDirectoryConfigResponse createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest) throws ResourceAlreadyExistsException, LimitExceededException, SdkServiceException, 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.SdkServiceException
default CreateDirectoryConfigResponse createDirectoryConfig(Consumer<CreateDirectoryConfigRequest.Builder> createDirectoryConfigRequest) throws ResourceAlreadyExistsException, LimitExceededException, SdkServiceException, 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.SdkServiceException
default CreateFleetResponse createFleet(CreateFleetRequest createFleetRequest) throws ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, LimitExceededException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, SdkServiceException, 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.SdkServiceException
default CreateFleetResponse createFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest) throws ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, LimitExceededException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, SdkServiceException, 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.SdkServiceException
default CreateImageBuilderResponse createImageBuilder(CreateImageBuilderRequest createImageBuilderRequest) throws LimitExceededException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, SdkServiceException, 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.SdkServiceException
default CreateImageBuilderResponse createImageBuilder(Consumer<CreateImageBuilderRequest.Builder> createImageBuilderRequest) throws LimitExceededException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, SdkServiceException, 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.SdkServiceException
default CreateImageBuilderStreamingURLResponse createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest createImageBuilderStreamingURLRequest) throws OperationNotPermittedException, ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default CreateImageBuilderStreamingURLResponse createImageBuilderStreamingURL(Consumer<CreateImageBuilderStreamingURLRequest.Builder> createImageBuilderStreamingURLRequest) throws OperationNotPermittedException, ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default CreateStackResponse createStack(CreateStackRequest createStackRequest) throws LimitExceededException, ResourceAlreadyExistsException, ConcurrentModificationException, InvalidRoleException, ResourceNotFoundException, InvalidParameterCombinationException, SdkServiceException, 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.SdkServiceException
default CreateStackResponse createStack(Consumer<CreateStackRequest.Builder> createStackRequest) throws LimitExceededException, ResourceAlreadyExistsException, ConcurrentModificationException, InvalidRoleException, ResourceNotFoundException, InvalidParameterCombinationException, SdkServiceException, 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.SdkServiceException
default CreateStreamingURLResponse createStreamingURL(CreateStreamingURLRequest createStreamingURLRequest) throws ResourceNotFoundException, ResourceNotAvailableException, OperationNotPermittedException, InvalidParameterCombinationException, SdkServiceException, 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.SdkServiceException
default CreateStreamingURLResponse createStreamingURL(Consumer<CreateStreamingURLRequest.Builder> createStreamingURLRequest) throws ResourceNotFoundException, ResourceNotAvailableException, OperationNotPermittedException, InvalidParameterCombinationException, SdkServiceException, 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.SdkServiceException
default DeleteDirectoryConfigResponse deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DeleteDirectoryConfigResponse deleteDirectoryConfig(Consumer<DeleteDirectoryConfigRequest.Builder> deleteDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DeleteFleetResponse deleteFleet(DeleteFleetRequest deleteFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DeleteFleetResponse deleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DeleteImageResponse deleteImage(DeleteImageRequest deleteImageRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DeleteImageResponse deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DeleteImageBuilderResponse deleteImageBuilder(DeleteImageBuilderRequest deleteImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DeleteImageBuilderResponse deleteImageBuilder(Consumer<DeleteImageBuilderRequest.Builder> deleteImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DeleteStackResponse deleteStack(DeleteStackRequest deleteStackRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DeleteStackResponse deleteStack(Consumer<DeleteStackRequest.Builder> deleteStackRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DescribeDirectoryConfigsResponse describeDirectoryConfigs() throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
describeDirectoryConfigs(DescribeDirectoryConfigsRequest)
,
AWS API Documentationdefault DescribeDirectoryConfigsResponse describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeDirectoryConfigsResponse describeDirectoryConfigs(Consumer<DescribeDirectoryConfigsRequest.Builder> describeDirectoryConfigsRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeFleetsResponse describeFleets() throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
describeFleets(DescribeFleetsRequest)
,
AWS API
Documentationdefault DescribeFleetsResponse describeFleets(DescribeFleetsRequest describeFleetsRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeFleetsResponse describeFleets(Consumer<DescribeFleetsRequest.Builder> describeFleetsRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeImageBuildersResponse describeImageBuilders() throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
describeImageBuilders(DescribeImageBuildersRequest)
,
AWS API Documentationdefault DescribeImageBuildersResponse describeImageBuilders(DescribeImageBuildersRequest describeImageBuildersRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeImageBuildersResponse describeImageBuilders(Consumer<DescribeImageBuildersRequest.Builder> describeImageBuildersRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeImagesResponse describeImages() throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
describeImages(DescribeImagesRequest)
,
AWS API
Documentationdefault DescribeImagesResponse describeImages(DescribeImagesRequest describeImagesRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeImagesResponse describeImages(Consumer<DescribeImagesRequest.Builder> describeImagesRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeSessionsResponse describeSessions(DescribeSessionsRequest describeSessionsRequest) throws InvalidParameterCombinationException, SdkServiceException, 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.SdkServiceException
default DescribeSessionsResponse describeSessions(Consumer<DescribeSessionsRequest.Builder> describeSessionsRequest) throws InvalidParameterCombinationException, SdkServiceException, 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.SdkServiceException
default DescribeStacksResponse describeStacks() throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
describeStacks(DescribeStacksRequest)
,
AWS API
Documentationdefault DescribeStacksResponse describeStacks(DescribeStacksRequest describeStacksRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DescribeStacksResponse describeStacks(Consumer<DescribeStacksRequest.Builder> describeStacksRequest) throws ResourceNotFoundException, SdkServiceException, 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.SdkServiceException
default DisassociateFleetResponse disassociateFleet(DisassociateFleetRequest disassociateFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default DisassociateFleetResponse disassociateFleet(Consumer<DisassociateFleetRequest.Builder> disassociateFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default ExpireSessionResponse expireSession(ExpireSessionRequest expireSessionRequest) throws SdkServiceException, 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.SdkServiceException
default ExpireSessionResponse expireSession(Consumer<ExpireSessionRequest.Builder> expireSessionRequest) throws SdkServiceException, 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.SdkServiceException
default ListAssociatedFleetsResponse listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest) throws SdkServiceException, 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.SdkServiceException
default ListAssociatedFleetsResponse listAssociatedFleets(Consumer<ListAssociatedFleetsRequest.Builder> listAssociatedFleetsRequest) throws SdkServiceException, 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.SdkServiceException
default ListAssociatedStacksResponse listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest) throws SdkServiceException, 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.SdkServiceException
default ListAssociatedStacksResponse listAssociatedStacks(Consumer<ListAssociatedStacksRequest.Builder> listAssociatedStacksRequest) throws SdkServiceException, 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.SdkServiceException
default StartFleetResponse startFleet(StartFleetRequest startFleetRequest) throws ResourceNotFoundException, OperationNotPermittedException, LimitExceededException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default StartFleetResponse startFleet(Consumer<StartFleetRequest.Builder> startFleetRequest) throws ResourceNotFoundException, OperationNotPermittedException, LimitExceededException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default StartImageBuilderResponse startImageBuilder(StartImageBuilderRequest startImageBuilderRequest) throws ResourceNotAvailableException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default StartImageBuilderResponse startImageBuilder(Consumer<StartImageBuilderRequest.Builder> startImageBuilderRequest) throws ResourceNotAvailableException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default StopFleetResponse stopFleet(StopFleetRequest stopFleetRequest) throws ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default StopFleetResponse stopFleet(Consumer<StopFleetRequest.Builder> stopFleetRequest) throws ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default StopImageBuilderResponse stopImageBuilder(StopImageBuilderRequest stopImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default StopImageBuilderResponse stopImageBuilder(Consumer<StopImageBuilderRequest.Builder> stopImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default UpdateDirectoryConfigResponse updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default UpdateDirectoryConfigResponse updateDirectoryConfig(Consumer<UpdateDirectoryConfigRequest.Builder> updateDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, SdkServiceException, 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.SdkServiceException
default UpdateFleetResponse updateFleet(UpdateFleetRequest updateFleetRequest) throws ResourceInUseException, LimitExceededException, InvalidRoleException, ResourceNotFoundException, ResourceNotAvailableException, InvalidParameterCombinationException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, SdkServiceException, 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.SdkServiceException
default UpdateFleetResponse updateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest) throws ResourceInUseException, LimitExceededException, InvalidRoleException, ResourceNotFoundException, ResourceNotAvailableException, InvalidParameterCombinationException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, SdkServiceException, 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.SdkServiceException
default UpdateStackResponse updateStack(UpdateStackRequest updateStackRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidRoleException, InvalidParameterCombinationException, LimitExceededException, IncompatibleImageException, SdkServiceException, 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.SdkServiceException
default UpdateStackResponse updateStack(Consumer<UpdateStackRequest.Builder> updateStackRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidRoleException, InvalidParameterCombinationException, LimitExceededException, IncompatibleImageException, SdkServiceException, 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.SdkServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.