You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Kinesis::Types::IncreaseStreamRetentionPeriodInput

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

Overview

Note:

When making an API call, you may pass IncreaseStreamRetentionPeriodInput data as a hash:

{
  stream_name: "StreamName", # required
  retention_period_hours: 1, # required
}

Represents the input for IncreaseStreamRetentionPeriod.

Instance Attribute Summary collapse

Instance Attribute Details

#retention_period_hoursInteger

The new retention period of the stream, in hours. Must be more than the current retention period.

Returns:

  • (Integer)


579
580
581
582
583
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 579

class IncreaseStreamRetentionPeriodInput < Struct.new(
  :stream_name,
  :retention_period_hours)
  include Aws::Structure
end

#stream_nameString

The name of the stream to modify.

Returns:

  • (String)


579
580
581
582
583
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 579

class IncreaseStreamRetentionPeriodInput < Struct.new(
  :stream_name,
  :retention_period_hours)
  include Aws::Structure
end