Module Values.GetImportJobResponseSource

An HTTP 200 response if the request succeeds, or an error message if the request fails.

Sourcetype nonrec t = {
  1. jobId : JobId.t option;
    (*

    A string that represents the import job ID.

    *)
  2. importDestination : ImportDestination.t option;
    (*

    The destination of the import job.

    *)
  3. importDataSource : ImportDataSource.t option;
    (*

    The data source of the import job.

    *)
  4. failureInfo : FailureInfo.t option;
    (*

    The failure details about an import job.

    *)
  5. jobStatus : JobStatus.t option;
    (*

    The status of the import job.

    *)
  6. createdTimestamp : Timestamp.t option;
    (*

    The time stamp of when the import job was created.

    *)
  7. completedTimestamp : Timestamp.t option;
    (*

    The time stamp of when the import job was completed.

    *)
  8. processedRecordsCount : ProcessedRecordsCount.t option;
    (*

    The current number of records processed.

    *)
  9. failedRecordsCount : FailedRecordsCount.t option;
    (*

    The number of records that failed processing because of invalid input or other reasons.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `NotFoundException of NotFoundException.t
  3. | `TooManyRequestsException of TooManyRequestsException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?jobId:??? -> ?importDestination:??? -> ?importDataSource:??? -> ?failureInfo:??? -> ?jobStatus:??? -> ?createdTimestamp:??? -> ?completedTimestamp:??? -> ?processedRecordsCount:??? -> ?failedRecordsCount:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of ProcessedRecordsCount.t | `String of JobId.t | `Structure of (string * [> `Enum of string | `String of S3Url.t | `Structure of (string * [> `Enum of string | `String of ContactListName.t ]) list ]) list | `Timestamp of Timestamp.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