@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)
Associate a fleet to a stack.
|
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.
|
DeleteFleetResult |
deleteFleet(DeleteFleetRequest request)
Deletes a fleet.
|
DeleteStackResult |
deleteStack(DeleteStackRequest request)
Deletes the stack.
|
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 |
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 a fleet.
|
StopFleetResult |
stopFleet(StopFleetRequest request)
Stops a fleet.
|
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() |
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
Associate a fleet to a stack.
associateFleet
in interface AmazonAppStream
public CreateFleetResult createFleet(CreateFleetRequest request)
AmazonAppStream
Creates a new fleet.
createFleet
in interface AmazonAppStream
request
- Contains the parameters for the new fleet to create.public CreateStackResult createStack(CreateStackRequest request)
AmazonAppStream
Create a new stack.
createStack
in interface AmazonAppStream
public CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest request)
AmazonAppStream
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 AmazonAppStream
public DeleteFleetResult deleteFleet(DeleteFleetRequest request)
AmazonAppStream
Deletes a fleet.
deleteFleet
in interface AmazonAppStream
public DeleteStackResult deleteStack(DeleteStackRequest request)
AmazonAppStream
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 AmazonAppStream
public DescribeFleetsResult describeFleets(DescribeFleetsRequest request)
AmazonAppStream
If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.
describeFleets
in interface AmazonAppStream
public DescribeImagesResult describeImages(DescribeImagesRequest request)
AmazonAppStream
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 AmazonAppStream
public DescribeSessionsResult describeSessions(DescribeSessionsRequest request)
AmazonAppStream
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. If an authentication type is not provided, the
operation defaults to users authenticated using a streaming url.
describeSessions
in interface AmazonAppStream
public DescribeStacksResult describeStacks(DescribeStacksRequest request)
AmazonAppStream
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 AmazonAppStream
public DisassociateFleetResult disassociateFleet(DisassociateFleetRequest request)
AmazonAppStream
Disassociates a fleet from a stack.
disassociateFleet
in interface AmazonAppStream
public ExpireSessionResult expireSession(ExpireSessionRequest request)
AmazonAppStream
This operation immediately stops a streaming session.
expireSession
in interface AmazonAppStream
public ListAssociatedFleetsResult listAssociatedFleets(ListAssociatedFleetsRequest request)
AmazonAppStream
Lists all fleets associated with the stack.
listAssociatedFleets
in interface AmazonAppStream
public ListAssociatedStacksResult listAssociatedStacks(ListAssociatedStacksRequest request)
AmazonAppStream
Lists all stacks to which the specified fleet is associated.
listAssociatedStacks
in interface AmazonAppStream
public StartFleetResult startFleet(StartFleetRequest request)
AmazonAppStream
Starts a fleet.
startFleet
in interface AmazonAppStream
public StopFleetResult stopFleet(StopFleetRequest request)
AmazonAppStream
Stops a fleet.
stopFleet
in interface AmazonAppStream
public UpdateFleetResult updateFleet(UpdateFleetRequest request)
AmazonAppStream
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 AmazonAppStream
public UpdateStackResult updateStack(UpdateStackRequest request)
AmazonAppStream
Updates the specified fields in the stack with the specified name.
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.