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

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

data BulkPublish Source #

The input for the BulkPublish operation.

See: newBulkPublish smart constructor.

Constructors

BulkPublish' 

Fields

  • identityPoolId :: 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.

Instances

Instances details
Eq BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Read BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Show BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Generic BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Associated Types

type Rep BulkPublish :: Type -> Type #

NFData BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Methods

rnf :: BulkPublish -> () #

Hashable BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

ToJSON BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

AWSRequest BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Associated Types

type AWSResponse BulkPublish #

ToHeaders BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Methods

toHeaders :: BulkPublish -> [Header] #

ToPath BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

ToQuery BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

type Rep BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

type Rep BulkPublish = D1 ('MetaData "BulkPublish" "Amazonka.CognitoSync.BulkPublish" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "BulkPublish'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse BulkPublish Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

newBulkPublish Source #

Create a value of BulkPublish 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:identityPoolId:BulkPublish', bulkPublish_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.

Request Lenses

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

data BulkPublishResponse Source #

The output for the BulkPublish operation.

See: newBulkPublishResponse smart constructor.

Constructors

BulkPublishResponse' 

Fields

  • identityPoolId :: 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq BulkPublishResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Read BulkPublishResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Show BulkPublishResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Generic BulkPublishResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Associated Types

type Rep BulkPublishResponse :: Type -> Type #

NFData BulkPublishResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

Methods

rnf :: BulkPublishResponse -> () #

type Rep BulkPublishResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.BulkPublish

type Rep BulkPublishResponse = D1 ('MetaData "BulkPublishResponse" "Amazonka.CognitoSync.BulkPublish" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "BulkPublishResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBulkPublishResponse Source #

Create a value of BulkPublishResponse 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:identityPoolId:BulkPublish', bulkPublishResponse_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:httpStatus:BulkPublishResponse', bulkPublishResponse_httpStatus - The response's http status code.

Response Lenses

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