| 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.Lightsail.DeleteContainerImage
Description
Deletes a container image that is registered to your Amazon Lightsail container service.
Synopsis
- data DeleteContainerImage = DeleteContainerImage' {
- serviceName :: Text
- image :: Text
- newDeleteContainerImage :: Text -> Text -> DeleteContainerImage
- deleteContainerImage_serviceName :: Lens' DeleteContainerImage Text
- deleteContainerImage_image :: Lens' DeleteContainerImage Text
- data DeleteContainerImageResponse = DeleteContainerImageResponse' {
- httpStatus :: Int
- newDeleteContainerImageResponse :: Int -> DeleteContainerImageResponse
- deleteContainerImageResponse_httpStatus :: Lens' DeleteContainerImageResponse Int
Creating a Request
data DeleteContainerImage Source #
See: newDeleteContainerImage smart constructor.
Constructors
| DeleteContainerImage' | |
Fields
| |
Instances
newDeleteContainerImage Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteContainerImage |
Create a value of DeleteContainerImage 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:
DeleteContainerImage, deleteContainerImage_serviceName - The name of the container service for which to delete a registered
container image.
DeleteContainerImage, deleteContainerImage_image - The name of the container image to delete from the container service.
Use the GetContainerImages action to get the name of the container
images that are registered to a container service.
Container images sourced from your Lightsail container service, that are
registered and stored on your service, start with a colon (:). For
example, :container-service-1.mystaticwebsite.1. Container images
sourced from a public registry like Docker Hub don't start with a
colon. For example, nginx:latest or nginx.
Request Lenses
deleteContainerImage_serviceName :: Lens' DeleteContainerImage Text Source #
The name of the container service for which to delete a registered container image.
deleteContainerImage_image :: Lens' DeleteContainerImage Text Source #
The name of the container image to delete from the container service.
Use the GetContainerImages action to get the name of the container
images that are registered to a container service.
Container images sourced from your Lightsail container service, that are
registered and stored on your service, start with a colon (:). For
example, :container-service-1.mystaticwebsite.1. Container images
sourced from a public registry like Docker Hub don't start with a
colon. For example, nginx:latest or nginx.
Destructuring the Response
data DeleteContainerImageResponse Source #
See: newDeleteContainerImageResponse smart constructor.
Constructors
| DeleteContainerImageResponse' | |
Fields
| |
Instances
newDeleteContainerImageResponse Source #
Create a value of DeleteContainerImageResponse 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:DeleteContainerImageResponse', deleteContainerImageResponse_httpStatus - The response's http status code.
Response Lenses
deleteContainerImageResponse_httpStatus :: Lens' DeleteContainerImageResponse Int Source #
The response's http status code.