Skip to content

/AWS1/CL_MPC=>STARTCHANGESET()

About StartChangeSet

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. 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.

Method Signature

IMPORTING

Required arguments:

IV_CATALOG TYPE /AWS1/MPCCATALOG /AWS1/MPCCATALOG

The catalog related to the request. Fixed value: AWSMarketplace

IT_CHANGESET TYPE /AWS1/CL_MPCCHANGE=>TT_REQUESTEDCHANGELIST TT_REQUESTEDCHANGELIST

Array of change object.

Optional arguments:

IV_CHANGESETNAME TYPE /AWS1/MPCCHANGESETNAME /AWS1/MPCCHANGESETNAME

Optional case sensitive string of up to 100 ASCII characters. The change set name can be used to filter the list of change sets.

IV_CLIENTREQUESTTOKEN TYPE /AWS1/MPCCLIENTREQUESTTOKEN /AWS1/MPCCLIENTREQUESTTOKEN

A unique token to identify the request to ensure idempotency.

IT_CHANGESETTAGS TYPE /AWS1/CL_MPCTAG=>TT_TAGLIST TT_TAGLIST

A list of objects specifying each key name and value for the ChangeSetTags property.

IV_INTENT TYPE /AWS1/MPCINTENT /AWS1/MPCINTENT

The intent related to the request. The default is APPLY. To test your request before applying changes to your entities, use VALIDATE. This feature is currently available for adding versions to single-AMI products. For more information, see Add a new version.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MPCSTARTCHANGESETRSP /AWS1/CL_MPCSTARTCHANGESETRSP