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 |
Creates a signaling channel.
CreateSignalingChannel
is an asynchronous operation.
Synopsis
- data CreateSignalingChannel = CreateSignalingChannel' {}
- newCreateSignalingChannel :: Text -> CreateSignalingChannel
- createSignalingChannel_singleMasterConfiguration :: Lens' CreateSignalingChannel (Maybe SingleMasterConfiguration)
- createSignalingChannel_channelType :: Lens' CreateSignalingChannel (Maybe ChannelType)
- 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.
CreateSignalingChannel' | |
|
Instances
newCreateSignalingChannel Source #
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:
$sel:singleMasterConfiguration:CreateSignalingChannel'
, createSignalingChannel_singleMasterConfiguration
- A structure containing the configuration for the SINGLE_MASTER
channel
type.
$sel:channelType:CreateSignalingChannel'
, createSignalingChannel_channelType
- A type of the signaling channel that you are creating. Currently,
SINGLE_MASTER
is the only supported channel type.
$sel:tags:CreateSignalingChannel'
, createSignalingChannel_tags
- A set of tags (key-value pairs) that you want to associate with this
channel.
$sel:channelName:CreateSignalingChannel'
, createSignalingChannel_channelName
- A name for the signaling channel that you are creating. It must be
unique for each AWS account and AWS Region.
Request Lenses
createSignalingChannel_singleMasterConfiguration :: Lens' CreateSignalingChannel (Maybe SingleMasterConfiguration) Source #
A structure containing the configuration for the SINGLE_MASTER
channel
type.
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_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 AWS account and AWS Region.
Destructuring the Response
data CreateSignalingChannelResponse Source #
See: newCreateSignalingChannelResponse
smart constructor.
CreateSignalingChannelResponse' | |
|
Instances
Eq CreateSignalingChannelResponse Source # | |
Read CreateSignalingChannelResponse Source # | |
Show CreateSignalingChannelResponse Source # | |
Defined in Amazonka.KinesisVideo.CreateSignalingChannel | |
Generic CreateSignalingChannelResponse Source # | |
NFData CreateSignalingChannelResponse Source # | |
Defined in Amazonka.KinesisVideo.CreateSignalingChannel rnf :: CreateSignalingChannelResponse -> () # | |
type Rep CreateSignalingChannelResponse Source # | |
Defined in Amazonka.KinesisVideo.CreateSignalingChannel type Rep CreateSignalingChannelResponse = D1 ('MetaData "CreateSignalingChannelResponse" "Amazonka.KinesisVideo.CreateSignalingChannel" "libZSservicesZSamazonka-kinesis-videoZSamazonka-kinesis-video" 'False) (C1 ('MetaCons "CreateSignalingChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
$sel:channelARN: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.