Values.GetModelCustomizationJobResponseSourceRetrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Amazon Bedrock User Guide.
type nonrec t = {jobArn : ModelCustomizationJobArn.t option;The Amazon Resource Name (ARN) of the customization job.
*)jobName : JobName.t option;The name of the customization job.
*)outputModelName : CustomModelName.t option;The name of the output model.
*)outputModelArn : CustomModelArn.t option;The Amazon Resource Name (ARN) of the output model.
*)clientRequestToken : IdempotencyToken.t option;The token that you specified in the CreateCustomizationJob request.
*)roleArn : RoleArn.t option;The Amazon Resource Name (ARN) of the IAM role.
*)status : ModelCustomizationJobStatus.t option;The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.
*)statusDetails : StatusDetails.t option;For a Distillation job, the details about the statuses of the sub-tasks of the customization job.
*)failureMessage : ErrorMessage.t option;Information about why the job failed.
*)creationTime : Timestamp.t option;Time that the resource was created.
*)lastModifiedTime : Timestamp.t option;Time that the resource was last modified.
*)endTime : Timestamp.t option;Time that the resource transitioned to terminal state.
*)baseModelArn : FoundationModelArn.t option;Amazon Resource Name (ARN) of the base model.
*)hyperParameters : ModelCustomizationHyperParameters.t option;The hyperparameter values for the job. For details on the format for different models, see Custom model hyperparameters.
*)trainingDataConfig : TrainingDataConfig.t option;Contains information about the training dataset.
*)validationDataConfig : ValidationDataConfig.t option;Contains information about the validation dataset.
*)outputDataConfig : OutputDataConfig.t option;Output data configuration
*)customizationType : CustomizationType.t option;The type of model customization.
*)outputModelKmsKeyArn : KmsKeyArn.t option;The custom model is encrypted at rest using this key.
*)trainingMetrics : TrainingMetrics.t option;Contains training metrics from the job creation.
*)validationMetrics : ValidationMetrics.t option;The loss metric for each validator that you provided in the createjob request.
*)vpcConfig : VpcConfig.t option;VPC configuration for the custom model job.
*)customizationConfig : CustomizationConfig.t option;The customization configuration for the model customization 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:ModelCustomizationJobArn.t ->
?jobName:JobName.t ->
?outputModelName:CustomModelName.t ->
?outputModelArn:CustomModelArn.t ->
?clientRequestToken:IdempotencyToken.t ->
?roleArn:RoleArn.t ->
?status:ModelCustomizationJobStatus.t ->
?statusDetails:StatusDetails.t ->
?failureMessage:ErrorMessage.t ->
?creationTime:Timestamp.t ->
?lastModifiedTime:Timestamp.t ->
?endTime:Timestamp.t ->
?baseModelArn:FoundationModelArn.t ->
?hyperParameters:ModelCustomizationHyperParameters.t ->
?trainingDataConfig:TrainingDataConfig.t ->
?validationDataConfig:ValidationDataConfig.t ->
?outputDataConfig:OutputDataConfig.t ->
?customizationType:CustomizationType.t ->
?outputModelKmsKeyArn:KmsKeyArn.t ->
?trainingMetrics:TrainingMetrics.t ->
?validationMetrics:ValidationMetrics.t ->
?vpcConfig:VpcConfig.t ->
?customizationConfig:CustomizationConfig.t ->
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
| `List of
[> `Structure of (string * [> `Float of MetricFloat.t ]) list ]
list
| `Map of
([> `String of String_.t ] * [> `String of String_.t ]) list
| `String of ModelCustomizationJobArn.t
| `Structure of
(string
* [> `Float of MetricFloat.t
| `List of
[> `String of SubnetId.t
| `Structure of (string * [> `String of S3Uri.t ]) list ]
list
| `String of S3Uri.t
| `Structure of
(string
* [> `Boolean of UsePromptResponse.t
| `Enum of string
| `Structure of
(string
* [> `Enum of string
| `Float of RFTLearningRate.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Map of
([> `String of
RequestMetadataMapKeyString.t ]
* [> `String of
RequestMetadataMapValueString.t ])
list ])
list ]
list
| `Map of
([> `String of RequestMetadataMapKeyString.t ]
* [> `String of RequestMetadataMapValueString.t ])
list
| `String of S3Uri.t
| `Structure of
(string * [> `String of LambdaArn.t ]) list ])
list
| `Timestamp of Timestamp.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]