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.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

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)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#compute_timeInteger

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

Returns:

  • (Integer)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

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

Returns:

  • (Time)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#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)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#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)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#data_rearrangementString

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

Returns:

  • (String)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#data_size_in_bytesInteger

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

Returns:

  • (Integer)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_idString

The ID that is assigned to the DataSource during creation.

Returns:

  • (String)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#finished_atTime

A timestamp represented in epoch time.

Returns:

  • (Time)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_atTime

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

Returns:

  • (Time)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

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

Returns:

  • (String)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A user-supplied name or description of the DataSource.

Returns:

  • (String)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_filesInteger

The number of data files referenced by the DataSource.

Returns:

  • (Integer)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#rds_metadataTypes::RDSMetadata

The datasource details that are specific to Amazon RDS.

Returns:



929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#redshift_metadataTypes::RedshiftMetadata

Describes the DataSource details specific to Amazon Redshift.



929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

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

Returns:

  • (String)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

#started_atTime

A timestamp represented in epoch time.

Returns:

  • (Time)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end

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

Returns:

  • (String)


929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 929

class DataSource < Struct.new(
  :data_source_id,
  :data_location_s3,
  :data_rearrangement,
  :created_by_iam_user,
  :created_at,
  :last_updated_at,
  :data_size_in_bytes,
  :number_of_files,
  :name,
  :status,
  :message,
  :redshift_metadata,
  :rds_metadata,
  :role_arn,
  :compute_statistics,
  :compute_time,
  :finished_at,
  :started_at)
  SENSITIVE = []
  include Aws::Structure
end