Module Values.GetDataSourceOutputSource

Represents the output of a GetDataSource operation and describes a DataSource.

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

    The ID assigned to the DataSource at creation. This value should be identical to the value of the DataSourceId in the request.

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

    The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).

    *)
  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 DataSource. The time is expressed in epoch time.

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

    The total size of observations in the data files.

    *)
  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 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. logUri : PresignedS3Url.t option;
    (*

    A link to the file containing logs of CreateDataSourceFrom* operations.

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

    The user-supplied description of the most recent details about creating the DataSource.

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

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

    *)
  17. computeTime : LongType.t option;
    (*

    The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the DataSource, normalized and scaled on computation resources. ComputeTime is only available if the DataSource is in the COMPLETED state and the ComputeStatistics is set to true.

    *)
  18. finishedAt : EpochTime.t option;
    (*

    The epoch time when Amazon Machine Learning marked the DataSource as COMPLETED or FAILED. FinishedAt is only available when the DataSource is in the COMPLETED or FAILED state.

    *)
  19. startedAt : EpochTime.t option;
    (*

    The epoch time when Amazon Machine Learning marked the DataSource as INPROGRESS. StartedAt isn't available if the DataSource is in the PENDING state.

    *)
  20. dataSourceSchema : DataSchema.t option;
    (*

    The schema used by all of the data files of this DataSource. Note: This parameter is provided as part of the verbose format.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidInputException of InvalidInputException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?dataSourceId:??? -> ?dataLocationS3:??? -> ?dataRearrangement:??? -> ?createdByIamUser:??? -> ?createdAt:??? -> ?lastUpdatedAt:??? -> ?dataSizeInBytes:??? -> ?numberOfFiles:??? -> ?name:??? -> ?status:??? -> ?logUri:??? -> ?message:??? -> ?redshiftMetadata:??? -> ?rDSMetadata:??? -> ?roleARN:??? -> ?computeStatistics:??? -> ?computeTime:??? -> ?finishedAt:??? -> ?startedAt:??? -> ?dataSourceSchema:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `InvalidInputException of InvalidInputException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `InvalidInputException of InvalidInputException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.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