libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams
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.DynamoDBStreams.Types.Shard

Description

 
Synopsis

Documentation

data Shard Source #

A uniquely identified group of stream records within a stream.

See: newShard smart constructor.

Constructors

Shard' 

Fields

Instances

Instances details
Eq Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

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

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

Read Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Show Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

showsPrec :: Int -> Shard -> ShowS #

show :: Shard -> String #

showList :: [Shard] -> ShowS #

Generic Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.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.DynamoDBStreams.Types.Shard

Methods

rnf :: Shard -> () #

Hashable Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

Methods

hashWithSalt :: Int -> Shard -> Int #

hash :: Shard -> Int #

FromJSON Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

type Rep Shard Source # 
Instance details

Defined in Amazonka.DynamoDBStreams.Types.Shard

type Rep Shard = D1 ('MetaData "Shard" "Amazonka.DynamoDBStreams.Types.Shard" "libZSservicesZSamazonka-dynamodb-streamsZSamazonka-dynamodb-streams" 'False) (C1 ('MetaCons "Shard'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parentShardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sequenceNumberRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SequenceNumberRange)) :*: S1 ('MetaSel ('Just "shardId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newShard :: Shard 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:parentShardId:Shard', shard_parentShardId - The shard ID of the current shard's parent.

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

$sel:shardId:Shard', shard_shardId - The system-generated identifier for this shard.

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

The shard ID of the current shard's parent.

shard_sequenceNumberRange :: Lens' Shard (Maybe SequenceNumberRange) Source #

The range of possible sequence numbers for the shard.

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

The system-generated identifier for this shard.