Module Values_0.CognitoConfigSource

Use this parameter to configure your Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.

Sourcetype nonrec t = {
  1. userPool : CognitoUserPool.t;
    (*

    A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.

    *)
  2. clientId : ClientId.t;
    (*

    The client ID for your Amazon Cognito user pool.

    *)
}
Sourceval context_ : string
Sourceval make : userPool:CognitoUserPool.t -> clientId:ClientId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CognitoUserPool.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