Skip to content

List Notifications

datazone_list_notifications R Documentation

Lists all Amazon DataZone notifications

Description

Lists all Amazon DataZone notifications.

Usage

datazone_list_notifications(afterTimestamp, beforeTimestamp,
  domainIdentifier, maxResults, nextToken, subjects, taskStatus, type)

Arguments

afterTimestamp

The time after which you want to list notifications.

beforeTimestamp

The time before which you want to list notifications.

domainIdentifier

[required] The identifier of the Amazon DataZone domain.

maxResults

The maximum number of notifications to return in a single call to list_notifications. 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 list_notifications to list the next set of notifications.

nextToken

When 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 list_notifications to list the next set of notifications.

subjects

The subjects of notifications.

taskStatus

The task status of notifications.

type

[required] The type of notifications.

Value

A list with the following syntax:

list(
  nextToken = "string",
  notifications = list(
    list(
      actionLink = "string",
      creationTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      domainIdentifier = "string",
      identifier = "string",
      lastUpdatedTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      message = "string",
      metadata = list(
        "string"
      ),
      status = "ACTIVE"|"INACTIVE",
      title = "string",
      topic = list(
        resource = list(
          id = "string",
          name = "string",
          type = "PROJECT"
        ),
        role = "PROJECT_OWNER"|"PROJECT_CONTRIBUTOR"|"PROJECT_VIEWER"|"DOMAIN_OWNER"|"PROJECT_SUBSCRIBER",
        subject = "string"
      ),
      type = "TASK"|"EVENT"
    )
  )
)

Request syntax

svc$list_notifications(
  afterTimestamp = as.POSIXct(
    "2015-01-01"
  ),
  beforeTimestamp = as.POSIXct(
    "2015-01-01"
  ),
  domainIdentifier = "string",
  maxResults = 123,
  nextToken = "string",
  subjects = list(
    "string"
  ),
  taskStatus = "ACTIVE"|"INACTIVE",
  type = "TASK"|"EVENT"
)