Module: Aws::Detective

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

Overview

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

detective = Aws::Detective::Client.new
resp = detective.accept_invitation(params)

See Client for more information.

# Errors

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

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