FraudDetector / Client / create_batch_import_job

create_batch_import_job#

FraudDetector.Client.create_batch_import_job(**kwargs)#

Creates a batch import job.

See also: AWS API Documentation

Request Syntax

response = client.create_batch_import_job(
    jobId='string',
    inputPath='string',
    outputPath='string',
    eventTypeName='string',
    iamRoleArn='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters:
  • jobId (string) –

    [REQUIRED]

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

  • inputPath (string) –

    [REQUIRED]

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

  • outputPath (string) –

    [REQUIRED]

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

  • eventTypeName (string) –

    [REQUIRED]

    The name of the event type.

  • iamRoleArn (string) –

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

  • tags (list) –

    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.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • FraudDetector.Client.exceptions.ValidationException

  • FraudDetector.Client.exceptions.ResourceNotFoundException

  • FraudDetector.Client.exceptions.InternalServerException

  • FraudDetector.Client.exceptions.ThrottlingException

  • FraudDetector.Client.exceptions.AccessDeniedException