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 |
Synopsis
- data Location = Location' {
- path :: [PathElement]
- span :: Span
- newLocation :: Span -> Location
- location_path :: Lens' Location [PathElement]
- location_span :: Lens' Location Span
Documentation
A location in a policy that is represented as a path through the JSON representation and a corresponding span.
See: newLocation
smart constructor.
Location' | |
|
Instances
Eq Location Source # | |
Read Location Source # | |
Show Location Source # | |
Generic Location Source # | |
NFData Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
Hashable Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
FromJSON Location Source # | |
type Rep Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.AccessAnalyzer.Types.Location" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PathElement]) :*: S1 ('MetaSel ('Just "span") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Span))) |
Create a value of Location
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:path:Location'
, location_path
- A path in a policy, represented as a sequence of path elements.
$sel:span:Location'
, location_span
- A span in a policy.
location_path :: Lens' Location [PathElement] Source #
A path in a policy, represented as a sequence of path elements.