CognitoSync / Client / bulk_publish
bulk_publish#
- CognitoSync.Client.bulk_publish(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.bulk_publish( IdentityPoolId='string' )
- Parameters:
IdentityPoolId (string) – [REQUIRED] 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.
- Return type:
dict
- Returns:
Response Syntax
{ 'IdentityPoolId': 'string' }
Response Structure
(dict) – The output for the BulkPublish operation.
IdentityPoolId (string) – 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.
Exceptions
CognitoSync.Client.exceptions.NotAuthorizedException
CognitoSync.Client.exceptions.InvalidParameterException
CognitoSync.Client.exceptions.ResourceNotFoundException
CognitoSync.Client.exceptions.InternalErrorException
CognitoSync.Client.exceptions.DuplicateRequestException
CognitoSync.Client.exceptions.AlreadyStreamedException