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