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