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

Copyright(c) 2013-2016 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.CognitoSync.BulkPublish

Contents

Description

Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

Synopsis

Creating a Request

bulkPublish Source #

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

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

  • bpIdentityPoolId - 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.

data BulkPublish Source #

The input for the BulkPublish operation.

See: bulkPublish smart constructor.

Instances

Eq BulkPublish Source # 
Data BulkPublish Source # 

Methods

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

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

toConstr :: BulkPublish -> Constr #

dataTypeOf :: BulkPublish -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BulkPublish Source # 
Show BulkPublish Source # 
Generic BulkPublish Source # 

Associated Types

type Rep BulkPublish :: * -> * #

Hashable BulkPublish Source # 
ToJSON BulkPublish Source # 
NFData BulkPublish Source # 

Methods

rnf :: BulkPublish -> () #

AWSRequest BulkPublish Source # 
ToPath BulkPublish Source # 
ToHeaders BulkPublish Source # 

Methods

toHeaders :: BulkPublish -> [Header] #

ToQuery BulkPublish Source # 
type Rep BulkPublish Source # 
type Rep BulkPublish = D1 (MetaData "BulkPublish" "Network.AWS.CognitoSync.BulkPublish" "amazonka-cognito-sync-1.4.5-4FiopuhtWThD2ieIYTg1YR" True) (C1 (MetaCons "BulkPublish'" PrefixI True) (S1 (MetaSel (Just Symbol "_bpIdentityPoolId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs BulkPublish Source # 

Request Lenses

bpIdentityPoolId :: Lens' BulkPublish 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.

Destructuring the Response

bulkPublishResponse Source #

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

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

  • bprsIdentityPoolId - 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.
  • bprsResponseStatus - -- | The response status code.

data BulkPublishResponse Source #

The output for the BulkPublish operation.

See: bulkPublishResponse smart constructor.

Instances

Eq BulkPublishResponse Source # 
Data BulkPublishResponse Source # 

Methods

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

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

toConstr :: BulkPublishResponse -> Constr #

dataTypeOf :: BulkPublishResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BulkPublishResponse Source # 
Show BulkPublishResponse Source # 
Generic BulkPublishResponse Source # 
NFData BulkPublishResponse Source # 

Methods

rnf :: BulkPublishResponse -> () #

type Rep BulkPublishResponse Source # 
type Rep BulkPublishResponse = D1 (MetaData "BulkPublishResponse" "Network.AWS.CognitoSync.BulkPublish" "amazonka-cognito-sync-1.4.5-4FiopuhtWThD2ieIYTg1YR" False) (C1 (MetaCons "BulkPublishResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bprsIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

bprsIdentityPoolId :: Lens' BulkPublishResponse (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.

bprsResponseStatus :: Lens' BulkPublishResponse Int Source #

  • - | The response status code.