KinesisVideoClient#
Index > KinesisVideo > KinesisVideoClient
Auto-generated documentation for KinesisVideo type annotations stubs module mypy-boto3-kinesisvideo.
KinesisVideoClient#
Type annotations and code completion for boto3.client("kinesisvideo")
.
boto3 documentation
# KinesisVideoClient usage example
from boto3.session import Session
from mypy_boto3_kinesisvideo.client import KinesisVideoClient
def get_kinesisvideo_client() -> KinesisVideoClient:
return Session().client("kinesisvideo")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("kinesisvideo").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("kinesisvideo")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.AccountChannelLimitExceededException,
client.exceptions.AccountStreamLimitExceededException,
client.exceptions.ClientError,
client.exceptions.ClientLimitExceededException,
client.exceptions.DeviceStreamLimitExceededException,
client.exceptions.InvalidArgumentException,
client.exceptions.InvalidDeviceException,
client.exceptions.InvalidResourceFormatException,
client.exceptions.NoDataRetentionException,
client.exceptions.NotAuthorizedException,
client.exceptions.ResourceInUseException,
client.exceptions.ResourceNotFoundException,
client.exceptions.StreamEdgeConfigurationNotFoundException,
client.exceptions.TagsPerResourceExceededLimitException,
client.exceptions.VersionMismatchException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_kinesisvideo.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 boto3.client("kinesisvideo").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("kinesisvideo").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_signaling_channel#
Creates a signaling channel.
Type annotations and code completion for boto3.client("kinesisvideo").create_signaling_channel
method.
boto3 documentation
# create_signaling_channel method definition
def create_signaling_channel(
self,
*,
ChannelName: str,
ChannelType: ChannelTypeType = ..., # (1)
SingleMasterConfiguration: SingleMasterConfigurationTypeDef = ..., # (2)
Tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateSignalingChannelOutputTypeDef: # (4)
...
- See ChannelTypeType
- See SingleMasterConfigurationTypeDef
- See TagTypeDef
- See CreateSignalingChannelOutputTypeDef
# create_signaling_channel method usage example with argument unpacking
kwargs: CreateSignalingChannelInputRequestTypeDef = { # (1)
"ChannelName": ...,
}
parent.create_signaling_channel(**kwargs)
create_stream#
Creates a new Kinesis video stream.
Type annotations and code completion for boto3.client("kinesisvideo").create_stream
method.
boto3 documentation
# create_stream method definition
def create_stream(
self,
*,
StreamName: str,
DeviceName: str = ...,
MediaType: str = ...,
KmsKeyId: str = ...,
DataRetentionInHours: int = ...,
Tags: Mapping[str, str] = ...,
) -> CreateStreamOutputTypeDef: # (1)
...
# create_stream method usage example with argument unpacking
kwargs: CreateStreamInputRequestTypeDef = { # (1)
"StreamName": ...,
}
parent.create_stream(**kwargs)
delete_edge_configuration#
An asynchronous API that deletes a stream's existing edge configuration, as well as the corresponding media from the Edge Agent.
Type annotations and code completion for boto3.client("kinesisvideo").delete_edge_configuration
method.
boto3 documentation
# delete_edge_configuration method definition
def delete_edge_configuration(
self,
*,
StreamName: str = ...,
StreamARN: str = ...,
) -> Dict[str, Any]:
...
# delete_edge_configuration method usage example with argument unpacking
kwargs: DeleteEdgeConfigurationInputRequestTypeDef = { # (1)
"StreamName": ...,
}
parent.delete_edge_configuration(**kwargs)
delete_signaling_channel#
Deletes a specified signaling channel.
Type annotations and code completion for boto3.client("kinesisvideo").delete_signaling_channel
method.
boto3 documentation
# delete_signaling_channel method definition
def delete_signaling_channel(
self,
*,
ChannelARN: str,
CurrentVersion: str = ...,
) -> Dict[str, Any]:
...
# delete_signaling_channel method usage example with argument unpacking
kwargs: DeleteSignalingChannelInputRequestTypeDef = { # (1)
"ChannelARN": ...,
}
parent.delete_signaling_channel(**kwargs)
delete_stream#
Deletes a Kinesis video stream and the data contained in the stream.
Type annotations and code completion for boto3.client("kinesisvideo").delete_stream
method.