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:
  • name (str) – A name for the Identity Notification Topic.

  • resource_id (str) – The identifier for AWS Identity Notification Topic, combination of identity, notification topic separated by a separator ‘::’.

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:
  • name (str) – A name for the Identity Notification Topic.

  • identities (list) – List of AWS Identity Notification Topic IDs.

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"