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.

Constant Summary collapse

SENSITIVE =
[]

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)


196
197
198
199
200
201
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 196

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

#stream_nameString

The name of the stream to modify.

Returns:

  • (String)


196
197
198
199
200
201
# File 'gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/types.rb', line 196

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