start_voice_tone_analysis_task
async
¶
start_voice_tone_analysis_task(
voice_connector_id: VoiceConnectorId,
transaction_id: NonEmptyString256,
language_code: LanguageCode,
*,
config_overrides: Optional[AsyncChimeSDKVoiceClientConfig] = 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/async_chime_sdk_voice.py
5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 | |