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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesis/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)


3581
3582
3583
3584
3585
3586
3587
3588
3589
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 3581

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

#dry_runBoolean

Checks if your request will succeed. DryRun is an optional parameter.

Returns:

  • (Boolean)


3581
3582
3583
3584
3585
3586
3587
3588
3589
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 3581

class SubscribeToShardInput < Struct.new(
  :consumer_arn,
  :stream_id,
  :shard_id,
  :starting_position,
  :dry_run)
  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)


3581
3582
3583
3584
3585
3586
3587
3588
3589
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 3581

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

#starting_positionTypes::StartingPosition

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



3581
3582
3583
3584
3585
3586
3587
3588
3589
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 3581

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

#stream_idString

Not Implemented. Reserved for future use.

Returns:

  • (String)


3581
3582
3583
3584
3585
3586
3587
3588
3589
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 3581

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