Get Data Source
machinelearning_get_data_source | R Documentation |
Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource¶
Description¶
Returns a DataSource
that includes metadata and data file information,
as well as the current status of the DataSource
.
get_data_source
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.
Usage¶
Arguments¶
DataSourceId
[required] The ID assigned to the
DataSource
at creation.Verbose
Specifies whether the
get_data_source
operation should returnDataSourceSchema
.If true,
DataSourceSchema
is returned.If false,
DataSourceSchema
is not returned.
Value¶
A list with the following syntax:
list(
DataSourceId = "string",
DataLocationS3 = "string",
DataRearrangement = "string",
CreatedByIamUser = "string",
CreatedAt = as.POSIXct(
"2015-01-01"
),
LastUpdatedAt = as.POSIXct(
"2015-01-01"
),
DataSizeInBytes = 123,
NumberOfFiles = 123,
Name = "string",
Status = "PENDING"|"INPROGRESS"|"FAILED"|"COMPLETED"|"DELETED",
LogUri = "string",
Message = "string",
RedshiftMetadata = list(
RedshiftDatabase = list(
DatabaseName = "string",
ClusterIdentifier = "string"
),
DatabaseUserName = "string",
SelectSqlQuery = "string"
),
RDSMetadata = list(
Database = list(
InstanceIdentifier = "string",
DatabaseName = "string"
),
DatabaseUserName = "string",
SelectSqlQuery = "string",
ResourceRole = "string",
ServiceRole = "string",
DataPipelineId = "string"
),
RoleARN = "string",
ComputeStatistics = TRUE|FALSE,
ComputeTime = 123,
FinishedAt = as.POSIXct(
"2015-01-01"
),
StartedAt = as.POSIXct(
"2015-01-01"
),
DataSourceSchema = "string"
)