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 |
Amazonka.CognitoSync.DescribeIdentityPoolUsage
Description
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.
Synopsis
- data DescribeIdentityPoolUsage = DescribeIdentityPoolUsage' {}
- newDescribeIdentityPoolUsage :: Text -> DescribeIdentityPoolUsage
- describeIdentityPoolUsage_identityPoolId :: Lens' DescribeIdentityPoolUsage Text
- data DescribeIdentityPoolUsageResponse = DescribeIdentityPoolUsageResponse' {}
- newDescribeIdentityPoolUsageResponse :: Int -> DescribeIdentityPoolUsageResponse
- describeIdentityPoolUsageResponse_identityPoolUsage :: Lens' DescribeIdentityPoolUsageResponse (Maybe IdentityPoolUsage)
- describeIdentityPoolUsageResponse_httpStatus :: Lens' DescribeIdentityPoolUsageResponse Int
Creating a Request
data DescribeIdentityPoolUsage Source #
A request for usage information about the identity pool.
See: newDescribeIdentityPoolUsage
smart constructor.
Constructors
DescribeIdentityPoolUsage' | |
Fields
|
Instances
newDescribeIdentityPoolUsage Source #
Create a value of DescribeIdentityPoolUsage
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:DescribeIdentityPoolUsage'
, describeIdentityPoolUsage_identityPoolId
- 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.
Request Lenses
describeIdentityPoolUsage_identityPoolId :: 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
data DescribeIdentityPoolUsageResponse Source #
Response to a successful DescribeIdentityPoolUsage request.
See: newDescribeIdentityPoolUsageResponse
smart constructor.
Constructors
DescribeIdentityPoolUsageResponse' | |
Fields
|
Instances
newDescribeIdentityPoolUsageResponse Source #
Arguments
:: Int | |
-> DescribeIdentityPoolUsageResponse |
Create a value of DescribeIdentityPoolUsageResponse
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:identityPoolUsage:DescribeIdentityPoolUsageResponse'
, describeIdentityPoolUsageResponse_identityPoolUsage
- Information about the usage of the identity pool.
$sel:httpStatus:DescribeIdentityPoolUsageResponse'
, describeIdentityPoolUsageResponse_httpStatus
- The response's http status code.
Response Lenses
describeIdentityPoolUsageResponse_identityPoolUsage :: Lens' DescribeIdentityPoolUsageResponse (Maybe IdentityPoolUsage) Source #
Information about the usage of the identity pool.
describeIdentityPoolUsageResponse_httpStatus :: Lens' DescribeIdentityPoolUsageResponse Int Source #
The response's http status code.