FraudDetector.Client.
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'
},
]
)
[REQUIRED]
The ID of the batch prediction job.
[REQUIRED]
The Amazon S3 location of your training file.
[REQUIRED]
The Amazon S3 location of your output file.
[REQUIRED]
The name of the event type.
[REQUIRED]
The name of the detector.
[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 .
A collection of key and value pairs.
A key and value pair.
A tag key.
A value assigned to a tag key.
dict
Response Syntax
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ResourceNotFoundException