@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
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 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)
createImageBuilder
in interface AmazonAppStream
public CreateImageBuilderStreamingURLResult createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request)
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.
By default, the URL is valid only for one minute from the time that it is generated.
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)
deleteImage
in interface AmazonAppStream
public DeleteImageBuilderResult deleteImageBuilder(DeleteImageBuilderRequest request)
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.
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)
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 StartFleetResult startFleet(StartFleetRequest request)
AmazonAppStream
Starts the specified fleet.
startFleet
in interface AmazonAppStream
public StartImageBuilderResult startImageBuilder(StartImageBuilderRequest request)
startImageBuilder
in interface AmazonAppStream
public StopFleetResult stopFleet(StopFleetRequest request)
AmazonAppStream
Stops the specified fleet.
stopFleet
in interface AmazonAppStream
public StopImageBuilderResult stopImageBuilder(StopImageBuilderRequest request)
stopImageBuilder
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.