File: //usr/lib/python3/dist-packages/boto/cognito/sync/__pycache__/layer1.cpython-310.pyc
o
ckF[�R � @ sP d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z G dd� de�Z
dS ) � )�json)�JSONResponseError)�AWSAuthConnection)�
RegionInfo)�
exceptionsc s� e Zd ZdZdZdZdZeZe j
e je je j
e je je je jd�Z� fdd�Zdd � Zd
d� Zdd
� Zdd� Zdd� Zdd� Z d(dd�Zd(dd�Z d)dd�Zdd� Z d*dd�Zdd � Zd!d"� Z d+d#d$�Z! % d,d&d'�Z"� Z#S )-�CognitoSyncConnectiona�
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`_.
z
2014-06-30z us-east-1z$cognito-sync.us-east-1.amazonaws.com)�LimitExceededException�ResourceConflictException�InvalidConfigurationException�TooManyRequestsException�InvalidParameterException�ResourceNotFoundException�InternalErrorException�NotAuthorizedExceptionc sP |� d�}|st| | j| j�}n|d= |j|d<