Module batch_client

Module batch_client 

Source

Structs§

BatchOperation
BatchOperationResult
BatchPollResponse

Constants§

MAX_MAILCHIMP_BATCH_SIZE
Mailchimp API limit for batch operations and batch subscribe (500 items/members per request).

Functions§

extract_batch_results_from_value 🔒
parse_batch_results_from_tar_gz
parse_operation_response_value
poll_batch_until_finished_with_response_url
Polls GET /batches/{batch_id} until status is “finished”, or timeout. Returns response_body_url and error counts.
submit_batch
Submits operations to Mailchimp POST /batches. Chunks at MAX_MAILCHIMP_BATCH_SIZE. Returns batch IDs.