@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAppStreamClient extends AmazonWebServiceClient implements AmazonAppStream
API documentation for Amazon AppStream 2.0.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonAppStreamClient()
Deprecated.
|
AmazonAppStreamClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonAppStreamClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AmazonAppStreamClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AmazonAppStreamClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonAppStreamClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonAppStreamClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AmazonAppStreamClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AssociateFleetResult |
associateFleet(AssociateFleetRequest request)
Associate a fleet to a stack.
|
static AmazonAppStreamClientBuilder |
builder() |
CreateDirectoryConfigResult |
createDirectoryConfig(CreateDirectoryConfigRequest request)
Creates a directory configuration with the given parameters.
|
CreateFleetResult |
createFleet(CreateFleetRequest request)
Creates a new fleet.
|
CreateStackResult |
createStack(CreateStackRequest request)
Create a new stack.
|
CreateStreamingURLResult |
createStreamingURL(CreateStreamingURLRequest request)
Creates a URL to start an AppStream 2.0 streaming session for a user.
|
DeleteDirectoryConfigResult |
deleteDirectoryConfig(DeleteDirectoryConfigRequest request)
Deletes the directory configuration with the given parameters.
|
DeleteFleetResult |
deleteFleet(DeleteFleetRequest request)
Deletes a fleet.
|
DeleteStackResult |
deleteStack(DeleteStackRequest request)
Deletes the stack.
|
DescribeDirectoryConfigsResult |
describeDirectoryConfigs(DescribeDirectoryConfigsRequest request)
Returns a list describing the specified directory configurations.
|
DescribeFleetsResult |
describeFleets(DescribeFleetsRequest request)
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the
account are described.
|
DescribeImagesResult |
describeImages(DescribeImagesRequest request)
Describes the images.
|
DescribeSessionsResult |
describeSessions(DescribeSessionsRequest request)
Describes the streaming sessions for a stack and a fleet.
|
DescribeStacksResult |
describeStacks(DescribeStacksRequest request)
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the
account are described.
|
DisassociateFleetResult |
disassociateFleet(DisassociateFleetRequest request)
Disassociates a fleet from a stack.
|
ExpireSessionResult |
expireSession(ExpireSessionRequest request)
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 request)
Lists all fleets associated with the stack.
|
ListAssociatedStacksResult |
listAssociatedStacks(ListAssociatedStacksRequest request)
Lists all stacks to which the specified fleet is associated.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartFleetResult |
startFleet(StartFleetRequest request)
Starts a fleet.
|
StopFleetResult |
stopFleet(StopFleetRequest request)
Stops a fleet.
|
UpdateDirectoryConfigResult |
updateDirectoryConfig(UpdateDirectoryConfigRequest request)
Updates the directory configuration with the given parameters.
|
UpdateFleetResult |
updateFleet(UpdateFleetRequest request)
Updates an existing fleet.
|
UpdateStackResult |
updateStack(UpdateStackRequest request)
Updates the specified fields in the stack with the specified name.
|
AmazonAppStreamWaiters |
waiters() |
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion@Deprecated public AmazonAppStreamClient()
AmazonAppStreamClientBuilder.defaultClient()All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AmazonAppStreamClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this client connects to Amazon AppStream (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChain@Deprecated public AmazonAppStreamClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonAppStreamClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AmazonAppStreamClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon AppStream (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonAppStreamClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AmazonAppStreamClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon AppStream (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonAppStreamClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon AppStream (ex: proxy
settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic static AmazonAppStreamClientBuilder builder()
public AssociateFleetResult associateFleet(AssociateFleetRequest request)
Associate a fleet to a stack.
associateFleet in interface AmazonAppStreamassociateFleetRequest - 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.public CreateDirectoryConfigResult createDirectoryConfig(CreateDirectoryConfigRequest request)
Creates a directory configuration with the given parameters.
createDirectoryConfig in interface AmazonAppStreamcreateDirectoryConfigRequest - ResourceAlreadyExistsException - The specified resource already exists.LimitExceededException - The requested limit exceeds the permitted limit for an account.public CreateFleetResult createFleet(CreateFleetRequest request)
Creates a new fleet.
createFleet in interface AmazonAppStreamcreateFleetRequest - 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.public CreateStackResult createStack(CreateStackRequest request)
Create a new stack.
createStack in interface AmazonAppStreamcreateStackRequest - 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.public CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest request)
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.
createStreamingURL in interface AmazonAppStreamcreateStreamingURLRequest - 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.public DeleteDirectoryConfigResult deleteDirectoryConfig(DeleteDirectoryConfigRequest request)
Deletes the directory configuration with the given parameters.
deleteDirectoryConfig in interface AmazonAppStreamdeleteDirectoryConfigRequest - ResourceInUseException - The specified resource is in use.ResourceNotFoundException - The specified resource was not found.public DeleteFleetResult deleteFleet(DeleteFleetRequest request)
Deletes a fleet.
deleteFleet in interface AmazonAppStreamdeleteFleetRequest - 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.public DeleteStackResult deleteStack(DeleteStackRequest request)
Deletes the stack. After this operation completes, the environment can no longer be activated, and any reservations made for the stack are released.
deleteStack in interface AmazonAppStreamdeleteStackRequest - 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.public DescribeDirectoryConfigsResult describeDirectoryConfigs(DescribeDirectoryConfigsRequest request)
Returns a list describing the specified directory configurations.
describeDirectoryConfigs in interface AmazonAppStreamdescribeDirectoryConfigsRequest - ResourceNotFoundException - The specified resource was not found.public DescribeFleetsResult describeFleets(DescribeFleetsRequest request)
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.
describeFleets in interface AmazonAppStreamdescribeFleetsRequest - ResourceNotFoundException - The specified resource was not found.public DescribeImagesResult describeImages(DescribeImagesRequest request)
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.
describeImages in interface AmazonAppStreamdescribeImagesRequest - ResourceNotFoundException - The specified resource was not found.public DescribeSessionsResult describeSessions(DescribeSessionsRequest request)
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.
describeSessions in interface AmazonAppStreamdescribeSessionsRequest - InvalidParameterCombinationException - Indicates an incorrect combination of parameters, or a missing parameter.public DescribeStacksResult describeStacks(DescribeStacksRequest request)
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.
describeStacks in interface AmazonAppStreamdescribeStacksRequest - ResourceNotFoundException - The specified resource was not found.public DisassociateFleetResult disassociateFleet(DisassociateFleetRequest request)
Disassociates a fleet from a stack.
disassociateFleet in interface AmazonAppStreamdisassociateFleetRequest - 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.public ExpireSessionResult expireSession(ExpireSessionRequest request)
This operation immediately stops a streaming session.
expireSession in interface AmazonAppStreamexpireSessionRequest - public ListAssociatedFleetsResult listAssociatedFleets(ListAssociatedFleetsRequest request)
Lists all fleets associated with the stack.
listAssociatedFleets in interface AmazonAppStreamlistAssociatedFleetsRequest - public ListAssociatedStacksResult listAssociatedStacks(ListAssociatedStacksRequest request)
Lists all stacks to which the specified fleet is associated.
listAssociatedStacks in interface AmazonAppStreamlistAssociatedStacksRequest - public StartFleetResult startFleet(StartFleetRequest request)
Starts a fleet.
startFleet in interface AmazonAppStreamstartFleetRequest - 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.public StopFleetResult stopFleet(StopFleetRequest request)
Stops a fleet.
stopFleet in interface AmazonAppStreamstopFleetRequest - ResourceNotFoundException - The specified resource was not found.ConcurrentModificationException - An API error occurred. Wait a few minutes and try again.public UpdateDirectoryConfigResult updateDirectoryConfig(UpdateDirectoryConfigRequest request)
Updates the directory configuration with the given parameters.
updateDirectoryConfig in interface AmazonAppStreamupdateDirectoryConfigRequest - 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.public UpdateFleetResult updateFleet(UpdateFleetRequest request)
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.
updateFleet in interface AmazonAppStreamupdateFleetRequest - 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.public UpdateStackResult updateStack(UpdateStackRequest request)
Updates the specified fields in the stack with the specified name.
updateStack in interface AmazonAppStreamupdateStackRequest - 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.public 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 the request.
getCachedResponseMetadata in interface AmazonAppStreamrequest - The originally executed requestpublic AmazonAppStreamWaiters waiters()
waiters in interface AmazonAppStreampublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonAppStreamshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.