Struct aws_sdk_kinesisvideosignaling::client::fluent_builders::GetIceServerConfig [−][src]
pub struct GetIceServerConfig<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetIceServerConfig
.
Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username, and password which can be used to configure the WebRTC connection. The ICE component uses this configuration information to setup the WebRTC connection, including authenticating with the Traversal Using Relays around NAT (TURN) relay server.
TURN is a protocol that is used to improve the connectivity of peer-to-peer applications. By providing a cloud-based relay service, TURN ensures that a connection can be established even when one or more peers are incapable of a direct peer-to-peer connection. For more information, see A REST API For Access To TURN Services.
You can invoke this API to establish a fallback mechanism in case either of the peers is unable to establish a direct peer-to-peer connection over a signaling channel. You must specify either a signaling channel ARN or the client ID in order to invoke this API.
Implementations
impl<C, M, R> GetIceServerConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetIceServerConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetIceServerConfigOutput, SdkError<GetIceServerConfigError>> where
R::Policy: SmithyRetryPolicy<GetIceServerConfigInputOperationOutputAlias, GetIceServerConfigOutput, GetIceServerConfigError, GetIceServerConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetIceServerConfigOutput, SdkError<GetIceServerConfigError>> where
R::Policy: SmithyRetryPolicy<GetIceServerConfigInputOperationOutputAlias, GetIceServerConfigOutput, GetIceServerConfigError, GetIceServerConfigInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.
The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.
Unique identifier for the viewer. Must be unique within the signaling channel.
Unique identifier for the viewer. Must be unique within the signaling channel.
Specifies the desired service. Currently, TURN
is the only valid
value.
Specifies the desired service. Currently, TURN
is the only valid
value.
An optional user ID to be associated with the credentials.
An optional user ID to be associated with the credentials.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetIceServerConfig<C, M, R>
impl<C, M, R> Send for GetIceServerConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetIceServerConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetIceServerConfig<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetIceServerConfig<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more