| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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 -> Natural -> DeleteImageVersion
- deleteImageVersion_imageName :: Lens' DeleteImageVersion Text
- deleteImageVersion_version :: Lens' DeleteImageVersion Natural
- 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 | |
| -> Natural | |
| -> 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:imageName:DeleteImageVersion', deleteImageVersion_imageName - The name of the image.
$sel:version:DeleteImageVersion', deleteImageVersion_version - The version to delete.
Request Lenses
deleteImageVersion_imageName :: Lens' DeleteImageVersion Text Source #
The name of the image.
deleteImageVersion_version :: Lens' DeleteImageVersion Natural Source #
The version 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.