Package-level declarations

Types

Link copied to clipboard

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.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.

Link copied to clipboard

Deletes the specific dataset. The dataset will be deleted permanently, and the action can't be undone. Datasets that this dataset was merged with will no longer report the merge. Any subsequent operation on this dataset will result in a ResourceNotFoundException.

Link copied to clipboard

Gets meta data about a dataset by identity and dataset name. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data.

Link copied to clipboard

Gets usage details (for example, data storage) about a particular identity pool.

Link copied to clipboard

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

Link copied to clipboard

Get the status of the last BulkPublish operation for an identity pool.

Link copied to clipboard

Gets the events and the corresponding Lambda functions associated with an identity pool.

Link copied to clipboard

Gets the configuration settings of an identity pool.

Link copied to clipboard

Lists datasets for an identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data.

Link copied to clipboard

Gets a list of identity pools registered with Cognito.

Link copied to clipboard

Gets paginated records, optionally changed after a particular sync count for a dataset and identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data.

Link copied to clipboard

Registers a device to receive push sync notifications.

Link copied to clipboard

Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.

Link copied to clipboard

Sets the necessary configuration for push sync.

Link copied to clipboard

Subscribes to receive notifications when a dataset is modified by another device.

Link copied to clipboard

Unsubscribes from receiving notifications when a dataset is modified by another device.

Link copied to clipboard

Posts updates to records and adds and deletes records for a dataset and user.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.