Module Smaws_Client_CognitoIdentity.Types

type nonrec use_defaults = bool
type nonrec string_ = string
type nonrec too_many_requests_exception = {
  1. message : string_ option;
    (*

    Message returned by a TooManyRequestsException

    *)
}

Thrown when a request is throttled.

type nonrec resource_not_found_exception = {
  1. message : string_ option;
    (*

    The message returned by a ResourceNotFoundException.

    *)
}

Thrown when the requested resource (for example, a dataset or record) does not exist.

type nonrec resource_conflict_exception = {
  1. message : string_ option;
    (*

    The message returned by a ResourceConflictException.

    *)
}

Thrown when a user tries to use a login which is already linked to another account.

type nonrec not_authorized_exception = {
  1. message : string_ option;
    (*

    The message returned by a NotAuthorizedException

    *)
}

Thrown when a user is not authorized to access the requested resource.

type nonrec limit_exceeded_exception = {
  1. message : string_ option;
    (*

    The message returned by a LimitExceededException.

    *)
}

Thrown when the total number of user pools has exceeded a preset limit.

type nonrec invalid_parameter_exception = {
  1. message : string_ option;
    (*

    The message returned by an InvalidParameterException.

    *)
}

Thrown for missing or bad input parameter(s).

type nonrec internal_error_exception = {
  1. message : string_ option;
    (*

    The message returned by an InternalErrorException.

    *)
}

Thrown when the service encounters an error during processing the request.

type nonrec concurrent_modification_exception = {
  1. message : string_ option;
    (*

    The message returned by a ConcurrentModificationException.

    *)
}

Thrown if there are parallel requests to modify a resource.

type nonrec identity_pool_id = string
type nonrec identity_pool_name = string
type nonrec identity_pool_unauthenticated = bool
type nonrec classic_flow = bool
type nonrec identity_provider_id = string
type nonrec identity_provider_name = string
type nonrec identity_providers = (identity_provider_name * identity_provider_id) list
type nonrec developer_provider_name = string
type nonrec arn_string = string
type nonrec oidc_provider_list = arn_string list
type nonrec cognito_identity_provider_name = string
type nonrec cognito_identity_provider_client_id = string
type nonrec cognito_identity_provider_token_check = bool
type nonrec cognito_identity_provider = {
  1. server_side_token_check : cognito_identity_provider_token_check option;
    (*

    TRUE if server-side token validation is enabled for the identity provider’s token.

    Once you set ServerSideTokenCheck to TRUE for an identity pool, that identity pool will check with the integrated user pools to make sure that the user has not been globally signed out or deleted before the identity pool provides an OIDC token or Amazon Web Services credentials for the user.

    If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.

    *)
  2. client_id : cognito_identity_provider_client_id option;
    (*

    The client ID for the Amazon Cognito user pool.

    *)
  3. provider_name : cognito_identity_provider_name option;
    (*

    The provider name for an Amazon Cognito user pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

    *)
}

A provider representing an Amazon Cognito user pool and its client ID.

