Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
A uniquely identified group of stream records within a stream.
See: newShard
smart constructor.
Shard' | |
|
Instances
Eq Shard Source # | |
Read Shard Source # | |
Show Shard Source # | |
Generic Shard Source # | |
NFData Shard Source # | |
Defined in Amazonka.DynamoDBStreams.Types.Shard | |
Hashable Shard Source # | |
Defined in Amazonka.DynamoDBStreams.Types.Shard | |
FromJSON Shard Source # | |
type Rep Shard Source # | |
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))))) |
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_sequenceNumberRange :: Lens' Shard (Maybe SequenceNumberRange) Source #
The range of possible sequence numbers for the shard.