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

***************************
create_batch_prediction_job
***************************



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

  

  Creates a batch prediction job.

  

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


  **Request Syntax**
  ::

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

    The ID of the batch prediction job.

    

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

    The Amazon S3 location of your training file.

    

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

    The Amazon S3 location of your output file.

    

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

    The name of the event type.

    

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

    The name of the detector.

    

  
  :type detectorVersion: string
  :param detectorVersion: 

    The detector version.

    

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

    The ARN of the IAM role to use for this job request.

     

    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 and value pairs.

    

  
    - *(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.InternalServerException`

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

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

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

  