Sagemaker

@thotnr-aws-accl/custom-app-api / Exports / Sagemaker

Class: Sagemaker

Sagemaker utility APIs

Table of contents

Methods

Methods

getPythonConfigForFilterCode

Static getPythonConfigForFilterCode(jobCode, filterCode): Promise<string>

Retrieves the Python configuration for a given filter code in the context of a specific job code.

Parameters

Name
Type
Description

jobCode

string

The unique identifier for the job being processed.

filterCode

string

The identifier or code for the specific filter whose Python configuration is to be retrieved.

Returns

Promise<string>

A promise that resolves to the Python configuration string for the provided filter code.


getSageMakerPreSignedUrl

Static getSageMakerPreSignedUrl(): Promise<string>

Returns

Promise<string>

Deprecated


getSageMakerPreSignedUrlByMlCode

Static getSageMakerPreSignedUrlByMlCode(mlCode, agentLabel?): Promise<string>

This method is used to get a pre-signed URL to open SageMaker based on a mlCode.

Parameters

Name
Type

mlCode

string

agentLabel?

string

Returns

Promise<string>

Last updated