Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.
GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.
Headers
Request body
The ID assigned to the <code>DataSource</code> at creation.
Response
Success
The ID assigned to the <code>DataSource</code> at creation. This value should be identical to the value of the <code>DataSourceId</code> in the request.
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
A JSON string that represents the splitting and rearrangement requirement used when this <code>DataSource</code> was created.
The AWS user account from which the <code>DataSource</code> was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
The time that the <code>DataSource</code> was created. The time is expressed in epoch time.
The time of the most recent edit to the <code>DataSource</code>. The time is expressed in epoch time.
The total size of observations in the data files.
The number of data files referenced by the <code>DataSource</code>.
A user-supplied name or description of the <code>DataSource</code>.
A link to the file containing logs of <code>CreateDataSourceFrom*</code> operations.
The user-supplied description of the most recent details about creating the <code>DataSource</code>.
The Amazon Resource Name (ARN) of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts">AWS IAM Role</a>, such as the following: arn:aws:iam::account:role/rolename.
The parameter is <code>true</code> if statistics need to be generated from the observation data.
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the <code>DataSource</code>, normalized and scaled on computation resources. <code>ComputeTime</code> is only available if the <code>DataSource</code> is in the <code>COMPLETED</code> state and the <code>ComputeStatistics</code> is set to true.
The epoch time when Amazon Machine Learning marked the <code>DataSource</code> as <code>COMPLETED</code> or <code>FAILED</code>. <code>FinishedAt</code> is only available when the <code>DataSource</code> is in the <code>COMPLETED</code> or <code>FAILED</code> state.
The epoch time when Amazon Machine Learning marked the <code>DataSource</code> as <code>INPROGRESS</code>. <code>StartedAt</code> isn't available if the <code>DataSource</code> is in the <code>PENDING</code> state.