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 |
Deletes the specified Amazon FPGA Image (AFI).
Synopsis
- data DeleteFpgaImage = DeleteFpgaImage' {
- dryRun :: Maybe Bool
- fpgaImageId :: Text
- newDeleteFpgaImage :: Text -> DeleteFpgaImage
- deleteFpgaImage_dryRun :: Lens' DeleteFpgaImage (Maybe Bool)
- deleteFpgaImage_fpgaImageId :: Lens' DeleteFpgaImage Text
- data DeleteFpgaImageResponse = DeleteFpgaImageResponse' {
- return' :: Maybe Bool
- httpStatus :: Int
- newDeleteFpgaImageResponse :: Int -> DeleteFpgaImageResponse
- deleteFpgaImageResponse_return :: Lens' DeleteFpgaImageResponse (Maybe Bool)
- deleteFpgaImageResponse_httpStatus :: Lens' DeleteFpgaImageResponse Int
Creating a Request
data DeleteFpgaImage Source #
See: newDeleteFpgaImage
smart constructor.
DeleteFpgaImage' | |
|
Instances
Create a value of DeleteFpgaImage
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:dryRun:DeleteFpgaImage'
, deleteFpgaImage_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DeleteFpgaImage
, deleteFpgaImage_fpgaImageId
- The ID of the AFI.
Request Lenses
deleteFpgaImage_dryRun :: Lens' DeleteFpgaImage (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
deleteFpgaImage_fpgaImageId :: Lens' DeleteFpgaImage Text Source #
The ID of the AFI.
Destructuring the Response
data DeleteFpgaImageResponse Source #
See: newDeleteFpgaImageResponse
smart constructor.
DeleteFpgaImageResponse' | |
|
Instances
newDeleteFpgaImageResponse Source #
Create a value of DeleteFpgaImageResponse
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:return':DeleteFpgaImageResponse'
, deleteFpgaImageResponse_return
- Is true
if the request succeeds, and an error otherwise.
$sel:httpStatus:DeleteFpgaImageResponse'
, deleteFpgaImageResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFpgaImageResponse_return :: Lens' DeleteFpgaImageResponse (Maybe Bool) Source #
Is true
if the request succeeds, and an error otherwise.
deleteFpgaImageResponse_httpStatus :: Lens' DeleteFpgaImageResponse Int Source #
The response's http status code.