IvsrealtimeClient#
Index > Ivsrealtime > IvsrealtimeClient
Auto-generated documentation for Ivsrealtime type annotations stubs module mypy-boto3-ivs-realtime.
IvsrealtimeClient#
Type annotations and code completion for boto3.client("ivs-realtime")
.
boto3 documentation
# IvsrealtimeClient usage example
from boto3.session import Session
from mypy_boto3_ivs_realtime.client import IvsrealtimeClient
def get_ivs-realtime_client() -> IvsrealtimeClient:
return Session().client("ivs-realtime")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("ivs-realtime").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("ivs-realtime")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.InternalServerException,
client.exceptions.PendingVerification,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_ivs_realtime.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("ivs-realtime").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("ivs-realtime").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_encoder_configuration#
Creates an EncoderConfiguration object.
Type annotations and code completion for boto3.client("ivs-realtime").create_encoder_configuration
method.
boto3 documentation
# create_encoder_configuration method definition
def create_encoder_configuration(
self,
*,
name: str = ...,
video: VideoTypeDef = ..., # (1)
tags: Mapping[str, str] = ...,
) -> CreateEncoderConfigurationResponseTypeDef: # (2)
...
# create_encoder_configuration method usage example with argument unpacking
kwargs: CreateEncoderConfigurationRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_encoder_configuration(**kwargs)
create_participant_token#
Creates an additional token for a specified stage.
Type annotations and code completion for boto3.client("ivs-realtime").create_participant_token
method.
boto3 documentation
# create_participant_token method definition
def create_participant_token(
self,
*,
stageArn: str,
duration: int = ...,
userId: str = ...,
attributes: Mapping[str, str] = ...,
capabilities: Sequence[ParticipantTokenCapabilityType] = ..., # (1)
) -> CreateParticipantTokenResponseTypeDef: # (2)
...
# create_participant_token method usage example with argument unpacking
kwargs: CreateParticipantTokenRequestRequestTypeDef = { # (1)
"stageArn": ...,
}
parent.create_participant_token(**kwargs)
create_stage#
Creates a new stage (and optionally participant tokens).
Type annotations and code completion for boto3.client("ivs-realtime").create_stage
method.
boto3 documentation
# create_stage method definition
def create_stage(
self,
*,
name: str = ...,
participantTokenConfigurations: Sequence[ParticipantTokenConfigurationTypeDef] = ..., # (1)
tags: Mapping[str, str] = ...,
autoParticipantRecordingConfiguration: Union[AutoParticipantRecordingConfigurationTypeDef, AutoParticipantRecordingConfigurationOutputTypeDef] = ..., # (2)
) -> CreateStageResponseTypeDef: # (3)
...
- See ParticipantTokenConfigurationTypeDef
- See AutoParticipantRecordingConfigurationTypeDef AutoParticipantRecordingConfigurationOutputTypeDef
- See CreateStageResponseTypeDef
# create_stage method usage example with argument unpacking
kwargs: CreateStageRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_stage(**kwargs)
create_storage_configuration#
Creates a new storage configuration, used to enable recording to Amazon S3.
Type annotations and code completion for boto3.client("ivs-realtime").create_storage_configuration
method.
boto3 documentation
# create_storage_configuration method definition
def create_storage_configuration(
self,
*,
s3: S3StorageConfigurationTypeDef, # (1)
name: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateStorageConfigurationResponseTypeDef: # (2)
...
# create_storage_configuration method usage example with argument unpacking
kwargs: CreateStorageConfigurationRequestRequestTypeDef = { # (1)
"s3": ...,
}
parent.create_storage_configuration(**kwargs)
delete_encoder_configuration#
Deletes an EncoderConfiguration resource.
Type annotations and code completion for boto3.client("ivs-realtime").delete_encoder_configuration
method.
boto3 documentation
# delete_encoder_configuration method definition
def delete_encoder_configuration(
self,
*,
arn: str,
) -> Dict[str, Any]:
...
# delete_encoder_configuration method usage example with argument unpacking
kwargs: DeleteEncoderConfigurationRequestRequestTypeDef = { # (1)
"arn": ...,
}
parent.delete_encoder_configuration(**kwargs)