SageMaker.Client.
list_aliases
(**kwargs)¶Lists the aliases of a specified image or image version.
See also: AWS API Documentation
Request Syntax
response = client.list_aliases(
ImageName='string',
Alias='string',
Version=123,
MaxResults=123,
NextToken='string'
)
[REQUIRED]
The name of the image.
ListAliases
didn't return the full set of aliases, the call returns a token for retrieving the next set of aliases.dict
Response Syntax
{
'SageMakerImageVersionAliases': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
SageMakerImageVersionAliases (list) --
A list of SageMaker image version aliases.
NextToken (string) --
A token for getting the next set of aliases, if more aliases exist.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound