{
"version": "2.0",
"service": "
AWS Resource Groups lets you organize AWS resources such as Amazon EC2 instances, Amazon Relational Database Service databases, and Amazon S3 buckets into groups using criteria that you define as tags. A resource group is a collection of resources that match the resource types specified in a query, and share one or more tags or portions of tags. You can create a group of resources based on their roles in your cloud infrastructure, lifecycle stages, regions, application layers, or virtually any criteria. Resource groups enable you to automate management tasks, such as those in AWS Systems Manager Automation documents, on tag-related resources in AWS Systems Manager. Groups of tagged resources also let you quickly view a custom console in AWS Systems Manager that shows AWS Config compliance and other monitoring data about member resources.
To create a resource group, build a resource query, and specify tags that identify the criteria that members of the group have in common. Tags are key-value pairs.
For more information about Resource Groups, see the AWS Resource Groups User Guide.
AWS Resource Groups uses a REST-compliant API that you can use to perform the following types of operations.
Create, Read, Update, and Delete (CRUD) operations on resource groups and resource query entities
Applying, editing, and removing tags from resource groups
Resolving resource group member ARNs so they can be returned as search results
Getting data about resources that are members of a group
Searching AWS resources based on a resource query
Creates a group with a specified name, description, and resource query.
", "DeleteGroup": "Deletes a specified resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.
", "GetGroup": "Returns information about a specified resource group.
", "GetGroupQuery": "Returns the resource query associated with the specified resource group.
", "GetTags": "Returns a list of tags that are associated with a resource, specified by an ARN.
", "ListGroupResources": "Returns a list of ARNs of resources that are members of a specified resource group.
", "ListGroups": "Returns a list of existing resource groups in your account.
", "SearchResources": "Returns a list of AWS resource identifiers that matches a specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.
", "Tag": "Adds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.
", "Untag": "Deletes specified tags from a specified resource.
", "UpdateGroup": "Updates an existing group with a new or changed description. You cannot update the name of a resource group.
", "UpdateGroupQuery": "Updates the resource query of a group.
" }, "shapes": { "BadRequestException": { "base": "The request does not comply with validation rules that are defined for the request parameters.
", "refs": { } }, "CreateGroupInput": { "base": null, "refs": { } }, "CreateGroupOutput": { "base": null, "refs": { } }, "DeleteGroupInput": { "base": null, "refs": { } }, "DeleteGroupOutput": { "base": null, "refs": { } }, "ErrorMessage": { "base": null, "refs": { "BadRequestException$Message": null, "ForbiddenException$Message": null, "InternalServerErrorException$Message": null, "MethodNotAllowedException$Message": null, "NotFoundException$Message": null, "TooManyRequestsException$Message": null, "UnauthorizedException$Message": null } }, "ForbiddenException": { "base": "The caller is not authorized to make the request.
", "refs": { } }, "GetGroupInput": { "base": null, "refs": { } }, "GetGroupOutput": { "base": null, "refs": { } }, "GetGroupQueryInput": { "base": null, "refs": { } }, "GetGroupQueryOutput": { "base": null, "refs": { } }, "GetTagsInput": { "base": null, "refs": { } }, "GetTagsOutput": { "base": null, "refs": { } }, "Group": { "base": "A resource group.
", "refs": { "CreateGroupOutput$Group": "A full description of the resource group after it is created.
", "DeleteGroupOutput$Group": "A full description of the deleted resource group.
", "GetGroupOutput$Group": "A full description of the resource group.
", "GroupList$member": null, "UpdateGroupOutput$Group": "The full description of the resource group after it has been updated.
" } }, "GroupArn": { "base": null, "refs": { "GetTagsInput$Arn": "The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.
", "GetTagsOutput$Arn": "The ARN of the tagged resource.
", "Group$GroupArn": "The ARN of a resource group.
", "TagInput$Arn": "The ARN of the resource to which to add tags.
", "TagOutput$Arn": "The ARN of the tagged resource.
", "UntagInput$Arn": "The ARN of the resource from which to remove tags.
", "UntagOutput$Arn": "The ARN of the resource from which tags have been removed.
" } }, "GroupDescription": { "base": null, "refs": { "CreateGroupInput$Description": "The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
", "Group$Description": "The description of the resource group.
", "UpdateGroupInput$Description": "The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
" } }, "GroupList": { "base": null, "refs": { "ListGroupsOutput$Groups": "A list of resource groups.
" } }, "GroupName": { "base": null, "refs": { "CreateGroupInput$Name": "The name of the group, which is the identifier of the group in other operations. A resource group name cannot be updated after it is created. A resource group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS
or aws
; these are reserved. A resource group name must be unique within your account.
The name of the resource group to delete.
", "GetGroupInput$GroupName": "The name of the resource group.
", "GetGroupQueryInput$GroupName": "The name of the resource group.
", "Group$Name": "The name of a resource group.
", "GroupQuery$GroupName": "The name of a resource group that is associated with a specific resource query.
", "ListGroupResourcesInput$GroupName": "The name of the resource group.
", "UpdateGroupInput$GroupName": "The name of the resource group for which you want to update its description.
", "UpdateGroupQueryInput$GroupName": "The name of the resource group for which you want to edit the query.
" } }, "GroupQuery": { "base": "The underlying resource query of a resource group. Resources that match query results are part of the group.
", "refs": { "GetGroupQueryOutput$GroupQuery": "The resource query associated with the specified group.
", "UpdateGroupQueryOutput$GroupQuery": "The resource query associated with the resource group after the update.
" } }, "InternalServerErrorException": { "base": "An internal error occurred while processing the request.
", "refs": { } }, "ListGroupResourcesInput": { "base": null, "refs": { } }, "ListGroupResourcesOutput": { "base": null, "refs": { } }, "ListGroupsInput": { "base": null, "refs": { } }, "ListGroupsOutput": { "base": null, "refs": { } }, "MaxResults": { "base": null, "refs": { "ListGroupResourcesInput$MaxResults": "The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.
", "ListGroupsInput$MaxResults": "The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.
", "SearchResourcesInput$MaxResults": "The maximum number of group member ARNs returned by SearchResources
in paginated output. By default, this number is 50.
The request uses an HTTP method which is not allowed for the specified resource.
", "refs": { } }, "NextToken": { "base": null, "refs": { "ListGroupResourcesInput$NextToken": "The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.
", "ListGroupResourcesOutput$NextToken": "The NextToken value to include in a subsequent ListGroupResources
request, to get more results.
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.
The NextToken value to include in a subsequent ListGroups
request, to get more results.
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.
The NextToken value to include in a subsequent SearchResources
request, to get more results.
One or more resources specified in the request do not exist.
", "refs": { } }, "Query": { "base": null, "refs": { "ResourceQuery$Query": "The query that defines a group or a search.
" } }, "QueryType": { "base": null, "refs": { "ResourceQuery$Type": "The type of the query. The valid value in this release is TAG_FILTERS_1_0
.
TAG_FILTERS_1_0:
A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. When more than one element is present, only resources that match all filters are part of the result. If a filter specifies more than one value for a key, a resource matches the filter if its tag value matches any of the specified values.
The ARN of a resource.
" } }, "ResourceIdentifier": { "base": "The ARN of a resource, and its resource type.
", "refs": { "ResourceIdentifierList$member": null } }, "ResourceIdentifierList": { "base": null, "refs": { "ListGroupResourcesOutput$ResourceIdentifiers": "The ARNs and resource types of resources that are members of the group that you specified.
", "SearchResourcesOutput$ResourceIdentifiers": "The ARNs and resource types of resources that are members of the group that you specified.
" } }, "ResourceQuery": { "base": "The query that is used to define a resource group or a search for resources.
", "refs": { "CreateGroupInput$ResourceQuery": "The resource query that determines which AWS resources are members of this group.
", "CreateGroupOutput$ResourceQuery": "The resource query associated with the group.
", "GroupQuery$ResourceQuery": "The resource query which determines which AWS resources are members of the associated resource group.
", "SearchResourcesInput$ResourceQuery": "The search query, using the same formats that are supported for resource group definition.
", "UpdateGroupQueryInput$ResourceQuery": "The resource query that determines which AWS resources are members of the resource group.
" } }, "ResourceType": { "base": null, "refs": { "ResourceIdentifier$ResourceType": "The resource type of a resource, such as AWS::EC2::Instance
.
The keys of the tags to be removed.
", "UntagOutput$Keys": "The keys of tags that have been removed.
" } }, "TagOutput": { "base": null, "refs": { } }, "TagValue": { "base": null, "refs": { "Tags$value": null } }, "Tags": { "base": null, "refs": { "CreateGroupInput$Tags": "The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.
", "CreateGroupOutput$Tags": "The tags associated with the group.
", "GetTagsOutput$Tags": "The tags associated with the specified resource.
", "TagInput$Tags": "The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.
", "TagOutput$Tags": "The tags that have been added to the specified resource.
" } }, "TooManyRequestsException": { "base": "The caller has exceeded throttling limits.
", "refs": { } }, "UnauthorizedException": { "base": "The request has not been applied because it lacks valid authentication credentials for the target resource.
", "refs": { } }, "UntagInput": { "base": null, "refs": { } }, "UntagOutput": { "base": null, "refs": { } }, "UpdateGroupInput": { "base": null, "refs": { } }, "UpdateGroupOutput": { "base": null, "refs": { } }, "UpdateGroupQueryInput": { "base": null, "refs": { } }, "UpdateGroupQueryOutput": { "base": null, "refs": { } } } }