Module: Aws::Macie2

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

Overview

This module provides support for Amazon Macie 2. This module is available in the ‘aws-sdk-macie2` 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.

macie_2 = Aws::Macie2::Client.new
resp = macie_2.accept_invitation(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::Macie2::Errors::ServiceError
  # rescues all Amazon Macie 2 API errors
end

See Errors for more information.

Defined Under Namespace

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

service collapse

GEM_VERSION =
'1.81.0'