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 specified signaling channel. DeleteSignalingChannel
is an
asynchronous operation. If you don't specify the channel's current
version, the most recent version is deleted.
Synopsis
- data DeleteSignalingChannel = DeleteSignalingChannel' {}
- newDeleteSignalingChannel :: Text -> DeleteSignalingChannel
- deleteSignalingChannel_currentVersion :: Lens' DeleteSignalingChannel (Maybe Text)
- deleteSignalingChannel_channelARN :: Lens' DeleteSignalingChannel Text
- data DeleteSignalingChannelResponse = DeleteSignalingChannelResponse' {
- httpStatus :: Int
- newDeleteSignalingChannelResponse :: Int -> DeleteSignalingChannelResponse
- deleteSignalingChannelResponse_httpStatus :: Lens' DeleteSignalingChannelResponse Int
Creating a Request
data DeleteSignalingChannel Source #
See: newDeleteSignalingChannel
smart constructor.
DeleteSignalingChannel' | |
|
Instances
newDeleteSignalingChannel Source #
Create a value of DeleteSignalingChannel
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:currentVersion:DeleteSignalingChannel'
, deleteSignalingChannel_currentVersion
- The current version of the signaling channel that you want to delete.
You can obtain the current version by invoking the
DescribeSignalingChannel
or ListSignalingChannels
API operations.
$sel:channelARN:DeleteSignalingChannel'
, deleteSignalingChannel_channelARN
- The Amazon Resource Name (ARN) of the signaling channel that you want to
delete.
Request Lenses
deleteSignalingChannel_currentVersion :: Lens' DeleteSignalingChannel (Maybe Text) Source #
The current version of the signaling channel that you want to delete.
You can obtain the current version by invoking the
DescribeSignalingChannel
or ListSignalingChannels
API operations.
deleteSignalingChannel_channelARN :: Lens' DeleteSignalingChannel Text Source #
The Amazon Resource Name (ARN) of the signaling channel that you want to delete.
Destructuring the Response
data DeleteSignalingChannelResponse Source #
See: newDeleteSignalingChannelResponse
smart constructor.
DeleteSignalingChannelResponse' | |
|
Instances
Eq DeleteSignalingChannelResponse Source # | |
Read DeleteSignalingChannelResponse Source # | |
Show DeleteSignalingChannelResponse Source # | |
Defined in Amazonka.KinesisVideo.DeleteSignalingChannel | |
Generic DeleteSignalingChannelResponse Source # | |
NFData DeleteSignalingChannelResponse Source # | |
Defined in Amazonka.KinesisVideo.DeleteSignalingChannel rnf :: DeleteSignalingChannelResponse -> () # | |
type Rep DeleteSignalingChannelResponse Source # | |
Defined in Amazonka.KinesisVideo.DeleteSignalingChannel type Rep DeleteSignalingChannelResponse = D1 ('MetaData "DeleteSignalingChannelResponse" "Amazonka.KinesisVideo.DeleteSignalingChannel" "libZSservicesZSamazonka-kinesis-videoZSamazonka-kinesis-video" 'False) (C1 ('MetaCons "DeleteSignalingChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteSignalingChannelResponse Source #
Create a value of DeleteSignalingChannelResponse
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:DeleteSignalingChannelResponse'
, deleteSignalingChannelResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSignalingChannelResponse_httpStatus :: Lens' DeleteSignalingChannelResponse Int Source #
The response's http status code.