Module: Aws::WorkSpaces

Defined in:
lib/aws-sdk-workspaces/endpoint_parameters.rb,
lib/aws-sdk-workspaces/plugins/endpoints.rb,
lib/aws-sdk-workspaces/endpoint_provider.rb,
lib/aws-sdk-workspaces/client_api.rb,
lib/aws-sdk-workspaces/endpoints.rb,
lib/aws-sdk-workspaces/resource.rb,
lib/aws-sdk-workspaces/errors.rb,
lib/aws-sdk-workspaces/client.rb,
lib/aws-sdk-workspaces/types.rb,
lib/aws-sdk-workspaces.rb

Overview

This module provides support for Amazon WorkSpaces. This module is available in the ‘aws-sdk-workspaces` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

work_spaces = Aws::WorkSpaces::Client.new
resp = work_spaces.(params)

See Client for more information.

# Errors

Errors returned from Amazon WorkSpaces are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::WorkSpaces::Errors::ServiceError
  # rescues all Amazon WorkSpaces API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.126.0'