Module: Aws::GuardDuty

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

Overview

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

guard_duty = Aws::GuardDuty::Client.new
resp = guard_duty.accept_administrator_invitation(params)

See Client for more information.

# Errors

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

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