SendEmailRequest
public struct SendEmailRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the configuration set that you want to use when sending the email.
Declaration
Swift
public let configurationSetName: String?
-
An object that contains the body of the message. You can send either a Simple message Raw message or a template Message.
Declaration
Swift
public let content: EmailContent
-
An object that contains the recipients of the email message.
Declaration
Swift
public let destination: Destination?
-
A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
Declaration
Swift
public let emailTags: [MessageTag]?
-
The address that you want bounce and complaint notifications to be sent to.
Declaration
Swift
public let feedbackForwardingEmailAddress: String?
-
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FeedbackForwardingEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the FeedbackForwardingEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress to be feedback@example.com. For more information about sending authorization, see the Amazon SES Developer Guide.
Declaration
Swift
public let feedbackForwardingEmailAddressIdentityArn: String?
-
The email address that you want to use as the “From” address for the email. The address that you specify has to be verified.
Declaration
Swift
public let fromEmailAddress: String?
-
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FromEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender@example.com, then you would specify the FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress to be sender@example.com. For more information about sending authorization, see the Amazon SES Developer Guide. For Raw emails, the FromEmailAddressIdentityArn value overrides the X-SES-SOURCE-ARN and X-SES-FROM-ARN headers specified in raw email message content.
Declaration
Swift
public let fromEmailAddressIdentityArn: String?
-
The “Reply-to” email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
Declaration
Swift
public let replyToAddresses: [String]?
-
init(configurationSetName:content:destination:emailTags:feedbackForwardingEmailAddress:feedbackForwardingEmailAddressIdentityArn:fromEmailAddress:fromEmailAddressIdentityArn:replyToAddresses:)
Undocumented
Declaration
Swift
public init(configurationSetName: String? = nil, content: EmailContent, destination: Destination? = nil, emailTags: [MessageTag]? = nil, feedbackForwardingEmailAddress: String? = nil, feedbackForwardingEmailAddressIdentityArn: String? = nil, fromEmailAddress: String? = nil, fromEmailAddressIdentityArn: String? = nil, replyToAddresses: [String]? = nil)
-
Declaration
Swift
public func validate(name: String) throws