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

  • length :: Int

    The length of the substring.

  • start :: Int

    The start index of the substring, starting from 0.

Instances

Instances details
Eq Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Read Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Show 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 #

NFData Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

Methods

rnf :: Substring -> () #

Hashable Substring Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Substring

FromJSON 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" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Substring'" 'PrefixI 'True) (S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "start") '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:length:Substring', substring_length - The length of the substring.

$sel:start:Substring', substring_start - The start index of the substring, starting from 0.

substring_length :: Lens' Substring Int Source #

The length of the substring.

substring_start :: Lens' Substring Int Source #

The start index of the substring, starting from 0.