amazonka-cognito-sync-1.4.5: Amazon Cognito Sync 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.CognitoSync.GetIdentityPoolConfiguration

Contents

Description

Gets the configuration settings of an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

Synopsis

Creating a Request

getIdentityPoolConfiguration #

Creates a value of GetIdentityPoolConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gipcIdentityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool for which to return a configuration.

data GetIdentityPoolConfiguration #

The input for the GetIdentityPoolConfiguration operation.

See: getIdentityPoolConfiguration smart constructor.

Instances

Eq GetIdentityPoolConfiguration # 
Data GetIdentityPoolConfiguration # 

Methods

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

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

toConstr :: GetIdentityPoolConfiguration -> Constr #

dataTypeOf :: GetIdentityPoolConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIdentityPoolConfiguration # 
Show GetIdentityPoolConfiguration # 
Generic GetIdentityPoolConfiguration # 
Hashable GetIdentityPoolConfiguration # 
NFData GetIdentityPoolConfiguration # 
AWSRequest GetIdentityPoolConfiguration # 
ToQuery GetIdentityPoolConfiguration # 
ToPath GetIdentityPoolConfiguration # 
ToHeaders GetIdentityPoolConfiguration # 
type Rep GetIdentityPoolConfiguration # 
type Rep GetIdentityPoolConfiguration = D1 (MetaData "GetIdentityPoolConfiguration" "Network.AWS.CognitoSync.GetIdentityPoolConfiguration" "amazonka-cognito-sync-1.4.5-6kgm8A380gaABwgTunDxt8" True) (C1 (MetaCons "GetIdentityPoolConfiguration'" PrefixI True) (S1 (MetaSel (Just Symbol "_gipcIdentityPoolId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetIdentityPoolConfiguration # 

Request Lenses

gipcIdentityPoolId :: Lens' GetIdentityPoolConfiguration Text #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool for which to return a configuration.

Destructuring the Response

getIdentityPoolConfigurationResponse #

Creates a value of GetIdentityPoolConfigurationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetIdentityPoolConfigurationResponse #

The output for the GetIdentityPoolConfiguration operation.

See: getIdentityPoolConfigurationResponse smart constructor.

Instances

Eq GetIdentityPoolConfigurationResponse # 
Data GetIdentityPoolConfigurationResponse # 

Methods

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

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

toConstr :: GetIdentityPoolConfigurationResponse -> Constr #

dataTypeOf :: GetIdentityPoolConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIdentityPoolConfigurationResponse # 
Show GetIdentityPoolConfigurationResponse # 
Generic GetIdentityPoolConfigurationResponse # 
NFData GetIdentityPoolConfigurationResponse # 
type Rep GetIdentityPoolConfigurationResponse # 
type Rep GetIdentityPoolConfigurationResponse = D1 (MetaData "GetIdentityPoolConfigurationResponse" "Network.AWS.CognitoSync.GetIdentityPoolConfiguration" "amazonka-cognito-sync-1.4.5-6kgm8A380gaABwgTunDxt8" False) (C1 (MetaCons "GetIdentityPoolConfigurationResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gipcrsIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gipcrsCognitoStreams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CognitoStreams)))) ((:*:) (S1 (MetaSel (Just Symbol "_gipcrsPushSync") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushSync))) (S1 (MetaSel (Just Symbol "_gipcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gipcrsIdentityPoolId :: Lens' GetIdentityPoolConfigurationResponse (Maybe Text) #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

gipcrsCognitoStreams :: Lens' GetIdentityPoolConfigurationResponse (Maybe CognitoStreams) #

Options to apply to this identity pool for Amazon Cognito streams.

gipcrsPushSync :: Lens' GetIdentityPoolConfigurationResponse (Maybe PushSync) #

Options to apply to this identity pool for push synchronization.