You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Kinesis::Types::SubscribeToShardEventStream

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#internal_failure_exception ⇒ Types::InternalFailureException

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

Returns:

  • (Types::InternalFailureException) —

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

#kms_access_denied_exception ⇒ Types::KMSAccessDeniedException

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

Returns:

  • (Types::KMSAccessDeniedException) —

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

    .

#kms_disabled_exception ⇒ Types::KMSDisabledException

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

Returns:

  • (Types::KMSDisabledException) —

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

    .

#kms_invalid_state_exception ⇒ Types::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.

Returns:

  • (Types::KMSInvalidStateException) —

    The request was rejected because the state of the specified resource isn't valid for this request.

#kms_not_found_exception ⇒ Types::KMSNotFoundException

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

Returns:

  • (Types::KMSNotFoundException) —

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

    .

#kms_opt_in_required ⇒ Types::KMSOptInRequired

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

Returns:

  • (Types::KMSOptInRequired) —

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

    .

#kms_throttling_exception ⇒ Types::KMSThrottlingException

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

Returns:

  • (Types::KMSThrottlingException) —

    The request was denied due to request throttling.

#resource_in_use_exception ⇒ Types::ResourceInUseException

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

Returns:

  • (Types::ResourceInUseException) —

    The resource is not available for this operation.

#resource_not_found_exception ⇒ Types::ResourceNotFoundException

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

Returns:

  • (Types::ResourceNotFoundException) —

    The requested resource could not be found.

#subscribe_to_shard_event ⇒ Types::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.

Returns: