Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints
Source:R/comprehend_operations.R
comprehend_create_endpoint.RdCreates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.
See https://www.paws-r-sdk.com/docs/comprehend_create_endpoint/ for full documentation.
Usage
comprehend_create_endpoint(
EndpointName,
ModelArn = NULL,
DesiredInferenceUnits,
ClientRequestToken = NULL,
Tags = NULL,
DataAccessRoleArn = NULL,
FlywheelArn = NULL
)Arguments
- EndpointName
[required] This is the descriptive suffix that becomes part of the
EndpointArnused for all subsequent requests to this resource.- ModelArn
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
- DesiredInferenceUnits
[required] 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.
- ClientRequestToken
An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a
ResourceInUseException.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.
- DataAccessRoleArn
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).
- FlywheelArn
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.