amazonka-cognito-sync-1.6.1: Amazon Cognito Sync SDK.

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

Network.AWS.CognitoSync.Types

Contents

Description

 
Synopsis

Service Configuration

cognitoSync :: 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

data BulkPublishStatus Source #

Instances
Bounded BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Enum BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Eq BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Data BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BulkPublishStatus -> c BulkPublishStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BulkPublishStatus #

toConstr :: BulkPublishStatus -> Constr #

dataTypeOf :: BulkPublishStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BulkPublishStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BulkPublishStatus) #

gmapT :: (forall b. Data b => b -> b) -> BulkPublishStatus -> BulkPublishStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BulkPublishStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BulkPublishStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> BulkPublishStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BulkPublishStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BulkPublishStatus -> m BulkPublishStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BulkPublishStatus -> m BulkPublishStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BulkPublishStatus -> m BulkPublishStatus #

Ord BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Read BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Show BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Generic BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Associated Types

type Rep BulkPublishStatus :: Type -> Type #

Hashable BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

FromJSON BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToHeader BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToQuery BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToByteString BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

FromText BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToText BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

NFData BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

rnf :: BulkPublishStatus -> () #

type Rep BulkPublishStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

type Rep BulkPublishStatus = D1 (MetaData "BulkPublishStatus" "Network.AWS.CognitoSync.Types.Sum" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) ((C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InProgress" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "NotStarted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Succeeded" PrefixI False) (U1 :: Type -> Type)))

Operation

data Operation Source #

Constructors

Remove 
Replace 
Instances
Bounded Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Enum Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Eq Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Data Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Operation -> c Operation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Operation #

toConstr :: Operation -> Constr #

dataTypeOf :: Operation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Operation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Operation) #

gmapT :: (forall b. Data b => b -> b) -> Operation -> Operation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Operation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Operation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

Ord Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Read Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Show Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Generic Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Associated Types

type Rep Operation :: Type -> Type #

Hashable Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToJSON Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToHeader Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToQuery Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToByteString Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

toBS :: Operation -> ByteString #

FromText Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToText Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

toText :: Operation -> Text #

NFData Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

rnf :: Operation -> () #

type Rep Operation Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

type Rep Operation = D1 (MetaData "Operation" "Network.AWS.CognitoSync.Types.Sum" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "Remove" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Replace" PrefixI False) (U1 :: Type -> Type))

Platform

data Platform Source #

Constructors

ADM 
APNS 
APNSSandbox 
GCM 
Instances
Bounded Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Enum Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Eq Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Data Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Platform -> c Platform #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Platform #

toConstr :: Platform -> Constr #

dataTypeOf :: Platform -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Platform) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Platform) #

gmapT :: (forall b. Data b => b -> b) -> Platform -> Platform #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Platform -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Platform -> r #

gmapQ :: (forall d. Data d => d -> u) -> Platform -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Platform -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Platform -> m Platform #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Platform -> m Platform #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Platform -> m Platform #

Ord Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Read Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Show Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Generic Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Associated Types

type Rep Platform :: Type -> Type #

Methods

from :: Platform -> Rep Platform x #

to :: Rep Platform x -> Platform #

Hashable Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

hashWithSalt :: Int -> Platform -> Int #

hash :: Platform -> Int #

ToJSON Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToHeader Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

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

ToQuery Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToByteString Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

toBS :: Platform -> ByteString #

FromText Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToText Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

toText :: Platform -> Text #

NFData Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

rnf :: Platform -> () #

type Rep Platform Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

type Rep Platform = D1 (MetaData "Platform" "Network.AWS.CognitoSync.Types.Sum" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) ((C1 (MetaCons "ADM" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "APNS" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "APNSSandbox" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "GCM" PrefixI False) (U1 :: Type -> Type)))

StreamingStatus

data StreamingStatus Source #

Constructors

Disabled 
Enabled 
Instances
Bounded StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Enum StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Eq StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Data StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StreamingStatus -> c StreamingStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StreamingStatus #

toConstr :: StreamingStatus -> Constr #

dataTypeOf :: StreamingStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StreamingStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StreamingStatus) #

