|
68 | 68 | ],
|
69 | 69 | "documentation":"<p>Describes an existing AMP workspace.</p>"
|
70 | 70 | },
|
| 71 | + "ListTagsForResource":{ |
| 72 | + "name":"ListTagsForResource", |
| 73 | + "http":{ |
| 74 | + "method":"GET", |
| 75 | + "requestUri":"/tags/{resourceArn}", |
| 76 | + "responseCode":200 |
| 77 | + }, |
| 78 | + "input":{"shape":"ListTagsForResourceRequest"}, |
| 79 | + "output":{"shape":"ListTagsForResourceResponse"}, |
| 80 | + "errors":[ |
| 81 | + {"shape":"ThrottlingException"}, |
| 82 | + {"shape":"ValidationException"}, |
| 83 | + {"shape":"ResourceNotFoundException"}, |
| 84 | + {"shape":"AccessDeniedException"}, |
| 85 | + {"shape":"InternalServerException"} |
| 86 | + ], |
| 87 | + "documentation":"<p>Lists the tags you have assigned to the resource.</p>" |
| 88 | + }, |
71 | 89 | "ListWorkspaces":{
|
72 | 90 | "name":"ListWorkspaces",
|
73 | 91 | "http":{
|
|
85 | 103 | ],
|
86 | 104 | "documentation":"<p>Lists all AMP workspaces, including workspaces being created or deleted.</p>"
|
87 | 105 | },
|
| 106 | + "TagResource":{ |
| 107 | + "name":"TagResource", |
| 108 | + "http":{ |
| 109 | + "method":"POST", |
| 110 | + "requestUri":"/tags/{resourceArn}", |
| 111 | + "responseCode":200 |
| 112 | + }, |
| 113 | + "input":{"shape":"TagResourceRequest"}, |
| 114 | + "output":{"shape":"TagResourceResponse"}, |
| 115 | + "errors":[ |
| 116 | + {"shape":"ThrottlingException"}, |
| 117 | + {"shape":"ValidationException"}, |
| 118 | + {"shape":"ResourceNotFoundException"}, |
| 119 | + {"shape":"AccessDeniedException"}, |
| 120 | + {"shape":"InternalServerException"} |
| 121 | + ], |
| 122 | + "documentation":"<p>Creates tags for the specified resource.</p>" |
| 123 | + }, |
| 124 | + "UntagResource":{ |
| 125 | + "name":"UntagResource", |
| 126 | + "http":{ |
| 127 | + "method":"DELETE", |
| 128 | + "requestUri":"/tags/{resourceArn}", |
| 129 | + "responseCode":200 |
| 130 | + }, |
| 131 | + "input":{"shape":"UntagResourceRequest"}, |
| 132 | + "output":{"shape":"UntagResourceResponse"}, |
| 133 | + "errors":[ |
| 134 | + {"shape":"ThrottlingException"}, |
| 135 | + {"shape":"ValidationException"}, |
| 136 | + {"shape":"ResourceNotFoundException"}, |
| 137 | + {"shape":"AccessDeniedException"}, |
| 138 | + {"shape":"InternalServerException"} |
| 139 | + ], |
| 140 | + "documentation":"<p>Deletes tags from the specified resource.</p>", |
| 141 | + "idempotent":true |
| 142 | + }, |
88 | 143 | "UpdateWorkspaceAlias":{
|
89 | 144 | "name":"UpdateWorkspaceAlias",
|
90 | 145 | "http":{
|
|
162 | 217 | "shape":"IdempotencyToken",
|
163 | 218 | "documentation":"<p>Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.</p>",
|
164 | 219 | "idempotencyToken":true
|
| 220 | + }, |
| 221 | + "tags":{ |
| 222 | + "shape":"TagMap", |
| 223 | + "documentation":"<p>Optional, user-provided tags for this workspace.</p>" |
165 | 224 | }
|
166 | 225 | },
|
167 | 226 | "documentation":"<p>Represents the input of a CreateWorkspace operation.</p>"
|
|
182 | 241 | "shape":"WorkspaceStatus",
|
183 | 242 | "documentation":"<p>The status of the workspace that was just created (usually CREATING).</p>"
|
184 | 243 | },
|
| 244 | + "tags":{ |
| 245 | + "shape":"TagMap", |
| 246 | + "documentation":"<p>The tags of this workspace.</p>" |
| 247 | + }, |
185 | 248 | "workspaceId":{
|
186 | 249 | "shape":"WorkspaceId",
|
187 | 250 | "documentation":"<p>The generated ID of the workspace that was just created.</p>"
|
|
265 | 328 | "fault":true,
|
266 | 329 | "retryable":{"throttling":false}
|
267 | 330 | },
|
| 331 | + "ListTagsForResourceRequest":{ |
| 332 | + "type":"structure", |
| 333 | + "required":["resourceArn"], |
| 334 | + "members":{ |
| 335 | + "resourceArn":{ |
| 336 | + "shape":"String", |
| 337 | + "documentation":"<p>The ARN of the resource.</p>", |
| 338 | + "location":"uri", |
| 339 | + "locationName":"resourceArn" |
| 340 | + } |
| 341 | + } |
| 342 | + }, |
| 343 | + "ListTagsForResourceResponse":{ |
| 344 | + "type":"structure", |
| 345 | + "members":{ |
| 346 | + "tags":{"shape":"TagMap"} |
| 347 | + } |
| 348 | + }, |
268 | 349 | "ListWorkspacesRequest":{
|
269 | 350 | "type":"structure",
|
270 | 351 | "members":{
|
|
381 | 462 | "exception":true
|
382 | 463 | },
|
383 | 464 | "String":{"type":"string"},
|
| 465 | + "TagKey":{ |
| 466 | + "type":"string", |
| 467 | + "max":128, |
| 468 | + "min":1, |
| 469 | + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 470 | + }, |
| 471 | + "TagKeys":{ |
| 472 | + "type":"list", |
| 473 | + "member":{"shape":"TagKey"} |
| 474 | + }, |
| 475 | + "TagMap":{ |
| 476 | + "type":"map", |
| 477 | + "key":{ |
| 478 | + "shape":"TagKey", |
| 479 | + "documentation":"<p>The key of the tag.</p> <p>Constraints: Tag keys are case-sensitive and accept a maximum of 128 Unicode characters. Valid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @ May not begin with <code>aws:</code>.</p>" |
| 480 | + }, |
| 481 | + "value":{ |
| 482 | + "shape":"TagValue", |
| 483 | + "documentation":"<p>The value of the tag.</p> <p>Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters. Valid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @</p>" |
| 484 | + }, |
| 485 | + "documentation":"<p>The list of tags assigned to the resource.</p>", |
| 486 | + "max":50, |
| 487 | + "min":0 |
| 488 | + }, |
| 489 | + "TagResourceRequest":{ |
| 490 | + "type":"structure", |
| 491 | + "required":[ |
| 492 | + "resourceArn", |
| 493 | + "tags" |
| 494 | + ], |
| 495 | + "members":{ |
| 496 | + "resourceArn":{ |
| 497 | + "shape":"String", |
| 498 | + "documentation":"<p>The ARN of the resource.</p>", |
| 499 | + "location":"uri", |
| 500 | + "locationName":"resourceArn" |
| 501 | + }, |
| 502 | + "tags":{"shape":"TagMap"} |
| 503 | + } |
| 504 | + }, |
| 505 | + "TagResourceResponse":{ |
| 506 | + "type":"structure", |
| 507 | + "members":{ |
| 508 | + } |
| 509 | + }, |
| 510 | + "TagValue":{ |
| 511 | + "type":"string", |
| 512 | + "max":256, |
| 513 | + "min":0, |
| 514 | + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 515 | + }, |
384 | 516 | "ThrottlingException":{
|
385 | 517 | "type":"structure",
|
386 | 518 | "required":["message"],
|
|
413 | 545 | "retryable":{"throttling":false}
|
414 | 546 | },
|
415 | 547 | "Timestamp":{"type":"timestamp"},
|
| 548 | + "UntagResourceRequest":{ |
| 549 | + "type":"structure", |
| 550 | + "required":[ |
| 551 | + "resourceArn", |
| 552 | + "tagKeys" |
| 553 | + ], |
| 554 | + "members":{ |
| 555 | + "resourceArn":{ |
| 556 | + "shape":"String", |
| 557 | + "documentation":"<p>The ARN of the resource.</p>", |
| 558 | + "location":"uri", |
| 559 | + "locationName":"resourceArn" |
| 560 | + }, |
| 561 | + "tagKeys":{ |
| 562 | + "shape":"TagKeys", |
| 563 | + "documentation":"<p>One or more tag keys</p>", |
| 564 | + "location":"querystring", |
| 565 | + "locationName":"tagKeys" |
| 566 | + } |
| 567 | + } |
| 568 | + }, |
| 569 | + "UntagResourceResponse":{ |
| 570 | + "type":"structure", |
| 571 | + "members":{ |
| 572 | + } |
| 573 | + }, |
416 | 574 | "UpdateWorkspaceAliasRequest":{
|
417 | 575 | "type":"structure",
|
418 | 576 | "required":["workspaceId"],
|
|
539 | 697 | "shape":"WorkspaceStatus",
|
540 | 698 | "documentation":"<p>The status of this workspace.</p>"
|
541 | 699 | },
|
| 700 | + "tags":{ |
| 701 | + "shape":"TagMap", |
| 702 | + "documentation":"<p>The tags of this workspace.</p>" |
| 703 | + }, |
542 | 704 | "workspaceId":{
|
543 | 705 | "shape":"WorkspaceId",
|
544 | 706 | "documentation":"<p>Unique string identifying this workspace.</p>"
|
|
600 | 762 | "shape":"WorkspaceStatus",
|
601 | 763 | "documentation":"<p>The status of this workspace.</p>"
|
602 | 764 | },
|
| 765 | + "tags":{ |
| 766 | + "shape":"TagMap", |
| 767 | + "documentation":"<p>The tags of this workspace.</p>" |
| 768 | + }, |
603 | 769 | "workspaceId":{
|
604 | 770 | "shape":"WorkspaceId",
|
605 | 771 | "documentation":"<p>Unique string identifying this workspace.</p>"
|
|
0 commit comments