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 a stream.
Requires permission to access the DeleteStream action.
Synopsis
- data DeleteStream = DeleteStream' {}
- newDeleteStream :: Text -> DeleteStream
- deleteStream_streamId :: Lens' DeleteStream Text
- data DeleteStreamResponse = DeleteStreamResponse' {
- httpStatus :: Int
- newDeleteStreamResponse :: Int -> DeleteStreamResponse
- deleteStreamResponse_httpStatus :: Lens' DeleteStreamResponse Int
Creating a Request
data DeleteStream Source #
See: newDeleteStream
smart constructor.
Instances
Create a value of DeleteStream
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:streamId:DeleteStream'
, deleteStream_streamId
- The stream ID.
Request Lenses
deleteStream_streamId :: Lens' DeleteStream Text Source #
The stream ID.
Destructuring the Response
data DeleteStreamResponse Source #
See: newDeleteStreamResponse
smart constructor.
DeleteStreamResponse' | |
|
Instances
newDeleteStreamResponse Source #
Create a value of DeleteStreamResponse
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:DeleteStreamResponse'
, deleteStreamResponse_httpStatus
- The response's http status code.
Response Lenses
deleteStreamResponse_httpStatus :: Lens' DeleteStreamResponse Int Source #
The response's http status code.