amazonka-cognito-sync-0.1.2: Amazon Cognito Sync SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoSync.ListDatasets

Contents

Description

Lists datasets for an identity. The credentials used to make this API call need to have access to the identity data. With Amazon Cognito Sync, each identity has access only to its own data. You should use Amazon Cognito Identity service to retrieve the credentials necessary to make this API call.

http://docs.aws.amazon.com/cognitosync/latest/APIReference/API_ListDatasets.html

Synopsis

Request

Request constructor

listDatasets Source

ListDatasets constructor.

The fields accessible through corresponding lenses are:

Request lenses

ldIdentityId :: Lens' ListDatasets 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.

ldIdentityPoolId :: Lens' ListDatasets 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.

ldMaxResults :: Lens' ListDatasets (Maybe Int) Source

The maximum number of results to be returned.

ldNextToken :: Lens' ListDatasets (Maybe Text) Source

A pagination token for obtaining the next page of results.

Response

Response constructor

listDatasetsResponse :: ListDatasetsResponse Source

ListDatasetsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

ldrCount :: Lens' ListDatasetsResponse (Maybe Int) Source

Number of datasets returned.

ldrNextToken :: Lens' ListDatasetsResponse (Maybe Text) Source

A pagination token for obtaining the next page of results.