Module Values.GetCustomModelResponseSource

Get the properties associated with a Amazon Bedrock custom model that you have created. For more information, see Custom models in the Amazon Bedrock User Guide.

Sourcetype nonrec t = {
  1. modelArn : ModelArn.t option;
    (*

    Amazon Resource Name (ARN) associated with this model.

    *)
  2. modelName : CustomModelName.t option;
    (*

    Model name associated with this model.

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

    Job name associated with this model.

    *)
  4. jobArn : ModelCustomizationJobArn.t option;
    (*

    Job Amazon Resource Name (ARN) associated with this model. For models that you create with the CreateCustomModel API operation, this is NULL.

    *)
  5. baseModelArn : ModelArn.t option;
    (*

    Amazon Resource Name (ARN) of the base model.

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

    The type of model customization.

    *)
  7. modelKmsKeyArn : KmsKeyArn.t option;
    (*

    The custom model is encrypted at rest using this key.

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

    Hyperparameter values associated with this model. For details on the format for different models, see Custom model hyperparameters.

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

    Contains information about the training dataset.

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

    Contains information about the validation dataset.

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

    Output data configuration associated with this custom model.

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

    Contains training metrics from the job creation.

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

    The validation metrics from the job creation.

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

    Creation time of the model.

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

    The customization configuration for the custom model.

    *)
  16. modelStatus : ModelStatus.t option;
    (*

    The current status of the custom model. Possible values include: Creating - The model is being created and validated. Active - The model has been successfully created and is ready for use. Failed - The model creation process failed. Check the failureMessage field for details.

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

    A failure message for any issues that occurred when creating the custom model. This is included for only a failed CreateCustomModel operation.

    *)
}
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 : ?modelArn:??? -> ?modelName:??? -> ?jobName:??? -> ?jobArn:??? -> ?baseModelArn:??? -> ?customizationType:??? -> ?modelKmsKeyArn:??? -> ?hyperParameters:??? -> ?trainingDataConfig:??? -> ?validationDataConfig:??? -> ?outputDataConfig:??? -> ?trainingMetrics:??? -> ?validationMetrics:??? -> ?creationTime:??? -> ?customizationConfig:??? -> ?modelStatus:??? -> ?failureMessage:??? -> 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 ModelArn.t | `Structure of (string * [> `Float of MetricFloat.t | `List of [> `Structure of (string * [> `String of S3Uri.t ]) list ] list | `String of S3Uri.t | `Structure of (string * [> `Boolean of UsePromptResponse.t | `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 ]) 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