Module Values.CreateHarvestJobResponseSource

Creates a new HarvestJob record.

Sourcetype nonrec t = {
  1. arn : string option;
    (*

    The Amazon Resource Name (ARN) assigned to the HarvestJob.

    *)
  2. channelId : string option;
    (*

    The ID of the Channel that the HarvestJob will harvest from.

    *)
  3. createdAt : string option;
    (*

    The date and time the HarvestJob was submitted.

    *)
  4. endTime : string option;
    (*

    The end of the time-window which will be harvested.

    *)
  5. id : string option;
    (*

    The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.

    *)
  6. originEndpointId : string option;
    (*

    The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

    *)
  7. s3Destination : S3Destination.t option;
  8. startTime : string option;
    (*

    The start of the time-window which will be harvested.

    *)
  9. status : Status.t option;
    (*

    The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.

    *)
}
Sourcetype nonrec error = [
  1. | `ForbiddenException of ForbiddenException.t
  2. | `InternalServerErrorException of InternalServerErrorException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `ServiceUnavailableException of ServiceUnavailableException.t
  5. | `TooManyRequestsException of TooManyRequestsException.t
  6. | `UnprocessableEntityException of UnprocessableEntityException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?channelId:??? -> ?createdAt:??? -> ?endTime:??? -> ?id:??? -> ?originEndpointId:??? -> ?s3Destination:??? -> ?startTime:??? -> ?status:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `NotFoundException of NotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option | `UnprocessableEntityException of UnprocessableEntityException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ForbiddenException of ForbiddenException.t | `InternalServerErrorException of InternalServerErrorException.t | `NotFoundException of NotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option | `UnprocessableEntityException of UnprocessableEntityException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `String of string ]) list ]) 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