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
EndpointArnused for all subsequent requests to this resource. -
ModelArnThe 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.
-
ClientRequestTokenAn idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a
ResourceInUseException. -
TagsTags 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.
-
DataAccessRoleArnThe 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).
-
FlywheelArnThe Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
Value¶
A list with the following syntax: