|
97 | 97 | ],
|
98 | 98 | "documentation":"<p>Lists the Amazon EKS clusters in your AWS account in the specified Region.</p>"
|
99 | 99 | },
|
| 100 | + "ListTagsForResource":{ |
| 101 | + "name":"ListTagsForResource", |
| 102 | + "http":{ |
| 103 | + "method":"GET", |
| 104 | + "requestUri":"/tags/{resourceArn}" |
| 105 | + }, |
| 106 | + "input":{"shape":"ListTagsForResourceRequest"}, |
| 107 | + "output":{"shape":"ListTagsForResourceResponse"}, |
| 108 | + "errors":[ |
| 109 | + {"shape":"BadRequestException"}, |
| 110 | + {"shape":"NotFoundException"} |
| 111 | + ], |
| 112 | + "documentation":"<p>List the tags for an Amazon EKS resource.</p>" |
| 113 | + }, |
100 | 114 | "ListUpdates":{
|
101 | 115 | "name":"ListUpdates",
|
102 | 116 | "http":{
|
|
113 | 127 | ],
|
114 | 128 | "documentation":"<p>Lists the updates associated with an Amazon EKS cluster in your AWS account, in the specified Region.</p>"
|
115 | 129 | },
|
| 130 | + "TagResource":{ |
| 131 | + "name":"TagResource", |
| 132 | + "http":{ |
| 133 | + "method":"POST", |
| 134 | + "requestUri":"/tags/{resourceArn}" |
| 135 | + }, |
| 136 | + "input":{"shape":"TagResourceRequest"}, |
| 137 | + "output":{"shape":"TagResourceResponse"}, |
| 138 | + "errors":[ |
| 139 | + {"shape":"BadRequestException"}, |
| 140 | + {"shape":"NotFoundException"} |
| 141 | + ], |
| 142 | + "documentation":"<p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.</p>" |
| 143 | + }, |
| 144 | + "UntagResource":{ |
| 145 | + "name":"UntagResource", |
| 146 | + "http":{ |
| 147 | + "method":"DELETE", |
| 148 | + "requestUri":"/tags/{resourceArn}" |
| 149 | + }, |
| 150 | + "input":{"shape":"UntagResourceRequest"}, |
| 151 | + "output":{"shape":"UntagResourceResponse"}, |
| 152 | + "errors":[ |
| 153 | + {"shape":"BadRequestException"}, |
| 154 | + {"shape":"NotFoundException"} |
| 155 | + ], |
| 156 | + "documentation":"<p>Deletes specified tags from a resource.</p>" |
| 157 | + }, |
116 | 158 | "UpdateClusterConfig":{
|
117 | 159 | "name":"UpdateClusterConfig",
|
118 | 160 | "http":{
|
|
151 | 193 | }
|
152 | 194 | },
|
153 | 195 | "shapes":{
|
| 196 | + "BadRequestException":{ |
| 197 | + "type":"structure", |
| 198 | + "members":{ |
| 199 | + "message":{"shape":"String"} |
| 200 | + }, |
| 201 | + "documentation":"<p>This exception is thrown if the request contains a semantic error. The precise meaning will depend on the API, and will be documented in the error message.</p>", |
| 202 | + "error":{"httpStatusCode":400}, |
| 203 | + "exception":true |
| 204 | + }, |
154 | 205 | "Boolean":{"type":"boolean"},
|
155 | 206 | "BoxedBoolean":{
|
156 | 207 | "type":"boolean",
|
|
233 | 284 | "platformVersion":{
|
234 | 285 | "shape":"String",
|
235 | 286 | "documentation":"<p>The platform version of your Amazon EKS cluster. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html\">Platform Versions</a> in the <i> <i>Amazon EKS User Guide</i> </i>.</p>"
|
| 287 | + }, |
| 288 | + "tags":{ |
| 289 | + "shape":"TagMap", |
| 290 | + "documentation":"<p>The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.</p>" |
236 | 291 | }
|
237 | 292 | },
|
238 | 293 | "documentation":"<p>An object representing an Amazon EKS cluster.</p>"
|
|
284 | 339 | "shape":"String",
|
285 | 340 | "documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>",
|
286 | 341 | "idempotencyToken":true
|
| 342 | + }, |
| 343 | + "tags":{ |
| 344 | + "shape":"TagMap", |
| 345 | + "documentation":"<p>The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.</p>" |
287 | 346 | }
|
288 | 347 | }
|
289 | 348 | },
|
|
475 | 534 | }
|
476 | 535 | }
|
477 | 536 | },
|
| 537 | + "ListTagsForResourceRequest":{ |
| 538 | + "type":"structure", |
| 539 | + "required":["resourceArn"], |
| 540 | + "members":{ |
| 541 | + "resourceArn":{ |
| 542 | + "shape":"String", |
| 543 | + "documentation":"<p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are Amazon EKS clusters.</p>", |
| 544 | + "location":"uri", |
| 545 | + "locationName":"resourceArn" |
| 546 | + } |
| 547 | + } |
| 548 | + }, |
| 549 | + "ListTagsForResourceResponse":{ |
| 550 | + "type":"structure", |
| 551 | + "members":{ |
| 552 | + "tags":{ |
| 553 | + "shape":"TagMap", |
| 554 | + "documentation":"<p>The tags for the resource.</p>" |
| 555 | + } |
| 556 | + } |
| 557 | + }, |
478 | 558 | "ListUpdatesRequest":{
|
479 | 559 | "type":"structure",
|
480 | 560 | "required":["name"],
|
|
560 | 640 | },
|
561 | 641 | "documentation":"<p>An object representing the logging configuration for resources in your cluster.</p>"
|
562 | 642 | },
|
| 643 | + "NotFoundException":{ |
| 644 | + "type":"structure", |
| 645 | + "members":{ |
| 646 | + "message":{"shape":"String"} |
| 647 | + }, |
| 648 | + "documentation":"<p>A service resource associated with the request could not be found. Clients should not retry such requests.</p>", |
| 649 | + "error":{"httpStatusCode":404}, |
| 650 | + "exception":true |
| 651 | + }, |
563 | 652 | "OIDC":{
|
564 | 653 | "type":"structure",
|
565 | 654 | "members":{
|
|
638 | 727 | "type":"list",
|
639 | 728 | "member":{"shape":"String"}
|
640 | 729 | },
|
| 730 | + "TagKey":{ |
| 731 | + "type":"string", |
| 732 | + "max":128, |
| 733 | + "min":1 |
| 734 | + }, |
| 735 | + "TagKeyList":{ |
| 736 | + "type":"list", |
| 737 | + "member":{"shape":"TagKey"}, |
| 738 | + "max":50, |
| 739 | + "min":1 |
| 740 | + }, |
| 741 | + "TagMap":{ |
| 742 | + "type":"map", |
| 743 | + "key":{"shape":"TagKey"}, |
| 744 | + "value":{"shape":"TagValue"}, |
| 745 | + "max":50, |
| 746 | + "min":1 |
| 747 | + }, |
| 748 | + "TagResourceRequest":{ |
| 749 | + "type":"structure", |
| 750 | + "required":[ |
| 751 | + "resourceArn", |
| 752 | + "tags" |
| 753 | + ], |
| 754 | + "members":{ |
| 755 | + "resourceArn":{ |
| 756 | + "shape":"String", |
| 757 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources are Amazon EKS clusters.</p>", |
| 758 | + "location":"uri", |
| 759 | + "locationName":"resourceArn" |
| 760 | + }, |
| 761 | + "tags":{ |
| 762 | + "shape":"TagMap", |
| 763 | + "documentation":"<p>The tags to add to the resource. A tag is an array of key-value pairs.</p>" |
| 764 | + } |
| 765 | + } |
| 766 | + }, |
| 767 | + "TagResourceResponse":{ |
| 768 | + "type":"structure", |
| 769 | + "members":{ |
| 770 | + } |
| 771 | + }, |
| 772 | + "TagValue":{ |
| 773 | + "type":"string", |
| 774 | + "max":256 |
| 775 | + }, |
641 | 776 | "Timestamp":{"type":"timestamp"},
|
642 | 777 | "UnsupportedAvailabilityZoneException":{
|
643 | 778 | "type":"structure",
|
|
656 | 791 | "error":{"httpStatusCode":400},
|
657 | 792 | "exception":true
|
658 | 793 | },
|
| 794 | + "UntagResourceRequest":{ |
| 795 | + "type":"structure", |
| 796 | + "required":[ |
| 797 | + "resourceArn", |
| 798 | + "tagKeys" |
| 799 | + ], |
| 800 | + "members":{ |
| 801 | + "resourceArn":{ |
| 802 | + "shape":"String", |
| 803 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported resources are Amazon EKS clusters.</p>", |
| 804 | + "location":"uri", |
| 805 | + "locationName":"resourceArn" |
| 806 | + }, |
| 807 | + "tagKeys":{ |
| 808 | + "shape":"TagKeyList", |
| 809 | + "documentation":"<p>The keys of the tags to be removed.</p>", |
| 810 | + "location":"querystring", |
| 811 | + "locationName":"tagKeys" |
| 812 | + } |
| 813 | + } |
| 814 | + }, |
| 815 | + "UntagResourceResponse":{ |
| 816 | + "type":"structure", |
| 817 | + "members":{ |
| 818 | + } |
| 819 | + }, |
659 | 820 | "Update":{
|
660 | 821 | "type":"structure",
|
661 | 822 | "members":{
|
|
0 commit comments