Personalize.Client.
describe_dataset_import_job
(**kwargs)¶Describes the dataset import job created by CreateDatasetImportJob, including the import job status.
See also: AWS API Documentation
Request Syntax
response = client.describe_dataset_import_job(
datasetImportJobArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the dataset import job to describe.
{
'datasetImportJob': {
'jobName': 'string',
'datasetImportJobArn': 'string',
'datasetArn': 'string',
'dataSource': {
'dataLocation': 'string'
},
'roleArn': 'string',
'status': 'string',
'creationDateTime': datetime(2015, 1, 1),
'lastUpdatedDateTime': datetime(2015, 1, 1),
'failureReason': 'string',
'importMode': 'FULL'|'INCREMENTAL',
'publishAttributionMetricsToS3': True|False
}
}
Response Structure
Information about the dataset import job, including the status.
The status is one of the following values:
The name of the import job.
The ARN of the dataset import job.
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
The Amazon S3 bucket that contains the training data to import.
The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For example:
s3://bucket-name/folder-name/
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
The status of the dataset import job.
A dataset import job can be in one of the following states:
The creation date and time (in Unix time) of the dataset import job.
The date and time (in Unix time) the dataset was last updated.
If a dataset import job fails, provides the reason why.
The import mode used by the dataset import job to import new records.
Whether the job publishes metrics to Amazon S3 for a metric attribution.
Exceptions
Personalize.Client.exceptions.InvalidInputException
Personalize.Client.exceptions.ResourceNotFoundException