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