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 |
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.
GetSignalingChannelEndpoint' | |
|
Instances
newGetSignalingChannelEndpoint Source #
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.
$sel:channelARN: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.
GetSignalingChannelEndpointResponse' | |
|
Instances
newGetSignalingChannelEndpointResponse Source #
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.