DataSource class

Represents the output of the GetDataSource operation.

The content consists of the detailed metadata and data file information and the current status of the DataSource.

  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)


DataSource({bool computeStatistics, int computeTime, DateTime createdAt, String createdByIamUser, String dataLocationS3, String dataRearrangement, int dataSizeInBytes, String dataSourceId, DateTime finishedAt, DateTime lastUpdatedAt, String message, String name, int numberOfFiles, RDSMetadata rDSMetadata, RedshiftMetadata redshiftMetadata, String roleARN, DateTime startedAt, EntityStatus status})
DataSource.fromJson(Map<String, dynamic> json)


computeStatistics bool
The parameter is true if statistics need to be generated from the observation data.
@JsonKey(name: 'ComputeStatistics'), final
computeTime int
@JsonKey(name: 'ComputeTime'), final
createdAt DateTime
The time that the DataSource was created. The time is expressed in epoch time.
@JsonKey(name: 'CreatedAt', fromJson: unixFromJson, toJson: unixToJson), final
createdByIamUser String
The AWS user account from which the DataSource was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
@JsonKey(name: 'CreatedByIamUser'), final
dataLocationS3 String
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.
@JsonKey(name: 'DataLocationS3'), final
dataRearrangement String
A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.
@JsonKey(name: 'DataRearrangement'), final
dataSizeInBytes int
The total number of observations contained in the data files that the DataSource references.
@JsonKey(name: 'DataSizeInBytes'), final
dataSourceId String
The ID that is assigned to the DataSource during creation.
@JsonKey(name: 'DataSourceId'), final
finishedAt DateTime
@JsonKey(name: 'FinishedAt', fromJson: unixFromJson, toJson: unixToJson), final
hashCode int
The hash code for this object. [...]
read-only, inherited
lastUpdatedAt DateTime
The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.
@JsonKey(name: 'LastUpdatedAt', fromJson: unixFromJson, toJson: unixToJson), final
message String
A description of the most recent details about creating the DataSource.
@JsonKey(name: 'Message'), final
name String
A user-supplied name or description of the DataSource.
@JsonKey(name: 'Name'), final
numberOfFiles int
The number of data files referenced by the DataSource.
@JsonKey(name: 'NumberOfFiles'), final
rDSMetadata RDSMetadata
@JsonKey(name: 'RDSMetadata'), final
redshiftMetadata RedshiftMetadata
@JsonKey(name: 'RedshiftMetadata'), final
roleARN String
@JsonKey(name: 'RoleARN'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startedAt DateTime
@JsonKey(name: 'StartedAt', fromJson: unixFromJson, toJson: unixToJson), final
status EntityStatus
The current status of the DataSource. This element can have one of the following values: [...]
@JsonKey(name: 'Status'), final


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


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