| 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.GetSignalingChannelEndpoint
Description
Provides an endpoint for the specified signaling channel to send and
receive messages. This API uses the
SingleMasterChannelEndpointConfiguration input parameter, which
consists of the Protocols and Role properties.
Protocols is used to determine the communication mechanism. For
example, if you specify WSS as the protocol, this API produces a
secure websocket endpoint. If you specify HTTPS as the protocol, this
API generates an HTTPS endpoint.
Role determines the messaging permissions. A MASTER role results in
this API generating an endpoint that a client can use to communicate
with any of the viewers on the channel. A VIEWER role results in this
API generating an endpoint that a client can use to communicate only
with a MASTER.
Synopsis
- data GetSignalingChannelEndpoint = GetSignalingChannelEndpoint' {}
- newGetSignalingChannelEndpoint :: Text -> GetSignalingChannelEndpoint
- getSignalingChannelEndpoint_singleMasterChannelEndpointConfiguration :: Lens' GetSignalingChannelEndpoint (Maybe SingleMasterChannelEndpointConfiguration)
- getSignalingChannelEndpoint_channelARN :: Lens' GetSignalingChannelEndpoint Text
- data GetSignalingChannelEndpointResponse = GetSignalingChannelEndpointResponse' {}
- newGetSignalingChannelEndpointResponse :: Int -> GetSignalingChannelEndpointResponse
- getSignalingChannelEndpointResponse_resourceEndpointList :: Lens' GetSignalingChannelEndpointResponse (Maybe [ResourceEndpointListItem])
- getSignalingChannelEndpointResponse_httpStatus :: Lens' GetSignalingChannelEndpointResponse Int
Creating a Request
data GetSignalingChannelEndpoint Source #
See: newGetSignalingChannelEndpoint smart constructor.
Constructors
| GetSignalingChannelEndpoint' | |
Fields
| |
Instances
newGetSignalingChannelEndpoint Source #
Arguments
| :: Text | |
| -> GetSignalingChannelEndpoint |
Create a value of GetSignalingChannelEndpoint 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:singleMasterChannelEndpointConfiguration:GetSignalingChannelEndpoint', getSignalingChannelEndpoint_singleMasterChannelEndpointConfiguration - A structure containing the endpoint configuration for the
SINGLE_MASTER channel type.
GetSignalingChannelEndpoint, getSignalingChannelEndpoint_channelARN - The Amazon Resource Name (ARN) of the signalling channel for which you
want to get an endpoint.
Request Lenses
getSignalingChannelEndpoint_singleMasterChannelEndpointConfiguration :: Lens' GetSignalingChannelEndpoint (Maybe SingleMasterChannelEndpointConfiguration) Source #
A structure containing the endpoint configuration for the
SINGLE_MASTER channel type.
getSignalingChannelEndpoint_channelARN :: Lens' GetSignalingChannelEndpoint Text Source #
The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint.
Destructuring the Response
data GetSignalingChannelEndpointResponse Source #
See: newGetSignalingChannelEndpointResponse smart constructor.
Constructors
| GetSignalingChannelEndpointResponse' | |
Fields
| |
Instances
newGetSignalingChannelEndpointResponse Source #
Arguments
| :: Int | |
| -> GetSignalingChannelEndpointResponse |
Create a value of GetSignalingChannelEndpointResponse 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:resourceEndpointList:GetSignalingChannelEndpointResponse', getSignalingChannelEndpointResponse_resourceEndpointList - A list of endpoints for the specified signaling channel.
$sel:httpStatus:GetSignalingChannelEndpointResponse', getSignalingChannelEndpointResponse_httpStatus - The response's http status code.
Response Lenses
getSignalingChannelEndpointResponse_resourceEndpointList :: Lens' GetSignalingChannelEndpointResponse (Maybe [ResourceEndpointListItem]) Source #
A list of endpoints for the specified signaling channel.
getSignalingChannelEndpointResponse_httpStatus :: Lens' GetSignalingChannelEndpointResponse Int Source #
The response's http status code.