| 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.GuardDuty.DeleteFilter
Description
Deletes the filter specified by the filter name.
Synopsis
- data DeleteFilter = DeleteFilter' {
- detectorId :: Text
- filterName :: Text
- newDeleteFilter :: Text -> Text -> DeleteFilter
- deleteFilter_detectorId :: Lens' DeleteFilter Text
- deleteFilter_filterName :: Lens' DeleteFilter Text
- data DeleteFilterResponse = DeleteFilterResponse' {
- httpStatus :: Int
- newDeleteFilterResponse :: Int -> DeleteFilterResponse
- deleteFilterResponse_httpStatus :: Lens' DeleteFilterResponse Int
Creating a Request
data DeleteFilter Source #
See: newDeleteFilter smart constructor.
Constructors
| DeleteFilter' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteFilter |
Create a value of DeleteFilter 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:
DeleteFilter, deleteFilter_detectorId - The unique ID of the detector that the filter is associated with.
$sel:filterName:DeleteFilter', deleteFilter_filterName - The name of the filter that you want to delete.
Request Lenses
deleteFilter_detectorId :: Lens' DeleteFilter Text Source #
The unique ID of the detector that the filter is associated with.
deleteFilter_filterName :: Lens' DeleteFilter Text Source #
The name of the filter that you want to delete.
Destructuring the Response
data DeleteFilterResponse Source #
See: newDeleteFilterResponse smart constructor.
Constructors
| DeleteFilterResponse' | |
Fields
| |
Instances
newDeleteFilterResponse Source #
Arguments
| :: Int | |
| -> DeleteFilterResponse |
Create a value of DeleteFilterResponse 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:DeleteFilterResponse', deleteFilterResponse_httpStatus - The response's http status code.
Response Lenses
deleteFilterResponse_httpStatus :: Lens' DeleteFilterResponse Int Source #
The response's http status code.