

# ArchiveAction
<a name="API_ArchiveAction"></a>

The action to archive the email by delivering the email to an Amazon SES archive.

## Contents
<a name="API_ArchiveAction_Contents"></a>

 ** TargetArchive **   <a name="sesmailmanager-Type-ArchiveAction-TargetArchive"></a>
The identifier of the archive to send the email to.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `[a-zA-Z0-9:_/+=,@.#-]+`   
Required: Yes

 ** ActionFailurePolicy **   <a name="sesmailmanager-Type-ArchiveAction-ActionFailurePolicy"></a>
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified archive has been deleted.  
Type: String  
Valid Values: `CONTINUE | DROP`   
Required: No

## See Also
<a name="API_ArchiveAction_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/mailmanager-2023-10-17/ArchiveAction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/mailmanager-2023-10-17/ArchiveAction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/mailmanager-2023-10-17/ArchiveAction) 