| 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.ResetFpgaImageAttribute
Description
Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value. You can only reset the load permission attribute.
Synopsis
- resetFpgaImageAttribute :: Text -> ResetFpgaImageAttribute
- data ResetFpgaImageAttribute
- rfiaAttribute :: Lens' ResetFpgaImageAttribute (Maybe ResetFpgaImageAttributeName)
- rfiaDryRun :: Lens' ResetFpgaImageAttribute (Maybe Bool)
- rfiaFpgaImageId :: Lens' ResetFpgaImageAttribute Text
- resetFpgaImageAttributeResponse :: Int -> ResetFpgaImageAttributeResponse
- data ResetFpgaImageAttributeResponse
- rfiarsReturn :: Lens' ResetFpgaImageAttributeResponse (Maybe Bool)
- rfiarsResponseStatus :: Lens' ResetFpgaImageAttributeResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ResetFpgaImageAttribute |
Creates a value of ResetFpgaImageAttribute with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rfiaAttribute- The attribute.rfiaDryRun- 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.rfiaFpgaImageId- The ID of the AFI.
data ResetFpgaImageAttribute #
See: resetFpgaImageAttribute smart constructor.
Instances
Request Lenses
rfiaAttribute :: Lens' ResetFpgaImageAttribute (Maybe ResetFpgaImageAttributeName) #
The attribute.
rfiaDryRun :: Lens' ResetFpgaImageAttribute (Maybe Bool) #
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 .
rfiaFpgaImageId :: Lens' ResetFpgaImageAttribute Text #
The ID of the AFI.
Destructuring the Response
resetFpgaImageAttributeResponse #
Arguments
| :: Int | |
| -> ResetFpgaImageAttributeResponse |
Creates a value of ResetFpgaImageAttributeResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rfiarsReturn- Istrueif the request succeeds, and an error otherwise.rfiarsResponseStatus- -- | The response status code.
data ResetFpgaImageAttributeResponse #
See: resetFpgaImageAttributeResponse smart constructor.
Instances
Response Lenses
rfiarsReturn :: Lens' ResetFpgaImageAttributeResponse (Maybe Bool) #
Is true if the request succeeds, and an error otherwise.
rfiarsResponseStatus :: Lens' ResetFpgaImageAttributeResponse Int #
- - | The response status code.