Module: Aws::WorkMail

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

Overview

This module provides support for Amazon WorkMail. This module is available in the ‘aws-sdk-workmail` 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_mail = Aws::WorkMail::Client.new
resp = work_mail.associate_delegate_to_resource(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::WorkMail::Errors::ServiceError
  # rescues all Amazon WorkMail 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.76.0'