amazonka-marketplace-catalog-2.0: Amazon Marketplace Catalog Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MarketplaceCatalog.StartChangeSet

Description

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.

Synopsis

Creating a Request

data StartChangeSet Source #

See: newStartChangeSet smart constructor.

Constructors

StartChangeSet' 

Fields

Instances

Instances details
ToJSON StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.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

AWSRequest StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Associated Types

type AWSResponse StartChangeSet #

Generic StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Associated Types

type Rep StartChangeSet :: Type -> Type #

Read StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Show StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

NFData StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Methods

rnf :: StartChangeSet -> () #

Eq StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Hashable StartChangeSet Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

type AWSResponse 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" "amazonka-marketplace-catalog-2.0-6Zi47AEGKrcHZeMO5lyES0" 'False) (C1 ('MetaCons "StartChangeSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "changeSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "changeSetTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag)))) :*: (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))))))

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:

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:changeSetTags:StartChangeSet', startChangeSet_changeSetTags - A list of objects specifying each key name and value for the ChangeSetTags property.

$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_changeSetTags :: Lens' StartChangeSet (Maybe (NonEmpty Tag)) Source #

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

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
Generic StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Associated Types

type Rep StartChangeSetResponse :: Type -> Type #

Read StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Show StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

NFData StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

Methods

rnf :: StartChangeSetResponse -> () #

Eq StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

type Rep StartChangeSetResponse Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.StartChangeSet

type Rep StartChangeSetResponse = D1 ('MetaData "StartChangeSetResponse" "Amazonka.MarketplaceCatalog.StartChangeSet" "amazonka-marketplace-catalog-2.0-6Zi47AEGKrcHZeMO5lyES0" 'False) (C1 ('MetaCons "StartChangeSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "changeSetId") '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:

StartChangeSetResponse, startChangeSetResponse_changeSetArn - The ARN associated to the unique identifier generated for the request.

StartChangeSetResponse, startChangeSetResponse_changeSetId - Unique identifier generated for the request.

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

Response Lenses

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

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

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

Unique identifier generated for the request.