AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Associate the configuration set with a MailManager archive. When you send email using
the SendEmail
or SendBulkEmail
operations the message as it will be
given to the receiving SMTP server will be archived, along with the recipient information.
For .NET Core this operation is only available in asynchronous form. Please refer to PutConfigurationSetArchivingOptionsAsync.
Namespace: Amazon.SimpleEmailV2
Assembly: AWSSDK.SimpleEmailV2.dll
Version: 3.x.y.z
public abstract PutConfigurationSetArchivingOptionsResponse PutConfigurationSetArchivingOptions( PutConfigurationSetArchivingOptionsRequest request )
Container for the necessary parameters to execute the PutConfigurationSetArchivingOptions service method.
Exception | Condition |
---|---|
BadRequestException | The input you provided is invalid. |
NotFoundException | The resource you attempted to access doesn't exist. |
TooManyRequestsException | Too many requests have been made to the operation. |
This example associates an archive arn with a configuration set.
var client = new AmazonSimpleEmailServiceV2Client(); var response = client.PutConfigurationSetArchivingOptions(new PutConfigurationSetArchivingOptionsRequest { ArchiveArn = "arn:aws:ses:us-west-2:123456789012:mailmanager-archive/a-abcdefghijklmnopqrstuvwxyz", ConfigurationSetName = "sample-configuration-name" });
.NET Framework:
Supported in: 4.5 and newer, 3.5