| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Kinesis.Types.Shard
Description
Synopsis
- data Shard = Shard' {}
- newShard :: Text -> HashKeyRange -> SequenceNumberRange -> Shard
- shard_adjacentParentShardId :: Lens' Shard (Maybe Text)
- shard_parentShardId :: Lens' Shard (Maybe Text)
- shard_shardId :: Lens' Shard Text
- shard_hashKeyRange :: Lens' Shard HashKeyRange
- shard_sequenceNumberRange :: Lens' Shard SequenceNumberRange
Documentation
A uniquely identified group of data records in a Kinesis data stream.
See: newShard smart constructor.
Constructors
| Shard' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> HashKeyRange | |
| -> SequenceNumberRange | |
| -> Shard |
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_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.