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 a sink. You must delete all links to a sink before you can delete that sink.
Synopsis
- data DeleteSink = DeleteSink' {
- identifier :: Text
- newDeleteSink :: Text -> DeleteSink
- deleteSink_identifier :: Lens' DeleteSink Text
- data DeleteSinkResponse = DeleteSinkResponse' {
- httpStatus :: Int
- newDeleteSinkResponse :: Int -> DeleteSinkResponse
- deleteSinkResponse_httpStatus :: Lens' DeleteSinkResponse Int
Creating a Request
data DeleteSink Source #
See: newDeleteSink
smart constructor.
DeleteSink' | |
|
Instances
Create a value of DeleteSink
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:identifier:DeleteSink'
, deleteSink_identifier
- The ARN of the sink to delete.
Request Lenses
deleteSink_identifier :: Lens' DeleteSink Text Source #
The ARN of the sink to delete.
Destructuring the Response
data DeleteSinkResponse Source #
See: newDeleteSinkResponse
smart constructor.
DeleteSinkResponse' | |
|
Instances
newDeleteSinkResponse Source #
Create a value of DeleteSinkResponse
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:DeleteSinkResponse'
, deleteSinkResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSinkResponse_httpStatus :: Lens' DeleteSinkResponse Int Source #
The response's http status code.