Module Values.ImportModelResponseSource

Creates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one. If the source model is in another Amazon Web Services account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same Amazon Web Services Region that you're using when you import. You can't import a model that's in a different Region.

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

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

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `KmsKeyValidationException of KmsKeyValidationException.t
  4. | `ResourceInUseException of ResourceInUseException.t
  5. | `ResourceLimitExceededException of ResourceLimitExceededException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ResourceUnavailableException of ResourceUnavailableException.t
  8. | `TooManyRequestsException of TooManyRequestsException.t
  9. | `TooManyTagsException of TooManyTagsException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?modelArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `InvalidRequestException of InvalidRequestException.t | `KmsKeyValidationException of KmsKeyValidationException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceLimitExceededException of ResourceLimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ResourceUnavailableException of ResourceUnavailableException.t | `TooManyRequestsException of TooManyRequestsException.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `InvalidRequestException of InvalidRequestException.t | `KmsKeyValidationException of KmsKeyValidationException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceLimitExceededException of ResourceLimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ResourceUnavailableException of ResourceUnavailableException.t | `TooManyRequestsException of TooManyRequestsException.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ComprehendModelArn.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