| 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 |
Amazonka.KinesisVideo.CreateSignalingChannel
Description
Creates a signaling channel.
CreateSignalingChannel is an asynchronous operation.
Synopsis
- data CreateSignalingChannel = CreateSignalingChannel' {}
- newCreateSignalingChannel :: Text -> CreateSignalingChannel
- createSignalingChannel_channelType :: Lens' CreateSignalingChannel (Maybe ChannelType)
- createSignalingChannel_singleMasterConfiguration :: Lens' CreateSignalingChannel (Maybe SingleMasterConfiguration)
- createSignalingChannel_tags :: Lens' CreateSignalingChannel (Maybe [Tag])
- createSignalingChannel_channelName :: Lens' CreateSignalingChannel Text
- data CreateSignalingChannelResponse = CreateSignalingChannelResponse' {
- channelARN :: Maybe Text
- httpStatus :: Int
- newCreateSignalingChannelResponse :: Int -> CreateSignalingChannelResponse
- createSignalingChannelResponse_channelARN :: Lens' CreateSignalingChannelResponse (Maybe Text)
- createSignalingChannelResponse_httpStatus :: Lens' CreateSignalingChannelResponse Int
Creating a Request
data CreateSignalingChannel Source #
See: newCreateSignalingChannel smart constructor.
Constructors
| CreateSignalingChannel' | |
Fields
| |
Instances
newCreateSignalingChannel Source #
Arguments
| :: Text | |
| -> CreateSignalingChannel |
Create a value of CreateSignalingChannel 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:
CreateSignalingChannel, createSignalingChannel_channelType - A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
CreateSignalingChannel, createSignalingChannel_singleMasterConfiguration - A structure containing the configuration for the SINGLE_MASTER channel
type.
$sel:tags:CreateSignalingChannel', createSignalingChannel_tags - A set of tags (key-value pairs) that you want to associate with this
channel.
CreateSignalingChannel, createSignalingChannel_channelName - A name for the signaling channel that you are creating. It must be
unique for each Amazon Web Services account and Amazon Web Services
Region.
Request Lenses
createSignalingChannel_channelType :: Lens' CreateSignalingChannel (Maybe ChannelType) Source #
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER is the only supported channel type.
createSignalingChannel_singleMasterConfiguration :: Lens' CreateSignalingChannel (Maybe SingleMasterConfiguration) Source #
A structure containing the configuration for the SINGLE_MASTER channel
type.
createSignalingChannel_tags :: Lens' CreateSignalingChannel (Maybe [Tag]) Source #
A set of tags (key-value pairs) that you want to associate with this channel.
createSignalingChannel_channelName :: Lens' CreateSignalingChannel Text Source #
A name for the signaling channel that you are creating. It must be unique for each Amazon Web Services account and Amazon Web Services Region.
Destructuring the Response
data CreateSignalingChannelResponse Source #
See: newCreateSignalingChannelResponse smart constructor.
Constructors
| CreateSignalingChannelResponse' | |
Fields
| |
Instances
newCreateSignalingChannelResponse Source #
Create a value of CreateSignalingChannelResponse 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:
CreateSignalingChannelResponse, createSignalingChannelResponse_channelARN - The Amazon Resource Name (ARN) of the created channel.
$sel:httpStatus:CreateSignalingChannelResponse', createSignalingChannelResponse_httpStatus - The response's http status code.
Response Lenses
createSignalingChannelResponse_channelARN :: Lens' CreateSignalingChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the created channel.
createSignalingChannelResponse_httpStatus :: Lens' CreateSignalingChannelResponse Int Source #
The response's http status code.