:doc:`MailManager <../../mailmanager>` / Client / create_address_list_import_job

******************************
create_address_list_import_job
******************************



.. py:method:: MailManager.Client.create_address_list_import_job(**kwargs)

  

  Creates an import job for an address list.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/CreateAddressListImportJob>`_  


  **Request Syntax**
  ::

    response = client.create_address_list_import_job(
        ClientToken='string',
        AddressListId='string',
        Name='string',
        ImportDataFormat={
            'ImportDataType': 'CSV'|'JSON'
        }
    )
    
  :type ClientToken: string
  :param ClientToken: 

    A unique token that Amazon SES uses to recognize subsequent retries of the same request.

    This field is autopopulated if not provided.

  
  :type AddressListId: string
  :param AddressListId: **[REQUIRED]** 

    The unique identifier of the address list for importing addresses to.

    

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    A user-friendly name for the import job.

    

  
  :type ImportDataFormat: dict
  :param ImportDataFormat: **[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.

      

    
  
  
  :rtype: 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**
  
  *   :py:class:`MailManager.Client.exceptions.ValidationException`

  
  *   :py:class:`MailManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`MailManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`MailManager.Client.exceptions.ThrottlingException`

  