list_built_in_intents
¶
list_built_in_intents(
locale_id: LocaleId,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = None,
sort_by: Optional[BuiltInIntentSortBy] = None,
max_results: Optional[BuiltInsMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListBuiltInIntentsResponse
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
To use a built-in intent as a the base for your own intent, include the built-in intent signature in the parentIntentSignature parameter when you call the CreateIntent operation. For more information, see CreateIntent.
Parameters:
-
locale_id(LocaleId) –The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.
-
sort_by(Optional[BuiltInIntentSortBy], default:None) –Specifies sorting parameters for the list of built-in intents. You can specify that the list be sorted by the built-in intent signature in either ascending or descending order.
-
max_results(Optional[BuiltInsMaxResults], default:None) –The maximum number of built-in intents 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_token(Optional[NextToken], default:None) –If the response from the
ListBuiltInIntentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.
Raises:
-
InternalServerException–The service encountered an unexpected condition. Try your request 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/lex_models_v2.py
4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 | |