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 |
Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and unshare the image if it is shared with other accounts.
Synopsis
- data DeleteWorkspaceImage = DeleteWorkspaceImage' {}
- newDeleteWorkspaceImage :: Text -> DeleteWorkspaceImage
- deleteWorkspaceImage_imageId :: Lens' DeleteWorkspaceImage Text
- data DeleteWorkspaceImageResponse = DeleteWorkspaceImageResponse' {
- httpStatus :: Int
- newDeleteWorkspaceImageResponse :: Int -> DeleteWorkspaceImageResponse
- deleteWorkspaceImageResponse_httpStatus :: Lens' DeleteWorkspaceImageResponse Int
Creating a Request
data DeleteWorkspaceImage Source #
See: newDeleteWorkspaceImage
smart constructor.
Instances
newDeleteWorkspaceImage Source #
Create a value of DeleteWorkspaceImage
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:imageId:DeleteWorkspaceImage'
, deleteWorkspaceImage_imageId
- The identifier of the image.
Request Lenses
deleteWorkspaceImage_imageId :: Lens' DeleteWorkspaceImage Text Source #
The identifier of the image.
Destructuring the Response
data DeleteWorkspaceImageResponse Source #
See: newDeleteWorkspaceImageResponse
smart constructor.
DeleteWorkspaceImageResponse' | |
|
Instances
newDeleteWorkspaceImageResponse Source #
Create a value of DeleteWorkspaceImageResponse
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:DeleteWorkspaceImageResponse'
, deleteWorkspaceImageResponse_httpStatus
- The response's http status code.
Response Lenses
deleteWorkspaceImageResponse_httpStatus :: Lens' DeleteWorkspaceImageResponse Int Source #
The response's http status code.