| 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.Inspector.RemoveAttributesFromFindings
Description
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.
Synopsis
- data RemoveAttributesFromFindings = RemoveAttributesFromFindings' {
- findingArns :: NonEmpty Text
- attributeKeys :: [Text]
- newRemoveAttributesFromFindings :: NonEmpty Text -> RemoveAttributesFromFindings
- removeAttributesFromFindings_findingArns :: Lens' RemoveAttributesFromFindings (NonEmpty Text)
- removeAttributesFromFindings_attributeKeys :: Lens' RemoveAttributesFromFindings [Text]
- data RemoveAttributesFromFindingsResponse = RemoveAttributesFromFindingsResponse' {}
- newRemoveAttributesFromFindingsResponse :: Int -> RemoveAttributesFromFindingsResponse
- removeAttributesFromFindingsResponse_httpStatus :: Lens' RemoveAttributesFromFindingsResponse Int
- removeAttributesFromFindingsResponse_failedItems :: Lens' RemoveAttributesFromFindingsResponse (HashMap Text FailedItemDetails)
Creating a Request
data RemoveAttributesFromFindings Source #
See: newRemoveAttributesFromFindings smart constructor.
Constructors
| RemoveAttributesFromFindings' | |
Fields
| |
Instances
newRemoveAttributesFromFindings Source #
Arguments
| :: NonEmpty Text | |
| -> RemoveAttributesFromFindings |
Create a value of RemoveAttributesFromFindings 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:findingArns:RemoveAttributesFromFindings', removeAttributesFromFindings_findingArns - The ARNs that specify the findings that you want to remove attributes
from.
$sel:attributeKeys:RemoveAttributesFromFindings', removeAttributesFromFindings_attributeKeys - The array of attribute keys that you want to remove from specified
findings.
Request Lenses
removeAttributesFromFindings_findingArns :: Lens' RemoveAttributesFromFindings (NonEmpty Text) Source #
The ARNs that specify the findings that you want to remove attributes from.
removeAttributesFromFindings_attributeKeys :: Lens' RemoveAttributesFromFindings [Text] Source #
The array of attribute keys that you want to remove from specified findings.
Destructuring the Response
data RemoveAttributesFromFindingsResponse Source #
See: newRemoveAttributesFromFindingsResponse smart constructor.
Constructors
| RemoveAttributesFromFindingsResponse' | |
Fields
| |
Instances
newRemoveAttributesFromFindingsResponse Source #
Arguments
| :: Int | |
| -> RemoveAttributesFromFindingsResponse |
Create a value of RemoveAttributesFromFindingsResponse 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:httpStatus:RemoveAttributesFromFindingsResponse', removeAttributesFromFindingsResponse_httpStatus - The response's http status code.
$sel:failedItems:RemoveAttributesFromFindingsResponse', removeAttributesFromFindingsResponse_failedItems - Attributes details that cannot be described. An error code is provided
for each failed item.
Response Lenses
removeAttributesFromFindingsResponse_httpStatus :: Lens' RemoveAttributesFromFindingsResponse Int Source #
The response's http status code.
removeAttributesFromFindingsResponse_failedItems :: Lens' RemoveAttributesFromFindingsResponse (HashMap Text FailedItemDetails) Source #
Attributes details that cannot be described. An error code is provided for each failed item.