Returns a list of existing resource groups in your account.
resourcegroups_list_groups(Filters, MaxResults, NextToken)
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type
- Filter groups by resource type. Specify up to five
resource types in the format AWS::ServiceCode::ResourceType. For
example, AWS::EC2::Instance, or AWS::S3::Bucket.
The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.
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.
svc$list_groups( Filters = list( list( Name = "resource-type", Values = list( "string" ) ) ), MaxResults = 123, NextToken = "string" )