|
99 | 99 | {"shape":"TooManyRequestsException"},
|
100 | 100 | {"shape":"InternalServerErrorException"}
|
101 | 101 | ],
|
102 |
| - "documentation":"<p>Returns a list of tags that are associated with a resource, specified by an ARN.</p>" |
| 102 | + "documentation":"<p>Returns a list of tags that are associated with a resource group, specified by an ARN.</p>" |
103 | 103 | },
|
104 | 104 | "ListGroupResources":{
|
105 | 105 | "name":"ListGroupResources",
|
|
363 | 363 | "members":{
|
364 | 364 | "Arn":{
|
365 | 365 | "shape":"GroupArn",
|
366 |
| - "documentation":"<p>The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.</p>", |
| 366 | + "documentation":"<p>The ARN of the resource group for which you want a list of tags. The resource must exist within the account you are using.</p>", |
367 | 367 | "location":"uri",
|
368 | 368 | "locationName":"Arn"
|
369 | 369 | }
|
|
374 | 374 | "members":{
|
375 | 375 | "Arn":{
|
376 | 376 | "shape":"GroupArn",
|
377 |
| - "documentation":"<p>The ARN of the tagged resource.</p>" |
| 377 | + "documentation":"<p>The ARN of the tagged resource group.</p>" |
378 | 378 | },
|
379 | 379 | "Tags":{
|
380 | 380 | "shape":"Tags",
|
381 |
| - "documentation":"<p>The tags associated with the specified resource.</p>" |
| 381 | + "documentation":"<p>The tags associated with the specified resource group.</p>" |
382 | 382 | }
|
383 | 383 | }
|
384 | 384 | },
|
|
406 | 406 | },
|
407 | 407 | "GroupArn":{
|
408 | 408 | "type":"string",
|
409 |
| - "pattern":"arn:aws:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}" |
| 409 | + "max":1600, |
| 410 | + "min":12, |
| 411 | + "pattern":"arn:aws(-[a-z]+)*:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}" |
410 | 412 | },
|
411 | 413 | "GroupDescription":{
|
412 | 414 | "type":"string",
|
|
442 | 444 | "GroupFilterValue":{
|
443 | 445 | "type":"string",
|
444 | 446 | "max":128,
|
445 |
| - "min":1 |
| 447 | + "min":1, |
| 448 | + "pattern":"AWS::(AllSupported|[a-zA-Z0-9]+::[a-zA-Z0-9]+)" |
446 | 449 | },
|
447 | 450 | "GroupFilterValues":{
|
448 | 451 | "type":"list",
|
|
604 | 607 | "error":{"httpStatusCode":405},
|
605 | 608 | "exception":true
|
606 | 609 | },
|
607 |
| - "NextToken":{"type":"string"}, |
| 610 | + "NextToken":{ |
| 611 | + "type":"string", |
| 612 | + "max":8192, |
| 613 | + "min":0, |
| 614 | + "pattern":"^[a-zA-Z0-9+/]*={0,2}$" |
| 615 | + }, |
608 | 616 | "NotFoundException":{
|
609 | 617 | "type":"structure",
|
610 | 618 | "members":{
|
|
616 | 624 | },
|
617 | 625 | "Query":{
|
618 | 626 | "type":"string",
|
619 |
| - "max":2048 |
| 627 | + "max":4096, |
| 628 | + "pattern":"[\\s\\S]*" |
620 | 629 | },
|
621 | 630 | "QueryError":{
|
622 | 631 | "type":"structure",
|
|
649 | 658 | "enum":[
|
650 | 659 | "TAG_FILTERS_1_0",
|
651 | 660 | "CLOUDFORMATION_STACK_1_0"
|
652 |
| - ] |
| 661 | + ], |
| 662 | + "max":128, |
| 663 | + "min":1, |
| 664 | + "pattern":"^\\w+$" |
653 | 665 | },
|
654 | 666 | "ResourceArn":{
|
655 | 667 | "type":"string",
|
656 |
| - "pattern":"arn:aws:[a-z0-9\\-]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+" |
| 668 | + "pattern":"arn:aws(-[a-z]+)*:[a-z0-9\\-]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+" |
657 | 669 | },
|
658 | 670 | "ResourceFilter":{
|
659 | 671 | "type":"structure",
|
|
720 | 732 | "members":{
|
721 | 733 | "Type":{
|
722 | 734 | "shape":"QueryType",
|
723 |
| - "documentation":"<p>The type of the query. The valid values in this release are <code>TAG_FILTERS_1_0</code> and <code>CLOUDFORMATION_STACK_1_0</code>.</p> <p> <i> <code>TAG_FILTERS_1_0:</code> </i> 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 <a href=\"https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html\">GetResources</a> operation. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches <i>any</i> of the specified values.</p> <p>For example, consider the following sample query for resources that have two tags, <code>Stage</code> and <code>Version</code>, with two values each. (<code>[{\"Key\":\"Stage\",\"Values\":[\"Test\",\"Deploy\"]},{\"Key\":\"Version\",\"Values\":[\"1\",\"2\"]}]</code>) The results of this query might include the following.</p> <ul> <li> <p>An EC2 instance that has the following two tags: <code>{\"Key\":\"Stage\",\"Values\":[\"Deploy\"]}</code>, and <code>{\"Key\":\"Version\",\"Values\":[\"2\"]}</code> </p> </li> <li> <p>An S3 bucket that has the following two tags: {\"Key\":\"Stage\",\"Values\":[\"Test\",\"Deploy\"]}, and {\"Key\":\"Version\",\"Values\":[\"1\"]}</p> </li> </ul> <p>The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter.</p> <ul> <li> <p>An EC2 instance that has only the following tag: <code>{\"Key\":\"Stage\",\"Values\":[\"Deploy\"]}</code>.</p> </li> <li> <p>An RDS database that has the following two tags: <code>{\"Key\":\"Stage\",\"Values\":[\"Archived\"]}</code>, and <code>{\"Key\":\"Version\",\"Values\":[\"4\"]}</code> </p> </li> </ul> <p> <i> <code>CLOUDFORMATION_STACK_1_0:</code> </i> A JSON syntax that lets you specify a CloudFormation stack ARN.</p>" |
| 735 | + "documentation":"<p>The type of the query. The valid values in this release are <code>TAG_FILTERS_1_0</code> and <code>CLOUDFORMATION_STACK_1_0</code>.</p> <p> <i> <code>TAG_FILTERS_1_0:</code> </i> 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 <a href=\"https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html\">GetResources</a> operation. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches <i>any</i> of the specified values.</p> <p>For example, consider the following sample query for resources that have two tags, <code>Stage</code> and <code>Version</code>, with two values each. (<code>[{\"Key\":\"Stage\",\"Values\":[\"Test\",\"Deploy\"]},{\"Key\":\"Version\",\"Values\":[\"1\",\"2\"]}]</code>) The results of this query might include the following.</p> <ul> <li> <p>An EC2 instance that has the following two tags: <code>{\"Key\":\"Stage\",\"Value\":\"Deploy\"}</code>, and <code>{\"Key\":\"Version\",\"Value\":\"2\"}</code> </p> </li> <li> <p>An S3 bucket that has the following two tags: {\"Key\":\"Stage\",\"Value\":\"Test\"}, and {\"Key\":\"Version\",\"Value\":\"1\"}</p> </li> </ul> <p>The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter.</p> <ul> <li> <p>An EC2 instance that has only the following tag: <code>{\"Key\":\"Stage\",\"Value\":\"Deploy\"}</code>.</p> </li> <li> <p>An RDS database that has the following two tags: <code>{\"Key\":\"Stage\",\"Value\":\"Archived\"}</code>, and <code>{\"Key\":\"Version\",\"Value\":\"4\"}</code> </p> </li> </ul> <p> <i> <code>CLOUDFORMATION_STACK_1_0:</code> </i> A JSON syntax that lets you specify a CloudFormation stack ARN.</p>" |
724 | 736 | },
|
725 | 737 | "Query":{
|
726 | 738 | "shape":"Query",
|
|
0 commit comments