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.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
Eq Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Methods

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

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

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 #

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 #

NFData Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Methods

rnf :: Span -> () #

Hashable Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

Methods

hashWithSalt :: Int -> Span -> Int #

hash :: Span -> Int #

FromJSON Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

type Rep Span Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Span

type Rep Span = D1 ('MetaData "Span" "Amazonka.AccessAnalyzer.Types.Span" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Span'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "start") '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:end:Span', span_end - The end position of the span (exclusive).

$sel:start:Span', span_start - The start position of the span (inclusive).

span_end :: Lens' Span Position Source #

The end position of the span (exclusive).

span_start :: Lens' Span Position Source #

The start position of the span (inclusive).