Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.
- removeAttributesFromFindings :: NonEmpty Text -> RemoveAttributesFromFindings
- data RemoveAttributesFromFindings
- raffFindingARNs :: Lens' RemoveAttributesFromFindings (NonEmpty Text)
- raffAttributeKeys :: Lens' RemoveAttributesFromFindings [Text]
- removeAttributesFromFindingsResponse :: Int -> RemoveAttributesFromFindingsResponse
- data RemoveAttributesFromFindingsResponse
- raffrsResponseStatus :: Lens' RemoveAttributesFromFindingsResponse Int
- raffrsFailedItems :: Lens' RemoveAttributesFromFindingsResponse (HashMap Text FailedItemDetails)
Creating a Request
removeAttributesFromFindings Source #
Creates a value of RemoveAttributesFromFindings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
raffFindingARNs
- The ARNs that specify the findings that you want to remove attributes from.raffAttributeKeys
- The array of attribute keys that you want to remove from specified findings.
data RemoveAttributesFromFindings Source #
See: removeAttributesFromFindings
smart constructor.
Request Lenses
raffFindingARNs :: Lens' RemoveAttributesFromFindings (NonEmpty Text) Source #
The ARNs that specify the findings that you want to remove attributes from.
raffAttributeKeys :: Lens' RemoveAttributesFromFindings [Text] Source #
The array of attribute keys that you want to remove from specified findings.
Destructuring the Response
removeAttributesFromFindingsResponse Source #
Creates a value of RemoveAttributesFromFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
raffrsResponseStatus
- -- | The response status code.raffrsFailedItems
- Attributes details that cannot be described. An error code is provided for each failed item.
data RemoveAttributesFromFindingsResponse Source #
See: removeAttributesFromFindingsResponse
smart constructor.
Response Lenses
raffrsResponseStatus :: Lens' RemoveAttributesFromFindingsResponse Int Source #
- - | The response status code.
raffrsFailedItems :: Lens' RemoveAttributesFromFindingsResponse (HashMap Text FailedItemDetails) Source #
Attributes details that cannot be described. An error code is provided for each failed item.