All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.com.amazonaws.kinesis.IncreaseStreamRetentionPeriodInput.scala Maven / Gradle / Ivy

There is a newer version: 0.0.32
Show newest version
package com.amazonaws.kinesis

import smithy4s.Hints
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.ShapeTag
import smithy4s.schema.Schema.struct

/** 

Represents the input for IncreaseStreamRetentionPeriod.

* @param StreamName *

The name of the stream to modify.

* @param RetentionPeriodHours *

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

* @param StreamARN *

The ARN of the stream.

*/ final case class IncreaseStreamRetentionPeriodInput(retentionPeriodHours: RetentionPeriodHours, streamName: Option[StreamName] = None, streamARN: Option[StreamARN] = None) object IncreaseStreamRetentionPeriodInput extends ShapeTag.Companion[IncreaseStreamRetentionPeriodInput] { val id: ShapeId = ShapeId("com.amazonaws.kinesis", "IncreaseStreamRetentionPeriodInput") val hints: Hints = Hints( smithy.api.Documentation("

Represents the input for IncreaseStreamRetentionPeriod.

"), smithy.api.Input(), ) implicit val schema: Schema[IncreaseStreamRetentionPeriodInput] = struct( RetentionPeriodHours.schema.required[IncreaseStreamRetentionPeriodInput]("RetentionPeriodHours", _.retentionPeriodHours).addHints(smithy.api.Documentation("

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

")), StreamName.schema.optional[IncreaseStreamRetentionPeriodInput]("StreamName", _.streamName).addHints(smithy.api.Documentation("

The name of the stream to modify.

")), StreamARN.schema.optional[IncreaseStreamRetentionPeriodInput]("StreamARN", _.streamARN).addHints(smithy.api.Documentation("

The ARN of the stream.

")), ){ IncreaseStreamRetentionPeriodInput.apply }.withId(id).addHints(hints) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy