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

Description

 
Synopsis

Documentation

data Substring Source #

A reference to a substring of a literal string in a JSON document.

See: newSubstring smart constructor.

Constructors

Substring' 

Fields

  • start :: Int

    The start index of the substring, starting from 0.

  • length :: Int

    The length of the substring.

Instances

Instances details
FromJSON Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Generic Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Associated Types

type Rep Substring :: Type -> Type #

Read Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Show Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

NFData Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Methods

rnf :: Substring -> () #

Eq Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Hashable Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

type Rep Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

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

newSubstring Source #

Create a value of Substring 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:Substring', substring_start - The start index of the substring, starting from 0.

$sel:length:Substring', substring_length - The length of the substring.

substring_start :: Lens' Substring Int Source #

The start index of the substring, starting from 0.

substring_length :: Lens' Substring Int Source #

The length of the substring.