amazonka-cognito-identity-1.3.3.1: Amazon Cognito Identity SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoIdentity.Types

Contents

Description

 

Synopsis

Service Configuration

cognitoIdentity :: Service Source

API version '2014-06-30' of the Amazon Cognito Identity SDK configuration.

Errors

_InvalidIdentityPoolConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown if the identity pool has no role associated for the given auth type (auth/unauth) or if the AssumeRole fails.

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown for missing or bad input parameter(s).

_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown when a user is not authorized to access the requested resource.

_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown when the service encounters an error during processing the request.

_ExternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source

An exception thrown when a dependent service such as Facebook or Twitter is not responding

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown when a request is throttled.

_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown if there are parallel requests to modify a resource.

_ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown when a user tries to use a login which is already linked to another account.

_DeveloperUserAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError Source

The provided developer user identifier is already registered with Cognito under a different identity ID.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown when the requested resource (for example, a dataset or record) does not exist.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source

Thrown when the total number of user pools has exceeded a preset limit.

CognitoErrorCode

Credentials

credentials :: Credentials Source

Creates a value of Credentials with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cSessionToken :: Lens' Credentials (Maybe Text) Source

The Session Token portion of the credentials

cExpiration :: Lens' Credentials (Maybe UTCTime) Source

The date at which these credentials will expire.

cSecretKey :: Lens' Credentials (Maybe Text) Source

The Secret Access Key portion of the credentials

cAccessKeyId :: Lens' Credentials (Maybe Text) Source

The Access Key portion of the credentials.

IdentityDescription

identityDescription :: IdentityDescription Source

Creates a value of IdentityDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

idLastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime) Source

Date on which the identity was last modified.

idCreationDate :: Lens' IdentityDescription (Maybe UTCTime) Source

Date on which the identity was created.

idLogins :: Lens' IdentityDescription [Text] Source

A set of optional name-value pairs that map provider names to provider tokens.

idIdentityId :: Lens' IdentityDescription (Maybe Text) Source

A unique identifier in the format REGION:GUID.

IdentityPool

ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text) Source

Optional key:value pairs mapping provider names to provider app IDs.

ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text) Source

The "domain" by which Cognito will refer to your users.

ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text] Source

A list of OpendID Connect provider ARNs.

ipIdentityPoolId :: Lens' IdentityPool Text Source

An identity pool ID in the format REGION:GUID.

ipIdentityPoolName :: Lens' IdentityPool Text Source

A string that you provide.

ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool Source

TRUE if the identity pool supports unauthenticated logins.

IdentityPoolShortDescription

identityPoolShortDescription :: IdentityPoolShortDescription Source

Creates a value of IdentityPoolShortDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ipsdIdentityPoolId :: Lens' IdentityPoolShortDescription (Maybe Text) Source

An identity pool ID in the format REGION:GUID.

UnprocessedIdentityId

unprocessedIdentityId :: UnprocessedIdentityId Source

Creates a value of UnprocessedIdentityId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uiiErrorCode :: Lens' UnprocessedIdentityId (Maybe CognitoErrorCode) Source

The error code indicating the type of error that occurred.

uiiIdentityId :: Lens' UnprocessedIdentityId (Maybe Text) Source

A unique identifier in the format REGION:GUID.