| Copyright | (c) 2013-2015 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 |
Network.AWS.Inspector.AddAttributesToFindings
Description
Assigns attributes (key and value pair) to the findings specified by the findings' ARNs.
See: AWS API Reference for AddAttributesToFindings.
- addAttributesToFindings :: AddAttributesToFindings
- data AddAttributesToFindings
- aatfFindingARNs :: Lens' AddAttributesToFindings [Text]
- aatfAttributes :: Lens' AddAttributesToFindings [Attribute]
- addAttributesToFindingsResponse :: Int -> AddAttributesToFindingsResponse
- data AddAttributesToFindingsResponse
- aatfrsMessage :: Lens' AddAttributesToFindingsResponse (Maybe Text)
- aatfrsResponseStatus :: Lens' AddAttributesToFindingsResponse Int
Creating a Request
addAttributesToFindings :: 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.
Instances
Request Lenses
aatfFindingARNs :: Lens' AddAttributesToFindings [Text] Source
The ARNs specifying 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
Arguments
| :: Int | |
| -> AddAttributesToFindingsResponse |
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
aatfrsMessage :: Lens' AddAttributesToFindingsResponse (Maybe Text) Source
Confirmation details of the action performed.
aatfrsResponseStatus :: Lens' AddAttributesToFindingsResponse Int Source
The response status code.