libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoSync.DescribeIdentityUsage

Description

Gets usage information for an identity, including number of datasets and data usage.

This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.

Synopsis

Creating a Request

data DescribeIdentityUsage Source #

A request for information about the usage of an identity pool.

See: newDescribeIdentityUsage smart constructor.

Constructors

DescribeIdentityUsage' 

Fields

  • identityPoolId :: Text

    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.

  • identityId :: Text

    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.

Instances

Instances details
Eq DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Read DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Show DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Generic DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Associated Types

type Rep DescribeIdentityUsage :: Type -> Type #

NFData DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Methods

rnf :: DescribeIdentityUsage -> () #

Hashable DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

AWSRequest DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Associated Types

type AWSResponse DescribeIdentityUsage #

ToHeaders DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

ToPath DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

ToQuery DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

type Rep DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

type Rep DescribeIdentityUsage = D1 ('MetaData "DescribeIdentityUsage" "Amazonka.CognitoSync.DescribeIdentityUsage" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "DescribeIdentityUsage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeIdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

newDescribeIdentityUsage Source #

Create a value of DescribeIdentityUsage 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:DescribeIdentityUsage', describeIdentityUsage_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.

$sel:identityId:DescribeIdentityUsage', describeIdentityUsage_identityId - 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

describeIdentityUsage_identityPoolId :: Lens' DescribeIdentityUsage 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.

describeIdentityUsage_identityId :: Lens' DescribeIdentityUsage 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 DescribeIdentityUsageResponse Source #

The response to a successful DescribeIdentityUsage request.

See: newDescribeIdentityUsageResponse smart constructor.

Constructors

DescribeIdentityUsageResponse' 

Fields

Instances

Instances details
Eq DescribeIdentityUsageResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Read DescribeIdentityUsageResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Show DescribeIdentityUsageResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Generic DescribeIdentityUsageResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

Associated Types

type Rep DescribeIdentityUsageResponse :: Type -> Type #

NFData DescribeIdentityUsageResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

type Rep DescribeIdentityUsageResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.DescribeIdentityUsage

type Rep DescribeIdentityUsageResponse = D1 ('MetaData "DescribeIdentityUsageResponse" "Amazonka.CognitoSync.DescribeIdentityUsage" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "DescribeIdentityUsageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityUsage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IdentityUsage)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeIdentityUsageResponse Source #

Create a value of DescribeIdentityUsageResponse 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:identityUsage:DescribeIdentityUsageResponse', describeIdentityUsageResponse_identityUsage - Usage information for the identity.

$sel:httpStatus:DescribeIdentityUsageResponse', describeIdentityUsageResponse_httpStatus - The response's http status code.

Response Lenses