logo
Expand description

Amazon Cognito Sync

Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of application-related user data. High-level client libraries are available for both iOS and Android. You can use these libraries to persist data locally so that it's available even if the device is offline. Developer credentials don't need to be stored on the mobile device to access the service. You can use Amazon Cognito to obtain a normalized user ID and credentials. User data is persisted in a dataset that can store up to 1 MB of key-value pairs, and you can have up to 20 datasets per user identity.

With Amazon Cognito Sync, the data stored for each identity is accessible only to credentials assigned to that identity. In order to use the Cognito Sync service, you need to make API calls using credentials retrieved with Amazon Cognito Identity service.

If you want to use Cognito Sync in an Android or iOS application, you will probably want to make API calls via the AWS Mobile SDK. To learn more, see the Developer Guide for Android and the Developer Guide for iOS.

If you’re using the service, you’re probably looking for CognitoSyncClient and CognitoSync.

Structs

The input for the BulkPublish operation.

The output for the BulkPublish operation.

Configuration options for configure Cognito streams.

A client for the Amazon Cognito Sync API.

A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.

A request to delete the specific dataset.

Response to a successful DeleteDataset request.

A request for meta data about a dataset (creation date, number of records, size) by owner and dataset name.

Response to a successful DescribeDataset request.

A request for usage information about the identity pool.

Response to a successful DescribeIdentityPoolUsage request.

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

The response to a successful DescribeIdentityUsage request.

The input for the GetBulkPublishDetails operation.

The output for the GetBulkPublishDetails operation.

A request for a list of the configured Cognito Events

The response from the GetCognitoEvents request

The input for the GetIdentityPoolConfiguration operation.

The output for the GetIdentityPoolConfiguration operation.

Usage information for the identity pool.

Usage information for the identity.

Request for a list of datasets for an identity.

Returned for a successful ListDatasets request.

A request for usage information on an identity pool.

Returned for a successful ListIdentityPoolUsage request.

A request for a list of records.

Returned for a successful ListRecordsRequest.

Configuration options to be applied to the identity pool.

The basic data structure of a dataset.

An update operation for a record.

A request to RegisterDevice.

Response to a RegisterDevice request.

A request to configure Cognito Events

The input for the SetIdentityPoolConfiguration operation.

The output for the SetIdentityPoolConfiguration operation

A request to SubscribeToDatasetRequest.

Response to a SubscribeToDataset request.

A request to UnsubscribeFromDataset.

Response to an UnsubscribeFromDataset request.

A request to post updates to records or add and delete records for a dataset and user.

Returned for a successful UpdateRecordsRequest.

Enums

Errors returned by BulkPublish

Errors returned by DeleteDataset

Errors returned by DescribeDataset

Errors returned by DescribeIdentityPoolUsage

Errors returned by DescribeIdentityUsage

Errors returned by GetBulkPublishDetails

Errors returned by GetCognitoEvents

Errors returned by GetIdentityPoolConfiguration

Errors returned by ListDatasets

Errors returned by ListIdentityPoolUsage

Errors returned by ListRecords

Errors returned by RegisterDevice

Errors returned by SetCognitoEvents

Errors returned by SetIdentityPoolConfiguration

Errors returned by SubscribeToDataset

Errors returned by UnsubscribeFromDataset

Errors returned by UpdateRecords

Traits

Trait representing the capabilities of the Amazon Cognito Sync API. Amazon Cognito Sync clients implement this trait.