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.
Parameters:
-
identity_pool_id
(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.
Raises:
Source code in docs_src/capo_cognito_sync/_services/cognito_sync.py
| def get_bulk_publish_details(
self,
identity_pool_id: "capo_cognito_sync.types.identity_pool_id.IdentityPoolId",
*,
config_overrides: Optional[CognitoSyncClientConfig] = None,
) -> "capo_cognito_sync.types.get_bulk_publish_details_response.GetBulkPublishDetailsResponse":
"""<p>Get the status of the last BulkPublish operation for an identity pool.</p><p>This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.</p>
Args:
identity_pool_id: 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.
Raises:
capo_cognito_sync.errors.internal_error_exception.InternalErrorException: Indicates an internal service error.
capo_cognito_sync.errors.invalid_parameter_exception.InvalidParameterException: Thrown when a request parameter does not comply with the associated constraints.
capo_cognito_sync.errors.not_authorized_exception.NotAuthorizedException: Thrown when a user is not authorized to access the requested resource.
capo_cognito_sync.errors.resource_not_found_exception.ResourceNotFoundException: Thrown if the resource doesn't exist.
capo_cognito_sync.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_cognito_sync.types.get_bulk_publish_details_request.GetBulkPublishDetailsRequest]",
) -> OperationResponse[
"capo_cognito_sync.types.get_bulk_publish_details_response.GetBulkPublishDetailsResponse"
]:
import capo_cognito_sync._operations.aws_cognito_sync_service.get_bulk_publish_details
output, http_response = (
capo_cognito_sync._operations.aws_cognito_sync_service.get_bulk_publish_details.get_bulk_publish_details(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetBulkPublishDetails")
)
input_: capo_cognito_sync.types.get_bulk_publish_details_request.GetBulkPublishDetailsRequest = {
"identity_pool_id": identity_pool_id
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|