Class: Aws::CodeStarNotifications::Types::ListNotificationRulesFilter

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 ListNotificationRulesFilter data as a hash:

{
  name: "EVENT_TYPE_ID", # required, accepts EVENT_TYPE_ID, CREATED_BY, RESOURCE, TARGET_ADDRESS
  value: "ListNotificationRulesFilterValue", # required
}

Information about a filter to apply to the list of returned notification rules. You can filter by event type, owner, resource, or target.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the attribute you want to use to filter the returned notification rules.

Returns:

  • (String)


487
488
489
490
491
492
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 487

class ListNotificationRulesFilter < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in AWS CodePipeline for the value.

Returns:

  • (String)


487
488
489
490
491
492
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 487

class ListNotificationRulesFilter < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end