| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.AccessAnalyzer.Types.Position
Description
Documentation
A position in a policy.
See: newPosition smart constructor.
Constructors
| Position' | |
Instances
| Eq Position Source # | |
| Read Position Source # | |
| Show Position Source # | |
| Generic Position Source # | |
| NFData Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
| Hashable Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position | |
| FromJSON Position Source # | |
| type Rep Position Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.AccessAnalyzer.Types.Position" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "column") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "line") '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:column:Position', position_column - The column of the position, starting from 0.
$sel:line:Position', position_line - The line of the position, starting from 1.
$sel:offset:Position', position_offset - The offset within the policy that corresponds to the position, starting
from 0.