Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Child
Shard Output parameter of the GetRecords API. The existing child shard of the current shard.
- Consumer
An object that represents the details of the consumer you registered. This type of object is returned by
RegisterStreamConsumer
.- Consumer
Description An object that represents the details of a registered consumer. This type of object is returned by
DescribeStreamConsumer
.- Enhanced
Metrics Represents enhanced metrics types.
- Hash
KeyRange The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
- PutRecords
Request Entry Represents the output for
PutRecords
.- PutRecords
Result Entry Represents the result of an individual record from a
PutRecords
request. A record that is successfully added to a stream includesSequenceNumber
andShardId
in the result. A record that fails to be added to the stream includesErrorCode
andErrorMessage
in the result.- Record
The unit of data of the Kinesis data stream, which is composed of a sequence number, a partition key, and a data blob.
- Sequence
Number Range The range of possible sequence numbers for the shard.
- Shard
A uniquely identified group of data records in a Kinesis data stream.
- Shard
Filter The request parameter used to filter out the response of the
ListShards
API.- Starting
Position The starting position in the data stream from which to start streaming.
- Stream
Description Represents the output for
DescribeStream
.- Stream
Description Summary Represents the output for
DescribeStreamSummary
- Stream
Mode Details Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
- Stream
Summary The summary of a stream.
- Subscribe
ToShard Event After you call
SubscribeToShard
, Kinesis Data Streams sends events of this type over an HTTP/2 connection to your consumer.- Tag
Metadata assigned to the stream or consumer, consisting of a key-value pair.
Enums§
- Consumer
Status - When writing a match expression against
ConsumerStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Encryption
Type - When writing a match expression against
EncryptionType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Metrics
Name - When writing a match expression against
MetricsName
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Scaling
Type - When writing a match expression against
ScalingType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Shard
Filter Type - When writing a match expression against
ShardFilterType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Shard
Iterator Type - When writing a match expression against
ShardIteratorType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Stream
Mode - When writing a match expression against
StreamMode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Stream
Status - When writing a match expression against
StreamStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Subscribe
ToShard Event Stream This is a tagged union for all of the types of events an enhanced fan-out consumer can receive over HTTP/2 after a call to
SubscribeToShard
.