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 |
Modifies the specified attribute of the specified Amazon FPGA Image (AFI).
- modifyFpgaImageAttribute :: Text -> ModifyFpgaImageAttribute
- data ModifyFpgaImageAttribute
- mfiaAttribute :: Lens' ModifyFpgaImageAttribute (Maybe FpgaImageAttributeName)
- mfiaUserIds :: Lens' ModifyFpgaImageAttribute [Text]
- mfiaUserGroups :: Lens' ModifyFpgaImageAttribute [Text]
- mfiaLoadPermission :: Lens' ModifyFpgaImageAttribute (Maybe LoadPermissionModifications)
- mfiaName :: Lens' ModifyFpgaImageAttribute (Maybe Text)
- mfiaOperationType :: Lens' ModifyFpgaImageAttribute (Maybe OperationType)
- mfiaProductCodes :: Lens' ModifyFpgaImageAttribute [Text]
- mfiaDescription :: Lens' ModifyFpgaImageAttribute (Maybe Text)
- mfiaDryRun :: Lens' ModifyFpgaImageAttribute (Maybe Bool)
- mfiaFpgaImageId :: Lens' ModifyFpgaImageAttribute Text
- modifyFpgaImageAttributeResponse :: Int -> ModifyFpgaImageAttributeResponse
- data ModifyFpgaImageAttributeResponse
- mfiarsFpgaImageAttribute :: Lens' ModifyFpgaImageAttributeResponse (Maybe FpgaImageAttribute)
- mfiarsResponseStatus :: Lens' ModifyFpgaImageAttributeResponse Int
Creating a Request
modifyFpgaImageAttribute Source #
Creates a value of ModifyFpgaImageAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mfiaAttribute
- The name of the attribute.mfiaUserIds
- One or more AWS account IDs. This parameter is valid only when modifying theloadPermission
attribute.mfiaUserGroups
- One or more user groups. This parameter is valid only when modifying theloadPermission
attribute.mfiaLoadPermission
- The load permission for the AFI.mfiaName
- A name for the AFI.mfiaOperationType
- The operation type.mfiaProductCodes
- One or more product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying theproductCodes
attribute.mfiaDescription
- A description for the AFI.mfiaDryRun
- 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
.mfiaFpgaImageId
- The ID of the AFI.
data ModifyFpgaImageAttribute Source #
See: modifyFpgaImageAttribute
smart constructor.
Request Lenses
mfiaAttribute :: Lens' ModifyFpgaImageAttribute (Maybe FpgaImageAttributeName) Source #
The name of the attribute.
mfiaUserIds :: Lens' ModifyFpgaImageAttribute [Text] Source #
One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.
mfiaUserGroups :: Lens' ModifyFpgaImageAttribute [Text] Source #
One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.
mfiaLoadPermission :: Lens' ModifyFpgaImageAttribute (Maybe LoadPermissionModifications) Source #
The load permission for the AFI.
mfiaOperationType :: Lens' ModifyFpgaImageAttribute (Maybe OperationType) Source #
The operation type.
mfiaProductCodes :: Lens' ModifyFpgaImageAttribute [Text] Source #
One or more product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying the productCodes
attribute.
mfiaDescription :: Lens' ModifyFpgaImageAttribute (Maybe Text) Source #
A description for the AFI.
mfiaDryRun :: Lens' ModifyFpgaImageAttribute (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
.
mfiaFpgaImageId :: Lens' ModifyFpgaImageAttribute Text Source #
The ID of the AFI.
Destructuring the Response
modifyFpgaImageAttributeResponse Source #
Creates a value of ModifyFpgaImageAttributeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mfiarsFpgaImageAttribute
- Information about the attribute.mfiarsResponseStatus
- -- | The response status code.
data ModifyFpgaImageAttributeResponse Source #
See: modifyFpgaImageAttributeResponse
smart constructor.
Response Lenses
mfiarsFpgaImageAttribute :: Lens' ModifyFpgaImageAttributeResponse (Maybe FpgaImageAttribute) Source #
Information about the attribute.
mfiarsResponseStatus :: Lens' ModifyFpgaImageAttributeResponse Int Source #
- - | The response status code.