Skip to main content

notification_events

Creates, updates, deletes, gets or lists a notification_events resource.

Overview

Namenotification_events
TypeResource
Idaws.notifications.notification_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe ARN of the resource. (pattern: <code>arn:[-.a-z0-9]{1,63}:notifications:[-.a-z0-9]{1,63}:[0-9]{12}:configuration/[a-z0-9]{27}/event/[a-z0-9]{27}</code>)
contentobjectThe content of the NotificationEvent.
creation_timestring (date-time)The creation time of the NotificationEvent.
notification_configuration_arnstringThe ARN of the NotificationConfiguration. (pattern: <code>arn:aws:notifications::[0-9]{12}:configuration/[a-z0-9]{27}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_notification_eventselectarn, regionlocaleReturns a specified NotificationEvent. User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. GetNotificationEvent only returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see Notification hubs in the Amazon Web Services User Notifications User Guide.
list_notification_eventsselectregionstartTime, endTime, locale, source, includeChildEvents, aggregateNotificationEventArn, maxResults, nextToken, organizationalUnitIdReturns a list of NotificationEvents according to specified filters, in reverse chronological order (newest first). User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. ListNotificationEvents only returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see Notification hubs in the Amazon Web Services User Notifications User Guide.

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.

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the NotificationEvent to return.
regionstringAWS region (default: us-east-1)
aggregateNotificationEventArnstringThe Amazon Resource Name (ARN) of the aggregatedNotificationEventArn to match.
endTimestring (date-time)Latest time of events to return from this call.
includeChildEventsbooleanInclude aggregated child events in the result.
localestringThe locale code of the language used for the retrieved NotificationEvent. The default locale is English (en_US).
maxResultsintegerThe maximum number of results to be returned in this call. Defaults to 20.
nextTokenstringThe start token for paginated calls. Retrieved from the response of a previous ListEventRules call. Next token uses Base64 encoding.
organizationalUnitIdstringThe unique identifier of the organizational unit used to filter notification events.
sourcestringThe matched event source. Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example, aws.ec2 and aws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
startTimestring (date-time)The earliest time of events to return from this call.

SELECT examples

Returns a specified NotificationEvent. User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. GetNotificationEvent only returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see Notification hubs in the Amazon Web Services User Notifications User Guide.

SELECT
arn,
content,
creation_time,
notification_configuration_arn
FROM aws.notifications.notification_events
WHERE arn = '{{ arn }}' -- required
AND region = '{{ region }}' -- required
AND locale = '{{ locale }}'
;