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

Description

 
Synopsis

Documentation

data Change Source #

An object that contains the ChangeType, Details, and Entity.

See: newChange smart constructor.

Constructors

Change' 

Fields

  • changeName :: Maybe Text

    Optional name for the change.

  • changeType :: Text

    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.

  • entity :: Entity

    The entity to be changed.

  • details :: Text

    This object contains details specific to the change type of the requested change.

Instances

Instances details
Eq Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

Methods

(==) :: Change -> Change -> Bool #

(/=) :: Change -> Change -> Bool #

Read Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

Show Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

Generic Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

Associated Types

type Rep Change :: Type -> Type #

Methods

from :: Change -> Rep Change x #

to :: Rep Change x -> Change #

NFData Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

Methods

rnf :: Change -> () #

Hashable Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

Methods

hashWithSalt :: Int -> Change -> Int #

hash :: Change -> Int #

ToJSON Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

type Rep Change Source # 
Instance details

Defined in Amazonka.MarketplaceCatalog.Types.Change

type Rep Change = D1 ('MetaData "Change" "Amazonka.MarketplaceCatalog.Types.Change" "libZSservicesZSamazonka-marketplace-catalogZSamazonka-marketplace-catalog" 'False) (C1 ('MetaCons "Change'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "changeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "changeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "entity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Entity) :*: S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newChange Source #

Create a value of Change 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:changeName:Change', change_changeName - Optional name for the change.

$sel:changeType:Change', change_changeType - 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.

$sel:entity:Change', change_entity - The entity to be changed.

$sel:details:Change', change_details - This object contains details specific to the change type of the requested change.

change_changeName :: Lens' Change (Maybe Text) Source #

Optional name for the change.

change_changeType :: Lens' Change Text Source #

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.

change_entity :: Lens' Change Entity Source #

The entity to be changed.

change_details :: Lens' Change Text Source #

This object contains details specific to the change type of the requested change.