Module Values.GetModelCustomizationJobResponseSource

Retrieves 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.

Sourcetype nonrec t = {
  1. jobArn : ModelCustomizationJobArn.t option;
    (*

    The Amazon Resource Name (ARN) of the customization job.

    *)
  2. jobName : JobName.t option;
    (*

    The name of the customization job.

    *)
  3. outputModelName : CustomModelName.t option;
    (*

    The name of the output model.

    *)
  4. outputModelArn : CustomModelArn.t option;
    (*

    The Amazon Resource Name (ARN) of the output model.

    *)
  5. clientRequestToken : IdempotencyToken.t option;
    (*

    The token that you specified in the CreateCustomizationJob request.

    *)
  6. roleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM role.

    *)
  7. 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.

    *)
  8. statusDetails : StatusDetails.t option;
    (*

    For a Distillation job, the details about the statuses of the sub-tasks of the customization job.

    *)
  9. failureMessage : ErrorMessage.t option;
    (*

    Information about why the job failed.

    *)
  10. creationTime : Timestamp.t option;
    (*

    Time that the resource was created.

    *)
  11. lastModifiedTime : Timestamp.t option;
    (*

    Time that the resource was last modified.

    *)
  12. endTime : Timestamp.t option;
    (*

    Time that the resource transitioned to terminal state.

    *)
  13. baseModelArn : FoundationModelArn.t option;
    (*

    Amazon Resource Name (ARN) of the base model.

    *)
  14. hyperParameters : ModelCustomizationHyperParameters.t option;
    (*

    The hyperparameter values for the job. For details on the format for different models, see Custom model hyperparameters.

    *)
  15. trainingDataConfig : TrainingDataConfig.t option;
    (*

    Contains information about the training dataset.

    *)
  16. validationDataConfig : ValidationDataConfig.t option;
    (*

    Contains information about the validation dataset.

    *)
  17. outputDataConfig : OutputDataConfig.t option;
    (*

    Output data configuration

    *)
  18. customizationType : CustomizationType.t option;
    (*

    The type of model customization.

    *)
  19. outputModelKmsKeyArn : KmsKeyArn.t option;
    (*

    The custom model is encrypted at rest using this key.

    *)
  20. trainingMetrics : TrainingMetrics.t option;
    (*

    Contains training metrics from the job creation.

    *)
  21. validationMetrics : ValidationMetrics.t option;
    (*

    The loss metric for each validator that you provided in the createjob request.

    *)
  22. vpcConfig : VpcConfig.t option;
    (*

    VPC configuration for the custom model job.

    *)
  23. customizationConfig : CustomizationConfig.t option;
    (*

    The customization configuration for the model customization job.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?jobArn:??? -> ?jobName:??? -> ?outputModelName:??? -> ?outputModelArn:??? -> ?clientRequestToken:??? -> ?roleArn:??? -> ?status:??? -> ?statusDetails:??? -> ?failureMessage:??? -> ?creationTime:??? -> ?lastModifiedTime:??? -> ?endTime:??? -> ?baseModelArn:??? -> ?hyperParameters:??? -> ?trainingDataConfig:??? -> ?validationDataConfig:??? -> ?outputDataConfig:??? -> ?customizationType:??? -> ?outputModelKmsKeyArn:??? -> ?trainingMetrics:??? -> ?validationMetrics:??? -> ?vpcConfig:??? -> ?customizationConfig:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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