Module Values.CognitoStreamsSource

Configuration options for configure Cognito streams.

Sourcetype nonrec t = {
  1. streamName : StreamName.t option;
    (*

    The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.

    *)
  2. roleArn : AssumeRoleArn.t option;
    (*

    The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.

    *)
  3. streamingStatus : StreamingStatus.t option;
    (*

    Status of the Cognito streams. Valid values are: ENABLED - Streaming of updates to identity pool is enabled. DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.

    *)
}
Sourceval make : ?streamName:??? -> ?roleArn:??? -> ?streamingStatus:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of StreamName.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