amazonka-gamesparks-2.0: Amazon GameSparks 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.GamesParks.Types.SectionModification

Description

 
Synopsis

Documentation

data SectionModification Source #

A single modification to the configuration section.

See: newSectionModification smart constructor.

Constructors

SectionModification' 

Fields

  • value :: Maybe Document

    For add and replace operations, this is the value that will be used.

    This field should be omitted for delete operations.

  • operation :: Operation

    The operation to be performed on a configuration section.

    Content can be added, deleted, or replaced within a section.

  • path :: Text

    The path within the section content to be modified.

  • section :: Text

    The name of the section to be modified.

Instances

Instances details
ToJSON SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

Generic SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

Associated Types

type Rep SectionModification :: Type -> Type #

Read SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

Show SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

NFData SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

Methods

rnf :: SectionModification -> () #

Eq SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

Hashable SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

type Rep SectionModification Source # 
Instance details

Defined in Amazonka.GamesParks.Types.SectionModification

type Rep SectionModification = D1 ('MetaData "SectionModification" "Amazonka.GamesParks.Types.SectionModification" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "SectionModification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Document)) :*: S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Operation)) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "section") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSectionModification Source #

Create a value of SectionModification 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:value:SectionModification', sectionModification_value - For add and replace operations, this is the value that will be used.

This field should be omitted for delete operations.

$sel:operation:SectionModification', sectionModification_operation - The operation to be performed on a configuration section.

Content can be added, deleted, or replaced within a section.

$sel:path:SectionModification', sectionModification_path - The path within the section content to be modified.

$sel:section:SectionModification', sectionModification_section - The name of the section to be modified.

sectionModification_value :: Lens' SectionModification (Maybe Document) Source #

For add and replace operations, this is the value that will be used.

This field should be omitted for delete operations.

sectionModification_operation :: Lens' SectionModification Operation Source #

The operation to be performed on a configuration section.

Content can be added, deleted, or replaced within a section.

sectionModification_path :: Lens' SectionModification Text Source #

The path within the section content to be modified.

sectionModification_section :: Lens' SectionModification Text Source #

The name of the section to be modified.