Module: Aws::SecurityHub

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

Overview

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

security_hub = Aws::SecurityHub::Client.new
resp = security_hub.accept_administrator_invitation(params)

See Client for more information.

# Errors

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

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