managed_notification_child_events
Creates, updates, deletes, gets or lists a managed_notification_child_events resource.
Overview
| Name | managed_notification_child_events |
| Type | Resource |
| Id | aws.notifications.managed_notification_child_events |
Fields
The following fields are returned by SELECT queries:
- get_managed_notification_child_event
- list_managed_notification_child_events
| Name | Datatype | Description |
|---|---|---|
arn | string | The ARN of the resource. (pattern: <code>arn:[-.a-z0-9]{1,63}:notifications::[0-9]{12}:managed-notification-configuration/category/[a-zA-Z0-9-]{3,64}/sub-category/[a-zA-Z0-9-]{3,64}/event/[a-z0-9]{27}/child-event/[a-z0-9]{27}</code>) |
content | object | The content of the ManagedNotificationChildEvent. |
creation_time | string (date-time) | The creation time of the ManagedNotificationChildEvent. |
managed_notification_configuration_arn | string | The Amazon Resource Name (ARN) of the ManagedNotificationConfiguration associated with the ManagedNotificationChildEvent. (pattern: <code>arn:[-.a-z0-9]{1,63}:notifications::[0-9]{12}:managed-notification-configuration/category/[a-zA-Z0-9-]{3,64}/sub-category/[a-zA-Z0-9-]{3,64}</code>) |
| Name | Datatype | Description |
|---|---|---|
aggregate_managed_notification_event_arn | string | The Amazon Resource Name (ARN) of the ManagedNotificationEvent that is associated with this ManagedNotificationChildEvent. (pattern: <code>arn:[-.a-z0-9]{1,63}:notifications::[0-9]{12}:managed-notification-configuration/category/[a-zA-Z0-9-]{3,64}/sub-category/[a-zA-Z0-9-]{3,64}/event/[a-z0-9]{27}</code>) |
arn | string | The Amazon Resource Name (ARN) of the ManagedNotificationChildEvent. (pattern: <code>arn:[-.a-z0-9]{1,63}:notifications::[0-9]{12}:managed-notification-configuration/category/[a-zA-Z0-9-]{3,64}/sub-category/[a-zA-Z0-9-]{3,64}/event/[a-z0-9]{27}</code>) |
child_event | object | The content of the ManagedNotificationChildEvent. |
creation_time | string (date-time) | The creation time of the ManagedNotificationChildEvent. |
managed_notification_configuration_arn | string | The Amazon Resource Name (ARN) of the ManagedNotificationConfiguration. (pattern: <code>arn:[-.a-z0-9]{1,63}:notifications::[0-9]{12}:managed-notification-configuration/category/[a-zA-Z0-9-]{3,64}/sub-category/[a-zA-Z0-9-]{3,64}</code>) |
organizational_unit_id | string | The Organizational Unit Id that an AWS account belongs to. (pattern: <code>(Root|r-[0-9a-z]{4,32}|ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})</code>) |
related_account | string | The account that related to the ManagedNotificationChildEvent. (pattern: <code>\d{12}</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_managed_notification_child_event | select | arn, region | locale | Returns the child event of a specific given ManagedNotificationEvent. |
list_managed_notification_child_events | select | aggregate_managed_notification_event_arn, region | startTime, endTime, locale, maxResults, relatedAccount, organizationalUnitId, nextToken | Returns a list of ManagedNotificationChildEvents for a specified aggregate ManagedNotificationEvent, ordered by creation time in reverse chronological order (newest first). |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
aggregate_managed_notification_event_arn | string | The Amazon Resource Name (ARN) of the ManagedNotificationEvent. |
arn | string | The Amazon Resource Name (ARN) of the ManagedNotificationChildEvent to return. |
region | string | AWS region (default: us-east-1) |
endTime | string (date-time) | Latest time of events to return from this call. |
locale | string | The locale code of the language used for the retrieved NotificationEvent. The default locale is English.en_US. |
maxResults | integer | The maximum number of results to be returned in this call. Defaults to 20. |
nextToken | string | The start token for paginated calls. Retrieved from the response of a previous ListManagedNotificationChannelAssociations call. Next token uses Base64 encoding. |
organizationalUnitId | string | The identifier of the Amazon Web Services Organizations organizational unit (OU) associated with the Managed Notification Child Events. |
relatedAccount | string | The Amazon Web Services account ID associated with the Managed Notification Child Events. |
startTime | string (date-time) | The earliest time of events to return from this call. |
SELECT examples
- get_managed_notification_child_event
- list_managed_notification_child_events
Returns the child event of a specific given ManagedNotificationEvent.
SELECT
arn,
content,
creation_time,
managed_notification_configuration_arn
FROM aws.notifications.managed_notification_child_events
WHERE arn = '{{ arn }}' -- required
AND region = '{{ region }}' -- required
AND locale = '{{ locale }}'
;
Returns a list of ManagedNotificationChildEvents for a specified aggregate ManagedNotificationEvent, ordered by creation time in reverse chronological order (newest first).
SELECT
aggregate_managed_notification_event_arn,
arn,
child_event,
creation_time,
managed_notification_configuration_arn,
organizational_unit_id,
related_account
FROM aws.notifications.managed_notification_child_events
WHERE aggregate_managed_notification_event_arn = '{{ aggregate_managed_notification_event_arn }}' -- required
AND region = '{{ region }}' -- required
AND startTime = '{{ startTime }}'
AND endTime = '{{ endTime }}'
AND locale = '{{ locale }}'
AND maxResults = '{{ maxResults }}'
AND relatedAccount = '{{ relatedAccount }}'
AND organizationalUnitId = '{{ organizationalUnitId }}'
AND nextToken = '{{ nextToken }}'
;