MarketplaceCatalog.Client.
start_change_set
(**kwargs)¶Allows you to request changes for your entities. Within a single ChangeSet
, you can't 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 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 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 change type ( AddRevisions
) against the same entity ( entity-id@1
).
For more information about working with change sets, see Working with change sets.
See also: AWS API Documentation
Request Syntax
response = client.start_change_set(
Catalog='string',
ChangeSet=[
{
'ChangeType': 'string',
'Entity': {
'Type': 'string',
'Identifier': 'string'
},
'EntityTags': [
{
'Key': 'string',
'Value': 'string'
},
],
'Details': 'string',
'ChangeName': 'string'
},
],
ChangeSetName='string',
ClientRequestToken='string',
ChangeSetTags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The catalog related to the request. Fixed value: AWSMarketplace
[REQUIRED]
Array of change
object.
An object that contains the ChangeType
, Details
, and Entity
.
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.
The entity to be changed.
The type of entity.
The identifier for the entity.
The tags associated with the change.
A list of objects specifying each key name and value.
The key associated with the tag.
The value associated with the tag.
This object contains details specific to the change type of the requested change.
Optional name for the change.
A unique token to identify the request to ensure idempotency.
This field is autopopulated if not provided.
A list of objects specifying each key name and value for the ChangeSetTags
property.
A list of objects specifying each key name and value.
The key associated with the tag.
The value associated with the tag.
dict
Response Syntax
{
'ChangeSetId': 'string',
'ChangeSetArn': 'string'
}
Response Structure
(dict) --
ChangeSetId (string) --
Unique identifier generated for the request.
ChangeSetArn (string) --
The ARN associated to the unique identifier generated for the request.
Exceptions
MarketplaceCatalog.Client.exceptions.InternalServiceException
MarketplaceCatalog.Client.exceptions.AccessDeniedException
MarketplaceCatalog.Client.exceptions.ValidationException
MarketplaceCatalog.Client.exceptions.ResourceNotFoundException
MarketplaceCatalog.Client.exceptions.ResourceInUseException
MarketplaceCatalog.Client.exceptions.ThrottlingException
MarketplaceCatalog.Client.exceptions.ServiceQuotaExceededException