KinesisVideoWebRTCStorageClient#
Index > KinesisVideoWebRTCStorage > KinesisVideoWebRTCStorageClient
Auto-generated documentation for KinesisVideoWebRTCStorage type annotations stubs module types-aiobotocore-kinesis-video-webrtc-storage.
KinesisVideoWebRTCStorageClient#
Type annotations and code completion for session.create_client("kinesis-video-webrtc-storage")
boto3 documentation
KinesisVideoWebRTCStorageClient usage example
from aiobotocore.session import get_session
from types_aiobotocore_kinesis_video_webrtc_storage.client import KinesisVideoWebRTCStorageClient
session = get_session()
async with session.create_client("kinesis-video-webrtc-storage") as client:
client: KinesisVideoWebRTCStorageClient
Exceptions#
aiobotocore
client exceptions are generated in runtime.
This class provides code completion for session.create_client("kinesis-video-webrtc-storage").exceptions
structure.
KinesisVideoWebRTCStorageClient.exceptions usage example
async with session.create_client("kinesis-video-webrtc-storage") as client:
try:
do_something(client)
except (
client.AccessDeniedException,
client.ClientError,
client.ClientLimitExceededException,
client.InvalidArgumentException,
client.ResourceNotFoundException,
) as e:
print(e)
KinesisVideoWebRTCStorageClient usage type checking example
from types_aiobotocore_kinesis_video_webrtc_storage.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for session.create_client("kinesis-video-webrtc-storage").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 session.create_client("kinesis-video-webrtc-storage").close
method.
boto3 documentation
# close method definition
await def close(
self,
) -> None:
...
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for session.create_client("kinesis-video-webrtc-storage").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
await def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
join_storage_session#
Join the ongoing one way-video and/or multi-way audio WebRTC session as a video producing device for an input channel.
Type annotations and code completion for session.create_client("kinesis-video-webrtc-storage").join_storage_session
method.
boto3 documentation
# join_storage_session method definition
await def join_storage_session(
self,
*,
channelArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# join_storage_session method usage example with argument unpacking
kwargs: JoinStorageSessionInputRequestTypeDef = { # (1)
"channelArn": ...,
}
parent.join_storage_session(**kwargs)
__aenter__#
Type annotations and code completion for session.create_client("kinesis-video-webrtc-storage").__aenter__
method.
boto3 documentation
# __aenter__ method definition
await def __aenter__(
self,
) -> KinesisVideoWebRTCStorageClient:
...
__aexit__#
Type annotations and code completion for session.create_client("kinesis-video-webrtc-storage").__aexit__
method.
boto3 documentation
# __aexit__ method definition
await def __aexit__(
self,
exc_type: Any,
exc_val: Any,
exc_tb: Any,
) -> Any:
...