Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Substring = Substring' {}
- newSubstring :: Int -> Int -> Substring
- substring_length :: Lens' Substring Int
- substring_start :: Lens' Substring Int
Documentation
A reference to a substring of a literal string in a JSON document.
See: newSubstring
smart constructor.
Instances
Eq Substring Source # | |
Read Substring Source # | |
Show Substring Source # | |
Generic Substring Source # | |
NFData Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
Hashable Substring Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Substring | |
FromJSON Substring Source # | |
type Rep Substring Source # | |
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))) |
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.