Skip to main content

notifications

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

Overview

Namenotifications
TypeResource
Idaws.datazone.notifications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
action_linkstringThe action link included in the notification.
creation_timestampstring (date-time)The timestamp of when a notification was created.
domain_identifierstringThe identifier of a Amazon DataZone domain in which the notification exists. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>)
identifierstringThe identifier of the notification. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
last_updated_timestampstring (date-time)The timestamp of when the notification was last updated.
messagestringThe message included in the notification.
metadataobjectThe metadata included in the notification.
statusstringThe status included in the notification. (ACTIVE, INACTIVE)
title_stringThe title of the notification.
topicobjectThe topic of the notification.
type_stringThe type of the notification. (TASK, EVENT)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_notificationsselectdomain_identifier, type, regionafterTimestamp, beforeTimestamp, subjects, taskStatus, maxResults, nextTokenLists all Amazon DataZone notifications.

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
domain_identifierstringThe identifier of the Amazon DataZone domain.
regionstringAWS region (default: us-east-1)
typestringThe type of notifications.
afterTimestampstring (date-time)The time after which you want to list notifications.
beforeTimestampstring (date-time)The time before which you want to list notifications.
maxResultsintegerThe maximum number of notifications to return in a single call to ListNotifications. When the number of notifications to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListNotifications to list the next set of notifications.
nextTokenstringWhen the number of notifications is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.
subjectsarrayThe subjects of notifications.
taskStatusstringThe task status of notifications.

SELECT examples

Lists all Amazon DataZone notifications.

SELECT
action_link,
creation_timestamp,
domain_identifier,
identifier,
last_updated_timestamp,
message,
metadata,
status,
title_,
topic,
type_
FROM aws.datazone.notifications
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND type = '{{ type }}' -- required
AND region = '{{ region }}' -- required
AND afterTimestamp = '{{ afterTimestamp }}'
AND beforeTimestamp = '{{ beforeTimestamp }}'
AND subjects = '{{ subjects }}'
AND taskStatus = '{{ taskStatus }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;