Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidContentLocation ¶
type InvalidContentLocation struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
WorkMail could not access the updated email content. Possible reasons:
You made the request in a region other than your S3 bucket region.
The S3 bucket owneris not the same as the calling AWS account.
You have an incomplete or missing S3 bucket policy. For more information about policies, see Updating message content with AWS Lambdain the WorkMail Administrator Guide.
func (*InvalidContentLocation) Error ¶
func (e *InvalidContentLocation) Error() string
func (*InvalidContentLocation) ErrorCode ¶
func (e *InvalidContentLocation) ErrorCode() string
func (*InvalidContentLocation) ErrorFault ¶
func (e *InvalidContentLocation) ErrorFault() smithy.ErrorFault
func (*InvalidContentLocation) ErrorMessage ¶
func (e *InvalidContentLocation) ErrorMessage() string
type MessageFrozen ¶
type MessageFrozen struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The requested email is not eligible for update. This is usually the case for a redirected email.
func (*MessageFrozen) Error ¶
func (e *MessageFrozen) Error() string
func (*MessageFrozen) ErrorCode ¶
func (e *MessageFrozen) ErrorCode() string
func (*MessageFrozen) ErrorFault ¶
func (e *MessageFrozen) ErrorFault() smithy.ErrorFault
func (*MessageFrozen) ErrorMessage ¶
func (e *MessageFrozen) ErrorMessage() string
type MessageRejected ¶
type MessageRejected struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The requested email could not be updated due to an error in the MIME content. Check the error message for more information about what caused the error.
func (*MessageRejected) Error ¶
func (e *MessageRejected) Error() string
func (*MessageRejected) ErrorCode ¶
func (e *MessageRejected) ErrorCode() string
func (*MessageRejected) ErrorFault ¶
func (e *MessageRejected) ErrorFault() smithy.ErrorFault
func (*MessageRejected) ErrorMessage ¶
func (e *MessageRejected) ErrorMessage() string
type RawMessageContent ¶
type RawMessageContent struct { // The S3 reference of an email message. // // This member is required. S3Reference *S3Reference // contains filtered or unexported fields }
Provides the MIME content of the updated email message as an S3 object. All MIME content must meet the following criteria:
Each part of a multipart MIME message must be formatted properly.
Attachments must be of a content type that Amazon SES supports. For more information, see Unsupported Attachment Types.
If any of the MIME parts in a message contain content that is outside of the 7-bit ASCII character range, we recommend encoding that content.
Per RFC 5321, the maximum length of each line of text, including the , must not exceed 1,000 characters.
The message must contain all the required header fields. Check the returned error message for more information.
The value of immutable headers must remain unchanged. Check the returned error message for more information.
Certain unique headers can only appear once. Check the returned error message for more information.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The requested email message is not found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type S3Reference ¶
type S3Reference struct { // The S3 bucket name. // // This member is required. Bucket *string // The S3 key object name. // // This member is required. Key *string // If you enable versioning for the bucket, you can specify the object version. ObjectVersion *string // contains filtered or unexported fields }
Amazon S3 object representing the updated message content, in MIME format.
The region for the S3 bucket containing the S3 object must match the region used for WorkMail operations. Also, for WorkMail to process an S3 object, it must have permission to access that object. For more information, see Updating message content with AWS Lambda.