Type definitions#
Auto-generated documentation for Kinesis type annotations stubs module mypy-boto3-kinesis.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
AddTagsToStreamInputRequestTypeDef#
# AddTagsToStreamInputRequestTypeDef definition
class AddTagsToStreamInputRequestTypeDef(TypedDict):
Tags: Mapping[str, str],
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
HashKeyRangeTypeDef#
# HashKeyRangeTypeDef definition
class HashKeyRangeTypeDef(TypedDict):
StartingHashKey: str,
EndingHashKey: str,
ConsumerDescriptionTypeDef#
# ConsumerDescriptionTypeDef definition
class ConsumerDescriptionTypeDef(TypedDict):
ConsumerName: str,
ConsumerARN: str,
ConsumerStatus: ConsumerStatusType, # (1)
ConsumerCreationTimestamp: datetime,
StreamARN: str,
ConsumerTypeDef#
# ConsumerTypeDef definition
class ConsumerTypeDef(TypedDict):
ConsumerName: str,
ConsumerARN: str,
ConsumerStatus: ConsumerStatusType, # (1)
ConsumerCreationTimestamp: datetime,
StreamModeDetailsTypeDef#
# StreamModeDetailsTypeDef definition
class StreamModeDetailsTypeDef(TypedDict):
StreamMode: StreamModeType, # (1)
- See StreamModeType
DecreaseStreamRetentionPeriodInputRequestTypeDef#
# DecreaseStreamRetentionPeriodInputRequestTypeDef definition
class DecreaseStreamRetentionPeriodInputRequestTypeDef(TypedDict):
RetentionPeriodHours: int,
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
DeleteResourcePolicyInputRequestTypeDef#
# DeleteResourcePolicyInputRequestTypeDef definition
class DeleteResourcePolicyInputRequestTypeDef(TypedDict):
ResourceARN: str,
DeleteStreamInputRequestTypeDef#
# DeleteStreamInputRequestTypeDef definition
class DeleteStreamInputRequestTypeDef(TypedDict):
StreamName: NotRequired[str],
EnforceConsumerDeletion: NotRequired[bool],
StreamARN: NotRequired[str],
DeregisterStreamConsumerInputRequestTypeDef#
# DeregisterStreamConsumerInputRequestTypeDef definition
class DeregisterStreamConsumerInputRequestTypeDef(TypedDict):
StreamARN: NotRequired[str],
ConsumerName: NotRequired[str],
ConsumerARN: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DescribeStreamConsumerInputRequestTypeDef#
# DescribeStreamConsumerInputRequestTypeDef definition
class DescribeStreamConsumerInputRequestTypeDef(TypedDict):
StreamARN: NotRequired[str],
ConsumerName: NotRequired[str],
ConsumerARN: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeStreamInputRequestTypeDef#
# DescribeStreamInputRequestTypeDef definition
class DescribeStreamInputRequestTypeDef(TypedDict):
StreamName: NotRequired[str],
Limit: NotRequired[int],
ExclusiveStartShardId: NotRequired[str],
StreamARN: NotRequired[str],
WaiterConfigTypeDef#
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeStreamSummaryInputRequestTypeDef#
# DescribeStreamSummaryInputRequestTypeDef definition
class DescribeStreamSummaryInputRequestTypeDef(TypedDict):
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
DisableEnhancedMonitoringInputRequestTypeDef#
# DisableEnhancedMonitoringInputRequestTypeDef definition
class DisableEnhancedMonitoringInputRequestTypeDef(TypedDict):
ShardLevelMetrics: Sequence[MetricsNameType], # (1)
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
- See MetricsNameType
EnableEnhancedMonitoringInputRequestTypeDef#
# EnableEnhancedMonitoringInputRequestTypeDef definition
class EnableEnhancedMonitoringInputRequestTypeDef(TypedDict):
ShardLevelMetrics: Sequence[MetricsNameType], # (1)
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
- See MetricsNameType
EnhancedMetricsTypeDef#
# EnhancedMetricsTypeDef definition
class EnhancedMetricsTypeDef(TypedDict):
ShardLevelMetrics: NotRequired[list[MetricsNameType]], # (1)
- See MetricsNameType
GetRecordsInputRequestTypeDef#
# GetRecordsInputRequestTypeDef definition
class GetRecordsInputRequestTypeDef(TypedDict):
ShardIterator: str,
Limit: NotRequired[int],
StreamARN: NotRequired[str],
RecordTypeDef#
# RecordTypeDef definition
class RecordTypeDef(TypedDict):
SequenceNumber: str,
Data: bytes,
PartitionKey: str,
ApproximateArrivalTimestamp: NotRequired[datetime],
EncryptionType: NotRequired[EncryptionTypeType], # (1)
GetResourcePolicyInputRequestTypeDef#
# GetResourcePolicyInputRequestTypeDef definition
class GetResourcePolicyInputRequestTypeDef(TypedDict):
ResourceARN: str,
IncreaseStreamRetentionPeriodInputRequestTypeDef#
# IncreaseStreamRetentionPeriodInputRequestTypeDef definition
class IncreaseStreamRetentionPeriodInputRequestTypeDef(TypedDict):
RetentionPeriodHours: int,
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
InternalFailureExceptionTypeDef#
# InternalFailureExceptionTypeDef definition
class InternalFailureExceptionTypeDef(TypedDict):
message: NotRequired[str],
KMSAccessDeniedExceptionTypeDef#
# KMSAccessDeniedExceptionTypeDef definition
class KMSAccessDeniedExceptionTypeDef(TypedDict):
message: NotRequired[str],
KMSDisabledExceptionTypeDef#
# KMSDisabledExceptionTypeDef definition
class KMSDisabledExceptionTypeDef(TypedDict):
message: NotRequired[str],
KMSInvalidStateExceptionTypeDef#
# KMSInvalidStateExceptionTypeDef definition
class KMSInvalidStateExceptionTypeDef(TypedDict):
message: NotRequired[str],
KMSNotFoundExceptionTypeDef#
# KMSNotFoundExceptionTypeDef definition
class KMSNotFoundExceptionTypeDef(TypedDict):
message: NotRequired[str],
KMSOptInRequiredTypeDef#
# KMSOptInRequiredTypeDef definition
class KMSOptInRequiredTypeDef(TypedDict):
message: NotRequired[str],
KMSThrottlingExceptionTypeDef#
# KMSThrottlingExceptionTypeDef definition
class KMSThrottlingExceptionTypeDef(TypedDict):
message: NotRequired[str],
ListStreamsInputRequestTypeDef#
# ListStreamsInputRequestTypeDef definition
class ListStreamsInputRequestTypeDef(TypedDict):
Limit: NotRequired[int],
ExclusiveStartStreamName: NotRequired[str],
NextToken: NotRequired[str],
ListTagsForStreamInputRequestTypeDef#
# ListTagsForStreamInputRequestTypeDef definition
class ListTagsForStreamInputRequestTypeDef(TypedDict):
StreamName: NotRequired[str],
ExclusiveStartTagKey: NotRequired[str],
Limit: NotRequired[int],
StreamARN: NotRequired[str],
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: NotRequired[str],
MergeShardsInputRequestTypeDef#
# MergeShardsInputRequestTypeDef definition
class MergeShardsInputRequestTypeDef(TypedDict):
ShardToMerge: str,
AdjacentShardToMerge: str,
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
PutRecordsResultEntryTypeDef#
# PutRecordsResultEntryTypeDef definition
class PutRecordsResultEntryTypeDef(TypedDict):
SequenceNumber: NotRequired[str],
ShardId: NotRequired[str],
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
PutResourcePolicyInputRequestTypeDef#
# PutResourcePolicyInputRequestTypeDef definition
class PutResourcePolicyInputRequestTypeDef(TypedDict):
ResourceARN: str,
Policy: str,
RegisterStreamConsumerInputRequestTypeDef#
# RegisterStreamConsumerInputRequestTypeDef definition
class RegisterStreamConsumerInputRequestTypeDef(TypedDict):
StreamARN: str,
ConsumerName: str,
RemoveTagsFromStreamInputRequestTypeDef#
# RemoveTagsFromStreamInputRequestTypeDef definition
class RemoveTagsFromStreamInputRequestTypeDef(TypedDict):
TagKeys: Sequence[str],
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
ResourceInUseExceptionTypeDef#
# ResourceInUseExceptionTypeDef definition
class ResourceInUseExceptionTypeDef(TypedDict):
message: NotRequired[str],
ResourceNotFoundExceptionTypeDef#
# ResourceNotFoundExceptionTypeDef definition
class ResourceNotFoundExceptionTypeDef(TypedDict):
message: NotRequired[str],
SequenceNumberRangeTypeDef#
# SequenceNumberRangeTypeDef definition
class SequenceNumberRangeTypeDef(TypedDict):
StartingSequenceNumber: str,
EndingSequenceNumber: NotRequired[str],
SplitShardInputRequestTypeDef#
# SplitShardInputRequestTypeDef definition
class SplitShardInputRequestTypeDef(TypedDict):
ShardToSplit: str,
NewStartingHashKey: str,
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
StartStreamEncryptionInputRequestTypeDef#
# StartStreamEncryptionInputRequestTypeDef definition
class StartStreamEncryptionInputRequestTypeDef(TypedDict):
EncryptionType: EncryptionTypeType, # (1)
KeyId: str,
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
StopStreamEncryptionInputRequestTypeDef#
# StopStreamEncryptionInputRequestTypeDef definition
class StopStreamEncryptionInputRequestTypeDef(TypedDict):
EncryptionType: EncryptionTypeType, # (1)
KeyId: str,
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
UpdateShardCountInputRequestTypeDef#
# UpdateShardCountInputRequestTypeDef definition
class UpdateShardCountInputRequestTypeDef(TypedDict):
TargetShardCount: int,
ScalingType: ScalingTypeType, # (1)
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
- See ScalingTypeType
PutRecordInputRequestTypeDef#
# PutRecordInputRequestTypeDef definition
class PutRecordInputRequestTypeDef(TypedDict):
Data: BlobTypeDef,
PartitionKey: str,
StreamName: NotRequired[str],
ExplicitHashKey: NotRequired[str],
SequenceNumberForOrdering: NotRequired[str],
StreamARN: NotRequired[str],
PutRecordsRequestEntryTypeDef#
# PutRecordsRequestEntryTypeDef definition
class PutRecordsRequestEntryTypeDef(TypedDict):
Data: BlobTypeDef,
PartitionKey: str,
ExplicitHashKey: NotRequired[str],
ChildShardTypeDef#
# ChildShardTypeDef definition
class ChildShardTypeDef(TypedDict):
ShardId: str,
ParentShards: list[str],
HashKeyRange: HashKeyRangeTypeDef, # (1)
CreateStreamInputRequestTypeDef#
# CreateStreamInputRequestTypeDef definition
class CreateStreamInputRequestTypeDef(TypedDict):
StreamName: str,
ShardCount: NotRequired[int],
StreamModeDetails: NotRequired[StreamModeDetailsTypeDef], # (1)
Tags: NotRequired[Mapping[str, str]],
StreamSummaryTypeDef#
# StreamSummaryTypeDef definition
class StreamSummaryTypeDef(TypedDict):
StreamName: str,
StreamARN: str,
StreamStatus: StreamStatusType, # (1)
StreamModeDetails: NotRequired[StreamModeDetailsTypeDef], # (2)
StreamCreationTimestamp: NotRequired[datetime],
UpdateStreamModeInputRequestTypeDef#
# UpdateStreamModeInputRequestTypeDef definition
class UpdateStreamModeInputRequestTypeDef(TypedDict):
StreamARN: str,
StreamModeDetails: StreamModeDetailsTypeDef, # (1)
DescribeLimitsOutputTypeDef#
# DescribeLimitsOutputTypeDef definition
class DescribeLimitsOutputTypeDef(TypedDict):
ShardLimit: int,
OpenShardCount: int,
OnDemandStreamCount: int,
OnDemandStreamCountLimit: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeStreamConsumerOutputTypeDef#
# DescribeStreamConsumerOutputTypeDef definition
class DescribeStreamConsumerOutputTypeDef(TypedDict):
ConsumerDescription: ConsumerDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EnhancedMonitoringOutputTypeDef#
# EnhancedMonitoringOutputTypeDef definition
class EnhancedMonitoringOutputTypeDef(TypedDict):
StreamName: str,
CurrentShardLevelMetrics: list[MetricsNameType], # (1)
DesiredShardLevelMetrics: list[MetricsNameType], # (1)
StreamARN: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See MetricsNameType
- See MetricsNameType
- See ResponseMetadataTypeDef
GetResourcePolicyOutputTypeDef#
# GetResourcePolicyOutputTypeDef definition
class GetResourcePolicyOutputTypeDef(TypedDict):
Policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetShardIteratorOutputTypeDef#
# GetShardIteratorOutputTypeDef definition
class GetShardIteratorOutputTypeDef(TypedDict):
ShardIterator: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListStreamConsumersOutputTypeDef#
# ListStreamConsumersOutputTypeDef definition
class ListStreamConsumersOutputTypeDef(TypedDict):
Consumers: list[ConsumerTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
PutRecordOutputTypeDef#
# PutRecordOutputTypeDef definition
class PutRecordOutputTypeDef(TypedDict):
ShardId: str,
SequenceNumber: str,
EncryptionType: EncryptionTypeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RegisterStreamConsumerOutputTypeDef#
# RegisterStreamConsumerOutputTypeDef definition
class RegisterStreamConsumerOutputTypeDef(TypedDict):
Consumer: ConsumerTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateShardCountOutputTypeDef#
# UpdateShardCountOutputTypeDef definition
class UpdateShardCountOutputTypeDef(TypedDict):
StreamName: str,
CurrentShardCount: int,
TargetShardCount: int,
StreamARN: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeStreamInputPaginateTypeDef#
# DescribeStreamInputPaginateTypeDef definition
class DescribeStreamInputPaginateTypeDef(TypedDict):
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStreamsInputPaginateTypeDef#
# ListStreamsInputPaginateTypeDef definition
class ListStreamsInputPaginateTypeDef(TypedDict):
ExclusiveStartStreamName: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeStreamInputWaitTypeDef#
# DescribeStreamInputWaitTypeDef definition
class DescribeStreamInputWaitTypeDef(TypedDict):
StreamName: NotRequired[str],
Limit: NotRequired[int],
ExclusiveStartShardId: NotRequired[str],
StreamARN: NotRequired[str],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
StreamDescriptionSummaryTypeDef#
# StreamDescriptionSummaryTypeDef definition
class StreamDescriptionSummaryTypeDef(TypedDict):
StreamName: str,
StreamARN: str,
StreamStatus: StreamStatusType, # (1)
RetentionPeriodHours: int,
StreamCreationTimestamp: datetime,
EnhancedMonitoring: list[EnhancedMetricsTypeDef], # (3)
OpenShardCount: int,
StreamModeDetails: NotRequired[StreamModeDetailsTypeDef], # (2)
EncryptionType: NotRequired[EncryptionTypeType], # (4)
KeyId: NotRequired[str],
ConsumerCount: NotRequired[int],
GetShardIteratorInputRequestTypeDef#
# GetShardIteratorInputRequestTypeDef definition
class GetShardIteratorInputRequestTypeDef(TypedDict):
ShardId: str,
ShardIteratorType: ShardIteratorTypeType, # (1)
StreamName: NotRequired[str],
StartingSequenceNumber: NotRequired[str],
Timestamp: NotRequired[TimestampTypeDef],
StreamARN: NotRequired[str],
ListStreamConsumersInputPaginateTypeDef#
# ListStreamConsumersInputPaginateTypeDef definition
class ListStreamConsumersInputPaginateTypeDef(TypedDict):
StreamARN: str,
StreamCreationTimestamp: NotRequired[TimestampTypeDef],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStreamConsumersInputRequestTypeDef#
# ListStreamConsumersInputRequestTypeDef definition
class ListStreamConsumersInputRequestTypeDef(TypedDict):
StreamARN: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
StreamCreationTimestamp: NotRequired[TimestampTypeDef],
ShardFilterTypeDef#
# ShardFilterTypeDef definition
class ShardFilterTypeDef(TypedDict):
Type: ShardFilterTypeType, # (1)
ShardId: NotRequired[str],
Timestamp: NotRequired[TimestampTypeDef],
StartingPositionTypeDef#
# StartingPositionTypeDef definition
class StartingPositionTypeDef(TypedDict):
Type: ShardIteratorTypeType, # (1)
SequenceNumber: NotRequired[str],
Timestamp: NotRequired[TimestampTypeDef],
ListTagsForStreamOutputTypeDef#
# ListTagsForStreamOutputTypeDef definition
class ListTagsForStreamOutputTypeDef(TypedDict):
Tags: list[TagTypeDef], # (1)
HasMoreTags: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
PutRecordsOutputTypeDef#
# PutRecordsOutputTypeDef definition
class PutRecordsOutputTypeDef(TypedDict):
FailedRecordCount: int,
Records: list[PutRecordsResultEntryTypeDef], # (1)
EncryptionType: EncryptionTypeType, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ShardTypeDef#
# ShardTypeDef definition
class ShardTypeDef(TypedDict):
ShardId: str,
HashKeyRange: HashKeyRangeTypeDef, # (1)
SequenceNumberRange: SequenceNumberRangeTypeDef, # (2)
ParentShardId: NotRequired[str],
AdjacentParentShardId: NotRequired[str],
PutRecordsInputRequestTypeDef#
# PutRecordsInputRequestTypeDef definition
class PutRecordsInputRequestTypeDef(TypedDict):
Records: Sequence[PutRecordsRequestEntryTypeDef], # (1)
StreamName: NotRequired[str],
StreamARN: NotRequired[str],
GetRecordsOutputTypeDef#
# GetRecordsOutputTypeDef definition
class GetRecordsOutputTypeDef(TypedDict):
Records: list[RecordTypeDef], # (1)
NextShardIterator: str,
MillisBehindLatest: int,
ChildShards: list[ChildShardTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See RecordTypeDef
- See ChildShardTypeDef
- See ResponseMetadataTypeDef
SubscribeToShardEventTypeDef#
# SubscribeToShardEventTypeDef definition
class SubscribeToShardEventTypeDef(TypedDict):
Records: list[RecordTypeDef], # (1)
ContinuationSequenceNumber: str,
MillisBehindLatest: int,
ChildShards: NotRequired[list[ChildShardTypeDef]], # (2)
- See RecordTypeDef
- See ChildShardTypeDef
ListStreamsOutputTypeDef#
# ListStreamsOutputTypeDef definition
class ListStreamsOutputTypeDef(TypedDict):
StreamNames: list[str],
HasMoreStreams: bool,
StreamSummaries: list[StreamSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeStreamSummaryOutputTypeDef#
# DescribeStreamSummaryOutputTypeDef definition
class DescribeStreamSummaryOutputTypeDef(TypedDict):
StreamDescriptionSummary: StreamDescriptionSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListShardsInputPaginateTypeDef#
# ListShardsInputPaginateTypeDef definition
class ListShardsInputPaginateTypeDef(TypedDict):
StreamName: NotRequired[str],
ExclusiveStartShardId: NotRequired[str],
StreamCreationTimestamp: NotRequired[TimestampTypeDef],
ShardFilter: NotRequired[ShardFilterTypeDef], # (1)
StreamARN: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListShardsInputRequestTypeDef#
# ListShardsInputRequestTypeDef definition
class ListShardsInputRequestTypeDef(TypedDict):
StreamName: NotRequired[str],
NextToken: NotRequired[str],
ExclusiveStartShardId: NotRequired[str],
MaxResults: NotRequired[int],
StreamCreationTimestamp: NotRequired[TimestampTypeDef],
ShardFilter: NotRequired[ShardFilterTypeDef], # (1)
StreamARN: NotRequired[str],
SubscribeToShardInputRequestTypeDef#
# SubscribeToShardInputRequestTypeDef definition
class SubscribeToShardInputRequestTypeDef(TypedDict):
ConsumerARN: str,
ShardId: str,
StartingPosition: StartingPositionTypeDef, # (1)
ListShardsOutputTypeDef#
# ListShardsOutputTypeDef definition
class ListShardsOutputTypeDef(TypedDict):
Shards: list[ShardTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See ShardTypeDef
- See ResponseMetadataTypeDef
StreamDescriptionTypeDef#
# StreamDescriptionTypeDef definition
class StreamDescriptionTypeDef(TypedDict):
StreamName: str,
StreamARN: str,
StreamStatus: StreamStatusType, # (1)
Shards: list[ShardTypeDef], # (3)
HasMoreShards: bool,
RetentionPeriodHours: int,
StreamCreationTimestamp: datetime,
EnhancedMonitoring: list[EnhancedMetricsTypeDef], # (4)
StreamModeDetails: NotRequired[StreamModeDetailsTypeDef], # (2)
EncryptionType: NotRequired[EncryptionTypeType], # (5)
KeyId: NotRequired[str],
- See StreamStatusType
- See StreamModeDetailsTypeDef
- See ShardTypeDef
- See EnhancedMetricsTypeDef
- See EncryptionTypeType
SubscribeToShardEventStreamTypeDef#
# SubscribeToShardEventStreamTypeDef definition
class SubscribeToShardEventStreamTypeDef(TypedDict):
SubscribeToShardEvent: SubscribeToShardEventTypeDef, # (1)
ResourceNotFoundException: NotRequired[ResourceNotFoundExceptionTypeDef], # (2)
ResourceInUseException: NotRequired[ResourceInUseExceptionTypeDef], # (3)
KMSDisabledException: NotRequired[KMSDisabledExceptionTypeDef], # (4)
KMSInvalidStateException: NotRequired[KMSInvalidStateExceptionTypeDef], # (5)
KMSAccessDeniedException: NotRequired[KMSAccessDeniedExceptionTypeDef], # (6)
KMSNotFoundException: NotRequired[KMSNotFoundExceptionTypeDef], # (7)
KMSOptInRequired: NotRequired[KMSOptInRequiredTypeDef], # (8)
KMSThrottlingException: NotRequired[KMSThrottlingExceptionTypeDef], # (9)
InternalFailureException: NotRequired[InternalFailureExceptionTypeDef], # (10)
- See SubscribeToShardEventTypeDef
- See ResourceNotFoundExceptionTypeDef
- See ResourceInUseExceptionTypeDef
- See KMSDisabledExceptionTypeDef
- See KMSInvalidStateExceptionTypeDef
- See KMSAccessDeniedExceptionTypeDef
- See KMSNotFoundExceptionTypeDef
- See KMSOptInRequiredTypeDef
- See KMSThrottlingExceptionTypeDef
- See InternalFailureExceptionTypeDef
DescribeStreamOutputTypeDef#
# DescribeStreamOutputTypeDef definition
class DescribeStreamOutputTypeDef(TypedDict):
StreamDescription: StreamDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SubscribeToShardOutputTypeDef#
# SubscribeToShardOutputTypeDef definition
class SubscribeToShardOutputTypeDef(TypedDict):
EventStream: EventStream[SubscribeToShardEventStreamTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)