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 |
Permanently deletes the metric stream that you specify.
Synopsis
- data DeleteMetricStream = DeleteMetricStream' {}
- newDeleteMetricStream :: Text -> DeleteMetricStream
- deleteMetricStream_name :: Lens' DeleteMetricStream Text
- data DeleteMetricStreamResponse = DeleteMetricStreamResponse' {
- httpStatus :: Int
- newDeleteMetricStreamResponse :: Int -> DeleteMetricStreamResponse
- deleteMetricStreamResponse_httpStatus :: Lens' DeleteMetricStreamResponse Int
Creating a Request
data DeleteMetricStream Source #
See: newDeleteMetricStream
smart constructor.
Instances
newDeleteMetricStream Source #
Create a value of DeleteMetricStream
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:name:DeleteMetricStream'
, deleteMetricStream_name
- The name of the metric stream to delete.
Request Lenses
deleteMetricStream_name :: Lens' DeleteMetricStream Text Source #
The name of the metric stream to delete.
Destructuring the Response
data DeleteMetricStreamResponse Source #
See: newDeleteMetricStreamResponse
smart constructor.
DeleteMetricStreamResponse' | |
|
Instances
newDeleteMetricStreamResponse Source #
Create a value of DeleteMetricStreamResponse
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:DeleteMetricStreamResponse'
, deleteMetricStreamResponse_httpStatus
- The response's http status code.
Response Lenses
deleteMetricStreamResponse_httpStatus :: Lens' DeleteMetricStreamResponse Int Source #
The response's http status code.