Copyright | (c) 2013-2021 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 |
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
- data GetIdentityPoolConfiguration = GetIdentityPoolConfiguration' {}
- newGetIdentityPoolConfiguration :: Text -> GetIdentityPoolConfiguration
- getIdentityPoolConfiguration_identityPoolId :: Lens' GetIdentityPoolConfiguration Text
- data GetIdentityPoolConfigurationResponse = GetIdentityPoolConfigurationResponse' {}
- newGetIdentityPoolConfigurationResponse :: Int -> GetIdentityPoolConfigurationResponse
- getIdentityPoolConfigurationResponse_identityPoolId :: Lens' GetIdentityPoolConfigurationResponse (Maybe Text)
- getIdentityPoolConfigurationResponse_cognitoStreams :: Lens' GetIdentityPoolConfigurationResponse (Maybe CognitoStreams)
- getIdentityPoolConfigurationResponse_pushSync :: Lens' GetIdentityPoolConfigurationResponse (Maybe PushSync)
- getIdentityPoolConfigurationResponse_httpStatus :: Lens' GetIdentityPoolConfigurationResponse Int
Creating a Request
data GetIdentityPoolConfiguration Source #
The input for the GetIdentityPoolConfiguration operation.
See: newGetIdentityPoolConfiguration
smart constructor.
GetIdentityPoolConfiguration' | |
|
Instances
newGetIdentityPoolConfiguration Source #
Create a value of GetIdentityPoolConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identityPoolId:GetIdentityPoolConfiguration'
, getIdentityPoolConfiguration_identityPoolId
- 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.
Request Lenses
getIdentityPoolConfiguration_identityPoolId :: 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
data GetIdentityPoolConfigurationResponse Source #
The output for the GetIdentityPoolConfiguration operation.
See: newGetIdentityPoolConfigurationResponse
smart constructor.
GetIdentityPoolConfigurationResponse' | |
|
Instances
newGetIdentityPoolConfigurationResponse Source #
Create a value of GetIdentityPoolConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identityPoolId:GetIdentityPoolConfiguration'
, getIdentityPoolConfigurationResponse_identityPoolId
- A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
$sel:cognitoStreams:GetIdentityPoolConfigurationResponse'
, getIdentityPoolConfigurationResponse_cognitoStreams
- Options to apply to this identity pool for Amazon Cognito streams.
$sel:pushSync:GetIdentityPoolConfigurationResponse'
, getIdentityPoolConfigurationResponse_pushSync
- Options to apply to this identity pool for push synchronization.
$sel:httpStatus:GetIdentityPoolConfigurationResponse'
, getIdentityPoolConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
getIdentityPoolConfigurationResponse_identityPoolId :: Lens' GetIdentityPoolConfigurationResponse (Maybe Text) Source #
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
getIdentityPoolConfigurationResponse_cognitoStreams :: Lens' GetIdentityPoolConfigurationResponse (Maybe CognitoStreams) Source #
Options to apply to this identity pool for Amazon Cognito streams.
getIdentityPoolConfigurationResponse_pushSync :: Lens' GetIdentityPoolConfigurationResponse (Maybe PushSync) Source #
Options to apply to this identity pool for push synchronization.
getIdentityPoolConfigurationResponse_httpStatus :: Lens' GetIdentityPoolConfigurationResponse Int Source #
The response's http status code.