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

scala.com.amazonaws.kinesis.KMSDisabledException.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.Smithy4sThrowable
import smithy4s.schema.Schema.struct

/** 

The request was rejected because the specified customer master key (CMK) isn't * enabled.

* @param message *

A message that provides information about the error.

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

The request was rejected because the specified customer master key (CMK) isn\'t\n enabled.

"), ) implicit val schema: Schema[KMSDisabledException] = struct( ErrorMessage.schema.optional[KMSDisabledException]("message", _.message).addHints(smithy.api.Documentation("

A message that provides information about the error.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy