| 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.AccessAnalyzer.Types.Position
Description
Documentation
A position in a policy.
See: newPosition smart constructor.
Constructors
| Position' | |
Instances
| FromJSON Position Source # | |
| Generic Position Source # | |
| Read Position Source # | |
| Show Position Source # | |
| NFData Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
| Eq Position Source # | |
| Hashable Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
| type Rep Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.AccessAnalyzer.Types.Position" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |
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:line:Position', position_line - The line of the position, starting from 1.
$sel:column:Position', position_column - The column of the position, starting from 0.
$sel:offset:Position', position_offset - The offset within the policy that corresponds to the position, starting
from 0.