You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::GuardDuty
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon GuardDuty.
Aws::GuardDuty::Client
The Client class provides one-to-one mapping for each API operation.
guardduty = Aws::GuardDuty::Client.new(region: 'us-east-1')
guardduty.operation_names
#=> [:accept_invitation, :archive_findings, :create_detector, :create_filter, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = guardduty.accept_invitation(params)
See Client for more information.
Aws::GuardDuty::Errors
Errors returned from Amazon GuardDuty are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::GuardDuty::Errors::ServiceError
# rescues all errors returned by Amazon GuardDuty
end
See Errors for more information.
Defined Under Namespace
Modules: Errors, Types Classes: Client