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.DeleteImageVersion
Description
Deletes a version of a SageMaker image. The container image the version represents isn't deleted.
Synopsis
- data DeleteImageVersion = DeleteImageVersion' {}
- newDeleteImageVersion :: Text -> DeleteImageVersion
- deleteImageVersion_alias :: Lens' DeleteImageVersion (Maybe Text)
- deleteImageVersion_version :: Lens' DeleteImageVersion (Maybe Natural)
- deleteImageVersion_imageName :: Lens' DeleteImageVersion Text
- data DeleteImageVersionResponse = DeleteImageVersionResponse' {
- httpStatus :: Int
- newDeleteImageVersionResponse :: Int -> DeleteImageVersionResponse
- deleteImageVersionResponse_httpStatus :: Lens' DeleteImageVersionResponse Int
Creating a Request
data DeleteImageVersion Source #
See: newDeleteImageVersion
smart constructor.
Constructors
DeleteImageVersion' | |
Instances
newDeleteImageVersion Source #
Arguments
:: Text | |
-> DeleteImageVersion |
Create a value of DeleteImageVersion
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:DeleteImageVersion'
, deleteImageVersion_alias
- The alias of the image to delete.
DeleteImageVersion
, deleteImageVersion_version
- The version to delete.
DeleteImageVersion
, deleteImageVersion_imageName
- The name of the image to delete.
Request Lenses
deleteImageVersion_alias :: Lens' DeleteImageVersion (Maybe Text) Source #
The alias of the image to delete.
deleteImageVersion_version :: Lens' DeleteImageVersion (Maybe Natural) Source #
The version to delete.
deleteImageVersion_imageName :: Lens' DeleteImageVersion Text Source #
The name of the image to delete.
Destructuring the Response
data DeleteImageVersionResponse Source #
See: newDeleteImageVersionResponse
smart constructor.
Constructors
DeleteImageVersionResponse' | |
Fields
|
Instances
newDeleteImageVersionResponse Source #
Create a value of DeleteImageVersionResponse
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:httpStatus:DeleteImageVersionResponse'
, deleteImageVersionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteImageVersionResponse_httpStatus :: Lens' DeleteImageVersionResponse Int Source #
The response's http status code.