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

Inherits:
Enumerator
  • Object
show all
Defined in:
gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb

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.

EventStream is an Enumerator of Events. #event_types #=> Array, returns all modeled event types in the stream

Instance Method Summary collapse

Instance Method Details

#event_types ⇒ Object



5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 5138

def event_types
  [
    :subscribe_to_shard_event,
    :resource_not_found_exception,
    :resource_in_use_exception,
    :kms_disabled_exception,
    :kms_invalid_state_exception,
    :kms_access_denied_exception,
    :kms_not_found_exception,
    :kms_opt_in_required,
    :kms_throttling_exception,
    :internal_failure_exception
  ]
end