| 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.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
- data ResetFpgaImageAttribute = ResetFpgaImageAttribute' {}
- newResetFpgaImageAttribute :: Text -> ResetFpgaImageAttribute
- resetFpgaImageAttribute_attribute :: Lens' ResetFpgaImageAttribute (Maybe ResetFpgaImageAttributeName)
- resetFpgaImageAttribute_dryRun :: Lens' ResetFpgaImageAttribute (Maybe Bool)
- resetFpgaImageAttribute_fpgaImageId :: Lens' ResetFpgaImageAttribute Text
- data ResetFpgaImageAttributeResponse = ResetFpgaImageAttributeResponse' {
- return' :: Maybe Bool
- httpStatus :: Int
- newResetFpgaImageAttributeResponse :: Int -> ResetFpgaImageAttributeResponse
- resetFpgaImageAttributeResponse_return :: Lens' ResetFpgaImageAttributeResponse (Maybe Bool)
- resetFpgaImageAttributeResponse_httpStatus :: Lens' ResetFpgaImageAttributeResponse Int
Creating a Request
data ResetFpgaImageAttribute Source #
See: newResetFpgaImageAttribute smart constructor.
Constructors
| ResetFpgaImageAttribute' | |
Fields
| |
Instances
newResetFpgaImageAttribute Source #
Arguments
| :: Text | |
| -> ResetFpgaImageAttribute |
Create a value of ResetFpgaImageAttribute 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:attribute:ResetFpgaImageAttribute', resetFpgaImageAttribute_attribute - The attribute.
$sel:dryRun:ResetFpgaImageAttribute', resetFpgaImageAttribute_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.
ResetFpgaImageAttribute, resetFpgaImageAttribute_fpgaImageId - The ID of the AFI.
Request Lenses
resetFpgaImageAttribute_attribute :: Lens' ResetFpgaImageAttribute (Maybe ResetFpgaImageAttributeName) Source #
The attribute.
resetFpgaImageAttribute_dryRun :: Lens' ResetFpgaImageAttribute (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.
resetFpgaImageAttribute_fpgaImageId :: Lens' ResetFpgaImageAttribute Text Source #
The ID of the AFI.
Destructuring the Response
data ResetFpgaImageAttributeResponse Source #
See: newResetFpgaImageAttributeResponse smart constructor.
Constructors
| ResetFpgaImageAttributeResponse' | |
Fields
| |
Instances
newResetFpgaImageAttributeResponse Source #
Create a value of ResetFpgaImageAttributeResponse 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':ResetFpgaImageAttributeResponse', resetFpgaImageAttributeResponse_return - Is true if the request succeeds, and an error otherwise.
$sel:httpStatus:ResetFpgaImageAttributeResponse', resetFpgaImageAttributeResponse_httpStatus - The response's http status code.
Response Lenses
resetFpgaImageAttributeResponse_return :: Lens' ResetFpgaImageAttributeResponse (Maybe Bool) Source #
Is true if the request succeeds, and an error otherwise.
resetFpgaImageAttributeResponse_httpStatus :: Lens' ResetFpgaImageAttributeResponse Int Source #
The response's http status code.