Type definitions#
Index > ConnectContactLens > Type definitions
Auto-generated documentation for ConnectContactLens type annotations stubs module mypy-boto3-connect-contact-lens.
PointOfInterestTypeDef#
# PointOfInterestTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import PointOfInterestTypeDef
def get_value() -> PointOfInterestTypeDef:
return {
"BeginOffsetMillis": ...,
}
# PointOfInterestTypeDef definition
class PointOfInterestTypeDef(TypedDict):
BeginOffsetMillis: int,
EndOffsetMillis: int,
CharacterOffsetsTypeDef#
# CharacterOffsetsTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import CharacterOffsetsTypeDef
def get_value() -> CharacterOffsetsTypeDef:
return {
"BeginOffsetChar": ...,
}
# CharacterOffsetsTypeDef definition
class CharacterOffsetsTypeDef(TypedDict):
BeginOffsetChar: int,
EndOffsetChar: int,
ListRealtimeContactAnalysisSegmentsRequestTypeDef#
# ListRealtimeContactAnalysisSegmentsRequestTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import ListRealtimeContactAnalysisSegmentsRequestTypeDef
def get_value() -> ListRealtimeContactAnalysisSegmentsRequestTypeDef:
return {
"InstanceId": ...,
}
# ListRealtimeContactAnalysisSegmentsRequestTypeDef definition
class ListRealtimeContactAnalysisSegmentsRequestTypeDef(TypedDict):
InstanceId: str,
ContactId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
PostContactSummaryTypeDef#
# PostContactSummaryTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import PostContactSummaryTypeDef
def get_value() -> PostContactSummaryTypeDef:
return {
"Content": ...,
}
# PostContactSummaryTypeDef definition
class PostContactSummaryTypeDef(TypedDict):
Status: PostContactSummaryStatusType, # (1)
Content: NotRequired[str],
FailureCode: NotRequired[PostContactSummaryFailureCodeType], # (2)
CategoryDetailsTypeDef#
# CategoryDetailsTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import CategoryDetailsTypeDef
def get_value() -> CategoryDetailsTypeDef:
return {
"PointsOfInterest": ...,
}
# CategoryDetailsTypeDef definition
class CategoryDetailsTypeDef(TypedDict):
PointsOfInterest: List[PointOfInterestTypeDef], # (1)
- See
List[PointOfInterestTypeDef]
IssueDetectedTypeDef#
# IssueDetectedTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import IssueDetectedTypeDef
def get_value() -> IssueDetectedTypeDef:
return {
"CharacterOffsets": ...,
}
# IssueDetectedTypeDef definition
class IssueDetectedTypeDef(TypedDict):
CharacterOffsets: CharacterOffsetsTypeDef, # (1)
CategoriesTypeDef#
# CategoriesTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import CategoriesTypeDef
def get_value() -> CategoriesTypeDef:
return {
"MatchedCategories": ...,
}
# CategoriesTypeDef definition
class CategoriesTypeDef(TypedDict):
MatchedCategories: List[str],
MatchedDetails: Dict[str, CategoryDetailsTypeDef], # (1)
- See
Dict[str, CategoryDetailsTypeDef]
TranscriptTypeDef#
# TranscriptTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import TranscriptTypeDef
def get_value() -> TranscriptTypeDef:
return {
"Id": ...,
}
# TranscriptTypeDef definition
class TranscriptTypeDef(TypedDict):
Id: str,
ParticipantId: str,
ParticipantRole: str,
Content: str,
BeginOffsetMillis: int,
EndOffsetMillis: int,
Sentiment: NotRequired[SentimentValueType], # (1)
IssuesDetected: NotRequired[List[IssueDetectedTypeDef]], # (2)
- See SentimentValueType
- See
List[IssueDetectedTypeDef]
RealtimeContactAnalysisSegmentTypeDef#
# RealtimeContactAnalysisSegmentTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import RealtimeContactAnalysisSegmentTypeDef
def get_value() -> RealtimeContactAnalysisSegmentTypeDef:
return {
"Transcript": ...,
}
# RealtimeContactAnalysisSegmentTypeDef definition
class RealtimeContactAnalysisSegmentTypeDef(TypedDict):
Transcript: NotRequired[TranscriptTypeDef], # (1)
Categories: NotRequired[CategoriesTypeDef], # (2)
PostContactSummary: NotRequired[PostContactSummaryTypeDef], # (3)
ListRealtimeContactAnalysisSegmentsResponseTypeDef#
# ListRealtimeContactAnalysisSegmentsResponseTypeDef TypedDict usage example
from mypy_boto3_connect_contact_lens.type_defs import ListRealtimeContactAnalysisSegmentsResponseTypeDef
def get_value() -> ListRealtimeContactAnalysisSegmentsResponseTypeDef:
return {
"Segments": ...,
}
# ListRealtimeContactAnalysisSegmentsResponseTypeDef definition
class ListRealtimeContactAnalysisSegmentsResponseTypeDef(TypedDict):
Segments: List[RealtimeContactAnalysisSegmentTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See
List[RealtimeContactAnalysisSegmentTypeDef]
- See ResponseMetadataTypeDef