identity_notification_topic#
Exec module for managing AWS SES Identity notification topic.
- async idem_aws.exec.aws.ses.identity_notification_topic.get(hub, ctx, name: str, resource_id: str)[source]#
Get SES Notification Topic from AWS account.
- Parameters:
- Returns:
Returns Notification Topic in present format
- Return type:
Dict[str, Any]
Examples
Calling this exec module function from the cli
idem exec aws.ses.identity_notification_topic.get name = "my_resource" resource_id="example.com::Complaint"
Using in a state:
my_unmanaged_resource: exec.run: - path: aws.ses.identity_notification_topic.get - kwargs: name: "my_resource" resource_id:"example.com::Complaint"
- async idem_aws.exec.aws.ses.identity_notification_topic.list_(hub, ctx, identities: list = None)[source]#
Lists SES Domain notification topics.
- Parameters:
Examples
Calling this exec module function from the cli
idem exec aws.ses.identity_notification_topic.list identities="example.com"
Using in a state:
my_unmanaged_resource: exec.run: - path: aws.ses.identity_notification_topic.list - kwargs: identities:"example.com"