Module Values.CreateCustomModelDeploymentRequestSource

Deploys a custom model for on-demand inference in Amazon Bedrock. After you deploy your custom model, you use the deployment's Amazon Resource Name (ARN) as the modelId parameter when you submit prompts and generate responses with model inference. For more information about setting up on-demand inference for custom models, see Set up inference for a custom model. The following actions are related to the CreateCustomModelDeployment operation: GetCustomModelDeployment ListCustomModelDeployments DeleteCustomModelDeployment

Sourcetype nonrec t = {
  1. modelDeploymentName : ModelDeploymentName.t;
    (*

    The name for the custom model deployment. The name must be unique within your Amazon Web Services account and Region.

    *)
  2. modelArn : CustomModelArn.t;
    (*

    The Amazon Resource Name (ARN) of the custom model to deploy for on-demand inference. The custom model must be in the Active state.

    *)
  3. description : CustomModelDeploymentDescription.t option;
    (*

    A description for the custom model deployment to help you identify its purpose.

    *)
  4. tags : TagList.t option;
    (*

    Tags to assign to the custom model deployment. You can use tags to organize and track your Amazon Web Services resources for cost allocation and management purposes.

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

    A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?tags:??? -> ?clientRequestToken:??? -> modelDeploymentName:ModelDeploymentName.t -> modelArn:CustomModelArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ModelDeploymentName.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