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)


2423
2424
2425
2426
2427
2428
2429
# File 'lib/aws-sdk-kinesis/types.rb', line 2423

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)


2423
2424
2425
2426
2427
2428
2429
# File 'lib/aws-sdk-kinesis/types.rb', line 2423

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.



2423
2424
2425
2426
2427
2428
2429
# File 'lib/aws-sdk-kinesis/types.rb', line 2423

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