amazonka-cognito-identity-1.0.1: Amazon Cognito Identity SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoIdentity.CreateIdentityPool

Contents

Description

Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The limit on identity pools is 60 per account. You must use AWS Developer credentials to call this API.

See: AWS API Reference for CreateIdentityPool.

Synopsis

Creating a Request

Request Lenses

cipSupportedLoginProviders :: Lens' CreateIdentityPool (HashMap Text Text) Source

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

cipDeveloperProviderName :: Lens' CreateIdentityPool (Maybe Text) Source

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.

cipOpenIdConnectProviderARNs :: Lens' CreateIdentityPool [Text] Source

A list of OpendID Connect provider ARNs.

cipAllowUnauthenticatedIdentities :: Lens' CreateIdentityPool Bool Source

TRUE if the identity pool supports unauthenticated logins.

Destructuring the Response

Response Lenses

ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text) Source

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

ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text) Source

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

ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text] Source

A list of OpendID Connect provider ARNs.

ipIdentityPoolId :: Lens' IdentityPool Text Source

An identity pool ID in the format REGION:GUID.

ipIdentityPoolName :: Lens' IdentityPool Text Source

A string that you provide.

ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool Source

TRUE if the identity pool supports unauthenticated logins.