Module: Aws::Inspector2

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

Overview

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

inspector_2 = Aws::Inspector2::Client.new
resp = inspector_2.associate_member(params)

See Client for more information.

# Errors

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

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