list_realtime_contact_analysis_segments_v2
¶
list_realtime_contact_analysis_segments_v2(
instance_id: InstanceId,
contact_id: ContactId,
output_type: RealTimeContactAnalysisOutputType,
segment_types: RealTimeContactAnalysisSegmentTypes,
*,
config_overrides: Optional[ConnectClientConfig] = None,
max_results: Optional[MaxResult100] = None,
next_token: Optional[LargeNextToken] = None,
list_filter: Optional[RealTimeContactAnalysisSegmentsFilter] = None,
) -> ListRealtimeContactAnalysisSegmentsV2Response
Provides a list of analysis segments for a real-time chat analysis session. This API supports CHAT channels only.
This API does not support VOICE. If you attempt to use it for VOICE, an InvalidRequestException occurs.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
contact_id(ContactId) –The identifier of the contact in this instance of Connect Customer.
-
max_results(Optional[MaxResult100], default:None) –The maximum number of results to return per page.
-
next_token(Optional[LargeNextToken], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
-
output_type(RealTimeContactAnalysisOutputType) –The Contact Lens output type to be returned.
-
segment_types(RealTimeContactAnalysisSegmentTypes) –Enum with segment types . Each value corresponds to a segment type returned in the segments list of the API. Each segment type has its own structure. Different channels may have different sets of supported segment types.
-
list_filter(Optional[RealTimeContactAnalysisSegmentsFilter], default:None) –A filter that restricts the segments returned by the API. When
SegmentTypesincludesCategories, useCategoriesAttributeFilterto return only the category segments whose rules have tags that match the filter. This enforces tag-based access control on the categories a caller can view.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
OutputTypeNotFoundException–Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in the flow.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 | |