amazonka-cognito-sync-1.6.0: 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.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 #

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 #

The input for the BulkPublish operation.

See: bulkPublish smart constructor.

Instances
Eq BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Data BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

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 # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Show BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Generic BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Associated Types

type Rep BulkPublish :: * -> * #

Hashable BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

ToJSON BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

AWSRequest BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Associated Types

type Rs BulkPublish :: * #

ToHeaders BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Methods

toHeaders :: BulkPublish -> [Header] #

ToPath BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

ToQuery BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

NFData BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Methods

rnf :: BulkPublish -> () #

type Rep BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

type Rep BulkPublish = D1 (MetaData "BulkPublish" "Network.AWS.CognitoSync.BulkPublish" "amazonka-cognito-sync-1.6.0-IND3WlTGEzALpmsfKNeg9k" True) (C1 (MetaCons "BulkPublish'" PrefixI True) (S1 (MetaSel (Just "_bpIdentityPoolId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs BulkPublish # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Request Lenses

bpIdentityPoolId :: Lens' BulkPublish Text #

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 #

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 #

The output for the BulkPublish operation.

See: bulkPublishResponse smart constructor.

Instances
Eq BulkPublishResponse # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Data BulkPublishResponse # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

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 # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Show BulkPublishResponse # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Generic BulkPublishResponse # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Associated Types

type Rep BulkPublishResponse :: * -> * #

NFData BulkPublishResponse # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

Methods

rnf :: BulkPublishResponse -> () #

type Rep BulkPublishResponse # 
Instance details

Defined in Network.AWS.CognitoSync.BulkPublish

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

Response Lenses

bprsIdentityPoolId :: Lens' BulkPublishResponse (Maybe Text) #

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 #

  • - | The response status code.