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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DecreaseStreamRetentionPeriodInput as input to an Aws::Client method, you can use a vanilla 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)

    The new retention period of the stream, in hours.

#stream_nameString

The name of the stream to modify.

Returns:

  • (String)

    The name of the stream to modify.