You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeStarNotifications::Types::ListTargetsFilter

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListTargetsFilter as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "TARGET_TYPE", # required, accepts TARGET_TYPE, TARGET_ADDRESS, TARGET_STATUS
  value: "ListTargetsFilterValue", # required
}

Information about a filter to apply to the list of returned targets. You can filter by target type, address, or status. For example, to filter results to notification rules that have active Amazon SNS topics as targets, you could specify a ListTargetsFilter Name as TargetType and a Value of SNS, and a Name of TARGET_STATUS and a Value of ACTIVE.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

Possible values:

  • TARGET_TYPE
  • TARGET_ADDRESS
  • TARGET_STATUS

Returns:

  • (String)

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

#valueString

The value of the attribute you want to use to filter the returned targets. For example, if you specify SNS for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.

Returns:

  • (String)

    The value of the attribute you want to use to filter the returned targets.