Class: Aws::CodeStarNotifications::Types::ListNotificationRulesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb

Overview

Note:

When making an API call, you may pass ListNotificationRulesRequest data as a hash:

{
  filters: [
    {
      name: "EVENT_TYPE_ID", # required, accepts EVENT_TYPE_ID, CREATED_BY, RESOURCE, TARGET_ADDRESS
      value: "ListNotificationRulesFilterValue", # required
    },
  ],
  next_token: "NextToken",
  max_results: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::ListNotificationRulesFilter>

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.



531
532
533
534
535
536
537
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 531

class ListNotificationRulesRequest < Struct.new(
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

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

Returns:

  • (Integer)


531
532
533
534
535
536
537
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 531

class ListNotificationRulesRequest < Struct.new(
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


531
532
533
534
535
536
537
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 531

class ListNotificationRulesRequest < Struct.new(
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end