You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::AppStream
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon AppStream.
Aws::AppStream::Client
The Client class provides one-to-one mapping for each API operation.
appstream = Aws::AppStream::Client.new(region: 'us-east-1')
appstream.operation_names
#=> [:associate_fleet, :batch_associate_user_stack, :batch_disassociate_user_stack, :copy_image, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = appstream.associate_fleet(params)
See Client for more information.
Aws::AppStream::Errors
Errors returned from Amazon AppStream are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::AppStream::Errors::ServiceError
# rescues all errors returned by Amazon AppStream
end
See Errors for more information.