|
21 | 21 | "com.amazonaws.amp#AmazonPrometheusService": {
|
22 | 22 | "type": "service",
|
23 | 23 | "version": "2020-08-01",
|
| 24 | + "operations": [ |
| 25 | + { |
| 26 | + "target": "com.amazonaws.amp#ListTagsForResource" |
| 27 | + }, |
| 28 | + { |
| 29 | + "target": "com.amazonaws.amp#TagResource" |
| 30 | + }, |
| 31 | + { |
| 32 | + "target": "com.amazonaws.amp#UntagResource" |
| 33 | + } |
| 34 | + ], |
24 | 35 | "resources": [
|
25 | 36 | {
|
26 | 37 | "target": "com.amazonaws.amp#Workspace"
|
|
31 | 42 | "sdkId": "amp",
|
32 | 43 | "arnNamespace": "aps",
|
33 | 44 | "cloudFormationName": "AmazonPrometheusService",
|
34 |
| - "cloudTrailEventSource": "CLOUDTRAIL_PLACEHOLDER_REPLACED_BY_CDK" |
| 45 | + "cloudTrailEventSource": "CLOUDTRAIL_PLACEHOLDER_REPLACED_BY_CDK", |
| 46 | + "endpointPrefix": "aps" |
35 | 47 | },
|
36 | 48 | "aws.auth#sigv4": {
|
37 | 49 | "name": "aps"
|
|
148 | 160 | "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.",
|
149 | 161 | "smithy.api#idempotencyToken": {}
|
150 | 162 | }
|
| 163 | + }, |
| 164 | + "tags": { |
| 165 | + "target": "com.amazonaws.amp#TagMap", |
| 166 | + "traits": { |
| 167 | + "smithy.api#documentation": "Optional, user-provided tags for this workspace." |
| 168 | + } |
151 | 169 | }
|
152 | 170 | },
|
153 | 171 | "traits": {
|
|
177 | 195 | "smithy.api#documentation": "The status of the workspace that was just created (usually CREATING).",
|
178 | 196 | "smithy.api#required": {}
|
179 | 197 | }
|
| 198 | + }, |
| 199 | + "tags": { |
| 200 | + "target": "com.amazonaws.amp#TagMap", |
| 201 | + "traits": { |
| 202 | + "smithy.api#documentation": "The tags of this workspace." |
| 203 | + } |
180 | 204 | }
|
181 | 205 | },
|
182 | 206 | "traits": {
|
|
341 | 365 | "smithy.api#retryable": {}
|
342 | 366 | }
|
343 | 367 | },
|
| 368 | + "com.amazonaws.amp#ListTagsForResource": { |
| 369 | + "type": "operation", |
| 370 | + "input": { |
| 371 | + "target": "com.amazonaws.amp#ListTagsForResourceRequest" |
| 372 | + }, |
| 373 | + "output": { |
| 374 | + "target": "com.amazonaws.amp#ListTagsForResourceResponse" |
| 375 | + }, |
| 376 | + "errors": [ |
| 377 | + { |
| 378 | + "target": "com.amazonaws.amp#AccessDeniedException" |
| 379 | + }, |
| 380 | + { |
| 381 | + "target": "com.amazonaws.amp#InternalServerException" |
| 382 | + }, |
| 383 | + { |
| 384 | + "target": "com.amazonaws.amp#ResourceNotFoundException" |
| 385 | + }, |
| 386 | + { |
| 387 | + "target": "com.amazonaws.amp#ThrottlingException" |
| 388 | + }, |
| 389 | + { |
| 390 | + "target": "com.amazonaws.amp#ValidationException" |
| 391 | + } |
| 392 | + ], |
| 393 | + "traits": { |
| 394 | + "smithy.api#documentation": "Lists the tags you have assigned to the resource.", |
| 395 | + "smithy.api#http": { |
| 396 | + "method": "GET", |
| 397 | + "uri": "/tags/{resourceArn}", |
| 398 | + "code": 200 |
| 399 | + }, |
| 400 | + "smithy.api#readonly": {} |
| 401 | + } |
| 402 | + }, |
| 403 | + "com.amazonaws.amp#ListTagsForResourceRequest": { |
| 404 | + "type": "structure", |
| 405 | + "members": { |
| 406 | + "resourceArn": { |
| 407 | + "target": "smithy.api#String", |
| 408 | + "traits": { |
| 409 | + "smithy.api#documentation": "The ARN of the resource.", |
| 410 | + "smithy.api#httpLabel": {}, |
| 411 | + "smithy.api#required": {} |
| 412 | + } |
| 413 | + } |
| 414 | + } |
| 415 | + }, |
| 416 | + "com.amazonaws.amp#ListTagsForResourceResponse": { |
| 417 | + "type": "structure", |
| 418 | + "members": { |
| 419 | + "tags": { |
| 420 | + "target": "com.amazonaws.amp#TagMap" |
| 421 | + } |
| 422 | + } |
| 423 | + }, |
344 | 424 | "com.amazonaws.amp#ListWorkspaces": {
|
345 | 425 | "type": "operation",
|
346 | 426 | "input": {
|
|
515 | 595 | "smithy.api#httpError": 402
|
516 | 596 | }
|
517 | 597 | },
|
| 598 | + "com.amazonaws.amp#TagKey": { |
| 599 | + "type": "string", |
| 600 | + "traits": { |
| 601 | + "smithy.api#length": { |
| 602 | + "min": 1, |
| 603 | + "max": 128 |
| 604 | + }, |
| 605 | + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 606 | + } |
| 607 | + }, |
| 608 | + "com.amazonaws.amp#TagKeys": { |
| 609 | + "type": "list", |
| 610 | + "member": { |
| 611 | + "target": "com.amazonaws.amp#TagKey" |
| 612 | + } |
| 613 | + }, |
| 614 | + "com.amazonaws.amp#TagMap": { |
| 615 | + "type": "map", |
| 616 | + "key": { |
| 617 | + "target": "com.amazonaws.amp#TagKey", |
| 618 | + "traits": { |
| 619 | + "smithy.api#documentation": "The key of the tag.\n\nConstraints: Tag keys are case-sensitive and accept a maximum of 128 Unicode characters.\nValid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @\nMay not begin with `aws:`.\n" |
| 620 | + } |
| 621 | + }, |
| 622 | + "value": { |
| 623 | + "target": "com.amazonaws.amp#TagValue", |
| 624 | + "traits": { |
| 625 | + "smithy.api#documentation": "The value of the tag.\n\nConstraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.\nValid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @\n" |
| 626 | + } |
| 627 | + }, |
| 628 | + "traits": { |
| 629 | + "smithy.api#documentation": "The list of tags assigned to the resource.", |
| 630 | + "smithy.api#length": { |
| 631 | + "max": 50 |
| 632 | + } |
| 633 | + } |
| 634 | + }, |
| 635 | + "com.amazonaws.amp#TagResource": { |
| 636 | + "type": "operation", |
| 637 | + "input": { |
| 638 | + "target": "com.amazonaws.amp#TagResourceRequest" |
| 639 | + }, |
| 640 | + "output": { |
| 641 | + "target": "com.amazonaws.amp#TagResourceResponse" |
| 642 | + }, |
| 643 | + "errors": [ |
| 644 | + { |
| 645 | + "target": "com.amazonaws.amp#AccessDeniedException" |
| 646 | + }, |
| 647 | + { |
| 648 | + "target": "com.amazonaws.amp#InternalServerException" |
| 649 | + }, |
| 650 | + { |
| 651 | + "target": "com.amazonaws.amp#ResourceNotFoundException" |
| 652 | + }, |
| 653 | + { |
| 654 | + "target": "com.amazonaws.amp#ThrottlingException" |
| 655 | + }, |
| 656 | + { |
| 657 | + "target": "com.amazonaws.amp#ValidationException" |
| 658 | + } |
| 659 | + ], |
| 660 | + "traits": { |
| 661 | + "smithy.api#documentation": "Creates tags for the specified resource.", |
| 662 | + "smithy.api#http": { |
| 663 | + "method": "POST", |
| 664 | + "uri": "/tags/{resourceArn}", |
| 665 | + "code": 200 |
| 666 | + } |
| 667 | + } |
| 668 | + }, |
| 669 | + "com.amazonaws.amp#TagResourceRequest": { |
| 670 | + "type": "structure", |
| 671 | + "members": { |
| 672 | + "resourceArn": { |
| 673 | + "target": "smithy.api#String", |
| 674 | + "traits": { |
| 675 | + "smithy.api#documentation": "The ARN of the resource.", |
| 676 | + "smithy.api#httpLabel": {}, |
| 677 | + "smithy.api#required": {} |
| 678 | + } |
| 679 | + }, |
| 680 | + "tags": { |
| 681 | + "target": "com.amazonaws.amp#TagMap", |
| 682 | + "traits": { |
| 683 | + "smithy.api#required": {} |
| 684 | + } |
| 685 | + } |
| 686 | + } |
| 687 | + }, |
| 688 | + "com.amazonaws.amp#TagResourceResponse": { |
| 689 | + "type": "structure", |
| 690 | + "members": {} |
| 691 | + }, |
| 692 | + "com.amazonaws.amp#TagValue": { |
| 693 | + "type": "string", |
| 694 | + "traits": { |
| 695 | + "smithy.api#length": { |
| 696 | + "min": 0, |
| 697 | + "max": 256 |
| 698 | + }, |
| 699 | + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 700 | + } |
| 701 | + }, |
518 | 702 | "com.amazonaws.amp#ThrottlingException": {
|
519 | 703 | "type": "structure",
|
520 | 704 | "members": {
|
|
552 | 736 | "smithy.api#retryable": {}
|
553 | 737 | }
|
554 | 738 | },
|
| 739 | + "com.amazonaws.amp#UntagResource": { |
| 740 | + "type": "operation", |
| 741 | + "input": { |
| 742 | + "target": "com.amazonaws.amp#UntagResourceRequest" |
| 743 | + }, |
| 744 | + "output": { |
| 745 | + "target": "com.amazonaws.amp#UntagResourceResponse" |
| 746 | + }, |
| 747 | + "errors": [ |
| 748 | + { |
| 749 | + "target": "com.amazonaws.amp#AccessDeniedException" |
| 750 | + }, |
| 751 | + { |
| 752 | + "target": "com.amazonaws.amp#InternalServerException" |
| 753 | + }, |
| 754 | + { |
| 755 | + "target": "com.amazonaws.amp#ResourceNotFoundException" |
| 756 | + }, |
| 757 | + { |
| 758 | + "target": "com.amazonaws.amp#ThrottlingException" |
| 759 | + }, |
| 760 | + { |
| 761 | + "target": "com.amazonaws.amp#ValidationException" |
| 762 | + } |
| 763 | + ], |
| 764 | + "traits": { |
| 765 | + "smithy.api#documentation": "Deletes tags from the specified resource.", |
| 766 | + "smithy.api#http": { |
| 767 | + "method": "DELETE", |
| 768 | + "uri": "/tags/{resourceArn}", |
| 769 | + "code": 200 |
| 770 | + }, |
| 771 | + "smithy.api#idempotent": {} |
| 772 | + } |
| 773 | + }, |
| 774 | + "com.amazonaws.amp#UntagResourceRequest": { |
| 775 | + "type": "structure", |
| 776 | + "members": { |
| 777 | + "resourceArn": { |
| 778 | + "target": "smithy.api#String", |
| 779 | + "traits": { |
| 780 | + "smithy.api#documentation": "The ARN of the resource.", |
| 781 | + "smithy.api#httpLabel": {}, |
| 782 | + "smithy.api#required": {} |
| 783 | + } |
| 784 | + }, |
| 785 | + "tagKeys": { |
| 786 | + "target": "com.amazonaws.amp#TagKeys", |
| 787 | + "traits": { |
| 788 | + "smithy.api#documentation": "One or more tag keys", |
| 789 | + "smithy.api#httpQuery": "tagKeys", |
| 790 | + "smithy.api#required": {} |
| 791 | + } |
| 792 | + } |
| 793 | + } |
| 794 | + }, |
| 795 | + "com.amazonaws.amp#UntagResourceResponse": { |
| 796 | + "type": "structure", |
| 797 | + "members": {} |
| 798 | + }, |
555 | 799 | "com.amazonaws.amp#UpdateWorkspaceAlias": {
|
556 | 800 | "type": "operation",
|
557 | 801 | "input": {
|
|
808 | 1052 | "smithy.api#documentation": "The time when the workspace was created.",
|
809 | 1053 | "smithy.api#required": {}
|
810 | 1054 | }
|
| 1055 | + }, |
| 1056 | + "tags": { |
| 1057 | + "target": "com.amazonaws.amp#TagMap", |
| 1058 | + "traits": { |
| 1059 | + "smithy.api#documentation": "The tags of this workspace." |
| 1060 | + } |
811 | 1061 | }
|
812 | 1062 | },
|
813 | 1063 | "traits": {
|
|
914 | 1164 | "smithy.api#documentation": "The time when the workspace was created.",
|
915 | 1165 | "smithy.api#required": {}
|
916 | 1166 | }
|
| 1167 | + }, |
| 1168 | + "tags": { |
| 1169 | + "target": "com.amazonaws.amp#TagMap", |
| 1170 | + "traits": { |
| 1171 | + "smithy.api#documentation": "The tags of this workspace." |
| 1172 | + } |
917 | 1173 | }
|
918 | 1174 | },
|
919 | 1175 | "traits": {
|
|
0 commit comments