@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonAppStream extends Object implements AmazonAppStream
AmazonAppStream
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateFleetResult |
associateFleet(AssociateFleetRequest request)
Associates the specified fleet with the specified stack.
|
CopyImageResult |
copyImage(CopyImageRequest request)
Copies the image within the same region or to a new region within the same AWS account.
|
CreateDirectoryConfigResult |
createDirectoryConfig(CreateDirectoryConfigRequest request)
Creates a directory configuration.
|
CreateFleetResult |
createFleet(CreateFleetRequest request)
Creates a fleet.
|
CreateImageBuilderResult |
createImageBuilder(CreateImageBuilderRequest request)
Creates an image builder.
|
CreateImageBuilderStreamingURLResult |
createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request)
Creates a URL to start an image builder streaming session.
|
CreateStackResult |
createStack(CreateStackRequest request)
Creates a stack.
|
CreateStreamingURLResult |
createStreamingURL(CreateStreamingURLRequest request)
Creates a URL to start a streaming session for the specified user.
|
DeleteDirectoryConfigResult |
deleteDirectoryConfig(DeleteDirectoryConfigRequest request)
Deletes the specified directory configuration.
|
DeleteFleetResult |
deleteFleet(DeleteFleetRequest request)
Deletes the specified fleet.
|
DeleteImageResult |
deleteImage(DeleteImageRequest request)
Deletes the specified image.
|
DeleteImageBuilderResult |
deleteImageBuilder(DeleteImageBuilderRequest request)
Deletes the specified image builder and releases the capacity.
|
DeleteStackResult |
deleteStack(DeleteStackRequest request)
Deletes the specified stack.
|
DescribeDirectoryConfigsResult |
describeDirectoryConfigs(DescribeDirectoryConfigsRequest request)
Describes the specified directory configurations.
|
DescribeFleetsResult |
describeFleets(DescribeFleetsRequest request)
Describes the specified fleets or all fleets in the account.
|
DescribeImageBuildersResult |
describeImageBuilders(DescribeImageBuildersRequest request)
Describes the specified image builders or all image builders in the account.
|
DescribeImagesResult |
describeImages(DescribeImagesRequest request)
Describes the specified images or all images in the account.
|
DescribeSessionsResult |
describeSessions(DescribeSessionsRequest request)
Describes the streaming sessions for the specified stack and fleet.
|
DescribeStacksResult |
describeStacks(DescribeStacksRequest request)
Describes the specified stacks or all stacks in the account.
|
DisassociateFleetResult |
disassociateFleet(DisassociateFleetRequest request)
Disassociates the specified fleet from the specified stack.
|
ExpireSessionResult |
expireSession(ExpireSessionRequest request)
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 request)
Lists the fleets associated with the specified stack.
|
ListAssociatedStacksResult |
listAssociatedStacks(ListAssociatedStacksRequest request)
Lists the stacks associated with the specified fleet.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified AppStream 2.0 resource.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("appstream2.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AmazonAppStream.setEndpoint(String) , sets the regional endpoint for this client's
service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartFleetResult |
startFleet(StartFleetRequest request)
Starts the specified fleet.
|
StartImageBuilderResult |
startImageBuilder(StartImageBuilderRequest request)
Starts the specified image builder.
|
StopFleetResult |
stopFleet(StopFleetRequest request)
Stops the specified fleet.
|
StopImageBuilderResult |
stopImageBuilder(StopImageBuilderRequest request)
Stops the specified image builder.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds or overwrites one or more tags for the specified AppStream 2.0 resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Disassociates the specified tags from the specified AppStream 2.0 resource.
|
UpdateDirectoryConfigResult |
updateDirectoryConfig(UpdateDirectoryConfigRequest request)
Updates the specified directory configuration.
|
UpdateFleetResult |
updateFleet(UpdateFleetRequest request)
Updates the specified fleet.
|
UpdateStackResult |
updateStack(UpdateStackRequest request)
Updates the specified stack.
|
AmazonAppStreamWaiters |
waiters() |
public void setEndpoint(String endpoint)
AmazonAppStream
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.
setEndpoint
in interface AmazonAppStream
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.public void setRegion(Region region)
AmazonAppStream
AmazonAppStream.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.
setRegion
in interface AmazonAppStream
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)
public AssociateFleetResult associateFleet(AssociateFleetRequest request)
AmazonAppStream
Associates the specified fleet with the specified stack.
associateFleet
in interface AmazonAppStream
public CopyImageResult copyImage(CopyImageRequest request)
AmazonAppStream
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.
copyImage
in interface AmazonAppStream
public CreateDirectoryConfigResult createDirectoryConfig(CreateDirectoryConfigRequest request)
AmazonAppStream
Creates a directory configuration.
createDirectoryConfig
in interface AmazonAppStream
public CreateFleetResult createFleet(CreateFleetRequest request)
AmazonAppStream
Creates a fleet.
createFleet
in interface AmazonAppStream
public CreateImageBuilderResult createImageBuilder(CreateImageBuilderRequest request)
AmazonAppStream
Creates an image builder.
The initial state of the builder is PENDING
. When it is ready, the state is RUNNING
.
createImageBuilder
in interface AmazonAppStream
public CreateImageBuilderStreamingURLResult createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request)
AmazonAppStream
Creates a URL to start an image builder streaming session.
createImageBuilderStreamingURL
in interface AmazonAppStream
public CreateStackResult createStack(CreateStackRequest request)
AmazonAppStream
Creates a stack.
createStack
in interface AmazonAppStream
public CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest request)
AmazonAppStream
Creates a URL to start a streaming session for the specified user.
createStreamingURL
in interface AmazonAppStream
public DeleteDirectoryConfigResult deleteDirectoryConfig(DeleteDirectoryConfigRequest request)
AmazonAppStream
Deletes the specified directory configuration.
deleteDirectoryConfig
in interface AmazonAppStream
public DeleteFleetResult deleteFleet(DeleteFleetRequest request)
AmazonAppStream
Deletes the specified fleet.
deleteFleet
in interface AmazonAppStream
public DeleteImageResult deleteImage(DeleteImageRequest request)
AmazonAppStream
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.
deleteImage
in interface AmazonAppStream
public DeleteImageBuilderResult deleteImageBuilder(DeleteImageBuilderRequest request)
AmazonAppStream
Deletes the specified image builder and releases the capacity.
deleteImageBuilder
in interface AmazonAppStream
public DeleteStackResult deleteStack(DeleteStackRequest request)
AmazonAppStream
Deletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.
deleteStack
in interface AmazonAppStream
public DescribeDirectoryConfigsResult describeDirectoryConfigs(DescribeDirectoryConfigsRequest request)
AmazonAppStream
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.
describeDirectoryConfigs
in interface AmazonAppStream
public DescribeFleetsResult describeFleets(DescribeFleetsRequest request)
AmazonAppStream
Describes the specified fleets or all fleets in the account.
describeFleets
in interface AmazonAppStream
public DescribeImageBuildersResult describeImageBuilders(DescribeImageBuildersRequest request)
AmazonAppStream
Describes the specified image builders or all image builders in the account.
describeImageBuilders
in interface AmazonAppStream
public DescribeImagesResult describeImages(DescribeImagesRequest request)
AmazonAppStream
Describes the specified images or all images in the account.
describeImages
in interface AmazonAppStream
public DescribeSessionsResult describeSessions(DescribeSessionsRequest request)
AmazonAppStream
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.
describeSessions
in interface AmazonAppStream
public DescribeStacksResult describeStacks(DescribeStacksRequest request)
AmazonAppStream
Describes the specified stacks or all stacks in the account.
describeStacks
in interface AmazonAppStream
public DisassociateFleetResult disassociateFleet(DisassociateFleetRequest request)
AmazonAppStream
Disassociates the specified fleet from the specified stack.
disassociateFleet
in interface AmazonAppStream
public ExpireSessionResult expireSession(ExpireSessionRequest request)
AmazonAppStream
Stops the specified streaming session.
expireSession
in interface AmazonAppStream
public ListAssociatedFleetsResult listAssociatedFleets(ListAssociatedFleetsRequest request)
AmazonAppStream
Lists the fleets associated with the specified stack.
listAssociatedFleets
in interface AmazonAppStream
public ListAssociatedStacksResult listAssociatedStacks(ListAssociatedStacksRequest request)
AmazonAppStream
Lists the stacks associated with the specified fleet.
listAssociatedStacks
in interface AmazonAppStream
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonAppStream
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.
listTagsForResource
in interface AmazonAppStream
public StartFleetResult startFleet(StartFleetRequest request)
AmazonAppStream
Starts the specified fleet.
startFleet
in interface AmazonAppStream
public StartImageBuilderResult startImageBuilder(StartImageBuilderRequest request)
AmazonAppStream
Starts the specified image builder.
startImageBuilder
in interface AmazonAppStream
public StopFleetResult stopFleet(StopFleetRequest request)
AmazonAppStream
Stops the specified fleet.
stopFleet
in interface AmazonAppStream
public StopImageBuilderResult stopImageBuilder(StopImageBuilderRequest request)
AmazonAppStream
Stops the specified image builder.
stopImageBuilder
in interface AmazonAppStream
public TagResourceResult tagResource(TagResourceRequest request)
AmazonAppStream
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.
tagResource
in interface AmazonAppStream
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonAppStream
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.
untagResource
in interface AmazonAppStream
public UpdateDirectoryConfigResult updateDirectoryConfig(UpdateDirectoryConfigRequest request)
AmazonAppStream
Updates the specified directory configuration.
updateDirectoryConfig
in interface AmazonAppStream
public UpdateFleetResult updateFleet(UpdateFleetRequest request)
AmazonAppStream
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.
updateFleet
in interface AmazonAppStream
public UpdateStackResult updateStack(UpdateStackRequest request)
AmazonAppStream
Updates the specified stack.
updateStack
in interface AmazonAppStream
public void shutdown()
AmazonAppStream
shutdown
in interface AmazonAppStream
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonAppStream
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.
getCachedResponseMetadata
in interface AmazonAppStream
request
- The originally executed request.public AmazonAppStreamWaiters waiters()
waiters
in interface AmazonAppStream
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.