ListTargetsFilter - AWS CodeStar Notifications

ListTargetsFilter

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 AWS Chatbot 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.

Contents

Name

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

Type: String

Valid Values: TARGET_TYPE | TARGET_ADDRESS | TARGET_STATUS

Required: Yes

Value

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.

Type: String

Length Constraints: Maximum length of 2048.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: