Skip to content

Lists the aliases of a specified image or image version

Description

Lists the aliases of a specified image or image version.

Usage

sagemaker_list_aliases(ImageName, Alias, Version, MaxResults, NextToken)

Arguments

  • ImageName

    [required] The name of the image.

  • Alias

    The alias of the image version.

  • Version

    The version of the image. If image version is not specified, the aliases of all versions of the image are listed.

  • MaxResults

    The maximum number of aliases to return.

  • NextToken

    If the previous call to list_aliases didn't return the full set of aliases, the call returns a token for retrieving the next set of aliases.

Value

A list with the following syntax:

list(
  SageMakerImageVersionAliases = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

svc$list_aliases(
  ImageName = "string",
  Alias = "string",
  Version = 123,
  MaxResults = 123,
  NextToken = "string"
)