Module Values.SubscribeToShardEventStreamSource

This is a tagged union for all of the types of events an enhanced fan-out consumer can receive over HTTP/2 after a call to SubscribeToShard.

Sourcetype nonrec t = {
  1. subscribeToShardEvent : SubscribeToShardEvent.t option;
    (*

    After you call SubscribeToShard, Kinesis Data Streams sends events of this type to your consumer. For an example of how to handle these events, see Enhanced Fan-Out Using the Kinesis Data Streams API.

    *)
  2. resourceNotFoundException : ResourceNotFoundException.t option;
  3. resourceInUseException : ResourceInUseException.t option;
  4. kMSDisabledException : KMSDisabledException.t option;
  5. kMSInvalidStateException : KMSInvalidStateException.t option;
  6. kMSAccessDeniedException : KMSAccessDeniedException.t option;
  7. kMSNotFoundException : KMSNotFoundException.t option;
  8. kMSOptInRequired : KMSOptInRequired.t option;
  9. kMSThrottlingException : KMSThrottlingException.t option;
  10. internalFailureException : InternalFailureException.t option;
    (*

    The processing of the request failed because of an unknown error, exception, or failure.

    *)
}
Sourceval make : ?subscribeToShardEvent:??? -> ?resourceNotFoundException:??? -> ?resourceInUseException:??? -> ?kMSDisabledException:??? -> ?kMSInvalidStateException:??? -> ?kMSAccessDeniedException:??? -> ?kMSNotFoundException:??? -> ?kMSOptInRequired:??? -> ?kMSThrottlingException:??? -> ?internalFailureException:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Blob of Data.t | `Enum of string | `List of [> `String of ShardId.t ] list | `String of SequenceNumber.t | `Structure of (string * [> `String of HashKey.t ]) list | `Timestamp of Timestamp.t ]) list ] list | `Long of MillisBehindLatest.t | `String of SequenceNumber.t ]) list ]) 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