@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.
API documentation for Amazon AppStream 2.0.
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)
Associate a fleet to a stack.
|
CreateDirectoryConfigResult |
createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest)
Creates a directory configuration with the given parameters.
|
CreateFleetResult |
createFleet(CreateFleetRequest createFleetRequest)
Creates a new fleet.
|
CreateStackResult |
createStack(CreateStackRequest createStackRequest)
Create a new stack.
|
CreateStreamingURLResult |
createStreamingURL(CreateStreamingURLRequest createStreamingURLRequest)
Creates a URL to start an AppStream 2.0 streaming session for a user.
|
DeleteDirectoryConfigResult |
deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest)
Deletes the directory configuration with the given parameters.
|
DeleteFleetResult |
deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes a fleet.
|
DeleteStackResult |
deleteStack(DeleteStackRequest deleteStackRequest)
Deletes the stack.
|
DescribeDirectoryConfigsResult |
describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest)
Returns a list describing the specified directory configurations.
|
DescribeFleetsResult |
describeFleets(DescribeFleetsRequest describeFleetsRequest)
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the
account are described.
|
DescribeImagesResult |
describeImages(DescribeImagesRequest describeImagesRequest)
Describes the images.
|
DescribeSessionsResult |
describeSessions(DescribeSessionsRequest describeSessionsRequest)
Describes the streaming sessions for a stack and a fleet.
|
DescribeStacksResult |
describeStacks(DescribeStacksRequest describeStacksRequest)
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the
account are described.
|
DisassociateFleetResult |
disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
Disassociates a fleet from a stack.
|
ExpireSessionResult |
expireSession(ExpireSessionRequest expireSessionRequest)
This operation immediately stops a 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 all fleets associated with the stack.
|
ListAssociatedStacksResult |
listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists all stacks to which the specified fleet is associated.
|
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 a fleet.
|
StopFleetResult |
stopFleet(StopFleetRequest stopFleetRequest)
Stops a fleet.
|
UpdateDirectoryConfigResult |
updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest)
Updates the directory configuration with the given parameters.
|
UpdateFleetResult |
updateFleet(UpdateFleetRequest updateFleetRequest)
Updates an existing fleet.
|
UpdateStackResult |
updateStack(UpdateStackRequest updateStackRequest)
Updates the specified fields in the stack with the specified name.
|
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)
Associate a fleet to a 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.CreateDirectoryConfigResult createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest)
Creates a directory configuration with the given parameters.
createDirectoryConfigRequest
- ResourceAlreadyExistsException
- The specified resource already exists.LimitExceededException
- The requested limit exceeds the permitted limit for an account.CreateFleetResult createFleet(CreateFleetRequest createFleetRequest)
Creates a new fleet.
createFleetRequest
- Contains the parameters for the new fleet to create.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.CreateStackResult createStack(CreateStackRequest createStackRequest)
Create a new 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.CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest createStreamingURLRequest)
Creates a URL to start an AppStream 2.0 streaming session for a user. By default, the URL is valid only for 1 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.DeleteDirectoryConfigResult deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest)
Deletes the directory configuration with the given parameters.
deleteDirectoryConfigRequest
- ResourceInUseException
- The specified resource is in use.ResourceNotFoundException
- The specified resource was not found.DeleteFleetResult deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes a 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.DeleteStackResult deleteStack(DeleteStackRequest deleteStackRequest)
Deletes the 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)
Returns a list describing the specified directory configurations.
describeDirectoryConfigsRequest
- ResourceNotFoundException
- The specified resource was not found.DescribeFleetsResult describeFleets(DescribeFleetsRequest describeFleetsRequest)
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.
describeFleetsRequest
- ResourceNotFoundException
- The specified resource was not found.DescribeImagesResult describeImages(DescribeImagesRequest describeImagesRequest)
Describes the images. If a list of names is not provided, all images in your account are returned. This operation does not return a paginated result.
describeImagesRequest
- ResourceNotFoundException
- The specified resource was not found.DescribeSessionsResult describeSessions(DescribeSessionsRequest describeSessionsRequest)
Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns
streaming sessions for only that user. To retrieve the next set of items, pass this value for the
nextToken
parameter in a subsequent call to this operation. If an authentication type is not
provided, the operation defaults to users authenticated using a streaming URL.
describeSessionsRequest
- InvalidParameterCombinationException
- Indicates an incorrect combination of parameters, or a missing parameter.DescribeStacksResult describeStacks(DescribeStacksRequest describeStacksRequest)
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the
account are described. To retrieve the next set of items, pass the nextToken
value in a subsequent
call to this operation.
describeStacksRequest
- ResourceNotFoundException
- The specified resource was not found.DisassociateFleetResult disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
Disassociates a fleet from a 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)
This operation immediately stops a streaming session.
expireSessionRequest
- ListAssociatedFleetsResult listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists all fleets associated with the stack.
listAssociatedFleetsRequest
- ListAssociatedStacksResult listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists all stacks to which the specified fleet is associated.
listAssociatedStacksRequest
- StartFleetResult startFleet(StartFleetRequest startFleetRequest)
Starts a 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.StopFleetResult stopFleet(StopFleetRequest stopFleetRequest)
Stops a fleet.
stopFleetRequest
- ResourceNotFoundException
- The specified resource was not found.ConcurrentModificationException
- An API error occurred. Wait a few minutes and try again.UpdateDirectoryConfigResult updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest)
Updates the directory configuration with the given parameters.
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 an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state.
When a fleet is in the RUNNING state, only DisplayName
and ComputeCapacity
can
be updated. A fleet cannot be updated in a status of STARTING or STOPPING.
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.UpdateStackResult updateStack(UpdateStackRequest updateStackRequest)
Updates the specified fields in the stack with the specified name.
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.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.