Values.GetModelInvocationJobResponseSourceGets details about a batch inference job. For more information, see Monitor batch inference jobs
type nonrec t = {jobArn : ModelInvocationJobArn.t option;The Amazon Resource Name (ARN) of the batch inference job.
*)jobName : ModelInvocationJobName.t option;The name of the batch inference job.
*)modelId : ModelId.t option;The unique identifier of the foundation model used for model inference.
*)clientRequestToken : ModelInvocationIdempotencyToken.t option;A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
*)roleArn : RoleArn.t option;The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.
*)status : ModelInvocationJobStatus.t option;The status of the batch inference job. The following statuses are possible: Submitted – This job has been submitted to a queue for validation. Validating – This job is being validated for the requirements described in Format and upload your batch inference data. The criteria include the following: Your IAM service role has access to the Amazon S3 buckets containing your files. Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the modelInput value matches the request body for the model. Your files fulfill the requirements for file size and number of records. For more information, see Quotas for Amazon Bedrock. Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn. Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request. InProgress – This job has begun. You can start viewing the results in the output S3 location. Completed – This job has successfully completed. View the output files in the output S3 location. PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location. Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the Amazon Web Services Support Center. Stopped – This job was stopped by a user. Stopping – This job is being stopped by a user.
*)message : Message.t option;If the batch inference job failed, this field contains a message describing why the job failed.
*)submitTime : Timestamp.t option;The time at which the batch inference job was submitted.
*)lastModifiedTime : Timestamp.t option;The time at which the batch inference job was last modified.
*)endTime : Timestamp.t option;The time at which the batch inference job ended.
*)inputDataConfig : ModelInvocationJobInputDataConfig.t option;Details about the location of the input to the batch inference job.
*)outputDataConfig : ModelInvocationJobOutputDataConfig.t option;Details about the location of the output of the batch inference job.
*)vpcConfig : VpcConfig.t option;The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.
*)timeoutDurationInHours : ModelInvocationJobTimeoutDurationInHours.t option;The number of hours after which batch inference job was set to time out.
*)jobExpirationTime : Timestamp.t option;The time at which the batch inference job times or timed out.
*)modelInvocationType : ModelInvocationType.t option;The invocation endpoint for ModelInvocationJob
*)totalRecordCount : NonNegativeLong.t option;The total number of records in the batch inference job.
*)processedRecordCount : NonNegativeLong.t option;The number of records that have been processed in the batch inference job.
*)successRecordCount : NonNegativeLong.t option;The number of records that were successfully processed in the batch inference job.
*)errorRecordCount : NonNegativeLong.t option;The number of records that failed to process in the batch inference job.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?jobArn:??? ->
?jobName:??? ->
?modelId:??? ->
?clientRequestToken:??? ->
?roleArn:??? ->
?status:??? ->
?message:??? ->
?submitTime:??? ->
?lastModifiedTime:??? ->
?endTime:??? ->
?inputDataConfig:??? ->
?outputDataConfig:??? ->
?vpcConfig:??? ->
?timeoutDurationInHours:??? ->
?jobExpirationTime:??? ->
?modelInvocationType:??? ->
?totalRecordCount:??? ->
?processedRecordCount:??? ->
?successRecordCount:??? ->
?errorRecordCount:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of ModelInvocationJobTimeoutDurationInHours.t
| `Long of NonNegativeLong.t
| `String of ModelInvocationJobArn.t
| `Structure of
(string
* [> `List of [> `String of SubnetId.t ] list
| `Structure of
(string * [> `Enum of string | `String of S3Uri.t ]) list ])
list
| `Timestamp of Timestamp.t ])
list ]