Skip to content

Kinesis  >  Unions  >  SubscribeToShardEventStream

SubscribeToShardEventStream

Union Type

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

value instance-attribute

SubscribeToShardEventStreamResourceNotFoundException dataclass

Bases: _SerdeShape

The requested resource could not be found. The stream might not be specified correctly.

Attributes

value instance-attribute

SubscribeToShardEventStreamResourceInUseException dataclass

Bases: _SerdeShape

The resource is not available for this operation. For successful operation, the resource must be in the ACTIVE state.

Attributes

value instance-attribute

SubscribeToShardEventStreamKMSDisabledException dataclass

Bases: _SerdeShape

The request was rejected because the specified customer master key (CMK) isn't enabled.

Attributes

value instance-attribute

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

value instance-attribute

SubscribeToShardEventStreamKMSAccessDeniedException dataclass

Bases: _SerdeShape

The ciphertext references a key that doesn't exist or that you don't have access to.

Attributes

value instance-attribute

SubscribeToShardEventStreamKMSNotFoundException dataclass

Bases: _SerdeShape

The request was rejected because the specified entity or resource can't be found.

Attributes

value instance-attribute

SubscribeToShardEventStreamKMSOptInRequired dataclass

Bases: _SerdeShape

The Amazon Web Services access key ID needs a subscription for the service.

Attributes

value instance-attribute

SubscribeToShardEventStreamKMSThrottlingException dataclass

Bases: _SerdeShape

The request was denied due to request throttling. For more information about throttling, see Limits in the Amazon Web Services Key Management Service Developer Guide.

Attributes

value instance-attribute

SubscribeToShardEventStreamInternalFailureException dataclass

Bases: _SerdeShape

The processing of the request failed because of an unknown error, exception, or failure.

Attributes

value instance-attribute

SubscribeToShardEventStreamUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str