Creating an Amazon SageMaker connection
Amazon SageMaker connections are created in Data load editor or Script.
Once you have created a connection, you can select data from the available tables to send to Amazon SageMaker for calculations, and then load that data into your app. This connection can not only be used in your data load script but also in chart expressions to call model endpoints and perform real time chart expression calculations.
You must know the settings and access credentials to the Amazon SageMaker service that you want to connect to.
Configurable settings
The following settings can be configured in the connection dialog:
Field | Description |
---|---|
Endpoint Name |
Name of the endpoint. The endpoint name is the identifier given for the endpoint on AWS. This is typically created by the user who sets up the endpoint or deploys a model. |
Model Name |
Name of the deployed model. This parameter is only required when a multi-model endpoint is deployed. For a simple endpoint, this parameter should not be provided as it will trigger an error from AWS. |
Model Variant Name |
Name of variant of the deployed model. This parameter is only required when a multi-model endpoint is deployed. For a simple endpoint, this parameter should not be provided as it will trigger an error from AWS. |
Settings |
The following settings are available:
|
Authentication |
Provide the AWS authentication Access key and Secret key for the Amazon Comprehend endpoints. These need to be created with access to the right policy permissions. The authentication properties can be found in the AWS console and need to be input every time the connection needs to be re-authenticated. |
Response Format |
Value of response format of the deployed machine learning model:
Most models will return their data in JSON format, however some only return a text-based output. The option needs to be selected based on the type of model being deployed, otherwise this will result in a connection setting error. |
Response Table |
|
Response Fields |
|
Association |
|
Name | The name of the connection. The default name will be used if you do not enter a name. |
Creating a new connection
Do the following:
-
Access the connector through Data load editor or Script.
-
Click Create new connection.
-
Under Space, select the space where the connection will be located.
-
Select Amazon SageMaker from the list of data connectors.
-
Fill out the connection dialog fields.
-
Click Create.
Your connection is now listed under Data connections in Data load editor or Script.