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.GetBulkPublishDetails

Contents

Description

Get the status of the last BulkPublish operation for an identity pool.

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

getBulkPublishDetails Source #

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

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

  • gbpdIdentityPoolId - 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 GetBulkPublishDetails Source #

The input for the GetBulkPublishDetails operation.

See: getBulkPublishDetails smart constructor.

Instances

Eq GetBulkPublishDetails Source # 
Data GetBulkPublishDetails Source # 

Methods

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

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

toConstr :: GetBulkPublishDetails -> Constr #

dataTypeOf :: GetBulkPublishDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBulkPublishDetails Source # 
Show GetBulkPublishDetails Source # 
Generic GetBulkPublishDetails Source # 
Hashable GetBulkPublishDetails Source # 
ToJSON GetBulkPublishDetails Source # 
NFData GetBulkPublishDetails Source # 

Methods

rnf :: GetBulkPublishDetails -> () #

AWSRequest GetBulkPublishDetails Source # 
ToHeaders GetBulkPublishDetails Source # 
ToPath GetBulkPublishDetails Source # 
ToQuery GetBulkPublishDetails Source # 
type Rep GetBulkPublishDetails Source # 
type Rep GetBulkPublishDetails = D1 * (MetaData "GetBulkPublishDetails" "Network.AWS.CognitoSync.GetBulkPublishDetails" "amazonka-cognito-sync-1.6.0-4ZDIfAcLSDvASU5l7zxfWR" True) (C1 * (MetaCons "GetBulkPublishDetails'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gbpdIdentityPoolId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetBulkPublishDetails Source # 

Request Lenses

gbpdIdentityPoolId :: Lens' GetBulkPublishDetails 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

getBulkPublishDetailsResponse Source #

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

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

  • gbpdrsBulkPublishStartTime - The date/time at which the last bulk publish was initiated.
  • gbpdrsIdentityPoolId - 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.
  • gbpdrsBulkPublishCompleteTime - If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed.
  • gbpdrsFailureMessage - If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail.
  • gbpdrsBulkPublishStatus - Status of the last bulk publish operation, valid values are: NOT_STARTED - No bulk publish has been requested for this identity pool IN_PROGRESS - Data is being published to the configured stream SUCCEEDED - All data for the identity pool has been published to the configured stream FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.
  • gbpdrsResponseStatus - -- | The response status code.

data GetBulkPublishDetailsResponse Source #

The output for the GetBulkPublishDetails operation.

See: getBulkPublishDetailsResponse smart constructor.

Instances

Eq GetBulkPublishDetailsResponse Source # 
Data GetBulkPublishDetailsResponse Source # 

Methods

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

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

toConstr :: GetBulkPublishDetailsResponse -> Constr #

dataTypeOf :: GetBulkPublishDetailsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBulkPublishDetailsResponse Source # 
Show GetBulkPublishDetailsResponse Source # 
Generic GetBulkPublishDetailsResponse Source # 
NFData GetBulkPublishDetailsResponse Source # 
type Rep GetBulkPublishDetailsResponse Source # 
type Rep GetBulkPublishDetailsResponse = D1 * (MetaData "GetBulkPublishDetailsResponse" "Network.AWS.CognitoSync.GetBulkPublishDetails" "amazonka-cognito-sync-1.6.0-4ZDIfAcLSDvASU5l7zxfWR" False) (C1 * (MetaCons "GetBulkPublishDetailsResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gbpdrsBulkPublishStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbpdrsIdentityPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gbpdrsBulkPublishCompleteTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbpdrsFailureMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbpdrsBulkPublishStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe BulkPublishStatus))) (S1 * (MetaSel (Just Symbol "_gbpdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gbpdrsBulkPublishStartTime :: Lens' GetBulkPublishDetailsResponse (Maybe UTCTime) Source #

The date/time at which the last bulk publish was initiated.

gbpdrsIdentityPoolId :: Lens' GetBulkPublishDetailsResponse (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.

gbpdrsBulkPublishCompleteTime :: Lens' GetBulkPublishDetailsResponse (Maybe UTCTime) Source #

If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed.

gbpdrsFailureMessage :: Lens' GetBulkPublishDetailsResponse (Maybe Text) Source #

If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail.

gbpdrsBulkPublishStatus :: Lens' GetBulkPublishDetailsResponse (Maybe BulkPublishStatus) Source #

Status of the last bulk publish operation, valid values are: NOT_STARTED - No bulk publish has been requested for this identity pool IN_PROGRESS - Data is being published to the configured stream SUCCEEDED - All data for the identity pool has been published to the configured stream FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.