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

scala.com.amazonaws.kinesis.MergeShardsInput.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 MergeShards.

* @param StreamName *

The name of the stream for the merge.

* @param ShardToMerge *

The shard ID of the shard to combine with the adjacent shard for the merge.

* @param AdjacentShardToMerge *

The shard ID of the adjacent shard for the merge.

* @param StreamARN *

The ARN of the stream.

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

Represents the input for MergeShards.

"), smithy.api.Input(), ).lazily implicit val schema: Schema[MergeShardsInput] = struct( ShardId.schema.required[MergeShardsInput]("ShardToMerge", _.shardToMerge).addHints(smithy.api.Documentation("

The shard ID of the shard to combine with the adjacent shard for the merge.

")), ShardId.schema.required[MergeShardsInput]("AdjacentShardToMerge", _.adjacentShardToMerge).addHints(smithy.api.Documentation("

The shard ID of the adjacent shard for the merge.

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

The name of the stream for the merge.

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

The ARN of the stream.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy