Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
The configuration section.
See: newSection
smart constructor.
Instances
FromJSON Section Source # | |
Generic Section Source # | |
Read Section Source # | |
Show Section Source # | |
NFData Section Source # | |
Defined in Amazonka.GamesParks.Types.Section | |
Eq Section Source # | |
Hashable Section Source # | |
Defined in Amazonka.GamesParks.Types.Section | |
type Rep Section Source # | |
Defined in Amazonka.GamesParks.Types.Section type Rep Section = D1 ('MetaData "Section" "Amazonka.GamesParks.Types.Section" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "Section'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Document)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) |
newSection :: Section Source #
Create a value of Section
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:attributes:Section'
, section_attributes
- The content of a configuration section.
$sel:name:Section'
, section_name
- The name of the section.
$sel:size:Section'
, section_size
- The size, in bytes, of the section contents.