AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::CodeStarNotifications::Types::ListTargetsRequest

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

Overview

Note:

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

{
  filters: [
    {
      name: "TARGET_TYPE", # required, accepts TARGET_TYPE, TARGET_ADDRESS, TARGET_STATUS
      value: "ListTargetsFilterValue", # required
    },
  ],
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::ListTargetsFilter>

The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.

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.

Returns:

#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)

    A non-negative integer used to limit the number of returned results.

#next_tokenString

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

Returns:

  • (String)

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