@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 associateFleetRequest)
Associate a fleet to a stack.
|
static AmazonAppStreamClientBuilder |
builder() |
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.
|
DeleteFleetResult |
deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes a fleet.
|
DeleteStackResult |
deleteStack(DeleteStackRequest deleteStackRequest)
Deletes the stack.
|
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.
|
StartFleetResult |
startFleet(StartFleetRequest startFleetRequest)
Starts a fleet.
|
StopFleetResult |
stopFleet(StopFleetRequest stopFleetRequest)
Stops a fleet.
|
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() |
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdown@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 associateFleetRequest)
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.public CreateFleetResult createFleet(CreateFleetRequest createFleetRequest)
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.public CreateStackResult createStack(CreateStackRequest createStackRequest)
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.public 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.
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.public DeleteFleetResult deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes a fleet.
deleteFleet in interface AmazonAppStreamdeleteFleetRequest - ResourceInUseException - The specified resource is in use.ResourceNotFoundException - The specified resource was not found.public 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.
deleteStack in interface AmazonAppStreamdeleteStackRequest - ResourceInUseException - The specified resource is in use.ResourceNotFoundException - The specified resource was not found.public DescribeFleetsResult describeFleets(DescribeFleetsRequest describeFleetsRequest)
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 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.
describeImages in interface AmazonAppStreamdescribeImagesRequest - ResourceNotFoundException - The specified resource was not found.public 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. Pass this value for the nextToken parameter in a subsequent
call to this operation to retrieve the next set of items.
describeSessions in interface AmazonAppStreamdescribeSessionsRequest - public DescribeStacksResult describeStacks(DescribeStacksRequest describeStacksRequest)
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the
account are described. Pass the nextToken value in a subsequent call to this operation to retrieve
the next set of items.
describeStacks in interface AmazonAppStreamdescribeStacksRequest - ResourceNotFoundException - The specified resource was not found.public DisassociateFleetResult disassociateFleet(DisassociateFleetRequest disassociateFleetRequest)
Disassociates a fleet from a stack.
disassociateFleet in interface AmazonAppStreamdisassociateFleetRequest - ResourceInUseException - The specified resource is in use.ResourceNotFoundException - The specified resource was not found.public ExpireSessionResult expireSession(ExpireSessionRequest expireSessionRequest)
This operation immediately stops a streaming session.
expireSession in interface AmazonAppStreamexpireSessionRequest - public ListAssociatedFleetsResult listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest)
Lists all fleets associated with the stack.
listAssociatedFleets in interface AmazonAppStreamlistAssociatedFleetsRequest - public ListAssociatedStacksResult listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest)
Lists all stacks to which the specified fleet is associated.
listAssociatedStacks in interface AmazonAppStreamlistAssociatedStacksRequest - public StartFleetResult startFleet(StartFleetRequest startFleetRequest)
Starts a fleet.
startFleet in interface AmazonAppStreamstartFleetRequest - ResourceNotFoundException - The specified resource was not found.LimitExceededException - The requested limit exceeds the permitted limit for an account.public StopFleetResult stopFleet(StopFleetRequest stopFleetRequest)
Stops a fleet.
stopFleet in interface AmazonAppStreamstopFleetRequest - ResourceNotFoundException - The specified resource was not found.public UpdateFleetResult updateFleet(UpdateFleetRequest updateFleetRequest)
Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state. Only ComputeCapacity and ImageName can be updated in any other state.
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.public UpdateStackResult updateStack(UpdateStackRequest updateStackRequest)
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.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 AmazonAppStreamCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.