list_exports
¶
list_exports(
*,
config_overrides: Optional[LexModelsV2ClientConfig] = None,
bot_id: Optional[Id] = None,
bot_version: Optional[BotVersion] = None,
sort_by: Optional[ExportSortBy] = None,
filters: Optional[ExportFilters] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
locale_id: Optional[LocaleId] = None,
) -> ListExportsResponse
Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
Parameters:
-
bot_id(Optional[Id], default:None) –The unique identifier that Amazon Lex assigned to the bot.
-
bot_version(Optional[BotVersion], default:None) –The version of the bot to list exports for.
-
sort_by(Optional[ExportSortBy], default:None) –Determines the field that the list of exports is sorted by. You can sort by the
LastUpdatedDateTimefield in ascending or descending order. -
filters(Optional[ExportFilters], default:None) –Provides the specification of a filter used to limit the exports in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
-
max_results(Optional[MaxResults], default:None) –The maximum number of exports 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
ListExportsoperation contains more results that specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of aListExportsrequest to return the next page of results. For a complete set of results, call theListExportsoperation until thenextTokenreturned in the response is null. -
locale_id(Optional[LocaleId], default:None) –Specifies the resources that should be exported. If you don't specify a resource type in the
filtersparameter, both bot locales and custom vocabularies are exported.
Raises:
-
InternalServerException–The service encountered an unexpected condition. Try your request again.
-
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
5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 | |