type nonrec cognito_identity_provider_list = cognito_identity_provider list
type nonrec saml_provider_list = arn_string list
type nonrec tag_value_type = string
type nonrec tag_keys_type = string
type nonrec identity_pool_tags_type = (tag_keys_type * tag_value_type) list
type nonrec identity_pool = {
  1. identity_pool_tags : identity_pool_tags_type option;
    (*

    The tags that are assigned to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

    *)
  2. saml_provider_ar_ns : saml_provider_list option;
    (*

    An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

    *)
  3. cognito_identity_providers : cognito_identity_provider_list option;
    (*

    A list representing an Amazon Cognito user pool and its client ID.

    *)
  4. open_id_connect_provider_ar_ns : oidc_provider_list option;
    (*

    The ARNs of the OpenID Connect providers.

    *)
  5. developer_provider_name : developer_provider_name option;
    (*

    The "domain" by which Cognito will refer to your users.

    *)
  6. supported_login_providers : identity_providers option;
    (*

    Optional key:value pairs mapping provider names to provider app IDs.

    *)
  7. allow_classic_flow : classic_flow option;
    (*

    Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.

    *)
  8. allow_unauthenticated_identities : identity_pool_unauthenticated;
    (*

    TRUE if the identity pool supports unauthenticated logins.

    *)
  9. identity_pool_name : identity_pool_name;
    (*

    A string that you provide.

    *)
  10. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

An object representing an Amazon Cognito identity pool.

type nonrec untag_resource_response = unit
type nonrec identity_pool_tags_list_type = tag_keys_type list
type nonrec untag_resource_input = {
  1. tag_keys : identity_pool_tags_list_type;
    (*

    The keys of the tags to remove from the user pool.

    *)
  2. resource_arn : arn_string;
    (*

    The Amazon Resource Name (ARN) of the identity pool.

    *)
}
type nonrec identity_id = string
type nonrec error_code =
  1. | INTERNAL_SERVER_ERROR
  2. | ACCESS_DENIED
type nonrec unprocessed_identity_id = {
  1. error_code : error_code option;
    (*

    The error code indicating the type of error that occurred.

    *)
  2. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.

type nonrec unprocessed_identity_id_list = unprocessed_identity_id list
type nonrec identity_provider_token = string
type nonrec logins_map = (identity_provider_name * identity_provider_token) list
type nonrec logins_list = identity_provider_name list

Input to the UnlinkIdentity action.

type nonrec external_service_exception = {
  1. message : string_ option;
    (*

    The message returned by an ExternalServiceException

    *)
}

An exception thrown when a dependent service such as Facebook or Twitter is not responding

type nonrec developer_user_identifier = string

Input to the UnlinkDeveloperIdentity action.

type nonrec token_duration = int
type nonrec tag_resource_response = unit
type nonrec tag_resource_input = {
  1. tags : identity_pool_tags_type;
    (*

    The tags to assign to the identity pool.

    *)
  2. resource_arn : arn_string;
    (*

    The Amazon Resource Name (ARN) of the identity pool.

    *)
}
type nonrec principal_tag_value = string
type nonrec principal_tag_i_d = string
type nonrec principal_tags = (principal_tag_i_d * principal_tag_value) list
type nonrec set_principal_tag_attribute_map_response = {
  1. principal_tags : principal_tags option;
    (*

    You can use this operation to add principal tags. The PrincipalTagsoperation enables you to reference user attributes in your IAM permissions policy.

    *)
  2. use_defaults : use_defaults option;
    (*

    You can use this operation to select default (username and clientID) attribute mappings.

    *)
  3. identity_provider_name : identity_provider_name option;
    (*

    The provider name you want to use for attribute mappings.

    *)
  4. identity_pool_id : identity_pool_id option;
    (*

    The ID of the Identity Pool you want to set attribute mappings for.

    *)
}
type nonrec set_principal_tag_attribute_map_input = {
  1. principal_tags : principal_tags option;
    (*

    You can use this operation to add principal tags.

    *)
  2. use_defaults : use_defaults option;
    (*

    You can use this operation to use default (username and clientID) attribute mappings.

    *)
  3. identity_provider_name : identity_provider_name;
    (*

    The provider name you want to use for attribute mappings.

    *)
  4. identity_pool_id : identity_pool_id;
    (*

    The ID of the Identity Pool you want to set attribute mappings for.

    *)
}
type nonrec role_type = string
type nonrec roles_map = (role_type * arn_string) list
type nonrec role_mapping_type =
  1. | RULES
  2. | TOKEN
type nonrec ambiguous_role_resolution_type =
  1. | DENY
  2. | AUTHENTICATED_ROLE
type nonrec claim_name = string
type nonrec mapping_rule_match_type =
  1. | NOT_EQUAL
  2. | STARTS_WITH
  3. | CONTAINS
  4. | EQUALS
type nonrec claim_value = string
type nonrec mapping_rule = {
  1. role_ar_n : arn_string;
    (*

    The role ARN.

    *)
  2. value : claim_value;
    (*

    A brief string that the claim must match, for example, "paid" or "yes".

    *)
  3. match_type : mapping_rule_match_type;
    (*

    The match condition that specifies how closely the claim value in the IdP token must match Value.

    *)
  4. claim : claim_name;
    (*

    The claim name that must be present in the token, for example, "isAdmin" or "paid".

    *)
}

A rule that maps a claim name, a claim value, and a match type to a role ARN.

type nonrec mapping_rules_list = mapping_rule list
type nonrec rules_configuration_type = {
  1. rules : mapping_rules_list;
    (*

    An array of rules. You can specify up to 25 rules per identity provider.

    Rules are evaluated in order. The first one to match specifies the role.

    *)
}

A container for rules.

type nonrec role_mapping = {
  1. rules_configuration : rules_configuration_type option;
    (*

    The rules to be used for mapping users to roles.

    If you specify Rules as the role mapping type, RulesConfiguration is required.

    *)
  2. ambiguous_role_resolution : ambiguous_role_resolution_type option;
    (*

    If you specify Token or Rules as the Type, AmbiguousRoleResolution is required.

    Specifies the action to be taken if either no rules match the claim value for the Rules type, or there is no cognito:preferred_role claim and there are multiple cognito:roles matches for the Token type.

    *)
  3. type_ : role_mapping_type;
    (*

    The role mapping type. Token will use cognito:roles and cognito:preferred_role claims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role.

    *)
}

A role mapping.

type nonrec role_mapping_map = (identity_provider_name * role_mapping) list
type nonrec set_identity_pool_roles_input = {
  1. role_mappings : role_mapping_map option;
    (*

    How users for a specific identity provider are to mapped to roles. This is a string to RoleMapping object map. The string identifies the identity provider, for example, graph.facebook.com or cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id.

    Up to 25 rules can be specified per identity provider.

    *)
  2. roles : roles_map;
    (*

    The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.

    *)
  3. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Input to the SetIdentityPoolRoles action.

type nonrec session_token_string = string
type nonrec secret_key_string = string
type nonrec query_limit = int
type nonrec pagination_key = string
type nonrec oidc_token = string
type nonrec merge_developer_identities_response = {
  1. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Returned in response to a successful MergeDeveloperIdentities action.

type nonrec merge_developer_identities_input = {
  1. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
  2. developer_provider_name : developer_provider_name;
    (*

    The "domain" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName, you can use letters as well as period (.), underscore (_), and dash (-).

    *)
  3. destination_user_identifier : developer_user_identifier;
    (*

    User identifier for the destination user. The value should be a DeveloperUserIdentifier.

    *)
  4. source_user_identifier : developer_user_identifier;
    (*

    User identifier for the source user. The value should be a DeveloperUserIdentifier.

    *)
}

Input to the MergeDeveloperIdentities action.

type nonrec developer_user_identifier_list = developer_user_identifier list
type nonrec lookup_developer_identity_response = {
  1. next_token : pagination_key option;
    (*

    A pagination token. The first call you make will have NextToken set to null. After that the service will return NextToken values as needed. For example, let's say you make a request with MaxResults set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.

    *)
  2. developer_user_identifier_list : developer_user_identifier_list option;
    (*

    This is the list of developer user identifiers associated with an identity ID. Cognito supports the association of multiple developer user identifiers with an identity ID.

    *)
  3. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Returned in response to a successful LookupDeveloperIdentity action.

type nonrec lookup_developer_identity_input = {
  1. next_token : pagination_key option;
    (*

    A pagination token. The first call you make will have NextToken set to null. After that the service will return NextToken values as needed. For example, let's say you make a request with MaxResults set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.

    *)
  2. max_results : query_limit option;
    (*

    The maximum number of identities to return.

    *)
  3. developer_user_identifier : developer_user_identifier option;
    (*

    A unique ID used by your backend authentication process to identify a user. Typically, a developer identity provider would issue many developer user identifiers, in keeping with the number of users.

    *)
  4. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
  5. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Input to the LookupDeveloperIdentityInput action.

type nonrec list_tags_for_resource_response = {
  1. tags : identity_pool_tags_type option;
    (*

    The tags that are assigned to the identity pool.

    *)
}
type nonrec list_tags_for_resource_input = {
  1. resource_arn : arn_string;
    (*

    The Amazon Resource Name (ARN) of the identity pool that the tags are assigned to.

    *)
}
type nonrec identity_pool_short_description = {
  1. identity_pool_name : identity_pool_name option;
    (*

    A string that you provide.

    *)
  2. identity_pool_id : identity_pool_id option;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

A description of the identity pool.

type nonrec identity_pools_list = identity_pool_short_description list
type nonrec list_identity_pools_response = {
  1. next_token : pagination_key option;
    (*

    A pagination token.

    *)
  2. identity_pools : identity_pools_list option;
    (*

    The identity pools returned by the ListIdentityPools action.

    *)
}

The result of a successful ListIdentityPools action.

type nonrec list_identity_pools_input = {
  1. next_token : pagination_key option;
    (*

    A pagination token.

    *)
  2. max_results : query_limit;
    (*

    The maximum number of identities to return.

    *)
}

Input to the ListIdentityPools action.

type nonrec date_type = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec identity_description = {
  1. last_modified_date : date_type option;
    (*

    Date on which the identity was last modified.

    *)
  2. creation_date : date_type option;
    (*

    Date on which the identity was created.

    *)
  3. logins : logins_list option;
    (*

    The provider names.

    *)
  4. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

A description of the identity.

type nonrec identities_list = identity_description list
type nonrec list_identities_response = {
  1. next_token : pagination_key option;
    (*

    A pagination token.

    *)
  2. identities : identities_list option;
    (*

    An object containing a set of identities and associated mappings.

    *)
  3. identity_pool_id : identity_pool_id option;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

The response to a ListIdentities request.

type nonrec hide_disabled = bool
type nonrec list_identities_input = {
  1. hide_disabled : hide_disabled option;
    (*

    An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response.

    *)
  2. next_token : pagination_key option;
    (*

    A pagination token.

    *)
  3. max_results : query_limit;
    (*

    The maximum number of identities to return.

    *)
  4. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Input to the ListIdentities action.

type nonrec invalid_identity_pool_configuration_exception = {
  1. message : string_ option;
    (*

    The message returned for an InvalidIdentityPoolConfigurationException

    *)
}

If you provided authentication information in the request, the identity pool has no authenticated role configured, or STS returned an error response to the request to assume the authenticated role from the identity pool. If you provided no authentication information in the request, the identity pool has no unauthenticated role configured, or STS returned an error response to the request to assume the unauthenticated role from the identity pool.

Your role trust policy must grant AssumeRoleWithWebIdentity permissions to cognito-identity.amazonaws.com.

type nonrec identity_id_list = identity_id list
type nonrec get_principal_tag_attribute_map_response = {
  1. principal_tags : principal_tags option;
    (*

    You can use this operation to add principal tags. The PrincipalTagsoperation enables you to reference user attributes in your IAM permissions policy.

    *)
  2. use_defaults : use_defaults option;
    (*

    You can use this operation to list

    *)
  3. identity_provider_name : identity_provider_name option;
    (*

    You can use this operation to get the provider name.

    *)
  4. identity_pool_id : identity_pool_id option;
    (*

    You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.

    *)
}
type nonrec get_principal_tag_attribute_map_input = {
  1. identity_provider_name : identity_provider_name;
    (*

    You can use this operation to get the provider name.

    *)
  2. identity_pool_id : identity_pool_id;
    (*

    You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.

    *)
}
type nonrec get_open_id_token_response = {
  1. token : oidc_token option;
    (*

    An OpenID token, valid for 10 minutes.

    *)
  2. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.

    *)
}

Returned in response to a successful GetOpenIdToken request.

type nonrec get_open_id_token_input = {
  1. logins : logins_map option;
    (*

    A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. For accounts.google.com, an Amazon Cognito user pool provider, or any other OpenID Connect provider, always include the id_token.

    *)
  2. identity_id : identity_id;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Input to the GetOpenIdToken action.

type nonrec get_open_id_token_for_developer_identity_response = {
  1. token : oidc_token option;
    (*

    An OpenID token.

    *)
  2. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Returned in response to a successful GetOpenIdTokenForDeveloperIdentity request.

type nonrec get_open_id_token_for_developer_identity_input = {
  1. token_duration : token_duration option;
    (*

    The expiration time of the token, in seconds. You can specify a custom expiration time for the token so that you can cache it. If you don't provide an expiration time, the token is valid for 15 minutes. You can exchange the token with Amazon STS for temporary Amazon Web Services credentials, which are valid for a maximum of one hour. The maximum token duration you can set is 24 hours. You should take care in setting the expiration time for a token, as there are significant security implications: an attacker could use a leaked token to access your Amazon Web Services resources for the token's duration.

    Please provide for a small grace period, usually no more than 5 minutes, to account for clock skew.

    *)
  2. principal_tags : principal_tags option;
    (*

    Use this operation to configure attribute mappings for custom providers.

    *)
  3. logins : logins_map;
    (*

    A set of optional name-value pairs that map provider names to provider tokens. Each name-value pair represents a user from a public provider or developer provider. If the user is from a developer provider, the name-value pair will follow the syntax "developer_provider_name": "developer_user_identifier". The developer provider is the "domain" by which Cognito will refer to your users; you provided this domain while creating/updating the identity pool. The developer user identifier is an identifier from your backend that uniquely identifies a user. When you create an identity pool, you can specify the supported logins.

    *)
  4. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
  5. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Input to the GetOpenIdTokenForDeveloperIdentity action.

type nonrec developer_user_already_registered_exception = {
  1. message : string_ option;
    (*

    This developer user identifier is already registered with Cognito.

    *)
}

The provided developer user identifier is already registered with Cognito under a different identity ID.

type nonrec get_identity_pool_roles_response = {
  1. role_mappings : role_mapping_map option;
    (*

    How users for a specific identity provider are to mapped to roles. This is a String-to-RoleMapping object map. The string identifies the identity provider, for example, graph.facebook.com or cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id.

    *)
  2. roles : roles_map option;
    (*

    The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.

    *)
  3. identity_pool_id : identity_pool_id option;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Returned in response to a successful GetIdentityPoolRoles operation.

type nonrec get_identity_pool_roles_input = {
  1. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Input to the GetIdentityPoolRoles action.

type nonrec get_id_response = {
  1. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Returned in response to a GetId request.

type nonrec account_id = string
type nonrec get_id_input = {
  1. logins : logins_map option;
    (*

    A set of optional name-value pairs that map provider names to provider tokens. The available provider names for Logins are as follows:

    • Facebook: graph.facebook.com
    • Amazon Cognito user pool:

      cognito-idp..amazonaws.com/

      , for example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

    • Google: accounts.google.com
    • Amazon: www.amazon.com
    • Twitter: api.twitter.com
    • Digits: www.digits.com
    *)
  2. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
  3. account_id : account_id option;
    (*

    A standard Amazon Web Services account ID (9+ digits).

    *)
}

Input to the GetId action.

type nonrec access_key_string = string
type nonrec credentials = {
  1. expiration : date_type option;
    (*

    The date at which these credentials will expire.

    *)
  2. session_token : session_token_string option;
    (*

    The Session Token portion of the credentials

    *)
  3. secret_key : secret_key_string option;
    (*

    The Secret Access Key portion of the credentials

    *)
  4. access_key_id : access_key_string option;
    (*

    The Access Key portion of the credentials.

    *)
}

Credentials for the provided identity ID.

type nonrec get_credentials_for_identity_response = {
  1. credentials : credentials option;
    (*

    Credentials for the provided identity ID.

    *)
  2. identity_id : identity_id option;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Returned in response to a successful GetCredentialsForIdentity operation.

type nonrec get_credentials_for_identity_input = {
  1. custom_role_arn : arn_string option;
    (*

    The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.

    *)
  2. logins : logins_map option;
    (*

    A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".

    Logins should not be specified when trying to get credentials for an unauthenticated identity.

    The Logins parameter is required when using identities associated with external identity providers such as Facebook. For examples of Logins maps, see the code examples in the External Identity Providers section of the Amazon Cognito Developer Guide.

    *)
  3. identity_id : identity_id;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Input to the GetCredentialsForIdentity action.

type nonrec describe_identity_pool_input = {
  1. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Input to the DescribeIdentityPool action.

type nonrec describe_identity_input = {
  1. identity_id : identity_id;
    (*

    A unique identifier in the format REGION:GUID.

    *)
}

Input to the DescribeIdentity action.

type nonrec delete_identity_pool_input = {
  1. identity_pool_id : identity_pool_id;
    (*

    An identity pool ID in the format REGION:GUID.

    *)
}

Input to the DeleteIdentityPool action.

type nonrec delete_identities_response = {
  1. unprocessed_identity_ids : unprocessed_identity_id_list option;
    (*

    An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.

    *)
}

Returned in response to a successful DeleteIdentities operation.

type nonrec delete_identities_input = {
  1. identity_ids_to_delete : identity_id_list;
    (*

    A list of 1-60 identities that you want to delete.

    *)
}

Input to the DeleteIdentities action.

type nonrec create_identity_pool_input = {
  1. identity_pool_tags : identity_pool_tags_type option;
    (*

    Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

    *)
  2. saml_provider_ar_ns : saml_provider_list option;
    (*

    An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

    *)
  3. cognito_identity_providers : cognito_identity_provider_list option;
    (*

    An array of Amazon Cognito user pools and their client IDs.

    *)
  4. open_id_connect_provider_ar_ns : oidc_provider_list option;
    (*

    The Amazon Resource Names (ARN) of the OpenID Connect providers.

    *)
  5. developer_provider_name : developer_provider_name option;
    (*

    The "domain" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the DeveloperProviderName, you can use letters as well as period (.), underscore (_), and dash (-).

    Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.

    *)
  6. supported_login_providers : identity_providers option;
    (*

    Optional key:value pairs mapping provider names to provider app IDs.

    *)
  7. allow_classic_flow : classic_flow option;
    (*

    Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.

    *)
  8. allow_unauthenticated_identities : identity_pool_unauthenticated;
    (*

    TRUE if the identity pool supports unauthenticated logins.

    *)
  9. identity_pool_name : identity_pool_name;
    (*

    A string that you provide.

    *)
}

Input to the CreateIdentityPool action.