create_batch_prediction_job

create_batch_prediction_job(**kwargs)

Creates a batch prediction job.

See also: AWS API Documentation

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'
        },
    ]
)
Parameters
  • jobId (string) --

    [REQUIRED]

    The ID of the batch prediction job.

  • inputPath (string) --

    [REQUIRED]

    The Amazon S3 location of your training file.

  • outputPath (string) --

    [REQUIRED]

    The Amazon S3 location of your output file.

  • eventTypeName (string) --

    [REQUIRED]

    The name of the event type.

  • detectorName (string) --

    [REQUIRED]

    The name of the detector.

  • detectorVersion (string) -- The detector version.
  • iamRoleArn (string) --

    [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 in the Amazon S3 User Guide .

  • tags (list) --

    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.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • FraudDetector.Client.exceptions.ValidationException
  • FraudDetector.Client.exceptions.InternalServerException
  • FraudDetector.Client.exceptions.ThrottlingException
  • FraudDetector.Client.exceptions.AccessDeniedException
  • FraudDetector.Client.exceptions.ResourceNotFoundException