amazonka-comprehend-2.0: Amazon Comprehend 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.Comprehend.Types.BlockReference

Description

 
Synopsis

Documentation

data BlockReference Source #

A reference to a block.

See: newBlockReference smart constructor.

Constructors

BlockReference' 

Fields

Instances

Instances details
FromJSON BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Generic BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Associated Types

type Rep BlockReference :: Type -> Type #

Read BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Show BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

NFData BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Methods

rnf :: BlockReference -> () #

Eq BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Hashable BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

type Rep BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

type Rep BlockReference = D1 ('MetaData "BlockReference" "Amazonka.Comprehend.Types.BlockReference" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "BlockReference'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beginOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "blockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "childBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChildBlock])) :*: S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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.