CreatePresignedMlflowTrackingServerUrlCommand

Returns a presigned URL that you can use to connect to the MLflow UI attached to your tracking server. For more information, see Launch the MLflow UI using a presigned URL .

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { SageMakerClient, CreatePresignedMlflowTrackingServerUrlCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
// const { SageMakerClient, CreatePresignedMlflowTrackingServerUrlCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
const client = new SageMakerClient(config);
const input = { // CreatePresignedMlflowTrackingServerUrlRequest
  TrackingServerName: "STRING_VALUE", // required
  ExpiresInSeconds: Number("int"),
  SessionExpirationDurationInSeconds: Number("int"),
};
const command = new CreatePresignedMlflowTrackingServerUrlCommand(input);
const response = await client.send(command);
// { // CreatePresignedMlflowTrackingServerUrlResponse
//   AuthorizedUrl: "STRING_VALUE",
// };

CreatePresignedMlflowTrackingServerUrlCommand Input

Parameter
Type
Description
TrackingServerName
Required
string | undefined

The name of the tracking server to connect to your MLflow UI.

ExpiresInSeconds
number | undefined

The duration in seconds that your presigned URL is valid. The presigned URL can be used only once.

SessionExpirationDurationInSeconds
number | undefined

The duration in seconds that your MLflow UI session is valid.

CreatePresignedMlflowTrackingServerUrlCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
AuthorizedUrl
string | undefined

A presigned URL with an authorization token.

Throws

Name
Fault
Details
ResourceNotFound
client

Resource being access is not found.

SageMakerServiceException
Base exception class for all service exceptions from SageMaker service.