@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonAppStream
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonAppStream
instead.
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 |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AssociateFleetResult |
associateFleet(AssociateFleetRequest associateFleetRequest)
Associates the specified fleet with the specified stack.
|
CopyImageResult |
copyImage(CopyImageRequest copyImageRequest)
Copies the image within the same region or to a new region within the same AWS account.
|
CreateDirectoryConfigResult |
createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest)
Creates a directory configuration.
|
CreateFleetResult |
createFleet(CreateFleetRequest createFleetRequest)
Creates a fleet.
|
CreateImageBuilderResult |
createImageBuilder(CreateImageBuilderRequest createImageBuilderRequest)
Creates an image builder.
|
CreateImageBuilderStreamingURLResult |
createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest createImageBuilderStreamingURLRequest)
Creates a URL to start an image builder streaming session.
|
CreateStackResult |
createStack(CreateStackRequest createStackRequest)
Creates a stack.
|
CreateStreamingURLResult |
createStreamingURL(CreateStreamingURLRequest createStreamingURLRequest)
Creates a URL to start a streaming session for the specified user.
|
DeleteDirectoryConfigResult |
deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest)
Deletes the specified directory configuration.
|
DeleteFleetResult |
deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes the specified fleet.
|
DeleteImageResult |
deleteImage(DeleteImageRequest deleteImageRequest)
Deletes the specified image.
|
DeleteImageBuilderResult |
deleteImageBuilder(DeleteImageBuilderRequest deleteImageBuilderRequest)
Deletes the specified image builder and releases the capacity.
|
DeleteStackResult |
deleteStack(DeleteStackRequest deleteStackRequest)
Deletes the specified stack.
|
DescribeDirectoryConfigsResult |
describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest)
Describes the specified directory configurations.
|
DescribeFleetsResult |
describeFleets(DescribeFleetsRequest describeFleetsRequest)
Describes the specified fleets or all fleets in the account.
|
DescribeImageBuildersResult |
describeImageBuilders(DescribeImageBuildersRequest describeImageBuildersRequest)
Describes the specified image builders or all image builders in the account.
|
DescribeImagesResult |
describeImages(DescribeImagesRequest describeImagesRequest)
Describes the specified images or all images in the account.
|
DescribeSessionsResult |
describeSessions(DescribeSessionsRequest describeSessionsRequest)
Describes the streaming sessions for the specified stack and fleet.
|
DescribeStacksResult |
describeStacks(DescribeStacksRequest describeStacksRequest)
Describes the specified stacks or all stacks in the account.
|
DisassociateFleetResult |
disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
Disassociates the specified fleet from the specified stack.
|
ExpireSessionResult |
expireSession(ExpireSessionRequest expireSessionRequest)
Stops the specified streaming session.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListAssociatedFleetsResult |
listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists the fleets associated with the specified stack.
|
ListAssociatedStacksResult |
listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists the stacks associated with the specified fleet.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified AppStream 2.0 resource.
|
void |
setEndpoint(String endpoint)
Deprecated.
use
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration) for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)); |
void |
setRegion(Region region)
Deprecated.
use
AwsClientBuilder#setRegion(String) |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartFleetResult |
startFleet(StartFleetRequest startFleetRequest)
Starts the specified fleet.
|
StartImageBuilderResult |
startImageBuilder(StartImageBuilderRequest startImageBuilderRequest)
Starts the specified image builder.
|
StopFleetResult |
stopFleet(StopFleetRequest stopFleetRequest)
Stops the specified fleet.
|
StopImageBuilderResult |
stopImageBuilder(StopImageBuilderRequest stopImageBuilderRequest)
Stops the specified image builder.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites one or more tags for the specified AppStream 2.0 resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Disassociates the specified tags from the specified AppStream 2.0 resource.
|
UpdateDirectoryConfigResult |
updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest)
Updates the specified directory configuration.
|
UpdateFleetResult |
updateFleet(UpdateFleetRequest updateFleetRequest)
Updates the specified fleet.
|
UpdateStackResult |
updateStack(UpdateStackRequest updateStackRequest)
Updates the specified stack.
|
AmazonAppStreamWaiters |
waiters() |
static final String ENDPOINT_PREFIX
@Deprecated void setEndpoint(String endpoint)
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)
for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));
Callers can pass in just the endpoint (ex: "appstream2.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "appstream2.us-east-1.amazonaws.com"). If the protocol is not specified here, the default protocol
from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "appstream2.us-east-1.amazonaws.com") or a full URL, including the protocol (ex:
"appstream2.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will communicate
with.@Deprecated void setRegion(Region region)
AwsClientBuilder#setRegion(String)
setEndpoint(String)
, sets the regional endpoint for this client's
service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
AssociateFleetResult associateFleet(AssociateFleetRequest associateFleetRequest)
Associates the specified fleet with the specified stack.
associateFleetRequest
- LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.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.CopyImageResult copyImage(CopyImageRequest copyImageRequest)
Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
copyImageRequest
- ResourceAlreadyExistsException
- The specified resource already exists.ResourceNotFoundException
- The specified resource was not found.ResourceNotAvailableException
- The specified resource exists and is not in use, but isn't available.LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.IncompatibleImageException
- The image does not support storage connectors.CreateDirectoryConfigResult createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest)
Creates a directory configuration.
createDirectoryConfigRequest
- ResourceAlreadyExistsException
- The specified resource already exists.LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.CreateFleetResult createFleet(CreateFleetRequest createFleetRequest)
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.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.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.CreateImageBuilderResult createImageBuilder(CreateImageBuilderRequest createImageBuilderRequest)
Creates an image builder.
The initial state of the builder is PENDING
. When it is ready, the state is RUNNING
.
createImageBuilderRequest
- LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.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.CreateImageBuilderStreamingURLResult createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest createImageBuilderStreamingURLRequest)
Creates a URL to start an image builder streaming session.
createImageBuilderStreamingURLRequest
- OperationNotPermittedException
- The attempted operation is not permitted.ResourceNotFoundException
- The specified resource was not found.CreateStackResult createStack(CreateStackRequest createStackRequest)
Creates a stack.
createStackRequest
- LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.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.CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest createStreamingURLRequest)
Creates a URL to start a streaming session for the specified user.
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.DeleteDirectoryConfigResult deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest)
Deletes the specified directory configuration.
deleteDirectoryConfigRequest
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.DeleteFleetResult deleteFleet(DeleteFleetRequest deleteFleetRequest)
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.DeleteImageResult deleteImage(DeleteImageRequest deleteImageRequest)
Deletes the specified image. You cannot delete an image that is currently in use. After you delete an image, you cannot provision new capacity using the image.
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.DeleteImageBuilderResult deleteImageBuilder(DeleteImageBuilderRequest deleteImageBuilderRequest)
Deletes the specified image builder and releases the capacity.
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.DeleteStackResult deleteStack(DeleteStackRequest deleteStackRequest)
Deletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
deleteStackRequest
- 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.DescribeDirectoryConfigsResult describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest)
Describes the specified directory configurations. Note that although the response syntax in this topic includes the account password, this password is not returned in the actual response.
describeDirectoryConfigsRequest
- ResourceNotFoundException
- The specified resource was not found.DescribeFleetsResult describeFleets(DescribeFleetsRequest describeFleetsRequest)
Describes the specified fleets or all fleets in the account.
describeFleetsRequest
- ResourceNotFoundException
- The specified resource was not found.DescribeImageBuildersResult describeImageBuilders(DescribeImageBuildersRequest describeImageBuildersRequest)
Describes the specified image builders or all image builders in the account.
describeImageBuildersRequest
- ResourceNotFoundException
- The specified resource was not found.DescribeImagesResult describeImages(DescribeImagesRequest describeImagesRequest)
Describes the specified images or all images in the account.
describeImagesRequest
- ResourceNotFoundException
- The specified resource was not found.DescribeSessionsResult describeSessions(DescribeSessionsRequest describeSessionsRequest)
Describes the streaming sessions for the specified stack and fleet. If a user ID is provided, only the streaming sessions for only that user are returned. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
describeSessionsRequest
- InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.DescribeStacksResult describeStacks(DescribeStacksRequest describeStacksRequest)
Describes the specified stacks or all stacks in the account.
describeStacksRequest
- ResourceNotFoundException
- The specified resource was not found.DisassociateFleetResult disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
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.ExpireSessionResult expireSession(ExpireSessionRequest expireSessionRequest)
Stops the specified streaming session.
expireSessionRequest
- ListAssociatedFleetsResult listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists the fleets associated with the specified stack.
listAssociatedFleetsRequest
- ListAssociatedStacksResult listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists the stacks associated with the specified fleet.
listAssociatedStacksRequest
- ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
listTagsForResourceRequest
- ResourceNotFoundException
- The specified resource was not found.StartFleetResult startFleet(StartFleetRequest startFleetRequest)
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.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.StartImageBuilderResult startImageBuilder(StartImageBuilderRequest startImageBuilderRequest)
Starts the specified image builder.
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.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.IncompatibleImageException
- The image does not support storage connectors.StopFleetResult stopFleet(StopFleetRequest stopFleetRequest)
Stops the specified fleet.
stopFleetRequest
- ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.StopImageBuilderResult stopImageBuilder(StopImageBuilderRequest stopImageBuilderRequest)
Stops the specified image builder.
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.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.
Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
tagResourceRequest
- LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.ResourceNotFoundException
- The specified resource was not found.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Disassociates the specified tags from the specified AppStream 2.0 resource.
To list the current tags for your resources, use ListTagsForResource.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide.
untagResourceRequest
- ResourceNotFoundException
- The specified resource was not found.UpdateDirectoryConfigResult updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest)
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.UpdateFleetResult updateFleet(UpdateFleetRequest updateFleetRequest)
Updates the specified fleet.
If the fleet is in the STOPPED
state, you can update any attribute except the fleet name. If the
fleet is in the RUNNING
state, you can update the DisplayName
and
ComputeCapacity
attributes. If the fleet is in the STARTING
or STOPPING
state, you can't update it.
updateFleetRequest
- ResourceInUseException
- The specified resource is in use.LimitExceededException
- The requested limit exceeds the permitted limit for an account.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.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.UpdateStackResult updateStack(UpdateStackRequest updateStackRequest)
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.InvalidAccountStatusException
- The resource cannot be created because your AWS account is suspended. For assistance, contact AWS
Support.IncompatibleImageException
- The image does not support storage connectors.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.AmazonAppStreamWaiters waiters()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.