class Aws::MachineLearning::Types::DataSource

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`.

@!attribute [rw] data_source_id

The ID that is assigned to the `DataSource` during creation.
@return [String]

@!attribute [rw] data_location_s3

The location and name of the data in Amazon Simple Storage Service
(Amazon S3) that is used by a `DataSource`.
@return [String]

@!attribute [rw] data_rearrangement

A JSON string that represents the splitting and rearrangement
requirement used when this `DataSource` was created.
@return [String]

@!attribute [rw] created_by_iam_user

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.
@return [String]

@!attribute [rw] created_at

The time that the `DataSource` was created. The time is expressed in
epoch time.
@return [Time]

@!attribute [rw] last_updated_at

The time of the most recent edit to the `BatchPrediction`. The time
is expressed in epoch time.
@return [Time]

@!attribute [rw] data_size_in_bytes

The total number of observations contained in the data files that
the `DataSource` references.
@return [Integer]

@!attribute [rw] number_of_files

The number of data files referenced by the `DataSource`.
@return [Integer]

@!attribute [rw] name

A user-supplied name or description of the `DataSource`.
@return [String]

@!attribute [rw] status

The current status of the `DataSource`. This element can have one of
the following values:

* PENDING - Amazon Machine Learning (Amazon ML) submitted a request
  to create a `DataSource`.

* INPROGRESS - The creation process is underway.

* FAILED - The request to create a `DataSource` did not run to
  completion. It is not usable.

* COMPLETED - The creation process completed successfully.

* DELETED - The `DataSource` is marked as deleted. It is not usable.
@return [String]

@!attribute [rw] message

A description of the most recent details about creating the
`DataSource`.
@return [String]

@!attribute [rw] redshift_metadata

Describes the `DataSource` details specific to Amazon Redshift.
@return [Types::RedshiftMetadata]

@!attribute [rw] rds_metadata

The datasource details that are specific to Amazon RDS.
@return [Types::RDSMetadata]

@!attribute [rw] role_arn

The Amazon Resource Name (ARN) of an [AWS IAM Role][1], such as the
following: arn:aws:iam::account:role/rolename.

[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts
@return [String]

@!attribute [rw] compute_statistics

The parameter is `true` if statistics need to be generated from the
observation data.
@return [Boolean]

@!attribute [rw] compute_time

Long integer type that is a 64-bit signed number.
@return [Integer]

@!attribute [rw] finished_at

A timestamp represented in epoch time.
@return [Time]

@!attribute [rw] started_at

A timestamp represented in epoch time.
@return [Time]

Constants

SENSITIVE