KinesisVideoSignalingChannelsClient#
Index > KinesisVideoSignalingChannels > KinesisVideoSignalingChannelsClient
Auto-generated documentation for KinesisVideoSignalingChannels type annotations stubs module mypy-boto3-kinesis-video-signaling.
KinesisVideoSignalingChannelsClient#
Type annotations and code completion for boto3.client("kinesis-video-signaling")
.
boto3 documentation
# KinesisVideoSignalingChannelsClient usage example
from boto3.session import Session
from mypy_boto3_kinesis_video_signaling.client import KinesisVideoSignalingChannelsClient
def get_kinesis-video-signaling_client() -> KinesisVideoSignalingChannelsClient:
return Session().client("kinesis-video-signaling")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("kinesis-video-signaling").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("kinesis-video-signaling")
try:
do_something(client)
except (
client.exceptions.ClientError,
client.exceptions.ClientLimitExceededException,
client.exceptions.InvalidArgumentException,
client.exceptions.InvalidClientException,
client.exceptions.NotAuthorizedException,
client.exceptions.ResourceNotFoundException,
client.exceptions.SessionExpiredException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_kinesis_video_signaling.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods#
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("kinesis-video-signaling").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("kinesis-video-signaling").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("kinesis-video-signaling").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_ice_server_config#
Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username, and password which can be used to configure the WebRTC connection.
Type annotations and code completion for boto3.client("kinesis-video-signaling").get_ice_server_config
method.
boto3 documentation
# get_ice_server_config method definition
def get_ice_server_config(
self,
*,
ChannelARN: str,
ClientId: str = ...,
Service: ServiceType = ..., # (1)
Username: str = ...,
) -> GetIceServerConfigResponseTypeDef: # (2)
...
# get_ice_server_config method usage example with argument unpacking
kwargs: GetIceServerConfigRequestRequestTypeDef = { # (1)
"ChannelARN": ...,
}
parent.get_ice_server_config(**kwargs)
send_alexa_offer_to_master#
This API allows you to connect WebRTC-enabled devices with Alexa display devices.
Type annotations and code completion for boto3.client("kinesis-video-signaling").send_alexa_offer_to_master
method.
boto3 documentation
# send_alexa_offer_to_master method definition
def send_alexa_offer_to_master(
self,
*,
ChannelARN: str,
SenderClientId: str,
MessagePayload: str,
) -> SendAlexaOfferToMasterResponseTypeDef: # (1)
...
# send_alexa_offer_to_master method usage example with argument unpacking
kwargs: SendAlexaOfferToMasterRequestRequestTypeDef = { # (1)
"ChannelARN": ...,
"SenderClientId": ...,
"MessagePayload": ...,
}
parent.send_alexa_offer_to_master(**kwargs)