Skip to content

List Notification Rules

codestarnotifications_list_notification_rules R Documentation

Returns a list of the notification rules for an Amazon Web Services account

Description

Returns a list of the notification rules for an Amazon Web Services account.

Usage

codestarnotifications_list_notification_rules(Filters, NextToken,
  MaxResults)

Arguments

Filters

The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter.

A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.

NextToken

An enumeration token that, when provided in a request, returns the next batch of the results.

MaxResults

A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.

Value

A list with the following syntax:

list(
  NextToken = "string",
  NotificationRules = list(
    list(
      Id = "string",
      Arn = "string"
    )
  )
)

Request syntax

svc$list_notification_rules(
  Filters = list(
    list(
      Name = "EVENT_TYPE_ID"|"CREATED_BY"|"RESOURCE"|"TARGET_ADDRESS",
      Value = "string"
    )
  ),
  NextToken = "string",
  MaxResults = 123
)