ó FRTc@svddlZddlmZddlmZddlmZddlmZddl m Z defd„ƒYZ dS( iÿÿÿÿN(tjson(tAWSQueryConnection(t RegionInfo(tJSONResponseError(t exceptionstCognitoIdentityConnectioncBsüeZdZdZdZdZdZdZeZ ie j d6e j d6e j d6e jd 6e jd 6e jd 6e jd 6Zd „Zd„Zdd„Zd„Zd„Zdd„Zdd„Zdd„Zdd„Zd„Zdd„Zd„ZRS(sò Amazon Cognito Amazon Cognito is a web service that facilitates the delivery of scoped, temporary credentials to mobile devices or other untrusted environments. Amazon Cognito uniquely identifies a device or user and supplies the user with a consistent identity throughout the lifetime of an application. Amazon Cognito lets users authenticate with third-party identity providers (Facebook, Google, or Login with Amazon). As a developer, you decide which identity providers to trust. You can also choose to support unauthenticated access from your application. Your users are provided with Cognito tokens that uniquely identify their device and any information provided about third-party logins. s 2014-06-30s us-east-1s(cognito-identity.us-east-1.amazonaws.comtCognitoIdentitytAWSCognitoIdentityServicetLimitExceededExceptiontResourceConflictExceptiontTooManyRequestsExceptiontInvalidParameterExceptiontResourceNotFoundExceptiontInternalErrorExceptiontNotAuthorizedExceptioncKs‚|jddƒ}|s3t||j|jƒ}nd|ksO|ddkr_|j|ds