SubscribeToShardEventStream¶
Union Type¶
SubscribeToShardEventStream
module-attribute
¶
SubscribeToShardEventStream = Union[SubscribeToShardEventStreamSubscribeToShardEvent | SubscribeToShardEventStreamResourceNotFoundException | SubscribeToShardEventStreamResourceInUseException | SubscribeToShardEventStreamKMSDisabledException | SubscribeToShardEventStreamKMSInvalidStateException | SubscribeToShardEventStreamKMSAccessDeniedException | SubscribeToShardEventStreamKMSNotFoundException | SubscribeToShardEventStreamKMSOptInRequired | SubscribeToShardEventStreamKMSThrottlingException | SubscribeToShardEventStreamInternalFailureException | SubscribeToShardEventStreamUnknown]
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.
Union Member Types¶
SubscribeToShardEventStreamSubscribeToShardEvent
dataclass
¶
Bases: _SerdeShape
After you call SubscribeToShard, Kinesis Data Streams sends events of this type to your consumer. For an example of how to handle these events, see Enhanced Fan-Out Using the Kinesis Data Streams API.
Attributes¶
SubscribeToShardEventStreamResourceNotFoundException
dataclass
¶
Bases: _SerdeShape
The requested resource could not be found. The stream might not be specified correctly.
Attributes¶
SubscribeToShardEventStreamResourceInUseException
dataclass
¶
Bases: _SerdeShape
The resource is not available for this operation. For successful
operation, the resource must be in the ACTIVE state.
Attributes¶
SubscribeToShardEventStreamKMSDisabledException
dataclass
¶
Bases: _SerdeShape
The request was rejected because the specified customer master key (CMK) isn't enabled.
Attributes¶
SubscribeToShardEventStreamKMSInvalidStateException
dataclass
¶
Bases: _SerdeShape
The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the Amazon Web Services Key Management Service Developer Guide.
Attributes¶
SubscribeToShardEventStreamKMSAccessDeniedException
dataclass
¶
Bases: _SerdeShape
The ciphertext references a key that doesn't exist or that you don't have access to.
Attributes¶
SubscribeToShardEventStreamKMSNotFoundException
dataclass
¶
Bases: _SerdeShape
The request was rejected because the specified entity or resource can't be found.
Attributes¶
SubscribeToShardEventStreamKMSOptInRequired
dataclass
¶
Bases: _SerdeShape
The Amazon Web Services access key ID needs a subscription for the service.