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

Class: Aws::ResourceGroups::Types::SearchResourcesInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb

Overview

Note:

When making an API call, you may pass SearchResourcesInput data as a hash:

{
  resource_query: { # required
    type: "TAG_FILTERS_1_0", # required, accepts TAG_FILTERS_1_0
    query: "Query", # required
  },
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of group member ARNs returned by SearchResources in paginated output. By default, this number is 50.

Returns:

  • (Integer)


433
434
435
436
437
438
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 433

class SearchResourcesInput < Struct.new(
  :resource_query,
  :max_results,
  :next_token)
  include Aws::Structure
end

#next_tokenString

The NextToken value that is returned in a paginated SearchResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.

Returns:

  • (String)


433
434
435
436
437
438
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 433

class SearchResourcesInput < Struct.new(
  :resource_query,
  :max_results,
  :next_token)
  include Aws::Structure
end

#resource_queryTypes::ResourceQuery

The search query, using the same formats that are supported for resource group definition.



433
434
435
436
437
438
# File 'gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/types.rb', line 433

class SearchResourcesInput < Struct.new(
  :resource_query,
  :max_results,
  :next_token)
  include Aws::Structure
end