Amazon Kinesis Data Streams Service API Reference
API Reference (API Version 2013-12-02)

SubscribeToShardEventStream

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.

Contents

InternalFailureException

Type: Exception

HTTP Status Code:

Required: No

KMSAccessDeniedException

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

Type: Exception

HTTP Status Code:

Required: No

KMSDisabledException

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

Type: Exception

HTTP Status Code:

Required: No

KMSInvalidStateException

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 AWS Key Management Service Developer Guide.

Type: Exception

HTTP Status Code:

Required: No

KMSNotFoundException

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

Type: Exception

HTTP Status Code:

Required: No

KMSOptInRequired

The AWS access key ID needs a subscription for the service.

Type: Exception

HTTP Status Code:

Required: No

KMSThrottlingException

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

Type: Exception

HTTP Status Code:

Required: No

ResourceInUseException

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

Type: Exception

HTTP Status Code:

Required: No

ResourceNotFoundException

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

Type: Exception

HTTP Status Code:

Required: No

SubscribeToShardEvent

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.

Type: SubscribeToShardEvent object

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: