|
99 | 99 | ],
|
100 | 100 | "documentation":"<p>Provides the list of entities of a given type.</p>"
|
101 | 101 | },
|
| 102 | + "ListTagsForResource":{ |
| 103 | + "name":"ListTagsForResource", |
| 104 | + "http":{ |
| 105 | + "method":"POST", |
| 106 | + "requestUri":"/ListTagsForResource" |
| 107 | + }, |
| 108 | + "input":{"shape":"ListTagsForResourceRequest"}, |
| 109 | + "output":{"shape":"ListTagsForResourceResponse"}, |
| 110 | + "errors":[ |
| 111 | + {"shape":"ResourceNotFoundException"}, |
| 112 | + {"shape":"InternalServiceException"}, |
| 113 | + {"shape":"AccessDeniedException"}, |
| 114 | + {"shape":"ValidationException"}, |
| 115 | + {"shape":"ThrottlingException"} |
| 116 | + ], |
| 117 | + "documentation":"<p>Lists all tags that have been added to a resource (either an <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities\">entity</a> or <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets\">change set</a>).</p>" |
| 118 | + }, |
102 | 119 | "StartChangeSet":{
|
103 | 120 | "name":"StartChangeSet",
|
104 | 121 | "http":{
|
|
116 | 133 | {"shape":"ThrottlingException"},
|
117 | 134 | {"shape":"ServiceQuotaExceededException"}
|
118 | 135 | ],
|
119 |
| - "documentation":"<p>This operation allows you to request changes for your entities. Within a single ChangeSet, you cannot start the same change type against the same entity multiple times. Additionally, when a ChangeSet is running, all the entities targeted by the different changes are locked until the ChangeSet has completed (either succeeded, cancelled, or failed). If you try to start a ChangeSet containing a change against an entity that is already locked, you will receive a <code>ResourceInUseException</code>.</p> <p>For example, you cannot start the ChangeSet described in the <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/API_StartChangeSet.html#API_StartChangeSet_Examples\">example</a> later in this topic, because it contains two changes to execute the same change type (<code>AddRevisions</code>) against the same entity (<code>entity-id@1)</code>.</p> <p>For more information about working with change sets, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets\"> Working with change sets</a>.</p>" |
| 136 | + "documentation":"<p>Allows you to request changes for your entities. Within a single <code>ChangeSet</code>, you can't start the same change type against the same entity multiple times. Additionally, when a <code>ChangeSet</code> is running, all the entities targeted by the different changes are locked until the change set has completed (either succeeded, cancelled, or failed). If you try to start a change set containing a change against an entity that is already locked, you will receive a <code>ResourceInUseException</code> error.</p> <p>For example, you can't start the <code>ChangeSet</code> described in the <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/API_StartChangeSet.html#API_StartChangeSet_Examples\">example</a> later in this topic because it contains two changes to run the same change type (<code>AddRevisions</code>) against the same entity (<code>entity-id@1</code>).</p> <p>For more information about working with change sets, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets\"> Working with change sets</a>.</p>" |
| 137 | + }, |
| 138 | + "TagResource":{ |
| 139 | + "name":"TagResource", |
| 140 | + "http":{ |
| 141 | + "method":"POST", |
| 142 | + "requestUri":"/TagResource" |
| 143 | + }, |
| 144 | + "input":{"shape":"TagResourceRequest"}, |
| 145 | + "output":{"shape":"TagResourceResponse"}, |
| 146 | + "errors":[ |
| 147 | + {"shape":"ResourceNotFoundException"}, |
| 148 | + {"shape":"InternalServiceException"}, |
| 149 | + {"shape":"AccessDeniedException"}, |
| 150 | + {"shape":"ValidationException"}, |
| 151 | + {"shape":"ThrottlingException"} |
| 152 | + ], |
| 153 | + "documentation":"<p>Tags a resource (either an <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities\">entity</a> or <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets\">change set</a>).</p>" |
| 154 | + }, |
| 155 | + "UntagResource":{ |
| 156 | + "name":"UntagResource", |
| 157 | + "http":{ |
| 158 | + "method":"POST", |
| 159 | + "requestUri":"/UntagResource" |
| 160 | + }, |
| 161 | + "input":{"shape":"UntagResourceRequest"}, |
| 162 | + "output":{"shape":"UntagResourceResponse"}, |
| 163 | + "errors":[ |
| 164 | + {"shape":"ResourceNotFoundException"}, |
| 165 | + {"shape":"InternalServiceException"}, |
| 166 | + {"shape":"AccessDeniedException"}, |
| 167 | + {"shape":"ValidationException"}, |
| 168 | + {"shape":"ThrottlingException"} |
| 169 | + ], |
| 170 | + "documentation":"<p>Removes a tag or list of tags from a resource (either an <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities\">entity</a> or <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets\">change set</a>).</p>" |
120 | 171 | }
|
121 | 172 | },
|
122 | 173 | "shapes":{
|
|
192 | 243 | "shape":"Entity",
|
193 | 244 | "documentation":"<p>The entity to be changed.</p>"
|
194 | 245 | },
|
| 246 | + "EntityTags":{ |
| 247 | + "shape":"TagList", |
| 248 | + "documentation":"<p>The tags associated with the change.</p>" |
| 249 | + }, |
195 | 250 | "Details":{
|
196 | 251 | "shape":"Json",
|
197 | 252 | "documentation":"<p>This object contains details specific to the change type of the requested change.</p>"
|
|
305 | 360 | },
|
306 | 361 | "ClientRequestToken":{
|
307 | 362 | "type":"string",
|
308 |
| - "max":36, |
| 363 | + "max":64, |
309 | 364 | "min":1,
|
310 |
| - "pattern":"^[\\w\\-]+$" |
| 365 | + "pattern":"^[!-~]+$" |
311 | 366 | },
|
312 | 367 | "DateTimeISO8601":{
|
313 | 368 | "type":"string",
|
|
660 | 715 | }
|
661 | 716 | }
|
662 | 717 | },
|
| 718 | + "ListTagsForResourceRequest":{ |
| 719 | + "type":"structure", |
| 720 | + "required":["ResourceArn"], |
| 721 | + "members":{ |
| 722 | + "ResourceArn":{ |
| 723 | + "shape":"ResourceARN", |
| 724 | + "documentation":"<p>Required. The Amazon Resource Name (ARN) associated with the resource you want to list tags on.</p>" |
| 725 | + } |
| 726 | + } |
| 727 | + }, |
| 728 | + "ListTagsForResourceResponse":{ |
| 729 | + "type":"structure", |
| 730 | + "members":{ |
| 731 | + "ResourceArn":{ |
| 732 | + "shape":"ResourceARN", |
| 733 | + "documentation":"<p>Required. The ARN associated with the resource you want to list tags on.</p>" |
| 734 | + }, |
| 735 | + "Tags":{ |
| 736 | + "shape":"TagList", |
| 737 | + "documentation":"<p>Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.</p>" |
| 738 | + } |
| 739 | + } |
| 740 | + }, |
663 | 741 | "MaxResultInteger":{
|
664 | 742 | "type":"integer",
|
665 | 743 | "box":true,
|
|
678 | 756 | "max":20,
|
679 | 757 | "min":1
|
680 | 758 | },
|
| 759 | + "ResourceARN":{ |
| 760 | + "type":"string", |
| 761 | + "max":255, |
| 762 | + "min":1, |
| 763 | + "pattern":"^arn:[\\w+=/,.@-]+:aws-marketplace:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=,.@-]+)*$" |
| 764 | + }, |
681 | 765 | "ResourceId":{
|
682 | 766 | "type":"string",
|
683 | 767 | "max":255,
|
|
778 | 862 | "shape":"ClientRequestToken",
|
779 | 863 | "documentation":"<p>A unique token to identify the request to ensure idempotency.</p>",
|
780 | 864 | "idempotencyToken":true
|
| 865 | + }, |
| 866 | + "ChangeSetTags":{ |
| 867 | + "shape":"TagList", |
| 868 | + "documentation":"<p>A list of objects specifying each key name and value for the <code>ChangeSetTags</code> property.</p>" |
781 | 869 | }
|
782 | 870 | }
|
783 | 871 | },
|
|
794 | 882 | }
|
795 | 883 | }
|
796 | 884 | },
|
| 885 | + "Tag":{ |
| 886 | + "type":"structure", |
| 887 | + "required":[ |
| 888 | + "Key", |
| 889 | + "Value" |
| 890 | + ], |
| 891 | + "members":{ |
| 892 | + "Key":{ |
| 893 | + "shape":"TagKey", |
| 894 | + "documentation":"<p>The key associated with the tag.</p>" |
| 895 | + }, |
| 896 | + "Value":{ |
| 897 | + "shape":"TagValue", |
| 898 | + "documentation":"<p>The value associated with the tag.</p>" |
| 899 | + } |
| 900 | + }, |
| 901 | + "documentation":"<p>A list of objects specifying each key name and value.</p>" |
| 902 | + }, |
| 903 | + "TagKey":{ |
| 904 | + "type":"string", |
| 905 | + "max":128, |
| 906 | + "min":1, |
| 907 | + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 908 | + }, |
| 909 | + "TagKeyList":{ |
| 910 | + "type":"list", |
| 911 | + "member":{"shape":"TagKey"}, |
| 912 | + "max":50, |
| 913 | + "min":1 |
| 914 | + }, |
| 915 | + "TagList":{ |
| 916 | + "type":"list", |
| 917 | + "member":{"shape":"Tag"}, |
| 918 | + "max":50, |
| 919 | + "min":1 |
| 920 | + }, |
| 921 | + "TagResourceRequest":{ |
| 922 | + "type":"structure", |
| 923 | + "required":[ |
| 924 | + "ResourceArn", |
| 925 | + "Tags" |
| 926 | + ], |
| 927 | + "members":{ |
| 928 | + "ResourceArn":{ |
| 929 | + "shape":"ResourceARN", |
| 930 | + "documentation":"<p>Required. The Amazon Resource Name (ARN) associated with the resource you want to tag.</p>" |
| 931 | + }, |
| 932 | + "Tags":{ |
| 933 | + "shape":"TagList", |
| 934 | + "documentation":"<p>Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.</p>" |
| 935 | + } |
| 936 | + } |
| 937 | + }, |
| 938 | + "TagResourceResponse":{ |
| 939 | + "type":"structure", |
| 940 | + "members":{ |
| 941 | + } |
| 942 | + }, |
| 943 | + "TagValue":{ |
| 944 | + "type":"string", |
| 945 | + "max":256, |
| 946 | + "min":0, |
| 947 | + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" |
| 948 | + }, |
797 | 949 | "ThrottlingException":{
|
798 | 950 | "type":"structure",
|
799 | 951 | "members":{
|
|
804 | 956 | "exception":true,
|
805 | 957 | "synthetic":true
|
806 | 958 | },
|
| 959 | + "UntagResourceRequest":{ |
| 960 | + "type":"structure", |
| 961 | + "required":[ |
| 962 | + "ResourceArn", |
| 963 | + "TagKeys" |
| 964 | + ], |
| 965 | + "members":{ |
| 966 | + "ResourceArn":{ |
| 967 | + "shape":"ResourceARN", |
| 968 | + "documentation":"<p>Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.</p>" |
| 969 | + }, |
| 970 | + "TagKeys":{ |
| 971 | + "shape":"TagKeyList", |
| 972 | + "documentation":"<p>Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.</p>" |
| 973 | + } |
| 974 | + } |
| 975 | + }, |
| 976 | + "UntagResourceResponse":{ |
| 977 | + "type":"structure", |
| 978 | + "members":{ |
| 979 | + } |
| 980 | + }, |
807 | 981 | "ValidationException":{
|
808 | 982 | "type":"structure",
|
809 | 983 | "members":{
|
|
0 commit comments