Module: Aws::Account
- Defined in:
- lib/aws-sdk-account/endpoint_parameters.rb,
lib/aws-sdk-account/plugins/endpoints.rb,
lib/aws-sdk-account/endpoint_provider.rb,
lib/aws-sdk-account/client_api.rb,
lib/aws-sdk-account/endpoints.rb,
lib/aws-sdk-account/resource.rb,
lib/aws-sdk-account/errors.rb,
lib/aws-sdk-account/client.rb,
lib/aws-sdk-account/types.rb,
lib/aws-sdk-account.rb
Overview
This module provides support for AWS Account. This module is available in the ‘aws-sdk-account` 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.
account = Aws::Account::Client.new
resp = account.accept_primary_email_update(params)
See Client for more information.
# Errors
Errors returned from AWS Account are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Account::Errors::ServiceError
# rescues all AWS Account 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.34.0'