Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_CPD=>CREATEENDPOINT()

About CreateEndpoint

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

Method Signature

IMPORTING

Required arguments:

IV_ENDPOINTNAME TYPE /AWS1/CPDCOMPREHENDENDPTNAME /AWS1/CPDCOMPREHENDENDPTNAME

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

IV_DESIREDINFERENCEUNITS TYPE /AWS1/CPDINFERENCEUNITSINTEGER /AWS1/CPDINFERENCEUNITSINTEGER

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.

Optional arguments:

IV_MODELARN TYPE /AWS1/CPDCOMPREHENDMODELARN /AWS1/CPDCOMPREHENDMODELARN

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

IV_CLIENTREQUESTTOKEN TYPE /AWS1/CPDCLIENTREQTOKENSTRING /AWS1/CPDCLIENTREQTOKENSTRING

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

IT_TAGS TYPE /AWS1/CL_CPDTAG=>TT_TAGLIST TT_TAGLIST

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.

IV_DATAACCESSROLEARN TYPE /AWS1/CPDIAMROLEARN /AWS1/CPDIAMROLEARN

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).

IV_FLYWHEELARN TYPE /AWS1/CPDCOMPREHENDFLYWHEELARN /AWS1/CPDCOMPREHENDFLYWHEELARN

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CPDCREATEENDPTRSP /AWS1/CL_CPDCREATEENDPTRSP