search_associated_transcripts
async
¶
search_associated_transcripts(
bot_id: Id,
bot_version: BotVersion,
locale_id: LocaleId,
bot_recommendation_id: Id,
filters: AssociatedTranscriptFilters,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = None,
search_order: Optional[SearchOrder] = None,
max_results: Optional[MaxResults] = None,
next_index: Optional[NextIndex] = None,
) -> SearchAssociatedTranscriptsResponse
Search for associated transcripts that meet the specified criteria.
Parameters:
-
bot_id(Id) –The unique identifier of the bot associated with the transcripts that you are searching.
-
bot_version(BotVersion) –The version of the bot containing the transcripts that you are searching.
-
locale_id(LocaleId) –The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see Supported languages
-
bot_recommendation_id(Id) –The unique identifier of the bot recommendation associated with the transcripts to search.
-
search_order(Optional[SearchOrder], default:None) –How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.
-
filters(AssociatedTranscriptFilters) –A list of filter objects.
-
max_results(Optional[MaxResults], default:None) –The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
-
next_index(Optional[NextIndex], default:None) –If the response from the SearchAssociatedTranscriptsRequest operation contains more results than specified in the maxResults parameter, an index is returned in the response. Use that index in the nextIndex parameter to return the next page of results.
Raises:
-
InternalServerException–The service encountered an unexpected condition. Try your request again.
-
ResourceNotFoundException–You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
-
ServiceQuotaExceededException–You have reached a quota for your bot.
-
ThrottlingException–Your request rate is too high. Reduce the frequency of requests.
-
ValidationException–One of the input parameters in your request isn't valid. Check the parameters and try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lex_models_v2/_services/async_lex_models_v2.py
6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 | |