Module Values.GetModelImportJobResponseSource

Retrieves the properties associated with import model job, including the status of the job. For more information, see Import a customized model in the Amazon Bedrock User Guide.

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

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

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

    The name of the import job.

    *)
  3. importedModelName : ImportedModelName.t option;
    (*

    The name of the imported model.

    *)
  4. importedModelArn : ImportedModelArn.t option;
    (*

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

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

    The Amazon Resource Name (ARN) of the IAM role associated with this job.

    *)
  6. modelDataSource : ModelDataSource.t option;
    (*

    The data source for the imported model.

    *)
  7. status : ModelImportJobStatus.t option;
    (*

    The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.

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

    Information about why the import job failed.

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

    The time the resource was created.

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

    Time the resource was last modified.

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

    Time that the resource transitioned to terminal state.

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

    The Virtual Private Cloud (VPC) configuration of the import model job.

    *)
  13. importedModelKmsKeyArn : KmsKeyArn.t option;
    (*

    The imported model is encrypted at rest using this key.

    *)
}
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:??? -> ?importedModelName:??? -> ?importedModelArn:??? -> ?roleArn:??? -> ?modelDataSource:??? -> ?status:??? -> ?failureMessage:??? -> ?creationTime:??? -> ?lastModifiedTime:??? -> ?endTime:??? -> ?vpcConfig:??? -> ?importedModelKmsKeyArn:??? -> 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 | `String of ModelImportJobArn.t | `Structure of (string * [> `List of [> `String of SubnetId.t ] list | `Structure of (string * [> `String of S3Uri.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