Module Values.InvalidKMSResourceExceptionSource

Firehose throws this exception when an attempt to put records or to start or stop Firehose stream encryption fails. This happens when the KMS service throws one of the following exception types: AccessDeniedException, InvalidStateException, DisabledException, or NotFoundException.

Sourcetype nonrec t = {
  1. code : ErrorCode.t option;
  2. message : ErrorMessage.t option;
}
Sourceval make : ?code:??? -> ?message:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ErrorCode.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t