Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteFilter' | |
|
Instances
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:
$sel:detectorId: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.
DeleteFilterResponse' | |
|
Instances
newDeleteFilterResponse Source #
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.