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 |
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.
Instances
Eq Position Source # | |
Read Position Source # | |
Show Position Source # | |
Generic Position Source # | |
NFData Position Source # | |
Defined in Amazonka.IAM.Types.Position | |
Hashable Position Source # | |
Defined in Amazonka.IAM.Types.Position | |
FromXML Position Source # | |
type Rep Position Source # | |
Defined in Amazonka.IAM.Types.Position type Rep Position = D1 ('MetaData "Position" "Amazonka.IAM.Types.Position" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "Position'" 'PrefixI 'True) (S1 ('MetaSel ('Just "line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "column") '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:line:Position'
, position_line
- The line containing the specified position in the document.
$sel:column:Position'
, position_column
- The column in the line containing the specified position in the
document.