Module Values.CognitoUserPoolConfigurationSource

The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions. This data type part of a Configuration structure that is used as a parameter to CreateIdentitySource. Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}

Sourcetype nonrec t = {
  1. userPoolArn : UserPoolArn.t;
    (*

    The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized. Example: "UserPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"

    *)
  2. clientIds : ClientIds.t option;
    (*

    The unique application client IDs that are associated with the specified Amazon Cognito user pool. Example: "ClientIds": ["&ExampleCogClientId;"]

    *)
  3. groupConfiguration : CognitoGroupConfiguration.t option;
    (*

    The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientIds:??? -> ?groupConfiguration:??? -> userPoolArn:UserPoolArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of ClientId.t ] list | `String of UserPoolArn.t | `Structure of (string * [> `String of GroupEntityType.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