start_speaker_search_task
¶
start_speaker_search_task(
voice_connector_id: VoiceConnectorId,
transaction_id: NonEmptyString256,
voice_profile_domain_id: NonEmptyString256,
*,
config_overrides: Optional[ChimeSDKVoiceClientConfig] = None,
client_request_token: Optional[ClientRequestId] = None,
call_leg: Optional[CallLegType] = None,
) -> StartSpeakerSearchTaskResponse
Starts a speaker search task.
Before starting any speaker search 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 of the call being analyzed.
-
voice_profile_domain_id(NonEmptyString256) –The ID of the voice profile domain that will store the voice profile.
-
client_request_token(Optional[ClientRequestId], default:None) –The unique identifier for the client request. Use a different token for different speaker search tasks.
-
call_leg(Optional[CallLegType], default:None) –Specifies which call leg to stream for speaker search.
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
5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 | |