| 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.Comprehend.Types.BlockReference
Description
Synopsis
- data BlockReference = BlockReference' {
- beginOffset :: Maybe Int
- blockId :: Maybe Text
- childBlocks :: Maybe [ChildBlock]
- endOffset :: Maybe Int
- newBlockReference :: BlockReference
- blockReference_beginOffset :: Lens' BlockReference (Maybe Int)
- blockReference_blockId :: Lens' BlockReference (Maybe Text)
- blockReference_childBlocks :: Lens' BlockReference (Maybe [ChildBlock])
- blockReference_endOffset :: Lens' BlockReference (Maybe Int)
Documentation
data BlockReference Source #
A reference to a block.
See: newBlockReference smart constructor.
Constructors
| BlockReference' | |
Fields
| |
Instances
newBlockReference :: BlockReference Source #
Create a value of BlockReference 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:
BlockReference, blockReference_beginOffset - Offset of the start of the block within its parent block.
$sel:blockId:BlockReference', blockReference_blockId - Unique identifier for the block.
$sel:childBlocks:BlockReference', blockReference_childBlocks - List of child blocks within this block.
BlockReference, blockReference_endOffset - Offset of the end of the block within its parent block.
blockReference_beginOffset :: Lens' BlockReference (Maybe Int) Source #
Offset of the start of the block within its parent block.
blockReference_blockId :: Lens' BlockReference (Maybe Text) Source #
Unique identifier for the block.
blockReference_childBlocks :: Lens' BlockReference (Maybe [ChildBlock]) Source #
List of child blocks within this block.
blockReference_endOffset :: Lens' BlockReference (Maybe Int) Source #
Offset of the end of the block within its parent block.