class Aws::MachineLearning::Types::GetDataSourceOutput

Represents the output of a `GetDataSource` operation and describes a `DataSource`.

@!attribute [rw] data_source_id

The ID assigned to the `DataSource` at creation. This value should
be identical to the value of the `DataSourceId` in the request.
@return [String]

@!attribute [rw] data_location_s3

The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
@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 `DataSource`. The time is
expressed in epoch time.
@return [Time]

@!attribute [rw] data_size_in_bytes

The total size of observations in the data files.
@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 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] log_uri

A link to the file containing logs of `CreateDataSourceFrom*`
operations.
@return [String]

@!attribute [rw] message

The user-supplied 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

The approximate CPU time in milliseconds that Amazon Machine
Learning spent processing the `DataSource`, normalized and scaled on
computation resources. `ComputeTime` is only available if the
`DataSource` is in the `COMPLETED` state and the `ComputeStatistics`
is set to true.
@return [Integer]

@!attribute [rw] finished_at

The epoch time when Amazon Machine Learning marked the `DataSource`
as `COMPLETED` or `FAILED`. `FinishedAt` is only available when the
`DataSource` is in the `COMPLETED` or `FAILED` state.
@return [Time]

@!attribute [rw] started_at

The epoch time when Amazon Machine Learning marked the `DataSource`
as `INPROGRESS`. `StartedAt` isn't available if the `DataSource` is
in the `PENDING` state.
@return [Time]

@!attribute [rw] data_source_schema

The schema used by all of the data files of this `DataSource`.

**Note:** This parameter is provided as part of the verbose format.
@return [String]

Constants

SENSITIVE