// 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
// ResourceInUseException. For example, you cannot start the ChangeSet described in
// the example
// (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/API_StartChangeSet.html#API_StartChangeSet_Examples)
// below because it contains two changes to execute the same change type
// (AddRevisions) against the same entity (entity-id@1).
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
ResourceInUseException. For example, you cannot start the ChangeSet described in
the example

below because it contains two changes to execute the same change type
(AddRevisions) against the same entity (entity-id@1).
// 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 // ResourceInUseException . For example you cannot start the ChangeSet described in // the example // ( https : // docs . aws . amazon . com / marketplace - catalog / latest / api - reference / API_StartChangeSet . html#API_StartChangeSet_Examples ) // below because it contains two changes to execute the same change type // ( AddRevisions ) against the same entity ( entity - id@1 ) .
func (c *Client) StartChangeSet(ctx context.Context, params *StartChangeSetInput, optFns ...func(*Options)) (*StartChangeSetOutput, error) {
	if params == nil {
		params = &StartChangeSetInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "StartChangeSet", params, optFns, addOperationStartChangeSetMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*StartChangeSetOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) StartChangeSet ( ctx context . Context , params * StartChangeSetInput , optFns ... func ( * Options ) ) ( * StartChangeSetOutput , error ) { if params == nil { params = & StartChangeSetInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationStartChangeSetMiddlewares ) if err != nil { return nil , err } out := result . ( * StartChangeSetOutput ) out . ResultMetadata = metadata return out , nil }
This operation allows you to request changes for your entities.
This operation allows you to request changes for your entities .