gmapT :: (forall b. Data b => b -> b) -> StreamingStatus -> StreamingStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StreamingStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StreamingStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> StreamingStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StreamingStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StreamingStatus -> m StreamingStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingStatus -> m StreamingStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StreamingStatus -> m StreamingStatus #

Ord StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Read StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Show StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Generic StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Associated Types

type Rep StreamingStatus :: Type -> Type #

Hashable StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToJSON StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

FromJSON StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToHeader StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToQuery StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToByteString StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

FromText StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

ToText StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

NFData StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

Methods

rnf :: StreamingStatus -> () #

type Rep StreamingStatus Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Sum

type Rep StreamingStatus = D1 (MetaData "StreamingStatus" "Network.AWS.CognitoSync.Types.Sum" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type))

CognitoStreams

data CognitoStreams Source #

Configuration options for configure Cognito streams.

See: cognitoStreams smart constructor.

Instances
Eq CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Data CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CognitoStreams -> c CognitoStreams #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CognitoStreams #

toConstr :: CognitoStreams -> Constr #

dataTypeOf :: CognitoStreams -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CognitoStreams) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CognitoStreams) #

gmapT :: (forall b. Data b => b -> b) -> CognitoStreams -> CognitoStreams #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CognitoStreams -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CognitoStreams -> r #

gmapQ :: (forall d. Data d => d -> u) -> CognitoStreams -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CognitoStreams -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CognitoStreams -> m CognitoStreams #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CognitoStreams -> m CognitoStreams #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CognitoStreams -> m CognitoStreams #

Read CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Show CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Generic CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Associated Types

type Rep CognitoStreams :: Type -> Type #

Hashable CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

ToJSON CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

FromJSON CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

NFData CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

rnf :: CognitoStreams -> () #

type Rep CognitoStreams Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

