| 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.PathElement
Description
Synopsis
Documentation
data PathElement Source #
A single element in a path through the JSON representation of a policy.
See: newPathElement smart constructor.
Constructors
| PathElement' | |
Instances
newPathElement :: PathElement Source #
Create a value of PathElement 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:index:PathElement', pathElement_index - Refers to an index in a JSON array.
$sel:key:PathElement', pathElement_key - Refers to a key in a JSON object.
$sel:substring:PathElement', pathElement_substring - Refers to a substring of a literal string in a JSON object.
$sel:value:PathElement', pathElement_value - Refers to the value associated with a given key in a JSON object.
pathElement_index :: Lens' PathElement (Maybe Int) Source #
Refers to an index in a JSON array.
pathElement_key :: Lens' PathElement (Maybe Text) Source #
Refers to a key in a JSON object.
pathElement_substring :: Lens' PathElement (Maybe Substring) Source #
Refers to a substring of a literal string in a JSON object.
pathElement_value :: Lens' PathElement (Maybe Text) Source #
Refers to the value associated with a given key in a JSON object.