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 usage details (for example, data storage) about a particular 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.
- describeIdentityPoolUsage :: Text -> DescribeIdentityPoolUsage
- data DescribeIdentityPoolUsage
- dipuIdentityPoolId :: Lens' DescribeIdentityPoolUsage Text
- describeIdentityPoolUsageResponse :: Int -> DescribeIdentityPoolUsageResponse
- data DescribeIdentityPoolUsageResponse
- dipursIdentityPoolUsage :: Lens' DescribeIdentityPoolUsageResponse (Maybe IdentityPoolUsage)
- dipursResponseStatus :: Lens' DescribeIdentityPoolUsageResponse Int
Creating a Request
describeIdentityPoolUsage Source #
Creates a value of DescribeIdentityPoolUsage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dipuIdentityPoolId
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
data DescribeIdentityPoolUsage Source #
A request for usage information about the identity pool.
See: describeIdentityPoolUsage
smart constructor.
Request Lenses
dipuIdentityPoolId :: Lens' DescribeIdentityPoolUsage Text Source #
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
Destructuring the Response
describeIdentityPoolUsageResponse Source #
Creates a value of DescribeIdentityPoolUsageResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dipursIdentityPoolUsage
- Information about the usage of the identity pool.dipursResponseStatus
- -- | The response status code.
data DescribeIdentityPoolUsageResponse Source #
Response to a successful DescribeIdentityPoolUsage request.
See: describeIdentityPoolUsageResponse
smart constructor.
Response Lenses
dipursIdentityPoolUsage :: Lens' DescribeIdentityPoolUsageResponse (Maybe IdentityPoolUsage) Source #
Information about the usage of the identity pool.
dipursResponseStatus :: Lens' DescribeIdentityPoolUsageResponse Int Source #
- - | The response status code.