| 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 |
Amazonka.GamesParks.Types.SectionModification
Description
Synopsis
- data SectionModification = SectionModification' {}
- newSectionModification :: Operation -> Text -> Text -> SectionModification
- sectionModification_value :: Lens' SectionModification (Maybe Document)
- sectionModification_operation :: Lens' SectionModification Operation
- sectionModification_path :: Lens' SectionModification Text
- sectionModification_section :: Lens' SectionModification Text
Documentation
data SectionModification Source #
A single modification to the configuration section.
See: newSectionModification smart constructor.
Constructors
| SectionModification' | |
Fields
| |
Instances
newSectionModification Source #
Arguments
| :: Operation | |
| -> Text | |
| -> Text | |
| -> SectionModification |
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.