libZSservicesZSamazonka-kinesisZSamazonka-kinesis
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Kinesis.Types.Shard

Description

 
Synopsis

Documentation

data Shard Source #

A uniquely identified group of data records in a Kinesis data stream.

See: newShard smart constructor.

Constructors

Shard' 

Fields

Instances

Instances details
Eq Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

(==) :: Shard -> Shard -> Bool #

(/=) :: Shard -> Shard -> Bool #

Read Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Show Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Associated Types

type Rep Shard :: Type -> Type #

Methods

from :: Shard -> Rep Shard x #

to :: Rep Shard x -> Shard #

NFData Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

rnf :: Shard -> () #

Hashable Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

type Rep Shard Source # 
Instance details

Defined in Amazonka.Kinesis.Types.Shard

type Rep Shard = D1 ('MetaData "Shard" "Amazonka.Kinesis.Types.Shard" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "Shard'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adjacentParentShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "parentShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "hashKeyRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HashKeyRange) :*: S1 ('MetaSel ('Just "sequenceNumberRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SequenceNumberRange)))))

newShard Source #

Create a value of Shard 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:adjacentParentShardId:Shard', shard_adjacentParentShardId - The shard ID of the shard adjacent to the shard's parent.

$sel:parentShardId:Shard', shard_parentShardId - The shard ID of the shard's parent.

$sel:shardId:Shard', shard_shardId - The unique identifier of the shard within the stream.

$sel:hashKeyRange:Shard', shard_hashKeyRange - The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.

$sel:sequenceNumberRange:Shard', shard_sequenceNumberRange - The range of possible sequence numbers for the shard.

shard_adjacentParentShardId :: Lens' Shard (Maybe Text) Source #

The shard ID of the shard adjacent to the shard's parent.

shard_parentShardId :: Lens' Shard (Maybe Text) Source #

The shard ID of the shard's parent.

shard_shardId :: Lens' Shard Text Source #

The unique identifier of the shard within the stream.

shard_hashKeyRange :: Lens' Shard HashKeyRange Source #

The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.

shard_sequenceNumberRange :: Lens' Shard SequenceNumberRange Source #

The range of possible sequence numbers for the shard.