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
A span in a policy. The span consists of a start position (inclusive) and end position (exclusive).
See: newSpan
smart constructor.
Instances
Eq Span Source # | |
Read Span Source # | |
Show Span Source # | |
Generic Span Source # | |
NFData Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
Hashable Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span | |
FromJSON Span Source # | |
type Rep Span Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Span type Rep Span = D1 ('MetaData "Span" "Amazonka.AccessAnalyzer.Types.Span" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Span'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position))) |
Create a value of Span
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:end:Span'
, span_end
- The end position of the span (exclusive).
$sel:start:Span'
, span_start
- The start position of the span (inclusive).