libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoSync.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

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

Thrown when a request parameter does not comply with the associated constraints.

_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 #

Indicates an internal service error.

_InvalidConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for InvalidConfigurationException' errors.

_DuplicateRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.

_LambdaThrottledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Lambda throttled your account, please contact AWS Support

_AlreadyStreamedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.

_InvalidLambdaFunctionOutputException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The AWS Lambda function returned invalid output or an exception.

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

Thrown if the 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 if an update can't be applied because the resource was changed by another call and this would result in a conflict.

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

Thrown if the resource doesn't exist.

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

Thrown when the limit on the number of objects or operations has been exceeded.

BulkPublishStatus

newtype BulkPublishStatus Source #

Instances

Instances details
Eq BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

Ord BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

Read BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

Show BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

Generic BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

Associated Types

type Rep BulkPublishStatus :: Type -> Type #

NFData BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

Methods

rnf :: BulkPublishStatus -> () #

Hashable BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToJSON BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToJSONKey BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

FromJSON BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

FromJSONKey BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToLog BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToHeader BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToQuery BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

FromXML BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToXML BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToByteString BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

FromText BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

ToText BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

type Rep BulkPublishStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.BulkPublishStatus

type Rep BulkPublishStatus = D1 ('MetaData "BulkPublishStatus" "Amazonka.CognitoSync.Types.BulkPublishStatus" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'True) (C1 ('MetaCons "BulkPublishStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBulkPublishStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Operation

newtype Operation Source #

Constructors

Operation' 

Fields

Bundled Patterns

pattern Operation_Remove :: Operation 
pattern Operation_Replace :: Operation 

Instances

Instances details
Eq Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Ord Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Read Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Show Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Generic Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Associated Types

type Rep Operation :: Type -> Type #

NFData Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Methods

rnf :: Operation -> () #

Hashable Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

ToJSON Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

ToJSONKey Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

FromJSON Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

FromJSONKey Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

ToLog Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

ToHeader Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

ToQuery Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

FromXML Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

ToXML Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Methods

toXML :: Operation -> XML #

ToByteString Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Methods

toBS :: Operation -> ByteString #

FromText Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

ToText Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

Methods

toText :: Operation -> Text #

type Rep Operation Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Operation

type Rep Operation = D1 ('MetaData "Operation" "Amazonka.CognitoSync.Types.Operation" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'True) (C1 ('MetaCons "Operation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOperation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Platform

newtype Platform Source #

Constructors

Platform' 

Fields

Bundled Patterns

pattern Platform_ADM :: Platform 
pattern Platform_APNS :: Platform 
pattern Platform_APNS_SANDBOX :: Platform 
pattern Platform_GCM :: Platform 

Instances

Instances details
Eq Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Ord Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Read Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Show Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Generic Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Associated Types

type Rep Platform :: Type -> Type #

Methods

from :: Platform -> Rep Platform x #

to :: Rep Platform x -> Platform #

NFData Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Methods

rnf :: Platform -> () #

Hashable Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Methods

hashWithSalt :: Int -> Platform -> Int #

hash :: Platform -> Int #

ToJSON Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

ToJSONKey Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

FromJSON Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

FromJSONKey Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

ToLog Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

ToHeader Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Methods

toHeader :: HeaderName -> Platform -> [Header] #

ToQuery Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

FromXML Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

ToXML Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Methods

toXML :: Platform -> XML #

ToByteString Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Methods

toBS :: Platform -> ByteString #

FromText Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

ToText Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

Methods

toText :: Platform -> Text #

type Rep Platform Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Platform

type Rep Platform = D1 ('MetaData "Platform" "Amazonka.CognitoSync.Types.Platform" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'True) (C1 ('MetaCons "Platform'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StreamingStatus

newtype StreamingStatus Source #

Constructors

StreamingStatus' 

Instances

Instances details
Eq StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

Ord StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

Read StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

Show StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

Generic StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

Associated Types

type Rep StreamingStatus :: Type -> Type #

NFData StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

Methods

rnf :: StreamingStatus -> () #

Hashable StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

ToJSON StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

ToJSONKey StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

FromJSON StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

FromJSONKey StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

ToLog StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

ToHeader StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

ToQuery StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

FromXML StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

ToXML StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

Methods

toXML :: StreamingStatus -> XML #

ToByteString StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

FromText StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

ToText StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

type Rep StreamingStatus Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.StreamingStatus

type Rep StreamingStatus = D1 ('MetaData "StreamingStatus" "Amazonka.CognitoSync.Types.StreamingStatus" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'True) (C1 ('MetaCons "StreamingStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStreamingStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CognitoStreams

data CognitoStreams Source #

Configuration options for configure Cognito streams.

See: newCognitoStreams smart constructor.

Constructors

CognitoStreams' 

Fields

  • streamingStatus :: Maybe StreamingStatus

    Status of the Cognito streams. Valid values are:

    ENABLED - Streaming of updates to identity pool is enabled.

    DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.

  • streamName :: Maybe Text

    The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.

  • roleArn :: Maybe Text

    The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.

Instances

Instances details
Eq CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

Read CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

Show CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

Generic CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

Associated Types

type Rep CognitoStreams :: Type -> Type #

NFData CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

Methods

rnf :: CognitoStreams -> () #

Hashable CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

ToJSON CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

FromJSON CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

type Rep CognitoStreams Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.CognitoStreams

type Rep CognitoStreams = D1 ('MetaData "CognitoStreams" "Amazonka.CognitoSync.Types.CognitoStreams" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "CognitoStreams'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamingStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingStatus)) :*: (S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCognitoStreams :: CognitoStreams Source #

Create a value of CognitoStreams with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:streamingStatus:CognitoStreams', cognitoStreams_streamingStatus - Status of the Cognito streams. Valid values are:

ENABLED - Streaming of updates to identity pool is enabled.

DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.

$sel:streamName:CognitoStreams', cognitoStreams_streamName - The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.

$sel:roleArn:CognitoStreams', cognitoStreams_roleArn - The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.

cognitoStreams_streamingStatus :: Lens' CognitoStreams (Maybe StreamingStatus) Source #

Status of the Cognito streams. Valid values are:

ENABLED - Streaming of updates to identity pool is enabled.

DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.

cognitoStreams_streamName :: Lens' CognitoStreams (Maybe Text) Source #

The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.

cognitoStreams_roleArn :: Lens' CognitoStreams (Maybe Text) Source #

The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.

Dataset

data Dataset Source #

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.

See: newDataset smart constructor.

Constructors

Dataset' 

Fields

Instances

Instances details
Eq Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

Methods

(==) :: Dataset -> Dataset -> Bool #

(/=) :: Dataset -> Dataset -> Bool #

Read Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

Show Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

Generic Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

Associated Types

type Rep Dataset :: Type -> Type #

Methods

from :: Dataset -> Rep Dataset x #

to :: Rep Dataset x -> Dataset #

NFData Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

Methods

rnf :: Dataset -> () #

Hashable Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

Methods

hashWithSalt :: Int -> Dataset -> Int #

hash :: Dataset -> Int #

FromJSON Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

type Rep Dataset Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Dataset

type Rep Dataset = D1 ('MetaData "Dataset" "Amazonka.CognitoSync.Types.Dataset" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "Dataset'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "numRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "dataStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "datasetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDataset :: Dataset Source #

Create a value of Dataset with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedDate:Dataset', dataset_lastModifiedDate - Date when the dataset was last modified.

$sel:numRecords:Dataset', dataset_numRecords - Number of records in this dataset.

$sel:dataStorage:Dataset', dataset_dataStorage - Total size in bytes of the records in this dataset.

$sel:datasetName:Dataset', dataset_datasetName - A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).

$sel:creationDate:Dataset', dataset_creationDate - Date on which the dataset was created.

$sel:lastModifiedBy:Dataset', dataset_lastModifiedBy - The device that made the last change to this dataset.

$sel:identityId:Dataset', dataset_identityId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

dataset_lastModifiedDate :: Lens' Dataset (Maybe UTCTime) Source #

Date when the dataset was last modified.

dataset_numRecords :: Lens' Dataset (Maybe Integer) Source #

Number of records in this dataset.

dataset_dataStorage :: Lens' Dataset (Maybe Integer) Source #

Total size in bytes of the records in this dataset.

dataset_datasetName :: Lens' Dataset (Maybe Text) Source #

A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).

dataset_creationDate :: Lens' Dataset (Maybe UTCTime) Source #

Date on which the dataset was created.

dataset_lastModifiedBy :: Lens' Dataset (Maybe Text) Source #

The device that made the last change to this dataset.

dataset_identityId :: Lens' Dataset (Maybe Text) Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

IdentityPoolUsage

data IdentityPoolUsage Source #

Usage information for the identity pool.

See: newIdentityPoolUsage smart constructor.

Constructors

IdentityPoolUsage' 

Fields

Instances

Instances details
Eq IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

Read IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

Show IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

Generic IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

Associated Types

type Rep IdentityPoolUsage :: Type -> Type #

NFData IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

Methods

rnf :: IdentityPoolUsage -> () #

Hashable IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

FromJSON IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

type Rep IdentityPoolUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityPoolUsage

type Rep IdentityPoolUsage = D1 ('MetaData "IdentityPoolUsage" "Amazonka.CognitoSync.Types.IdentityPoolUsage" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "IdentityPoolUsage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "syncSessionsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newIdentityPoolUsage :: IdentityPoolUsage Source #

Create a value of IdentityPoolUsage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedDate:IdentityPoolUsage', identityPoolUsage_lastModifiedDate - Date on which the identity pool was last modified.

$sel:identityPoolId:IdentityPoolUsage', identityPoolUsage_identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

$sel:dataStorage:IdentityPoolUsage', identityPoolUsage_dataStorage - Data storage information for the identity pool.

$sel:syncSessionsCount:IdentityPoolUsage', identityPoolUsage_syncSessionsCount - Number of sync sessions for the identity pool.

identityPoolUsage_lastModifiedDate :: Lens' IdentityPoolUsage (Maybe UTCTime) Source #

Date on which the identity pool was last modified.

identityPoolUsage_identityPoolId :: Lens' IdentityPoolUsage (Maybe Text) Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

identityPoolUsage_dataStorage :: Lens' IdentityPoolUsage (Maybe Integer) Source #

Data storage information for the identity pool.

identityPoolUsage_syncSessionsCount :: Lens' IdentityPoolUsage (Maybe Integer) Source #

Number of sync sessions for the identity pool.

IdentityUsage

data IdentityUsage Source #

Usage information for the identity.

See: newIdentityUsage smart constructor.

Constructors

IdentityUsage' 

Fields

Instances

Instances details
Eq IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

Read IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

Show IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

Generic IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

Associated Types

type Rep IdentityUsage :: Type -> Type #

NFData IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

Methods

rnf :: IdentityUsage -> () #

Hashable IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

FromJSON IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

type Rep IdentityUsage Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.IdentityUsage

type Rep IdentityUsage = D1 ('MetaData "IdentityUsage" "Amazonka.CognitoSync.Types.IdentityUsage" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "IdentityUsage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "datasetCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "dataStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newIdentityUsage :: IdentityUsage Source #

Create a value of IdentityUsage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedDate:IdentityUsage', identityUsage_lastModifiedDate - Date on which the identity was last modified.

$sel:identityPoolId:IdentityUsage', identityUsage_identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

$sel:datasetCount:IdentityUsage', identityUsage_datasetCount - Number of datasets for the identity.

$sel:dataStorage:IdentityUsage', identityUsage_dataStorage - Total data storage for this identity.

$sel:identityId:IdentityUsage', identityUsage_identityId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

identityUsage_lastModifiedDate :: Lens' IdentityUsage (Maybe UTCTime) Source #

Date on which the identity was last modified.

identityUsage_identityPoolId :: Lens' IdentityUsage (Maybe Text) Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

identityUsage_datasetCount :: Lens' IdentityUsage (Maybe Int) Source #

Number of datasets for the identity.

identityUsage_dataStorage :: Lens' IdentityUsage (Maybe Integer) Source #

Total data storage for this identity.

identityUsage_identityId :: Lens' IdentityUsage (Maybe Text) Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.

PushSync

data PushSync Source #

Configuration options to be applied to the identity pool.

See: newPushSync smart constructor.

Constructors

PushSync' 

Fields

Instances

Instances details
Eq PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

Read PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

Show PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

Generic PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

Associated Types

type Rep PushSync :: Type -> Type #

Methods

from :: PushSync -> Rep PushSync x #

to :: Rep PushSync x -> PushSync #

NFData PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

Methods

rnf :: PushSync -> () #

Hashable PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

Methods

hashWithSalt :: Int -> PushSync -> Int #

hash :: PushSync -> Int #

ToJSON PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

FromJSON PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

type Rep PushSync Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.PushSync

type Rep PushSync = D1 ('MetaData "PushSync" "Amazonka.CognitoSync.Types.PushSync" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "PushSync'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPushSync :: PushSync Source #

Create a value of PushSync with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:applicationArns:PushSync', pushSync_applicationArns - List of SNS platform application ARNs that could be used by clients.

$sel:roleArn:PushSync', pushSync_roleArn - A role configured to allow Cognito to call SNS on behalf of the developer.

pushSync_applicationArns :: Lens' PushSync (Maybe [Text]) Source #

List of SNS platform application ARNs that could be used by clients.

pushSync_roleArn :: Lens' PushSync (Maybe Text) Source #

A role configured to allow Cognito to call SNS on behalf of the developer.

Record

data Record Source #

The basic data structure of a dataset.

See: newRecord smart constructor.

Constructors

Record' 

Fields

Instances

Instances details
Eq Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Methods

(==) :: Record -> Record -> Bool #

(/=) :: Record -> Record -> Bool #

Read Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Show Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Generic Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

NFData Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Methods

rnf :: Record -> () #

Hashable Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

type Rep Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

type Rep Record = D1 ('MetaData "Record" "Amazonka.CognitoSync.Types.Record" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "Record'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "syncCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "deviceLastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newRecord :: Record Source #

Create a value of Record with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:syncCount:Record', record_syncCount - The server sync count for this record.

$sel:deviceLastModifiedDate:Record', record_deviceLastModifiedDate - The last modified date of the client device.

$sel:lastModifiedDate:Record', record_lastModifiedDate - The date on which the record was last modified.

$sel:value:Record', record_value - The value for the record.

$sel:key:Record', record_key - The key for the record.

$sel:lastModifiedBy:Record', record_lastModifiedBy - The user/device that made the last change to this record.

record_syncCount :: Lens' Record (Maybe Integer) Source #

The server sync count for this record.

record_deviceLastModifiedDate :: Lens' Record (Maybe UTCTime) Source #

The last modified date of the client device.

record_lastModifiedDate :: Lens' Record (Maybe UTCTime) Source #

The date on which the record was last modified.

record_value :: Lens' Record (Maybe Text) Source #

The value for the record.

record_key :: Lens' Record (Maybe Text) Source #

The key for the record.

record_lastModifiedBy :: Lens' Record (Maybe Text) Source #

The user/device that made the last change to this record.

RecordPatch

data RecordPatch Source #

An update operation for a record.

See: newRecordPatch smart constructor.

Constructors

RecordPatch' 

Fields

Instances

Instances details
Eq RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

Read RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

Show RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

Generic RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

Associated Types

type Rep RecordPatch :: Type -> Type #

NFData RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

Methods

rnf :: RecordPatch -> () #

Hashable RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

ToJSON RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

type Rep RecordPatch Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.RecordPatch

type Rep RecordPatch = D1 ('MetaData "RecordPatch" "Amazonka.CognitoSync.Types.RecordPatch" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "RecordPatch'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deviceLastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Operation) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "syncCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))))

newRecordPatch Source #

Create a value of RecordPatch with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deviceLastModifiedDate:RecordPatch', recordPatch_deviceLastModifiedDate - The last modified date of the client device.

$sel:value:RecordPatch', recordPatch_value - The value associated with the record patch.

$sel:op:RecordPatch', recordPatch_op - An operation, either replace or remove.

$sel:key:RecordPatch', recordPatch_key - The key associated with the record patch.

$sel:syncCount:RecordPatch', recordPatch_syncCount - Last known server sync count for this record. Set to 0 if unknown.

recordPatch_deviceLastModifiedDate :: Lens' RecordPatch (Maybe UTCTime) Source #

The last modified date of the client device.

recordPatch_value :: Lens' RecordPatch (Maybe Text) Source #

The value associated with the record patch.

recordPatch_op :: Lens' RecordPatch Operation Source #

An operation, either replace or remove.

recordPatch_key :: Lens' RecordPatch Text Source #

The key associated with the record patch.

recordPatch_syncCount :: Lens' RecordPatch Integer Source #

Last known server sync count for this record. Set to 0 if unknown.