MailManager / Client / create_address_list_import_job
create_address_list_import_job¶
- MailManager.Client.create_address_list_import_job(**kwargs)¶
Creates an import job for an address list.
See also: AWS API Documentation
Request Syntax
response = client.create_address_list_import_job( ClientToken='string', AddressListId='string', Name='string', ImportDataFormat={ 'ImportDataType': 'CSV'|'JSON' } )
- Parameters:
ClientToken (string) –
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
This field is autopopulated if not provided.
AddressListId (string) –
[REQUIRED]
The unique identifier of the address list for importing addresses to.
Name (string) –
[REQUIRED]
A user-friendly name for the import job.
ImportDataFormat (dict) –
[REQUIRED]
The format of the input for an import job.
ImportDataType (string) – [REQUIRED]
The type of file that would be passed as an input for the address list import job.
- Return type:
dict
- Returns:
Response Syntax
{ 'JobId': 'string', 'PreSignedUrl': 'string' }
Response Structure
(dict) –
JobId (string) –
The identifier of the created import job.
PreSignedUrl (string) –
The pre-signed URL target for uploading the input file.
Exceptions
MailManager.Client.exceptions.ValidationExceptionMailManager.Client.exceptions.AccessDeniedExceptionMailManager.Client.exceptions.ResourceNotFoundExceptionMailManager.Client.exceptions.ThrottlingException