Create Endpoint
comprehend_create_endpoint | R Documentation |
Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints¶
Description¶
Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.
Usage¶
comprehend_create_endpoint(EndpointName, ModelArn,
DesiredInferenceUnits, ClientRequestToken, Tags, DataAccessRoleArn,
FlywheelArn)
Arguments¶
EndpointName
[required] This is the descriptive suffix that becomes part of the
EndpointArn
used 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
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.
Value¶
A list with the following syntax: