| 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.IAM.Types.Position
Description
Documentation
Contains the row and column of a location of a Statement element in a
policy document.
This data type is used as a member of the Statement type.
See: newPosition smart constructor.
Constructors
| Position' | |
Instances
| FromXML Position Source # | |
| Generic Position Source # | |
| Read Position Source # | |
| Show Position Source # | |
| NFData Position Source # | |
Defined in Amazonka.IAM.Types.Position | |
| Eq Position Source # | |
| Hashable Position Source # | |
Defined in Amazonka.IAM.Types.Position | |
| type Rep Position Source # | |
Defined in Amazonka.IAM.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.IAM.Types.Position" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) | |
newPosition :: Position Source #
Create a value of Position 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:column:Position', position_column - The column in the line containing the specified position in the
document.
$sel:line:Position', position_line - The line containing the specified position in the document.