Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data WorkmailAction Source #
When included in a receipt rule, this action calls Amazon WorkMail and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS). You will typically not use this action directly because Amazon WorkMail adds the rule automatically during its setup procedure.
For information using a receipt rule to call Amazon WorkMail, see the Amazon SES Developer Guide.
See: newWorkmailAction
smart constructor.
WorkmailAction' | |
|
Instances
Create a value of WorkmailAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:topicArn:WorkmailAction'
, workmailAction_topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
the WorkMail action is called. An example of an Amazon SNS topic ARN is
arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about
Amazon SNS topics, see the
Amazon SNS Developer Guide.
$sel:organizationArn:WorkmailAction'
, workmailAction_organizationArn
- The ARN of the Amazon WorkMail organization. An example of an Amazon
WorkMail organization ARN is
arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7
.
For information about Amazon WorkMail organizations, see the
Amazon WorkMail Administrator Guide.
workmailAction_topicArn :: Lens' WorkmailAction (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
the WorkMail action is called. An example of an Amazon SNS topic ARN is
arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about
Amazon SNS topics, see the
Amazon SNS Developer Guide.
workmailAction_organizationArn :: Lens' WorkmailAction Text Source #
The ARN of the Amazon WorkMail organization. An example of an Amazon
WorkMail organization ARN is
arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7
.
For information about Amazon WorkMail organizations, see the
Amazon WorkMail Administrator Guide.