|
834 | 834 | "ChangeType": {
|
835 | 835 | "target": "com.amazonaws.marketplacecatalog#ChangeType",
|
836 | 836 | "traits": {
|
837 |
| - "smithy.api#documentation": "<p>Change types are single string values that describe your intention for the change.\n Each change type is unique for each <code>EntityType</code> provided in the change's\n scope. For more information on change types available for single-AMI products, see\n <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information on change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>", |
| 837 | + "smithy.api#documentation": "<p>Change types are single string values that describe your intention for the change.\n Each change type is unique for each <code>EntityType</code> provided in the change's\n scope. For more information on change types available for single-AMI products, see\n <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information about change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>", |
838 | 838 | "smithy.api#required": {}
|
839 | 839 | }
|
840 | 840 | },
|
|
854 | 854 | "Details": {
|
855 | 855 | "target": "com.amazonaws.marketplacecatalog#Json",
|
856 | 856 | "traits": {
|
857 |
| - "smithy.api#documentation": "<p>This object contains details specific to the change type of the requested\n change. For more\n information on change types available for single-AMI products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information on change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>", |
858 |
| - "smithy.api#required": {} |
| 857 | + "smithy.api#documentation": "<p>This object contains details specific to the change type of the requested change. For\n more information about change types available for single-AMI products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information about change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>" |
| 858 | + } |
| 859 | + }, |
| 860 | + "DetailsDocument": { |
| 861 | + "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", |
| 862 | + "traits": { |
| 863 | + "smithy.api#documentation": "<p>Alternative field that accepts a JSON value instead of a string for\n <code>ChangeType</code> details. You can use either <code>Details</code> or\n <code>DetailsDocument</code>, but not both.</p>" |
859 | 864 | }
|
860 | 865 | },
|
861 | 866 | "ChangeName": {
|
|
1013 | 1018 | "smithy.api#documentation": "<p>This object contains details specific to the change type of the requested\n change.</p>"
|
1014 | 1019 | }
|
1015 | 1020 | },
|
| 1021 | + "DetailsDocument": { |
| 1022 | + "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", |
| 1023 | + "traits": { |
| 1024 | + "smithy.api#documentation": "<p>The JSON value of the details specific to the change type of the requested change.</p>" |
| 1025 | + } |
| 1026 | + }, |
1016 | 1027 | "ErrorDetailList": {
|
1017 | 1028 | "target": "com.amazonaws.marketplacecatalog#ErrorDetailList",
|
1018 | 1029 | "traits": {
|
|
1086 | 1097 | }
|
1087 | 1098 | ],
|
1088 | 1099 | "traits": {
|
1089 |
| - "smithy.api#documentation": "<p>Deletes a resource-based policy on an Entity that is identified by its resource\n ARN.</p>", |
| 1100 | + "smithy.api#documentation": "<p>Deletes a resource-based policy on an entity that is identified by its resource\n ARN.</p>", |
1090 | 1101 | "smithy.api#http": {
|
1091 | 1102 | "method": "DELETE",
|
1092 | 1103 | "uri": "/DeleteResourcePolicy",
|
|
1100 | 1111 | "ResourceArn": {
|
1101 | 1112 | "target": "com.amazonaws.marketplacecatalog#ResourceARN",
|
1102 | 1113 | "traits": {
|
1103 |
| - "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Entity resource that is associated with the\n resource policy.</p>", |
| 1114 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.</p>", |
1104 | 1115 | "smithy.api#httpQuery": "resourceArn",
|
1105 | 1116 | "smithy.api#required": {}
|
1106 | 1117 | }
|
|
1330 | 1341 | "traits": {
|
1331 | 1342 | "smithy.api#documentation": "<p>This stringified JSON object includes the details of the entity.</p>"
|
1332 | 1343 | }
|
| 1344 | + }, |
| 1345 | + "DetailsDocument": { |
| 1346 | + "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", |
| 1347 | + "traits": { |
| 1348 | + "smithy.api#documentation": "<p>The JSON value of the details specific to the entity.</p>" |
| 1349 | + } |
1333 | 1350 | }
|
1334 | 1351 | },
|
1335 | 1352 | "traits": {
|
|
1568 | 1585 | }
|
1569 | 1586 | ],
|
1570 | 1587 | "traits": {
|
1571 |
| - "smithy.api#documentation": "<p>Gets a resource-based policy of an Entity that is identified by its resource\n ARN.</p>", |
| 1588 | + "smithy.api#documentation": "<p>Gets a resource-based policy of an entity that is identified by its resource\n ARN.</p>", |
1572 | 1589 | "smithy.api#http": {
|
1573 | 1590 | "method": "GET",
|
1574 | 1591 | "uri": "/GetResourcePolicy",
|
|
1582 | 1599 | "ResourceArn": {
|
1583 | 1600 | "target": "com.amazonaws.marketplacecatalog#ResourceARN",
|
1584 | 1601 | "traits": {
|
1585 |
| - "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Entity resource that is associated with the\n resource policy.</p>", |
| 1602 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.</p>", |
1586 | 1603 | "smithy.api#httpQuery": "resourceArn",
|
1587 | 1604 | "smithy.api#required": {}
|
1588 | 1605 | }
|
|
1639 | 1656 | "smithy.api#pattern": "^[\\s]*\\{[\\s\\S]*\\}[\\s]*$"
|
1640 | 1657 | }
|
1641 | 1658 | },
|
| 1659 | + "com.amazonaws.marketplacecatalog#JsonDocumentType": { |
| 1660 | + "type": "document" |
| 1661 | + }, |
1642 | 1662 | "com.amazonaws.marketplacecatalog#ListChangeSets": {
|
1643 | 1663 | "type": "operation",
|
1644 | 1664 | "input": {
|
|
1835 | 1855 | }
|
1836 | 1856 | },
|
1837 | 1857 | "OwnershipType": {
|
1838 |
| - "target": "com.amazonaws.marketplacecatalog#OwnershipType" |
| 1858 | + "target": "com.amazonaws.marketplacecatalog#OwnershipType", |
| 1859 | + "traits": { |
| 1860 | + "smithy.api#documentation": "<p>Filters the returned set of entities based on their owner. The default is\n <code>SELF</code>. To list entities shared with you\n through AWS Resource Access Manager (AWS RAM), set to <code>SHARED</code>. Entities shared through the AWS Marketplace\n Catalog API <code>PutResourcePolicy</code> operation can't be discovered through the\n <code>SHARED</code> parameter.</p>" |
| 1861 | + } |
1839 | 1862 | }
|
1840 | 1863 | },
|
1841 | 1864 | "traits": {
|
|
1984 | 2007 | }
|
1985 | 2008 | ],
|
1986 | 2009 | "traits": {
|
1987 |
| - "smithy.api#documentation": "<p>Attaches a resource-based policy to an Entity. Examples of an entity include:\n <code>AmiProduct</code> and <code>ContainerProduct</code>.</p>", |
| 2010 | + "smithy.api#documentation": "<p>Attaches a resource-based policy to an entity. Examples of an entity include:\n <code>AmiProduct</code> and <code>ContainerProduct</code>.</p>", |
1988 | 2011 | "smithy.api#http": {
|
1989 | 2012 | "method": "POST",
|
1990 | 2013 | "uri": "/PutResourcePolicy",
|
|
1998 | 2021 | "ResourceArn": {
|
1999 | 2022 | "target": "com.amazonaws.marketplacecatalog#ResourceARN",
|
2000 | 2023 | "traits": {
|
2001 |
| - "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Entity resource you want to associate with a\n resource policy. </p>", |
| 2024 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity resource you want to associate with a\n resource policy.</p>", |
2002 | 2025 | "smithy.api#required": {}
|
2003 | 2026 | }
|
2004 | 2027 | },
|
|
2127 | 2150 | "SortBy": {
|
2128 | 2151 | "target": "com.amazonaws.marketplacecatalog#SortBy",
|
2129 | 2152 | "traits": {
|
2130 |
| - "smithy.api#documentation": "<p>For <code>ListEntities</code>, supported attributes include\n <code>LastModifiedDate</code> (default), <code>Visibility</code>,\n <code>EntityId</code>, and <code>Name</code>.</p>\n <p>For <code>ListChangeSets</code>, supported attributes include <code>StartTime</code>\n and <code>EndTime</code>.</p>" |
| 2153 | + "smithy.api#documentation": "<p>For <code>ListEntities</code>, supported attributes include\n <code>LastModifiedDate</code> (default) and <code>EntityId</code>. In addition to\n <code>LastModifiedDate</code> and <code>EntityId</code>, each\n <code>EntityType</code> might support additional fields.</p>\n <p>For <code>ListChangeSets</code>, supported attributes include <code>StartTime</code>\n and <code>EndTime</code>.</p>" |
2131 | 2154 | }
|
2132 | 2155 | },
|
2133 | 2156 | "SortOrder": {
|
|
2200 | 2223 | }
|
2201 | 2224 | ],
|
2202 | 2225 | "traits": {
|
2203 |
| - "smithy.api#documentation": "<p>Allows you to request changes for your entities. Within a single\n <code>ChangeSet</code>, you can't start the same change type against the same entity\n multiple times. Additionally, when a <code>ChangeSet</code> is running, all the entities\n targeted by the different changes are locked until the change set has completed (either\n succeeded, cancelled, or failed). If you try to start a change set containing a change\n against an entity that is already locked, you will receive a\n <code>ResourceInUseException</code> error.</p>\n <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\n change type (<code>AddRevisions</code>) against the same entity\n (<code>entity-id@1</code>).</p>\n <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>. For information on change types for single-AMI\n products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Als, for more information on change types\n available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>", |
| 2226 | + "smithy.api#documentation": "<p>Allows you to request changes for your entities. Within a single\n <code>ChangeSet</code>, you can't start the same change type against the same entity\n multiple times. Additionally, when a <code>ChangeSet</code> is running, all the entities\n targeted by the different changes are locked until the change set has completed (either\n succeeded, cancelled, or failed). If you try to start a change set containing a change\n against an entity that is already locked, you will receive a\n <code>ResourceInUseException</code> error.</p>\n <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\n change type (<code>AddRevisions</code>) against the same entity\n (<code>entity-id@1</code>).</p>\n <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>. For information about change types for\n single-AMI products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information about change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>", |
2204 | 2227 | "smithy.api#http": {
|
2205 | 2228 | "method": "POST",
|
2206 | 2229 | "uri": "/StartChangeSet",
|
|
0 commit comments