AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MachineLearning::Types::DataSource

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#compute_statisticsBoolean

The parameter is true if statistics need to be generated from the observation data.

Returns:

  • (Boolean)

    The parameter is true if statistics need to be generated from the observation data.

#compute_timeInteger

Long integer type that is a 64-bit signed number.

Returns:

  • (Integer)

    Long integer type that is a 64-bit signed number.

    .

#created_atTime

The time that the DataSource was created. The time is expressed in epoch time.

Returns:

  • (Time)

    The time that the DataSource was created.

#created_by_iam_userString

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.

Returns:

  • (String)

    The AWS user account from which the DataSource was created.

#data_location_s3String

The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.

Returns:

  • (String)

    The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.

#data_rearrangementString

A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.

Returns:

  • (String)

    A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.

#data_size_in_bytesInteger

The total number of observations contained in the data files that the DataSource references.

Returns:

  • (Integer)

    The total number of observations contained in the data files that the DataSource references.

#data_source_idString

The ID that is assigned to the DataSource during creation.

Returns:

  • (String)

    The ID that is assigned to the DataSource during creation.

#finished_atTime

A timestamp represented in epoch time.

Returns:

  • (Time)

    A timestamp represented in epoch time.

    .

#last_updated_atTime

The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.

Returns:

  • (Time)

    The time of the most recent edit to the BatchPrediction.

#messageString

A description of the most recent details about creating the DataSource.

Returns:

  • (String)

    A description of the most recent details about creating the DataSource.

#nameString

A user-supplied name or description of the DataSource.

Returns:

  • (String)

    A user-supplied name or description of the DataSource.

#number_of_filesInteger

The number of data files referenced by the DataSource.

Returns:

  • (Integer)

    The number of data files referenced by the DataSource.

#rds_metadataTypes::RDSMetadata

The datasource details that are specific to Amazon RDS.

Returns:

#redshift_metadataTypes::RedshiftMetadata

Describes the DataSource details specific to Amazon Redshift.

Returns:

#role_arnString

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

Returns:

  • (String)

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

#started_atTime

A timestamp represented in epoch time.

Returns:

  • (Time)

    A timestamp represented in epoch time.

    .

#statusString

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.

    Possible values:

    • PENDING
    • INPROGRESS
    • FAILED
    • COMPLETED
    • DELETED

Returns:

  • (String)

    The current status of the DataSource.