Module Values.DataSourceSource

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.

Sourcetype nonrec t = {
  1. dataSourceId : EntityId.t option;
    (*

    The ID that is assigned to the DataSource during creation.

    *)
  2. dataLocationS3 : S3Url.t option;
    (*

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

    *)
  3. dataRearrangement : DataRearrangement.t option;
    (*

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

    *)
  4. createdByIamUser : AwsUserArn.t option;
    (*

    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.

    *)
  5. createdAt : EpochTime.t option;
    (*

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

    *)
  6. lastUpdatedAt : EpochTime.t option;
    (*

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

    *)
  7. dataSizeInBytes : LongType.t option;
    (*

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

    *)
  8. numberOfFiles : LongType.t option;
    (*

    The number of data files referenced by the DataSource.

    *)
  9. name : EntityName.t option;
    (*

    A user-supplied name or description of the DataSource.

    *)
  10. status : EntityStatus.t option;
    (*

    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.

    *)
  11. message : Message.t option;
    (*

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

    *)
  12. redshiftMetadata : RedshiftMetadata.t option;
  13. rDSMetadata : RDSMetadata.t option;
  14. roleARN : RoleARN.t option;
  15. computeStatistics : ComputeStatistics.t option;
    (*

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

    *)
  16. computeTime : LongType.t option;
  17. finishedAt : EpochTime.t option;
  18. startedAt : EpochTime.t option;
}
Sourceval make : ?dataSourceId:??? -> ?dataLocationS3:??? -> ?dataRearrangement:??? -> ?createdByIamUser:??? -> ?createdAt:??? -> ?lastUpdatedAt:??? -> ?dataSizeInBytes:??? -> ?numberOfFiles:??? -> ?name:??? -> ?status:??? -> ?message:??? -> ?redshiftMetadata:??? -> ?rDSMetadata:??? -> ?roleARN:??? -> ?computeStatistics:??? -> ?computeTime:??? -> ?finishedAt:??? -> ?startedAt:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ComputeStatistics.t | `Enum of string | `Long of LongType.t | `String of EntityId.t | `Structure of (string * [> `String of RedshiftDatabaseUsername.t | `Structure of (string * [> `String of RedshiftDatabaseName.t ]) list ]) list | `Timestamp of EpochTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t