Archive

data class Archive(val value: ArchiveAction) : RuleAction

This action archives the email. This can be used to deliver an email to an archive.

Constructors

Link copied to clipboard
constructor(value: ArchiveAction)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this RuleAction as a AddHeader and retrieves its aws.sdk.kotlin.services.mailmanager.model.AddHeaderAction value. Throws an exception if the RuleAction is not a AddHeader.

Link copied to clipboard
Link copied to clipboard

Casts this RuleAction as a Archive and retrieves its aws.sdk.kotlin.services.mailmanager.model.ArchiveAction value. Throws an exception if the RuleAction is not a Archive.

Link copied to clipboard

Casts this RuleAction as a Archive and retrieves its aws.sdk.kotlin.services.mailmanager.model.ArchiveAction value. Returns null if the RuleAction is not a Archive.

Link copied to clipboard
Link copied to clipboard

Casts this RuleAction as a Drop and retrieves its aws.sdk.kotlin.services.mailmanager.model.DropAction value. Throws an exception if the RuleAction is not a Drop.

Link copied to clipboard

Casts this RuleAction as a Drop and retrieves its aws.sdk.kotlin.services.mailmanager.model.DropAction value. Returns null if the RuleAction is not a Drop.

Link copied to clipboard

Casts this RuleAction as a PublishToSns and retrieves its aws.sdk.kotlin.services.mailmanager.model.SnsAction value. Throws an exception if the RuleAction is not a PublishToSns.

Link copied to clipboard

Casts this RuleAction as a PublishToSns and retrieves its aws.sdk.kotlin.services.mailmanager.model.SnsAction value. Returns null if the RuleAction is not a PublishToSns.

Link copied to clipboard

Casts this RuleAction as a Relay and retrieves its aws.sdk.kotlin.services.mailmanager.model.RelayAction value. Throws an exception if the RuleAction is not a Relay.

Link copied to clipboard

Casts this RuleAction as a Relay and retrieves its aws.sdk.kotlin.services.mailmanager.model.RelayAction value. Returns null if the RuleAction is not a Relay.

Link copied to clipboard
Link copied to clipboard

Casts this RuleAction as a Send and retrieves its aws.sdk.kotlin.services.mailmanager.model.SendAction value. Throws an exception if the RuleAction is not a Send.

Link copied to clipboard

Casts this RuleAction as a Send and retrieves its aws.sdk.kotlin.services.mailmanager.model.SendAction value. Returns null if the RuleAction is not a Send.

Link copied to clipboard

Casts this RuleAction as a WriteToS3 and retrieves its aws.sdk.kotlin.services.mailmanager.model.S3Action value. Throws an exception if the RuleAction is not a WriteToS3.

Link copied to clipboard

Casts this RuleAction as a WriteToS3 and retrieves its aws.sdk.kotlin.services.mailmanager.model.S3Action value. Returns null if the RuleAction is not a WriteToS3.