libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AccessAnalyzer.Types.Location

Description

 
Synopsis

Documentation

data Location Source #

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

  • path :: [PathElement]

    A path in a policy, represented as a sequence of path elements.

  • span :: Span

    A span in a policy.

Instances

Instances details
Eq Location Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Location

Read Location Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Location

Show Location Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Location

Generic Location Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Location

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

NFData Location Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Location

Methods

rnf :: Location -> () #

Hashable Location Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Location

Methods

hashWithSalt :: Int -> Location -> Int #

hash :: Location -> Int #

FromJSON Location Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Location

type Rep Location Source # 
Instance details

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)))

newLocation Source #

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.

location_span :: Lens' Location Span Source #

A span in a policy.