DatasetImportJob class

Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. For more information, see CreateDatasetImportJob.

A dataset import job can be in one of the following states:

  • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)

Constructors

DatasetImportJob({DateTime creationDateTime, DataSource dataSource, String datasetArn, String datasetImportJobArn, String failureReason, String jobName, DateTime lastUpdatedDateTime, String roleArn, String status})
DatasetImportJob.fromJson(Map<String, dynamic> json)
factory

Properties

creationDateTime DateTime
The creation date and time (in Unix time) of the dataset import job.
@UnixDateTimeConverter(), @JsonKey(name: 'creationDateTime'), final
datasetArn String
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
@JsonKey(name: 'datasetArn'), final
datasetImportJobArn String
The ARN of the dataset import job.
@JsonKey(name: 'datasetImportJobArn'), final
dataSource DataSource
The Amazon S3 bucket that contains the training data to import.
@JsonKey(name: 'dataSource'), final
failureReason String
If a dataset import job fails, provides the reason why.
@JsonKey(name: 'failureReason'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
jobName String
The name of the import job.
@JsonKey(name: 'jobName'), final
lastUpdatedDateTime DateTime
The date and time (in Unix time) the dataset was last updated.
@UnixDateTimeConverter(), @JsonKey(name: 'lastUpdatedDateTime'), final
roleArn String
The ARN of the AWS Identity and Access Management (IAM) role that has permissions to read from the Amazon S3 data source.
@JsonKey(name: 'roleArn'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status String
The status of the dataset import job. [...]
@JsonKey(name: 'status'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited