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

Description

 
Synopsis

Documentation

data ChildBlock Source #

Nested block contained within a block.

See: newChildBlock smart constructor.

Constructors

ChildBlock' 

Fields

Instances

Instances details
FromJSON ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Generic ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Associated Types

type Rep ChildBlock :: Type -> Type #

Read ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Show ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

NFData ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Methods

rnf :: ChildBlock -> () #

Eq ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Hashable ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

type Rep ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

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

newChildBlock :: ChildBlock Source #

Create a value of ChildBlock 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:beginOffset:ChildBlock', childBlock_beginOffset - Offset of the start of the child block within its parent block.

$sel:childBlockId:ChildBlock', childBlock_childBlockId - Unique identifier for the child block.

$sel:endOffset:ChildBlock', childBlock_endOffset - Offset of the end of the child block within its parent block.

childBlock_beginOffset :: Lens' ChildBlock (Maybe Int) Source #

Offset of the start of the child block within its parent block.

childBlock_childBlockId :: Lens' ChildBlock (Maybe Text) Source #

Unique identifier for the child block.

childBlock_endOffset :: Lens' ChildBlock (Maybe Int) Source #

Offset of the end of the child block within its parent block.