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

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

/** 

A PutRecords request.

* @param Records *

The records associated with the request.

* @param StreamName *

The stream name associated with the request.

* @param StreamARN *

The ARN of the stream.

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

A PutRecords request.

"), smithy.api.Input(), ) implicit val schema: Schema[PutRecordsInput] = struct( PutRecordsRequestEntryList.underlyingSchema.required[PutRecordsInput]("Records", _.records).addHints(smithy.api.Documentation("

The records associated with the request.

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

The stream name associated with the request.

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

The ARN of the stream.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy