amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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' 

Fields

Instances

Instances details
FromJSON PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

Generic PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

Associated Types

type Rep PathElement :: Type -> Type #

Read PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

Show PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

NFData PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

Methods

rnf :: PathElement -> () #

Eq PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

Hashable PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

type Rep PathElement Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PathElement

type Rep PathElement = D1 ('MetaData "PathElement" "Amazonka.AccessAnalyzer.Types.PathElement" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "PathElement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "substring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Substring)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.