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