CreateAddressListImportJob
Source:
src/AWS/MailManager/CreateAddressListImportJob.ts
Runtime binding for ses:CreateAddressListImportJob.
Creates a bulk import job against the bound address list, returning
the job id and a pre-signed URL to upload the address data (CSV or
JSON). The address list id is injected from the binding. Provide the implementation with
Effect.provide(AWS.MailManager.CreateAddressListImportJobHttp).
Bulk Importing Members
Section titled “Bulk Importing Members”const createImportJob = yield* MailManager.CreateAddressListImportJob(blockList);
// runtimeconst { JobId, PreSignedUrl } = yield* createImportJob({ Name: "nightly-sync", ImportDataFormat: { ImportDataType: "CSV" },});// upload the CSV to PreSignedUrl, then start the job