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.Span

Description

 
Synopsis

Documentation

data Span Source #

A span in a policy. The span consists of a start position (inclusive) and end position (exclusive).

See: newSpan smart constructor.

Constructors

Span' 

Fields

Instances

Instances details
FromJSON Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Generic Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Associated Types

type Rep Span :: Type -> Type #

Methods

from :: Span -> Rep Span x #

to :: Rep Span x -> Span #

Read Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Show Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Methods

showsPrec :: Int -> Span -> ShowS #

show :: Span -> String #

showList :: [Span] -> ShowS #

NFData Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Methods

rnf :: Span -> () #

Eq Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Methods

(==) :: Span -> Span -> Bool #

(/=) :: Span -> Span -> Bool #

Hashable Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Methods

hashWithSalt :: Int -> Span -> Int #

hash :: Span -> Int #

type Rep Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

type Rep Span = D1 ('MetaData "Span" "Amazonka.AccessAnalyzer.Types.Span" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Span'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)))

newSpan Source #

Create a value of Span 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:start:Span', span_start - The start position of the span (inclusive).

$sel:end:Span', span_end - The end position of the span (exclusive).

span_start :: Lens' Span Position Source #

The start position of the span (inclusive).

span_end :: Lens' Span Position Source #

The end position of the span (exclusive).