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