ConnectContactLensClient
Index > ConnectContactLens > ConnectContactLensClient
Auto-generated documentation for ConnectContactLens type annotations stubs module mypy-boto3-connect-contact-lens.
ConnectContactLensClient
Type annotations and code completion for boto3.client("connect-contact-lens")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_connect_contact_lens.client import ConnectContactLensClient
def get_connect-contact-lens_client() -> ConnectContactLensClient:
return Session().client("connect-contact-lens")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("connect-contact-lens").exceptions
structure.
client = boto3.client("connect-contact-lens")
try:
do_something(client)
except (
client.AccessDeniedException,
client.ClientError,
client.InternalServiceException,
client.InvalidRequestException,
client.ResourceNotFoundException,
client.ThrottlingException,
) as e:
print(e)
from mypy_boto3_connect_contact_lens.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("connect-contact-lens").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("connect-contact-lens").close
method.
boto3 documentation
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("connect-contact-lens").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
list_realtime_contact_analysis_segments
Provides a list of analysis segments for a real-time analysis session.
Type annotations and code completion for boto3.client("connect-contact-lens").list_realtime_contact_analysis_segments
method.
boto3 documentation
def list_realtime_contact_analysis_segments(
self,
*,
InstanceId: str,
ContactId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListRealtimeContactAnalysisSegmentsResponseTypeDef: # (1)
...