From b689c249053165c68ee2ab20a3e7f44965937a8c Mon Sep 17 00:00:00 2001
From: awstools Deletes a resource-based policy on an Entity that is identified by its resource
+ * Deletes a resource-based policy on an entity that is identified by its resource
* ARN. Gets a resource-based policy of an Entity that is identified by its resource
+ * Gets a resource-based policy of an entity that is identified by its resource
* ARN. Attaches a resource-based policy to an Entity. Examples of an entity include:
+ * Attaches a resource-based policy to an entity. Examples of an entity include:
* For example, you can't start the For more information about working with change sets, see Working with change sets. For information on change types for single-AMI
- * products, see Working with single-AMI products. Als, for more information on change types
- * available for container-based products, see Working with container products. For more information about working with change sets, see Working with change sets. For information about change types for
+ * single-AMI products, see Working with single-AMI products. Also, for more information about change
+ * types available for container-based products, see Working with container products. The Amazon Resource Name (ARN) of the Entity resource that is associated with the
+ * The Amazon Resource Name (ARN) of the entity resource that is associated with the
* resource policy. The JSON value of the details specific to the change type of the requested change. An array of This stringified JSON object includes the details of the entity. The JSON value of the details specific to the entity. The Amazon Resource Name (ARN) of the Entity resource that is associated with the
+ * The Amazon Resource Name (ARN) of the entity resource that is associated with the
* resource policy. For AmiProduct
and ContainerProduct
.ChangeSet
described in the example later in this topic because it contains two changes to run the same
* change type (AddRevisions
) against the same entity
* (entity-id@1
).ErrorDetail
objects associated with the change.ListEntities
, supported attributes include
- * LastModifiedDate
(default), Visibility
,
- * EntityId
, and Name
.LastModifiedDate
(default) and EntityId
. In addition to
+ * LastModifiedDate
and EntityId
, each
+ * EntityType
might support additional fields.
For ListChangeSets
, supported attributes include StartTime
* and EndTime
.
Filters the returned set of entities based on their owner. The default is
+ * SELF
. To list entities shared with you
+ * through AWS Resource Access Manager (AWS RAM), set to SHARED
. Entities shared through the AWS Marketplace
+ * Catalog API PutResourcePolicy
operation can't be discovered through the
+ * SHARED
parameter.
The Amazon Resource Name (ARN) of the Entity resource you want to associate with a - * resource policy.
+ *The Amazon Resource Name (ARN) of the entity resource you want to associate with a + * resource policy.
*/ ResourceArn: string | undefined; @@ -940,7 +962,7 @@ export interface Change { *Change types are single string values that describe your intention for the change.
* Each change type is unique for each EntityType
provided in the change's
* scope. For more information on change types available for single-AMI products, see
- * Working with single-AMI products. Also, for more information on change
+ * Working with single-AMI products. Also, for more information about change
* types available for container-based products, see Working with container products.
This object contains details specific to the change type of the requested - * change. For more - * information on change types available for single-AMI products, see Working with single-AMI products. Also, for more information on change + *
This object contains details specific to the change type of the requested change. For + * more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change * types available for container-based products, see Working with container products.
*/ - Details: string | undefined; + Details?: string; + + /** + * @public + *Alternative field that accepts a JSON value instead of a string for
+ * ChangeType
details. You can use either Details
or
+ * DetailsDocument
, but not both.
Change types are single string values that describe your intention for the change.\n Each change type is unique for each EntityType
provided in the change's\n scope. For more information on change types available for single-AMI products, see\n Working with single-AMI products. Also, for more information on change\n types available for container-based products, see Working with container products.
Change types are single string values that describe your intention for the change.\n Each change type is unique for each EntityType
provided in the change's\n scope. For more information on change types available for single-AMI products, see\n Working with single-AMI products. Also, for more information about change\n types available for container-based products, see Working with container products.
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 Working with single-AMI products. Also, for more information on change\n types available for container-based products, see Working with container products.
", - "smithy.api#required": {} + "smithy.api#documentation": "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 Working with single-AMI products. Also, for more information about change\n types available for container-based products, see Working with container products.
" + } + }, + "DetailsDocument": { + "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", + "traits": { + "smithy.api#documentation": "Alternative field that accepts a JSON value instead of a string for\n ChangeType
details. You can use either Details
or\n DetailsDocument
, but not both.
This object contains details specific to the change type of the requested\n change.
" } }, + "DetailsDocument": { + "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", + "traits": { + "smithy.api#documentation": "The JSON value of the details specific to the change type of the requested change.
" + } + }, "ErrorDetailList": { "target": "com.amazonaws.marketplacecatalog#ErrorDetailList", "traits": { @@ -1086,7 +1097,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a resource-based policy on an Entity that is identified by its resource\n ARN.
", + "smithy.api#documentation": "Deletes a resource-based policy on an entity that is identified by its resource\n ARN.
", "smithy.api#http": { "method": "DELETE", "uri": "/DeleteResourcePolicy", @@ -1100,7 +1111,7 @@ "ResourceArn": { "target": "com.amazonaws.marketplacecatalog#ResourceARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Entity resource that is associated with the\n resource policy.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.
", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } @@ -1330,6 +1341,12 @@ "traits": { "smithy.api#documentation": "This stringified JSON object includes the details of the entity.
" } + }, + "DetailsDocument": { + "target": "com.amazonaws.marketplacecatalog#JsonDocumentType", + "traits": { + "smithy.api#documentation": "The JSON value of the details specific to the entity.
" + } } }, "traits": { @@ -1568,7 +1585,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets a resource-based policy of an Entity that is identified by its resource\n ARN.
", + "smithy.api#documentation": "Gets a resource-based policy of an entity that is identified by its resource\n ARN.
", "smithy.api#http": { "method": "GET", "uri": "/GetResourcePolicy", @@ -1582,7 +1599,7 @@ "ResourceArn": { "target": "com.amazonaws.marketplacecatalog#ResourceARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Entity resource that is associated with the\n resource policy.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.
", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } @@ -1639,6 +1656,9 @@ "smithy.api#pattern": "^[\\s]*\\{[\\s\\S]*\\}[\\s]*$" } }, + "com.amazonaws.marketplacecatalog#JsonDocumentType": { + "type": "document" + }, "com.amazonaws.marketplacecatalog#ListChangeSets": { "type": "operation", "input": { @@ -1835,7 +1855,10 @@ } }, "OwnershipType": { - "target": "com.amazonaws.marketplacecatalog#OwnershipType" + "target": "com.amazonaws.marketplacecatalog#OwnershipType", + "traits": { + "smithy.api#documentation": "Filters the returned set of entities based on their owner. The default is\n SELF
. To list entities shared with you\n through AWS Resource Access Manager (AWS RAM), set to SHARED
. Entities shared through the AWS Marketplace\n Catalog API PutResourcePolicy
operation can't be discovered through the\n SHARED
parameter.
Attaches a resource-based policy to an Entity. Examples of an entity include:\n AmiProduct
and ContainerProduct
.
Attaches a resource-based policy to an entity. Examples of an entity include:\n AmiProduct
and ContainerProduct
.
The Amazon Resource Name (ARN) of the Entity resource you want to associate with a\n resource policy.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity resource you want to associate with a\n resource policy.
", "smithy.api#required": {} } }, @@ -2127,7 +2150,7 @@ "SortBy": { "target": "com.amazonaws.marketplacecatalog#SortBy", "traits": { - "smithy.api#documentation": "For ListEntities
, supported attributes include\n LastModifiedDate
(default), Visibility
,\n EntityId
, and Name
.
For ListChangeSets
, supported attributes include StartTime
\n and EndTime
.
For ListEntities
, supported attributes include\n LastModifiedDate
(default) and EntityId
. In addition to\n LastModifiedDate
and EntityId
, each\n EntityType
might support additional fields.
For ListChangeSets
, supported attributes include StartTime
\n and EndTime
.
Allows you to request changes for your entities. Within a single\n ChangeSet
, you can't start the same change type against the same entity\n multiple times. Additionally, when a ChangeSet
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 ResourceInUseException
error.
For example, you can't start the ChangeSet
described in the example later in this topic because it contains two changes to run the same\n change type (AddRevisions
) against the same entity\n (entity-id@1
).
For more information about working with change sets, see Working with change sets. For information on change types for single-AMI\n products, see Working with single-AMI products. Als, for more information on change types\n available for container-based products, see Working with container products.
", + "smithy.api#documentation": "Allows you to request changes for your entities. Within a single\n ChangeSet
, you can't start the same change type against the same entity\n multiple times. Additionally, when a ChangeSet
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 ResourceInUseException
error.
For example, you can't start the ChangeSet
described in the example later in this topic because it contains two changes to run the same\n change type (AddRevisions
) against the same entity\n (entity-id@1
).
For more information about working with change sets, see Working with change sets. For information about change types for\n single-AMI products, see Working with single-AMI products. Also, for more information about change\n types available for container-based products, see Working with container products.
", "smithy.api#http": { "method": "POST", "uri": "/StartChangeSet", @@ -2510,4 +2533,4 @@ } } } -} \ No newline at end of file +}