Module: Aws::Organizations

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

Overview

This module provides support for AWS Organizations. This module is available in the ‘aws-sdk-organizations` 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.

organizations = Aws::Organizations::Client.new
resp = organizations.accept_handshake(params)

See Client for more information.

# Errors

Errors returned from AWS Organizations are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::Organizations::Errors::ServiceError
  # rescues all AWS Organizations 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.108.0'