Class: Aws::SESV2::Types::PutSuppressedDestinationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb

Overview

Note:

When making an API call, you may pass PutSuppressedDestinationRequest data as a hash:

{
  email_address: "EmailAddress", # required
  reason: "BOUNCE", # required, accepts BOUNCE, COMPLAINT
}

A request to add an email destination to the suppression list for your account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#email_addressString

The email address that should be added to the suppression list for your account.

Returns:

  • (String)


5638
5639
5640
5641
5642
5643
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 5638

class PutSuppressedDestinationRequest < Struct.new(
  :email_address,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

The factors that should cause the email address to be added to the suppression list for your account.

Returns:

  • (String)


5638
5639
5640
5641
5642
5643
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 5638

class PutSuppressedDestinationRequest < Struct.new(
  :email_address,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end