Module Values.CreateEndpointRequestSource

Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.

Sourcetype nonrec t = {
  1. endpointName : ComprehendEndpointName.t;
    (*

    This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests to this resource.

    *)
  2. modelArn : ComprehendModelArn.t option;
    (*

    The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.

    *)
  3. desiredInferenceUnits : InferenceUnitsInteger.t;
    (*

    The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.

    *)
  4. clientRequestToken : ClientRequestTokenString.t option;
    (*

    An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a ResourceInUseException.

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

    Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.

    *)
  6. dataAccessRoleArn : IamRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).

    *)
  7. flywheelArn : ComprehendFlywheelArn.t option;
    (*

    The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.

    *)
}
Sourceval context_ : string
Sourceval make : ?modelArn:??? -> ?clientRequestToken:??? -> ?tags:??? -> ?dataAccessRoleArn:??? -> ?flywheelArn:??? -> endpointName:ComprehendEndpointName.t -> desiredInferenceUnits:InferenceUnitsInteger.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of InferenceUnitsInteger.t | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ComprehendEndpointName.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