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 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.
DescribeIdentityPoolUsage' | |
|
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.
DescribeIdentityPoolUsageResponse' | |
|
Instances
Eq DescribeIdentityPoolUsageResponse Source # | |
Read DescribeIdentityPoolUsageResponse Source # | |
Show DescribeIdentityPoolUsageResponse Source # | |
Generic DescribeIdentityPoolUsageResponse Source # | |
NFData DescribeIdentityPoolUsageResponse Source # | |
Defined in Amazonka.CognitoSync.DescribeIdentityPoolUsage rnf :: DescribeIdentityPoolUsageResponse -> () # | |
type Rep DescribeIdentityPoolUsageResponse Source # | |
Defined in Amazonka.CognitoSync.DescribeIdentityPoolUsage type Rep DescribeIdentityPoolUsageResponse = D1 ('MetaData "DescribeIdentityPoolUsageResponse" "Amazonka.CognitoSync.DescribeIdentityPoolUsage" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "DescribeIdentityPoolUsageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityPoolUsage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IdentityPoolUsage)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeIdentityPoolUsageResponse Source #
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.