| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.EC2.DeleteFpgaImage
Description
Deletes the specified Amazon FPGA Image (AFI).
Synopsis
- deleteFpgaImage :: Text -> DeleteFpgaImage
- data DeleteFpgaImage
- dfiDryRun :: Lens' DeleteFpgaImage (Maybe Bool)
- dfiFpgaImageId :: Lens' DeleteFpgaImage Text
- deleteFpgaImageResponse :: Int -> DeleteFpgaImageResponse
- data DeleteFpgaImageResponse
- delrsReturn :: Lens' DeleteFpgaImageResponse (Maybe Bool)
- delrsResponseStatus :: Lens' DeleteFpgaImageResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeleteFpgaImage |
Creates a value of DeleteFpgaImage with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfiDryRun- 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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.dfiFpgaImageId- The ID of the AFI.
data DeleteFpgaImage Source #
See: deleteFpgaImage smart constructor.
Instances
Request Lenses
dfiDryRun :: 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 .
dfiFpgaImageId :: Lens' DeleteFpgaImage Text Source #
The ID of the AFI.
Destructuring the Response
deleteFpgaImageResponse Source #
Arguments
| :: Int | |
| -> DeleteFpgaImageResponse |
Creates a value of DeleteFpgaImageResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delrsReturn- Istrueif the request succeeds, and an error otherwise.delrsResponseStatus- -- | The response status code.
data DeleteFpgaImageResponse Source #
See: deleteFpgaImageResponse smart constructor.
Instances
Response Lenses
delrsReturn :: Lens' DeleteFpgaImageResponse (Maybe Bool) Source #
Is true if the request succeeds, and an error otherwise.
delrsResponseStatus :: Lens' DeleteFpgaImageResponse Int Source #
- - | The response status code.