Class: Aws::Kinesis::Types::SubscribeToShardInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kinesis/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#consumer_arnString

For this parameter, use the value you obtained when you called RegisterStreamConsumer.

Returns:

  • (String)


2428
2429
2430
2431
2432
2433
2434
# File 'lib/aws-sdk-kinesis/types.rb', line 2428

class SubscribeToShardInput < Struct.new(
  :consumer_arn,
  :shard_id,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#shard_idString

The ID of the shard you want to subscribe to. To see a list of all the shards for a given stream, use ListShards.

Returns:

  • (String)


2428
2429
2430
2431
2432
2433
2434
# File 'lib/aws-sdk-kinesis/types.rb', line 2428

class SubscribeToShardInput < Struct.new(
  :consumer_arn,
  :shard_id,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#starting_positionTypes::StartingPosition

The starting position in the data stream from which to start streaming.



2428
2429
2430
2431
2432
2433
2434
# File 'lib/aws-sdk-kinesis/types.rb', line 2428

class SubscribeToShardInput < Struct.new(
  :consumer_arn,
  :shard_id,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end