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_exceptionTypes::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_exceptionTypes::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_exceptionTypes::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_exceptionTypes::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_exceptionTypes::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_requiredTypes::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_exceptionTypes::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_exceptionTypes::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_exceptionTypes::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_eventTypes::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: