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 |
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
- addAttributesToFindings :: NonEmpty Text -> AddAttributesToFindings
- data AddAttributesToFindings
- aatfFindingARNs :: Lens' AddAttributesToFindings (NonEmpty Text)
- aatfAttributes :: Lens' AddAttributesToFindings [Attribute]
- addAttributesToFindingsResponse :: Int -> AddAttributesToFindingsResponse
- data AddAttributesToFindingsResponse
- aatfrsResponseStatus :: Lens' AddAttributesToFindingsResponse Int
- aatfrsFailedItems :: Lens' AddAttributesToFindingsResponse (HashMap Text FailedItemDetails)
Creating a Request
addAttributesToFindings Source #
Creates a value of AddAttributesToFindings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddAttributesToFindings Source #
See: addAttributesToFindings
smart constructor.
Request Lenses
aatfFindingARNs :: Lens' AddAttributesToFindings (NonEmpty Text) Source #
The ARNs that specify the findings that you want to assign attributes to.
aatfAttributes :: Lens' AddAttributesToFindings [Attribute] Source #
The array of attributes that you want to assign to specified findings.
Destructuring the Response
addAttributesToFindingsResponse Source #
Creates a value of AddAttributesToFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddAttributesToFindingsResponse Source #
See: addAttributesToFindingsResponse
smart constructor.
Response Lenses
aatfrsResponseStatus :: Lens' AddAttributesToFindingsResponse Int Source #
The response status code.
aatfrsFailedItems :: Lens' AddAttributesToFindingsResponse (HashMap Text FailedItemDetails) Source #
Attribute details that cannot be described. An error code is provided for each failed item.