Class: Aws::ApplicationDiscoveryService::Types::DescribeAgentsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-applicationdiscoveryservice/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idsArray<String>

The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.

Returns:

  • (Array<String>)


829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 829

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

#filtersArray<Types::Filter>

You can filter the request using various logical operators and a key-value format. For example:

‘“collectionStatus”, “value”: “STARTED”`

Returns:



829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 829

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

#max_resultsInteger

The total number of agents/collectors to return in a single page of output. The maximum value is 100.

Returns:

  • (Integer)


829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 829

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

#next_tokenString

Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ‘DescribeAgentsRequest$agentIds` but set `DescribeAgentsRequest$maxResults` to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

Returns:

  • (String)


829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 829

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