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 an Evidently feature.
Synopsis
- data DeleteFeature = DeleteFeature' {}
- newDeleteFeature :: Text -> Text -> DeleteFeature
- deleteFeature_feature :: Lens' DeleteFeature Text
- deleteFeature_project :: Lens' DeleteFeature Text
- data DeleteFeatureResponse = DeleteFeatureResponse' {
- httpStatus :: Int
- newDeleteFeatureResponse :: Int -> DeleteFeatureResponse
- deleteFeatureResponse_httpStatus :: Lens' DeleteFeatureResponse Int
Creating a Request
data DeleteFeature Source #
See: newDeleteFeature
smart constructor.
Instances
Create a value of DeleteFeature
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:
DeleteFeature
, deleteFeature_feature
- The name of the feature to delete.
DeleteFeature
, deleteFeature_project
- The name or ARN of the project that contains the feature to delete.
Request Lenses
deleteFeature_feature :: Lens' DeleteFeature Text Source #
The name of the feature to delete.
deleteFeature_project :: Lens' DeleteFeature Text Source #
The name or ARN of the project that contains the feature to delete.
Destructuring the Response
data DeleteFeatureResponse Source #
See: newDeleteFeatureResponse
smart constructor.
DeleteFeatureResponse' | |
|
Instances
newDeleteFeatureResponse Source #
Create a value of DeleteFeatureResponse
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:DeleteFeatureResponse'
, deleteFeatureResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFeatureResponse_httpStatus :: Lens' DeleteFeatureResponse Int Source #
The response's http status code.