amazonka-kinesis-2.0: Amazon Kinesis 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.Kinesis.Types.ChildShard

Description

 
Synopsis

Documentation

data ChildShard Source #

Output parameter of the GetRecords API. The existing child shard of the current shard.

See: newChildShard smart constructor.

Constructors

ChildShard' 

Fields

Instances

Instances details
FromJSON ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Generic ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Associated Types

type Rep ChildShard :: Type -> Type #

Read ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Show ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

NFData ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Methods

rnf :: ChildShard -> () #

Eq ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

Hashable ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

type Rep ChildShard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.ChildShard

type Rep ChildShard = D1 ('MetaData "ChildShard" "Amazonka.Kinesis.Types.ChildShard" "amazonka-kinesis-2.0-AW1spVPMUGf3LUqQQ22bci" 'False) (C1 ('MetaCons "ChildShard'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "parentShards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "hashKeyRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HashKeyRange))))

newChildShard Source #

Create a value of ChildShard 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:shardId:ChildShard', childShard_shardId - The shard ID of the existing child shard of the current shard.

$sel:parentShards:ChildShard', childShard_parentShards - The current shard that is the parent of the existing child shard.

$sel:hashKeyRange:ChildShard', childShard_hashKeyRange - Undocumented member.

childShard_shardId :: Lens' ChildShard Text Source #

The shard ID of the existing child shard of the current shard.

childShard_parentShards :: Lens' ChildShard [Text] Source #

The current shard that is the parent of the existing child shard.