AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public virtual PutConfigurationSetArchivingOptionsResponse PutConfigurationSetArchivingOptions(
         PutConfigurationSetArchivingOptionsRequest request
)

Parameters

request
Type: Amazon.SimpleEmailV2.Model.PutConfigurationSetArchivingOptionsRequest

Container for the necessary parameters to execute the PutConfigurationSetArchivingOptions service method.

Return Value


The response from the PutConfigurationSetArchivingOptions service method, as returned by SimpleEmailServiceV2.

Exceptions

ExceptionCondition
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.

Examples

This example associates an archive arn with a configuration set.

Used to associate an MailManager archive with a ConfigurationSet.


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"
});


            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also