|
160 | 160 | {"shape":"InternalServerErrorException"} |
161 | 161 | ] |
162 | 162 | }, |
| 163 | + "ListTagsForResource":{ |
| 164 | + "name":"ListTagsForResource", |
| 165 | + "http":{ |
| 166 | + "method":"POST", |
| 167 | + "requestUri":"/" |
| 168 | + }, |
| 169 | + "input":{"shape":"ListTagsForResourceRequest"}, |
| 170 | + "output":{"shape":"ListTagsForResourceResponse"}, |
| 171 | + "errors":[ |
| 172 | + {"shape":"NotFoundException"}, |
| 173 | + {"shape":"InternalServerErrorException"}, |
| 174 | + {"shape":"BadRequestException"} |
| 175 | + ] |
| 176 | + }, |
| 177 | + "TagResource":{ |
| 178 | + "name":"TagResource", |
| 179 | + "http":{ |
| 180 | + "method":"POST", |
| 181 | + "requestUri":"/" |
| 182 | + }, |
| 183 | + "input":{"shape":"TagResourceRequest"}, |
| 184 | + "output":{"shape":"TagResourceResponse"}, |
| 185 | + "errors":[ |
| 186 | + {"shape":"NotFoundException"}, |
| 187 | + {"shape":"InternalServerErrorException"}, |
| 188 | + {"shape":"BadRequestException"} |
| 189 | + ] |
| 190 | + }, |
| 191 | + "UntagResource":{ |
| 192 | + "name":"UntagResource", |
| 193 | + "http":{ |
| 194 | + "method":"POST", |
| 195 | + "requestUri":"/" |
| 196 | + }, |
| 197 | + "input":{"shape":"UntagResourceRequest"}, |
| 198 | + "output":{"shape":"UntagResourceResponse"}, |
| 199 | + "errors":[ |
| 200 | + {"shape":"NotFoundException"}, |
| 201 | + {"shape":"InternalServerErrorException"}, |
| 202 | + {"shape":"BadRequestException"} |
| 203 | + ] |
| 204 | + }, |
163 | 205 | "UpdateEnvironment":{ |
164 | 206 | "name":"UpdateEnvironment", |
165 | 207 | "http":{ |
|
240 | 282 | "instanceType":{"shape":"InstanceType"}, |
241 | 283 | "subnetId":{"shape":"SubnetId"}, |
242 | 284 | "automaticStopTimeMinutes":{"shape":"AutomaticStopTimeMinutes"}, |
243 | | - "ownerArn":{"shape":"UserArn"} |
| 285 | + "ownerArn":{"shape":"UserArn"}, |
| 286 | + "tags":{"shape":"TagList"} |
244 | 287 | } |
245 | 288 | }, |
246 | 289 | "CreateEnvironmentEC2Result":{ |
|
352 | 395 | "lifecycle":{"shape":"EnvironmentLifecycle"} |
353 | 396 | } |
354 | 397 | }, |
| 398 | + "EnvironmentArn":{ |
| 399 | + "type":"string", |
| 400 | + "pattern":"arn:aws:cloud9:([a-z]{2}-[a-z]+-\\d{1}):[0-9]{12}:environment:[a-zA-Z0-9]{8,32}" |
| 401 | + }, |
355 | 402 | "EnvironmentDescription":{ |
356 | 403 | "type":"string", |
357 | 404 | "max":200, |
|
464 | 511 | "environmentIds":{"shape":"EnvironmentIdList"} |
465 | 512 | } |
466 | 513 | }, |
| 514 | + "ListTagsForResourceRequest":{ |
| 515 | + "type":"structure", |
| 516 | + "required":["ResourceARN"], |
| 517 | + "members":{ |
| 518 | + "ResourceARN":{"shape":"EnvironmentArn"} |
| 519 | + } |
| 520 | + }, |
| 521 | + "ListTagsForResourceResponse":{ |
| 522 | + "type":"structure", |
| 523 | + "members":{ |
| 524 | + "Tags":{"shape":"TagList"} |
| 525 | + } |
| 526 | + }, |
467 | 527 | "MaxResults":{ |
468 | 528 | "type":"integer", |
469 | 529 | "box":true, |
|
501 | 561 | "max":30, |
502 | 562 | "min":5 |
503 | 563 | }, |
| 564 | + "Tag":{ |
| 565 | + "type":"structure", |
| 566 | + "required":[ |
| 567 | + "Key", |
| 568 | + "Value" |
| 569 | + ], |
| 570 | + "members":{ |
| 571 | + "Key":{"shape":"TagKey"}, |
| 572 | + "Value":{"shape":"TagValue"} |
| 573 | + } |
| 574 | + }, |
| 575 | + "TagKey":{ |
| 576 | + "type":"string", |
| 577 | + "max":128, |
| 578 | + "min":1 |
| 579 | + }, |
| 580 | + "TagKeyList":{ |
| 581 | + "type":"list", |
| 582 | + "member":{"shape":"TagKey"}, |
| 583 | + "max":200, |
| 584 | + "min":0 |
| 585 | + }, |
| 586 | + "TagList":{ |
| 587 | + "type":"list", |
| 588 | + "member":{"shape":"Tag"}, |
| 589 | + "max":200, |
| 590 | + "min":0 |
| 591 | + }, |
| 592 | + "TagResourceRequest":{ |
| 593 | + "type":"structure", |
| 594 | + "required":[ |
| 595 | + "ResourceARN", |
| 596 | + "Tags" |
| 597 | + ], |
| 598 | + "members":{ |
| 599 | + "ResourceARN":{"shape":"EnvironmentArn"}, |
| 600 | + "Tags":{"shape":"TagList"} |
| 601 | + } |
| 602 | + }, |
| 603 | + "TagResourceResponse":{ |
| 604 | + "type":"structure", |
| 605 | + "members":{ |
| 606 | + } |
| 607 | + }, |
| 608 | + "TagValue":{ |
| 609 | + "type":"string", |
| 610 | + "max":256, |
| 611 | + "min":0 |
| 612 | + }, |
504 | 613 | "Timestamp":{"type":"timestamp"}, |
505 | 614 | "TooManyRequestsException":{ |
506 | 615 | "type":"structure", |
507 | 616 | "members":{ |
508 | 617 | }, |
509 | 618 | "exception":true |
510 | 619 | }, |
| 620 | + "UntagResourceRequest":{ |
| 621 | + "type":"structure", |
| 622 | + "required":[ |
| 623 | + "ResourceARN", |
| 624 | + "TagKeys" |
| 625 | + ], |
| 626 | + "members":{ |
| 627 | + "ResourceARN":{"shape":"EnvironmentArn"}, |
| 628 | + "TagKeys":{"shape":"TagKeyList"} |
| 629 | + } |
| 630 | + }, |
| 631 | + "UntagResourceResponse":{ |
| 632 | + "type":"structure", |
| 633 | + "members":{ |
| 634 | + } |
| 635 | + }, |
511 | 636 | "UpdateEnvironmentMembershipRequest":{ |
512 | 637 | "type":"structure", |
513 | 638 | "required":[ |
|
543 | 668 | }, |
544 | 669 | "UserArn":{ |
545 | 670 | "type":"string", |
546 | | - "pattern":"^arn:aws:(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=/:,.@-]{1,64}\\/[\\w+=/:,.@-]{1,64}))$" |
| 671 | + "pattern":"^arn:aws:(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=:,.@-]{1,64}\\/[\\w+=,.@-]{1,64}))$" |
547 | 672 | } |
548 | 673 | } |
549 | 674 | } |
0 commit comments