type Rep CognitoStreams = D1 (MetaData "CognitoStreams" "Network.AWS.CognitoSync.Types.Product" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "CognitoStreams'" PrefixI True) (S1 (MetaSel (Just "_csStreamingStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StreamingStatus)) :*: (S1 (MetaSel (Just "_csStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

cognitoStreams :: CognitoStreams Source #

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

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

  • csStreamingStatus - 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.
  • csStreamName - 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.
  • csRoleARN - 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.

csStreamingStatus :: 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.

csStreamName :: 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.

csRoleARN :: 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: dataset smart constructor.

Instances
Eq Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

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

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

Data Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Dataset -> c Dataset #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Dataset #

toConstr :: Dataset -> Constr #

dataTypeOf :: Dataset -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Dataset) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Dataset) #

gmapT :: (forall b. Data b => b -> b) -> Dataset -> Dataset #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Dataset -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Dataset -> r #

gmapQ :: (forall d. Data d => d -> u) -> Dataset -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Dataset -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Dataset -> m Dataset #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Dataset -> m Dataset #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Dataset -> m Dataset #

Read Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Show Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Generic Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Associated Types

type Rep Dataset :: Type -> Type #

Methods

from :: Dataset -> Rep Dataset x #

to :: Rep Dataset x -> Dataset #

Hashable Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

hashWithSalt :: Int -> Dataset -> Int #

hash :: Dataset -> Int #

FromJSON Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

NFData Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

rnf :: Dataset -> () #

type Rep Dataset Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

type Rep Dataset = D1 (MetaData "Dataset" "Network.AWS.CognitoSync.Types.Product" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "Dataset'" PrefixI True) ((S1 (MetaSel (Just "_dLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_dNumRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_dDataStorage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 (MetaSel (Just "_dDatasetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_dLastModifiedBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dIdentityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

dataset :: Dataset Source #

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

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

  • dLastModifiedDate - Date when the dataset was last modified.
  • dNumRecords - Number of records in this dataset.
  • dDataStorage - Total size in bytes of the records in this dataset.
  • dDatasetName - A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), - (dash), and . (dot).
  • dCreationDate - Date on which the dataset was created.
  • dLastModifiedBy - The device that made the last change to this dataset.
  • dIdentityId - 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.

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

Date when the dataset was last modified.

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

Number of records in this dataset.

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

Total size in bytes of the records in this dataset.

dDatasetName :: 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).

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

Date on which the dataset was created.

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

The device that made the last change to this dataset.

dIdentityId :: 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: identityPoolUsage smart constructor.

Instances
Eq IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Data IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IdentityPoolUsage -> c IdentityPoolUsage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IdentityPoolUsage #

toConstr :: IdentityPoolUsage -> Constr #

dataTypeOf :: IdentityPoolUsage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IdentityPoolUsage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdentityPoolUsage) #

gmapT :: (forall b. Data b => b -> b) -> IdentityPoolUsage -> IdentityPoolUsage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IdentityPoolUsage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IdentityPoolUsage -> r #

gmapQ :: (forall d. Data d => d -> u) -> IdentityPoolUsage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IdentityPoolUsage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IdentityPoolUsage -> m IdentityPoolUsage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityPoolUsage -> m IdentityPoolUsage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityPoolUsage -> m IdentityPoolUsage #

Read IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Show IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Generic IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Associated Types

type Rep IdentityPoolUsage :: Type -> Type #

Hashable IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

FromJSON IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

NFData IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

rnf :: IdentityPoolUsage -> () #

type Rep IdentityPoolUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

type Rep IdentityPoolUsage = D1 (MetaData "IdentityPoolUsage" "Network.AWS.CognitoSync.Types.Product" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "IdentityPoolUsage'" PrefixI True) ((S1 (MetaSel (Just "_ipuLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_ipuIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ipuDataStorage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_ipuSyncSessionsCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))))

identityPoolUsage :: IdentityPoolUsage Source #

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

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

  • ipuLastModifiedDate - Date on which the identity pool was last modified.
  • ipuIdentityPoolId - 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.
  • ipuDataStorage - Data storage information for the identity pool.
  • ipuSyncSessionsCount - Number of sync sessions for the identity pool.

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

Date on which the identity pool was last modified.

ipuIdentityPoolId :: 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.

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

Data storage information for the identity pool.

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

Number of sync sessions for the identity pool.

IdentityUsage

data IdentityUsage Source #

Usage information for the identity.

See: identityUsage smart constructor.

Instances
Eq IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Data IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IdentityUsage -> c IdentityUsage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IdentityUsage #

toConstr :: IdentityUsage -> Constr #

dataTypeOf :: IdentityUsage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IdentityUsage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdentityUsage) #

gmapT :: (forall b. Data b => b -> b) -> IdentityUsage -> IdentityUsage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IdentityUsage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IdentityUsage -> r #

gmapQ :: (forall d. Data d => d -> u) -> IdentityUsage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IdentityUsage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IdentityUsage -> m IdentityUsage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityUsage -> m IdentityUsage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentityUsage -> m IdentityUsage #

Read IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Show IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Generic IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Associated Types

type Rep IdentityUsage :: Type -> Type #

Hashable IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

FromJSON IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

NFData IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

rnf :: IdentityUsage -> () #

type Rep IdentityUsage Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

type Rep IdentityUsage = D1 (MetaData "IdentityUsage" "Network.AWS.CognitoSync.Types.Product" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "IdentityUsage'" PrefixI True) ((S1 (MetaSel (Just "_iuLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_iuIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_iuDatasetCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_iuDataStorage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_iuIdentityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

identityUsage :: IdentityUsage Source #

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

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

  • iuLastModifiedDate - Date on which the identity was last modified.
  • iuIdentityPoolId - 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.
  • iuDatasetCount - Number of datasets for the identity.
  • iuDataStorage - Total data storage for this identity.
  • iuIdentityId - 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.

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

Date on which the identity was last modified.

iuIdentityPoolId :: 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.

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

Number of datasets for the identity.

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

Total data storage for this identity.

iuIdentityId :: 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: pushSync smart constructor.

Instances
Eq PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Data PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PushSync -> c PushSync #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PushSync #

toConstr :: PushSync -> Constr #

dataTypeOf :: PushSync -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PushSync) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PushSync) #

gmapT :: (forall b. Data b => b -> b) -> PushSync -> PushSync #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PushSync -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PushSync -> r #

gmapQ :: (forall d. Data d => d -> u) -> PushSync -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PushSync -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PushSync -> m PushSync #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PushSync -> m PushSync #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PushSync -> m PushSync #

Read PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Show PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Generic PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Associated Types

type Rep PushSync :: Type -> Type #

Methods

from :: PushSync -> Rep PushSync x #

to :: Rep PushSync x -> PushSync #

Hashable PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

hashWithSalt :: Int -> PushSync -> Int #

hash :: PushSync -> Int #

ToJSON PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

FromJSON PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

NFData PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

rnf :: PushSync -> () #

type Rep PushSync Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

type Rep PushSync = D1 (MetaData "PushSync" "Network.AWS.CognitoSync.Types.Product" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "PushSync'" PrefixI True) (S1 (MetaSel (Just "_psApplicationARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_psRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

pushSync :: PushSync Source #

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

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

  • psApplicationARNs - List of SNS platform application ARNs that could be used by clients.
  • psRoleARN - A role configured to allow Cognito to call SNS on behalf of the developer.

psApplicationARNs :: Lens' PushSync [Text] Source #

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

psRoleARN :: 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: record smart constructor.

Instances
Eq Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

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

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

Data Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Record -> c Record #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Record #

toConstr :: Record -> Constr #

dataTypeOf :: Record -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Record) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Record) #

gmapT :: (forall b. Data b => b -> b) -> Record -> Record #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Record -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Record -> r #

gmapQ :: (forall d. Data d => d -> u) -> Record -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Record -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Record -> m Record #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Record -> m Record #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Record -> m Record #

Read Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Show Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Generic Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

Hashable Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

NFData Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

rnf :: Record -> () #

type Rep Record Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

type Rep Record = D1 (MetaData "Record" "Network.AWS.CognitoSync.Types.Product" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "Record'" PrefixI True) ((S1 (MetaSel (Just "_rSyncCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 (MetaSel (Just "_rDeviceLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_rLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 (MetaSel (Just "_rValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rLastModifiedBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

record :: Record Source #

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

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

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

The server sync count for this record.

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

The last modified date of the client device.

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

The date on which the record was last modified.

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

The value for the record.

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

The key for the record.

rLastModifiedBy :: 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: recordPatch smart constructor.

Instances
Eq RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Data RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RecordPatch -> c RecordPatch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RecordPatch #

toConstr :: RecordPatch -> Constr #

dataTypeOf :: RecordPatch -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RecordPatch) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RecordPatch) #

gmapT :: (forall b. Data b => b -> b) -> RecordPatch -> RecordPatch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RecordPatch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RecordPatch -> r #

gmapQ :: (forall d. Data d => d -> u) -> RecordPatch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RecordPatch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RecordPatch -> m RecordPatch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RecordPatch -> m RecordPatch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RecordPatch -> m RecordPatch #

Read RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Show RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Generic RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Associated Types

type Rep RecordPatch :: Type -> Type #

Hashable RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

ToJSON RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

NFData RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

Methods

rnf :: RecordPatch -> () #

type Rep RecordPatch Source # 
Instance details

Defined in Network.AWS.CognitoSync.Types.Product

type Rep RecordPatch = D1 (MetaData "RecordPatch" "Network.AWS.CognitoSync.Types.Product" "amazonka-cognito-sync-1.6.1-ha9SVGJqZqDpQMx6bgfWw" False) (C1 (MetaCons "RecordPatch'" PrefixI True) ((S1 (MetaSel (Just "_rpDeviceLastModifiedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_rpValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_rpOp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Operation) :*: (S1 (MetaSel (Just "_rpKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rpSyncCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Integer)))))

recordPatch Source #

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

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

  • rpDeviceLastModifiedDate - The last modified date of the client device.
  • rpValue - The value associated with the record patch.
  • rpOp - An operation, either replace or remove.
  • rpKey - The key associated with the record patch.
  • rpSyncCount - Last known server sync count for this record. Set to 0 if unknown.

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

The last modified date of the client device.

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

The value associated with the record patch.

rpOp :: Lens' RecordPatch Operation Source #

An operation, either replace or remove.

rpKey :: Lens' RecordPatch Text Source #

The key associated with the record patch.

rpSyncCount :: Lens' RecordPatch Integer Source #

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