API_Request In-database Function Syntax Elements | AWS | Vantage API Integration - API_Request In-database Function Syntax Elements - Teradata Vantage

Teradata Vantageā„¢ - API Integration Guide for Cloud Machine Learning

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Vantage
Release Number
1.4
Published
September 2023
Language
English (United States)
Last Update
2023-09-28
dita:mapPath
mgu1643999543506.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
mgu1643999543506
Arguments Category Description Default Values Permitted Values Data Type Charset (Applicable for String) Case Sensitive
API_TYPE Required Specifies the API to be used. aws-sagemaker
  • aws-sagemaker
  • aws-forecast
VARCHAR Unicode No
AUTHORIZATION Required Specifies a JSON string representing AWS client credentials.

It supports both static and dynamic AWS credentials.

NA NA VARCHAR Unicode Yes
CONTENT_TYPE Optional Specifies content type for sending input data to SageMaker.
It is not required for Amazon Forecast.
json
  • json
  • csv
VARCHAR Unicode Yes
ENDPOINT Required Specifies the SageMaker endpoint name. NA NA VARCHAR Unicode Yes
ENDPOINT_URL Optional Specifies the SageMaker endpoint URL, if the default URL is not available.
It is not required for Amazon Forecast.

See Amazon site for more information: https://docs.aws.amazon.com/sagemaker/latest/dg/interface-vpc-endpoint.html

"" HTTPS URL VARCHAR Unicode Yes
KEY_START_INDEX Optional

Specifies the column index for the key in the input column. Column index count starts from '0'.

For example:

For SELECT col1,col2, key1, key2 from table, you should use '2' so that In-database Function will consider key1, key2 to form key to be sent to SageMaker.

It is not required for Amazon Forecast.
NA NA VARCHAR Unicode No
TARGET_MODEL Optional Specifies the model for scoring using In-database Function, if the SageMaker endpoint hosts multiple endpoints.
It is not required for Amazon Forecast.
NA NA VARCHAR Unicode Yes