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 |
Deletes the insight along with the associated anomalies, events and recommendations.
Synopsis
- data DeleteInsight = DeleteInsight' {}
- newDeleteInsight :: Text -> DeleteInsight
- deleteInsight_id :: Lens' DeleteInsight Text
- data DeleteInsightResponse = DeleteInsightResponse' {
- httpStatus :: Int
- newDeleteInsightResponse :: Int -> DeleteInsightResponse
- deleteInsightResponse_httpStatus :: Lens' DeleteInsightResponse Int
Creating a Request
data DeleteInsight Source #
See: newDeleteInsight
smart constructor.
Instances
Create a value of DeleteInsight
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:
DeleteInsight
, deleteInsight_id
- The ID of the insight.
Request Lenses
deleteInsight_id :: Lens' DeleteInsight Text Source #
The ID of the insight.
Destructuring the Response
data DeleteInsightResponse Source #
See: newDeleteInsightResponse
smart constructor.
DeleteInsightResponse' | |
|
Instances
newDeleteInsightResponse Source #
Create a value of DeleteInsightResponse
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:DeleteInsightResponse'
, deleteInsightResponse_httpStatus
- The response's http status code.
Response Lenses
deleteInsightResponse_httpStatus :: Lens' DeleteInsightResponse Int Source #
The response's http status code.