AWSMachineLearningDataSource

Objective-C

@interface AWSMachineLearningDataSource

Swift

class AWSMachineLearningDataSource

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.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable computeStatistics;

    Swift

    var computeStatistics: NSNumber? { get set }
  • Long integer type that is a 64-bit signed number.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable computeTime;

    Swift

    var computeTime: NSNumber? { get set }
  • The time that the DataSource was created. The time is expressed in epoch time.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable createdAt;

    Swift

    var createdAt: Date? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable createdByIamUser;

    Swift

    var createdByIamUser: String? { get set }
  • The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dataLocationS3;

    Swift

    var dataLocationS3: String? { get set }
  • A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dataRearrangement;

    Swift

    var dataRearrangement: String? { get set }
  • The total number of observations contained in the data files that the DataSource references.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dataSizeInBytes;

    Swift

    var dataSizeInBytes: NSNumber? { get set }
  • The ID that is assigned to the DataSource during creation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dataSourceId;

    Swift

    var dataSourceId: String? { get set }
  • A timestamp represented in epoch time.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable finishedAt;

    Swift

    var finishedAt: Date? { get set }
  • The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable lastUpdatedAt;

    Swift

    var lastUpdatedAt: Date? { get set }
  • A description of the most recent details about creating the DataSource.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable message;

    Swift

    var message: String? { get set }
  • A user-supplied name or description of the DataSource.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • The number of data files referenced by the DataSource.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable numberOfFiles;

    Swift

    var numberOfFiles: NSNumber? { get set }
  • The datasource details that are specific to Amazon RDS.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSMachineLearningRDSMetadata *_Nullable RDSMetadata;

    Swift

    var rdsMetadata: AWSMachineLearningRDSMetadata? { get set }
  • Describes the DataSource details specific to Amazon Redshift.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSMachineLearningRedshiftMetadata *_Nullable redshiftMetadata;

    Swift

    var redshiftMetadata: AWSMachineLearningRedshiftMetadata? { get set }
  • The Amazon Resource Name (ARN) of an AWS IAM Role, such as the following: arn:aws:iam::account:role/rolename.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleARN;

    Swift

    var roleARN: String? { get set }
  • A timestamp represented in epoch time.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable startedAt;

    Swift

    var startedAt: Date? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSMachineLearningEntityStatus status;

    Swift

    var status: AWSMachineLearningEntityStatus { get set }