:doc:`FraudDetector <../../frauddetector>` / Client / create_batch_import_job

***********************
create_batch_import_job
***********************



.. py:method:: FraudDetector.Client.create_batch_import_job(**kwargs)

  

  Creates a batch import job.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchImportJob>`_  


  **Request Syntax**
  ::

    response = client.create_batch_import_job(
        jobId='string',
        inputPath='string',
        outputPath='string',
        eventTypeName='string',
        iamRoleArn='string',
        tags=[
            {
                'key': 'string',
                'value': 'string'
            },
        ]
    )
    
  :type jobId: string
  :param jobId: **[REQUIRED]** 

    The ID of the batch import job. The ID cannot be of a past job, unless the job exists in ``CREATE_FAILED`` state.

    

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

    The URI that points to the Amazon S3 location of your data file.

    

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

    The URI that points to the Amazon S3 location for storing your results.

    

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

    The name of the event type.

    

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

    The ARN of the IAM role created for Amazon S3 bucket that holds your data file.

     

    The IAM role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see `User policy examples <https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html>`__ in the *Amazon S3 User Guide*.

    

  
  :type tags: list
  :param tags: 

    A collection of key-value pairs associated with this request.

    

  
    - *(dict) --* 

      A key and value pair.

      

    
      - **key** *(string) --* **[REQUIRED]** 

        A tag key.

        

      
      - **value** *(string) --* **[REQUIRED]** 

        A value assigned to a tag key.

        

      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`FraudDetector.Client.exceptions.ValidationException`

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

  
  *   :py:class:`FraudDetector.Client.exceptions.InternalServerException`

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

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

  