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

Copyright(c) 2013-2016 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. The keys for SupportedLoginProviders are as follows:

  • Facebook: 'graph.facebook.com'
  • Google: 'accounts.google.com'
  • Amazon: 'www.amazon.com'
  • Twitter: 'api.twitter.com'
  • Digits: 'www.digits.com'

You must use AWS Developer credentials to call this API.

Synopsis

Creating a Request

data CreateIdentityPool Source #

Input to the CreateIdentityPool action.

See: createIdentityPool smart constructor.

Instances

Eq CreateIdentityPool Source # 
Data CreateIdentityPool Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateIdentityPool -> c CreateIdentityPool #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateIdentityPool #

toConstr :: CreateIdentityPool -> Constr #

dataTypeOf :: CreateIdentityPool -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateIdentityPool) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateIdentityPool) #

gmapT :: (forall b. Data b => b -> b) -> CreateIdentityPool -> CreateIdentityPool #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateIdentityPool -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateIdentityPool -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateIdentityPool -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateIdentityPool -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateIdentityPool -> m CreateIdentityPool #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateIdentityPool -> m CreateIdentityPool #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateIdentityPool -> m CreateIdentityPool #

Read CreateIdentityPool Source # 
Show CreateIdentityPool Source # 
Generic CreateIdentityPool Source # 
Hashable CreateIdentityPool Source # 
ToJSON CreateIdentityPool Source # 
NFData CreateIdentityPool Source # 

Methods

rnf :: CreateIdentityPool -> () #

AWSRequest CreateIdentityPool Source # 
ToQuery CreateIdentityPool Source # 
ToPath CreateIdentityPool Source # 
ToHeaders CreateIdentityPool Source # 
type Rep CreateIdentityPool Source # 
type Rep CreateIdentityPool = D1 (MetaData "CreateIdentityPool" "Network.AWS.CognitoIdentity.CreateIdentityPool" "amazonka-cognito-identity-1.4.3-EUwhJeFWNF240FmChzIWwA" False) (C1 (MetaCons "CreateIdentityPool'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cipSupportedLoginProviders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cipDeveloperProviderName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cipOpenIdConnectProviderARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) (S1 (MetaSel (Just Symbol "_cipCognitoIdentityProviders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CognitoIdentityProvider]))) ((:*:) (S1 (MetaSel (Just Symbol "_cipIdentityPoolName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cipAllowUnauthenticatedIdentities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))
type Rs CreateIdentityPool Source # 

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.

cipCognitoIdentityProviders :: Lens' CreateIdentityPool [CognitoIdentityProvider] Source #

A list representing a Cognito User Identity Pool and its client ID.

cipAllowUnauthenticatedIdentities :: Lens' CreateIdentityPool Bool Source #

TRUE if the identity pool supports unauthenticated logins.

Destructuring the Response

data IdentityPool Source #

An object representing a Cognito identity pool.

See: identityPool smart constructor.

Instances

Eq IdentityPool Source # 
Data IdentityPool Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IdentityPool -> c IdentityPool #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IdentityPool #

toConstr :: IdentityPool -> Constr #

dataTypeOf :: IdentityPool -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c IdentityPool) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdentityPool) #

gmapT :: (forall b. Data b => b -> b) -> IdentityPool -> IdentityPool #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IdentityPool -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IdentityPool -> r #

gmapQ :: (forall d. Data d => d -> u) -> IdentityPool -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IdentityPool -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IdentityPool -> m IdentityPool #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityPool -> m IdentityPool #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityPool -> m IdentityPool #

Read IdentityPool Source # 
Show IdentityPool Source # 
Generic IdentityPool Source # 

Associated Types

type Rep IdentityPool :: * -> * #

Hashable IdentityPool Source # 
ToJSON IdentityPool Source # 
FromJSON IdentityPool Source # 
NFData IdentityPool Source # 

Methods

rnf :: IdentityPool -> () #

type Rep IdentityPool Source # 
type Rep IdentityPool = D1 (MetaData "IdentityPool" "Network.AWS.CognitoIdentity.Types.Product" "amazonka-cognito-identity-1.4.3-EUwhJeFWNF240FmChzIWwA" False) (C1 (MetaCons "IdentityPool'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ipSupportedLoginProviders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ipDeveloperProviderName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ipOpenIdConnectProviderARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ipCognitoIdentityProviders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CognitoIdentityProvider]))) (S1 (MetaSel (Just Symbol "_ipIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ipIdentityPoolName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ipAllowUnauthenticatedIdentities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))

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.

ipCognitoIdentityProviders :: Lens' IdentityPool [CognitoIdentityProvider] Source #

A list representing a Cognito User Identity Pool and its client ID.

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.