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

Class: Aws::Kinesis::Types::DecreaseStreamRetentionPeriodInput

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 DecreaseStreamRetentionPeriodInput data as a hash:

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

Represents the input for DecreaseStreamRetentionPeriod.

Instance Attribute Summary collapse

Instance Attribute Details

#retention_period_hoursInteger

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

Returns:

  • (Integer)


94
95
96
97
98
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 94

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

#stream_nameString

The name of the stream to modify.

Returns:

  • (String)


94
95
96
97
98
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 94

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