search_vocabularies
async
¶
search_vocabularies(
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
max_results: Optional[MaxResult100] = None,
next_token: Optional[VocabularyNextToken] = None,
state: Optional[VocabularyState] = None,
name_starts_with: Optional[VocabularyName] = None,
language_code: Optional[VocabularyLanguageCode] = None,
) -> SearchVocabulariesResponse
Searches for vocabularies within a specific Connect Customer instance using State, NameStartsWith, and LanguageCode.
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.
-
max_results(Optional[MaxResult100], default:None) –The maximum number of results to return per page.
-
next_token(Optional[VocabularyNextToken], 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.
-
state(Optional[VocabularyState], default:None) –The current state of the custom vocabulary.
-
name_starts_with(Optional[VocabularyName], default:None) –The starting pattern of the name of the vocabulary.
-
language_code(Optional[VocabularyLanguageCode], default:None) –The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
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.
-
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/async_connect.py
22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 22574 22575 22576 22577 22578 22579 22580 22581 22582 22583 22584 22585 22586 22587 22588 22589 22590 22591 22592 22593 22594 22595 22596 22597 22598 22599 22600 22601 22602 22603 22604 22605 22606 22607 22608 22609 22610 22611 22612 22613 22614 22615 22616 22617 22618 22619 22620 22621 22622 22623 22624 22625 22626 22627 22628 22629 22630 22631 22632 22633 22634 22635 22636 | |