libZSservicesZSamazonka-marketplace-catalogZSamazonka-marketplace-catalog
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MarketplaceCatalog.StartChangeSet

Description

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 later in this topic, because it contains two changes to execute 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.

Synopsis

Creating a Request

data StartChangeSet Source #

See: newStartChangeSet smart constructor.

Constructors

StartChangeSet' 

Fields

Instances

Instances details
Eq StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Read StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Show StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Generic StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Associated Types

type Rep StartChangeSet :: Type -> Type #

NFData StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Methods

rnf :: StartChangeSet -> () #

Hashable StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

ToJSON StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

AWSRequest StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Associated Types

type AWSResponse StartChangeSet #

ToHeaders StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

ToPath StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

ToQuery StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

type Rep StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

type Rep StartChangeSet = D1 ('MetaData "StartChangeSet" "Amazonka.MarketplaceCatalog.StartChangeSet" "libZSservicesZSamazonka-marketplace-catalogZSamazonka-marketplace-catalog" 'False) (C1 ('MetaCons "StartChangeSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "changeSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "catalog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "changeSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Change)))))
type AWSResponse StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

newStartChangeSet Source #

Create a value of StartChangeSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:changeSetName:StartChangeSet', startChangeSet_changeSetName - Optional case sensitive string of up to 100 ASCII characters. The change set name can be used to filter the list of change sets.

$sel:clientRequestToken:StartChangeSet', startChangeSet_clientRequestToken - A unique token to identify the request to ensure idempotency.

$sel:catalog:StartChangeSet', startChangeSet_catalog - The catalog related to the request. Fixed value: AWSMarketplace

$sel:changeSet:StartChangeSet', startChangeSet_changeSet - Array of change object.

Request Lenses

startChangeSet_changeSetName :: Lens' StartChangeSet (Maybe Text) Source #

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

startChangeSet_clientRequestToken :: Lens' StartChangeSet (Maybe Text) Source #

A unique token to identify the request to ensure idempotency.

startChangeSet_catalog :: Lens' StartChangeSet Text Source #

The catalog related to the request. Fixed value: AWSMarketplace

Destructuring the Response

data StartChangeSetResponse Source #

See: newStartChangeSetResponse smart constructor.

Constructors

StartChangeSetResponse' 

Fields

Instances

Instances details
Eq StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Read StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Show StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Generic StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Associated Types

type Rep StartChangeSetResponse :: Type -> Type #

NFData StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Methods

rnf :: StartChangeSetResponse -> () #

type Rep StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

type Rep StartChangeSetResponse = D1 ('MetaData "StartChangeSetResponse" "Amazonka.MarketplaceCatalog.StartChangeSet" "libZSservicesZSamazonka-marketplace-catalogZSamazonka-marketplace-catalog" 'False) (C1 ('MetaCons "StartChangeSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "changeSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newStartChangeSetResponse Source #

Create a value of StartChangeSetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:changeSetId:StartChangeSetResponse', startChangeSetResponse_changeSetId - Unique identifier generated for the request.

$sel:changeSetArn:StartChangeSetResponse', startChangeSetResponse_changeSetArn - The ARN associated to the unique identifier generated for the request.

$sel:httpStatus:StartChangeSetResponse', startChangeSetResponse_httpStatus - The response's http status code.

Response Lenses

startChangeSetResponse_changeSetId :: Lens' StartChangeSetResponse (Maybe Text) Source #

Unique identifier generated for the request.

startChangeSetResponse_changeSetArn :: Lens' StartChangeSetResponse (Maybe Text) Source #

The ARN associated to the unique identifier generated for the request.