Module: Aws::ControlTower

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

Overview

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

control_tower = Aws::ControlTower::Client.new
resp = control_tower.create_landing_zone(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::ControlTower::Errors::ServiceError
  # rescues all AWS Control Tower 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.36.0'