start_voice_tone_analysis_task
¶
start_voice_tone_analysis_task(
voice_connector_id: VoiceConnectorId,
transaction_id: NonEmptyString256,
language_code: LanguageCode,
*,
config_overrides: Optional[ChimeSDKVoiceClientConfig] = None,
client_request_token: Optional[ClientRequestId] = None,
) -> StartVoiceToneAnalysisTaskResponse
Starts a voice tone analysis task. For more information about voice tone analysis, see Using Amazon Chime SDK voice analytics in the Amazon Chime SDK Developer Guide.
Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK.
Parameters:
-
voice_connector_id(VoiceConnectorId) –The Voice Connector ID.
-
transaction_id(NonEmptyString256) –The transaction ID.
-
language_code(LanguageCode) –The language code.
-
client_request_token(Optional[ClientRequestId], default:None) –The unique identifier for the client request. Use a different token for different voice tone analysis tasks.
Raises:
-
AccessDeniedException–You don't have the permissions needed to run this action.
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ConflictException–Multiple instances of the same request were made simultaneously.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
GoneException–Access to the target resource is no longer available at the origin server. This condition is likely to be permanent.
-
NotFoundException–The requested resource couldn't be found.
-
ResourceLimitExceededException–The request exceeds the resource limit.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The number of customer requests exceeds the request rate limit.
-
UnauthorizedClientException–The client isn't authorized to request a resource.
-
UnprocessableEntityException–A well-formed request couldn't be followed due to semantic errors.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_voice/_services/chime_sdk_voice.py
5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 | |