Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- getIdentityPoolConfiguration :: Text -> GetIdentityPoolConfiguration
- data GetIdentityPoolConfiguration
- gipcIdentityPoolId :: Lens' GetIdentityPoolConfiguration Text
- getIdentityPoolConfigurationResponse :: Int -> GetIdentityPoolConfigurationResponse
- data GetIdentityPoolConfigurationResponse
- gipcrsIdentityPoolId :: Lens' GetIdentityPoolConfigurationResponse (Maybe Text)
- gipcrsCognitoStreams :: Lens' GetIdentityPoolConfigurationResponse (Maybe CognitoStreams)
- gipcrsPushSync :: Lens' GetIdentityPoolConfigurationResponse (Maybe PushSync)
- gipcrsResponseStatus :: Lens' GetIdentityPoolConfigurationResponse Int
Creating a Request
getIdentityPoolConfiguration Source #
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 Source #
The input for the GetIdentityPoolConfiguration operation.
See: getIdentityPoolConfiguration
smart constructor.
Request Lenses
gipcIdentityPoolId :: Lens' GetIdentityPoolConfiguration Text Source #
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 Source #
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:
gipcrsIdentityPoolId
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.gipcrsCognitoStreams
- Options to apply to this identity pool for Amazon Cognito streams.gipcrsPushSync
- Options to apply to this identity pool for push synchronization.gipcrsResponseStatus
- -- | The response status code.
data GetIdentityPoolConfigurationResponse Source #
The output for the GetIdentityPoolConfiguration operation.
See: getIdentityPoolConfigurationResponse
smart constructor.
Response Lenses
gipcrsIdentityPoolId :: Lens' GetIdentityPoolConfigurationResponse (Maybe Text) Source #
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
gipcrsCognitoStreams :: Lens' GetIdentityPoolConfigurationResponse (Maybe CognitoStreams) Source #
Options to apply to this identity pool for Amazon Cognito streams.
gipcrsPushSync :: Lens' GetIdentityPoolConfigurationResponse (Maybe PushSync) Source #
Options to apply to this identity pool for push synchronization.
gipcrsResponseStatus :: Lens' GetIdentityPoolConfigurationResponse Int Source #
- - | The response status code.