| 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.Location
Description
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.
Constructors
| Location' | |
Fields
| |
Instances
| FromJSON Location Source # | |
| Generic Location Source # | |
| Read Location Source # | |
| Show Location Source # | |
| NFData Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
| Eq Location Source # | |
| Hashable Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location | |
| type Rep Location Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.AccessAnalyzer.Types.Location" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" '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.