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

Class: Aws::ResourceGroups::Types::ListGroupsInput

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

Overview

Note:

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

{
  filters: [
    {
      name: "resource-type", # required, accepts resource-type
      values: ["GroupFilterValue"], # required
    },
  ],
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::GroupFilter>

Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.

  • group-type - Filter groups by resource type. Specify up to five group types in the format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.

^

Returns:

  • (Array<Types::GroupFilter>)

    Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.

#max_resultsInteger

The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.

Returns:

  • (Integer)

    The maximum number of resource group results that are returned by ListGroups in paginated output.

#next_tokenString

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

Returns:

  • (String)

    The NextToken value that is returned in a paginated ListGroups request.