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 insight specified by the InsightArn
.
Synopsis
- data DeleteInsight = DeleteInsight' {
- insightArn :: Text
- newDeleteInsight :: Text -> DeleteInsight
- deleteInsight_insightArn :: Lens' DeleteInsight Text
- data DeleteInsightResponse = DeleteInsightResponse' {
- httpStatus :: Int
- insightArn :: Text
- newDeleteInsightResponse :: Int -> Text -> DeleteInsightResponse
- deleteInsightResponse_httpStatus :: Lens' DeleteInsightResponse Int
- deleteInsightResponse_insightArn :: Lens' DeleteInsightResponse Text
Creating a Request
data DeleteInsight Source #
See: newDeleteInsight
smart constructor.
DeleteInsight' | |
|
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:
$sel:insightArn:DeleteInsight'
, deleteInsight_insightArn
- The ARN of the insight to delete.
Request Lenses
deleteInsight_insightArn :: Lens' DeleteInsight Text Source #
The ARN of the insight to delete.
Destructuring the Response
data DeleteInsightResponse Source #
See: newDeleteInsightResponse
smart constructor.
DeleteInsightResponse' | |
|
Instances
newDeleteInsightResponse Source #
:: Int | |
-> Text | |
-> DeleteInsightResponse |
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.
$sel:insightArn:DeleteInsight'
, deleteInsightResponse_insightArn
- The ARN of the insight that was deleted.
Response Lenses
deleteInsightResponse_httpStatus :: Lens' DeleteInsightResponse Int Source #
The response's http status code.
deleteInsightResponse_insightArn :: Lens' DeleteInsightResponse Text Source #
The ARN of the insight that was deleted.