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

smithy4s.com.amazonaws.kinesis.ProvisionedThroughputExceededException.scala Maven / Gradle / Ivy

The newest version!
package com.amazonaws.kinesis

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

/** 

The request rate for the stream is too high, or the requested data is too large for * the available throughput. Reduce the frequency or size of your requests. For more * information, see Streams Limits in the * Amazon Kinesis Data Streams Developer Guide, and Error Retries and * Exponential Backoff in Amazon Web Services in the Amazon Web Services General Reference.

* @param message *

A message that provides information about the error.

*/ final case class ProvisionedThroughputExceededException(message: Option[ErrorMessage] = None) extends Smithy4sThrowable { override def getMessage(): String = message.map(_.value).orNull } object ProvisionedThroughputExceededException extends ShapeTag.Companion[ProvisionedThroughputExceededException] { val id: ShapeId = ShapeId("com.amazonaws.kinesis", "ProvisionedThroughputExceededException") val hints: Hints = Hints( smithy.api.Error.CLIENT.widen, smithy.api.Documentation("

The request rate for the stream is too high, or the requested data is too large for\n the available throughput. Reduce the frequency or size of your requests. For more\n information, see Streams Limits in the\n Amazon Kinesis Data Streams Developer Guide, and Error Retries and\n Exponential Backoff in Amazon Web Services in the Amazon Web Services General Reference.

"), ).lazily // constructor using the original order from the spec private def make(message: Option[ErrorMessage]): ProvisionedThroughputExceededException = ProvisionedThroughputExceededException(message) implicit val schema: Schema[ProvisionedThroughputExceededException] = struct( ErrorMessage.schema.optional[ProvisionedThroughputExceededException]("message", _.message).addHints(smithy.api.Documentation("

A message that provides information about the error.

")), )(make).withId(id).addHints(hints) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy