Skip to main content

bulk_publish_details

Creates, updates, deletes, gets or lists a bulk_publish_details resource.

Overview

Namebulk_publish_details
TypeResource
Idaws.cognito_sync.bulk_publish_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
bulk_publish_complete_timestring (date-time)If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed.
bulk_publish_start_timestring (date-time)The date/time at which the last bulk publish was initiated.
bulk_publish_statusstringStatus 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. (NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED)
failure_messagestringIf BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail.
identity_pool_idstringA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region. (pattern: <code>[\w-]+:[0-9a-f-]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_bulk_publish_detailsselectidentity_pool_id, regionGet 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
identity_pool_idstringA name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
regionstringAWS region (default: us-east-1)

SELECT examples

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.

SELECT
bulk_publish_complete_time,
bulk_publish_start_time,
bulk_publish_status,
failure_message,
identity_pool_id
FROM aws.cognito_sync.bulk_publish_details
WHERE identity_pool_id = '{{ identity_pool_id }}' -- required
AND region = '{{ region }}' -- required
;