| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.ListAliases
Description
Lists the aliases of a specified image or image version.
This operation returns paginated results.
Synopsis
- data ListAliases = ListAliases' {}
 - newListAliases :: Text -> ListAliases
 - listAliases_alias :: Lens' ListAliases (Maybe Text)
 - listAliases_maxResults :: Lens' ListAliases (Maybe Natural)
 - listAliases_nextToken :: Lens' ListAliases (Maybe Text)
 - listAliases_version :: Lens' ListAliases (Maybe Natural)
 - listAliases_imageName :: Lens' ListAliases Text
 - data ListAliasesResponse = ListAliasesResponse' {}
 - newListAliasesResponse :: Int -> ListAliasesResponse
 - listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text)
 - listAliasesResponse_sageMakerImageVersionAliases :: Lens' ListAliasesResponse (Maybe [Text])
 - listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int
 
Creating a Request
data ListAliases Source #
See: newListAliases smart constructor.
Constructors
| ListAliases' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> ListAliases | 
Create a value of ListAliases with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:alias:ListAliases', listAliases_alias - The alias of the image version.
$sel:maxResults:ListAliases', listAliases_maxResults - The maximum number of aliases to return.
ListAliases, listAliases_nextToken - If the previous call to ListAliases didn't return the full set of
 aliases, the call returns a token for retrieving the next set of
 aliases.
ListAliases, listAliases_version - The version of the image. If image version is not specified, the aliases
 of all versions of the image are listed.
ListAliases, listAliases_imageName - The name of the image.
Request Lenses
listAliases_alias :: Lens' ListAliases (Maybe Text) Source #
The alias of the image version.
listAliases_maxResults :: Lens' ListAliases (Maybe Natural) Source #
The maximum number of aliases to return.
listAliases_nextToken :: Lens' ListAliases (Maybe Text) Source #
If the previous call to ListAliases didn't return the full set of
 aliases, the call returns a token for retrieving the next set of
 aliases.
listAliases_version :: Lens' ListAliases (Maybe Natural) Source #
The version of the image. If image version is not specified, the aliases of all versions of the image are listed.
listAliases_imageName :: Lens' ListAliases Text Source #
The name of the image.
Destructuring the Response
data ListAliasesResponse Source #
See: newListAliasesResponse smart constructor.
Constructors
| ListAliasesResponse' | |
Fields 
  | |
Instances
newListAliasesResponse Source #
Arguments
| :: Int | |
| -> ListAliasesResponse | 
Create a value of ListAliasesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListAliases, listAliasesResponse_nextToken - A token for getting the next set of aliases, if more aliases exist.
$sel:sageMakerImageVersionAliases:ListAliasesResponse', listAliasesResponse_sageMakerImageVersionAliases - A list of SageMaker image version aliases.
$sel:httpStatus:ListAliasesResponse', listAliasesResponse_httpStatus - The response's http status code.
Response Lenses
listAliasesResponse_nextToken :: Lens' ListAliasesResponse (Maybe Text) Source #
A token for getting the next set of aliases, if more aliases exist.
listAliasesResponse_sageMakerImageVersionAliases :: Lens' ListAliasesResponse (Maybe [Text]) Source #
A list of SageMaker image version aliases.
listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int Source #
The response's http status code.