View Source aws_lex_models_v2 (aws v1.0.4)
Summary
Functions
Builds a bot, its intents, and its slot types into a specific locale.
Creates an alias for the specified version of a bot.
Creates a locale in the bot.
Creates an immutable version of the bot.
Creates a zip archive containing the contents of a bot or a bot locale.
Creates an intent.
Adds a new resource policy statement to a bot or bot alias.
Creates a slot in an intent.
Creates a custom slot type
Deletes all versions of a bot, including the Draft
version.
Removes a locale from a bot.
Deletes a specific version of a bot.
Removes the specified intent.
Removes an existing policy from a bot or bot alias.
Deletes a policy statement from a resource policy.
Deletes a slot type from a bot locale.
Deletes stored utterances.
Provides metadata information about a bot recommendation.
Returns information about a request to generate a bot through natural language description, made through the StartBotResource
API.
Provides a list of utterances that users have sent to the bot.
Gets information about all of the versions of a bot.
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
Lists the exports for a bot, bot locale, or custom vocabulary.
Lists the imports for a bot, bot locale, or custom vocabulary.
Retrieves summary metrics for the intents in your bot.
Retrieves summary statistics for a path of intents that users take over sessions with your bot.
Retrieves summary metrics for the stages within intents in your bot.
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.
Retrieves a list of metadata for individual user sessions with your bot.
Retrieves summary metrics for the user sessions with your bot.
Gets a list of tags associated with a resource.
To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html operation, which provides access to utterance-related analytics.
To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html operation, which provides access to utterance-related analytics.
Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it.
Adds the specified tags to the specified resource.
Updates the password used to protect an export zip archive.
Replaces the existing resource policy for a bot or bot alias with a new one.
Functions
batch_create_custom_vocabulary_item(Client, BotId, BotVersion, LocaleId, Input)
View Sourcebatch_create_custom_vocabulary_item(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcebatch_delete_custom_vocabulary_item(Client, BotId, BotVersion, LocaleId, Input)
View Sourcebatch_delete_custom_vocabulary_item(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcebatch_update_custom_vocabulary_item(Client, BotId, BotVersion, LocaleId, Input)
View Sourcebatch_update_custom_vocabulary_item(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View SourceBuilds a bot, its intents, and its slot types into a specific locale.
A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.build_bot_locale(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View SourceCreates an alias for the specified version of a bot.
Use an alias to enable you to change the version of a bot without updating applications that use the bot.
For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.Creates a locale in the bot.
The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.Creates an immutable version of the bot.
When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.Creates a zip archive containing the contents of a bot or a bot locale.
The archive contains a directory structure that contains JSON files that define the bot.
You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.
For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots : https://docs.aws.amazon.com/lexv2/latest/dg/importing-exporting.htmlCreates an intent.
To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an OrderPizza
intent.
When you create an intent, you must provide a name. You can optionally provide the following:
Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances for built-in intents.
Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.
How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.
A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?"
A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza."
A follow-up prompt that asks the user for additional activity. For example, "Do you want a drink with your pizza?"
create_intent(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View SourceAdds a new resource policy statement to a bot or bot alias.
If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.
You can't create a resource policy statement that allows cross-account access.create_resource_policy_statement(Client, ResourceArn, Input0, Options0)
View SourceCreates a slot in an intent.
A slot is a variable needed to fulfill an intent. For example, anOrderPizza
intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.
create_slot(Client, BotId, BotVersion, IntentId, LocaleId, Input0, Options0)
View SourceCreates a custom slot type
To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.create_slot_type(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcecreate_test_set_discrepancy_report(Client, TestSetId, Input0, Options0)
View SourceDeletes all versions of a bot, including the Draft
version.
To delete a specific version, use the DeleteBotVersion
operation.
When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.
If a bot has an alias, theDeleteBot
operation returns a ResourceInUseException
exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck
parameter to true
.
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.delete_bot_locale(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcedelete_bot_replica(Client, BotId, ReplicaRegion, Input0, Options0)
View SourceDeletes a specific version of a bot.
To delete all versions of a bot, use the DeleteBot: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html operation.delete_custom_vocabulary(Client, BotId, BotVersion, LocaleId, Input)
View Sourcedelete_custom_vocabulary(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcedelete_intent(Client, BotId, BotVersion, IntentId, LocaleId, Input)
View SourceRemoves the specified intent.
Deleting an intent also deletes the slots associated with the intent.delete_intent(Client, BotId, BotVersion, IntentId, LocaleId, Input0, Options0)
View SourceRemoves an existing policy from a bot or bot alias.
If the resource doesn't have a policy attached, Amazon Lex returns an exception.delete_resource_policy_statement(Client, ResourceArn, StatementId, Input)
View SourceDeletes a policy statement from a resource policy.
If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.delete_resource_policy_statement(Client, ResourceArn, StatementId, Input0, Options0)
View Sourcedelete_slot(Client, BotId, BotVersion, IntentId, LocaleId, SlotId, Input)
View Sourcedelete_slot(Client, BotId, BotVersion, IntentId, LocaleId, SlotId, Input0, Options0)
View Sourcedelete_slot_type(Client, BotId, BotVersion, LocaleId, SlotTypeId, Input)
View SourceDeletes a slot type from a bot locale.
If a slot is using the slot type, Amazon Lex throws aResourceInUseException
exception. To avoid the exception, set the skipResourceInUseCheck
parameter to true
.
delete_slot_type(Client, BotId, BotVersion, LocaleId, SlotTypeId, Input0, Options0)
View SourceDeletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..
Use theDeleteUtterances
operation to manually delete utterances for a specific session. When you use the DeleteUtterances
operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances
operation are deleted after 15 days.
describe_bot_alias(Client, BotAliasId, BotId, QueryMap, HeadersMap)
View Sourcedescribe_bot_alias(Client, BotAliasId, BotId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_bot_locale(Client, BotId, BotVersion, LocaleId, QueryMap, HeadersMap)
View Sourcedescribe_bot_locale(Client, BotId, BotVersion, LocaleId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_bot_recommendation(Client, BotId, BotRecommendationId, BotVersion, LocaleId)
View SourceProvides metadata information about a bot recommendation.
This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.describe_bot_recommendation(Client, BotId, BotRecommendationId, BotVersion, LocaleId, QueryMap, HeadersMap)
View Sourcedescribe_bot_recommendation(Client, BotId, BotRecommendationId, BotVersion, LocaleId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_bot_replica(Client, BotId, ReplicaRegion, QueryMap, HeadersMap)
View Sourcedescribe_bot_replica(Client, BotId, ReplicaRegion, QueryMap, HeadersMap, Options0)
View Sourcedescribe_bot_resource_generation(Client, BotId, BotVersion, GenerationId, LocaleId)
View SourceReturns information about a request to generate a bot through natural language description, made through the StartBotResource
API.
generatedBotLocaleUrl
to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
describe_bot_resource_generation(Client, BotId, BotVersion, GenerationId, LocaleId, QueryMap, HeadersMap)
View Sourcedescribe_bot_resource_generation(Client, BotId, BotVersion, GenerationId, LocaleId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_bot_version(Client, BotId, BotVersion, QueryMap, HeadersMap)
View Sourcedescribe_bot_version(Client, BotId, BotVersion, QueryMap, HeadersMap, Options0)
View Sourcedescribe_custom_vocabulary_metadata(Client, BotId, BotVersion, LocaleId)
View Sourcedescribe_custom_vocabulary_metadata(Client, BotId, BotVersion, LocaleId, QueryMap, HeadersMap)
View Sourcedescribe_custom_vocabulary_metadata(Client, BotId, BotVersion, LocaleId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_intent(Client, BotId, BotVersion, IntentId, LocaleId, QueryMap, HeadersMap)
View Sourcedescribe_intent(Client, BotId, BotVersion, IntentId, LocaleId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_resource_policy(Client, ResourceArn, QueryMap, HeadersMap)
View Sourcedescribe_resource_policy(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View Sourcedescribe_slot(Client, BotId, BotVersion, IntentId, LocaleId, SlotId)
View Sourcedescribe_slot(Client, BotId, BotVersion, IntentId, LocaleId, SlotId, QueryMap, HeadersMap)
View Sourcedescribe_slot(Client, BotId, BotVersion, IntentId, LocaleId, SlotId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_slot_type(Client, BotId, BotVersion, LocaleId, SlotTypeId)
View Sourcedescribe_slot_type(Client, BotId, BotVersion, LocaleId, SlotTypeId, QueryMap, HeadersMap)
View Sourcedescribe_slot_type(Client, BotId, BotVersion, LocaleId, SlotTypeId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_test_execution(Client, TestExecutionId, QueryMap, HeadersMap)
View Sourcedescribe_test_execution(Client, TestExecutionId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_test_set(Client, TestSetId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_test_set_discrepancy_report(Client, TestSetDiscrepancyReportId)
View Sourcedescribe_test_set_discrepancy_report(Client, TestSetDiscrepancyReportId, QueryMap, HeadersMap)
View Sourcedescribe_test_set_discrepancy_report(Client, TestSetDiscrepancyReportId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_test_set_generation(Client, TestSetGenerationId, QueryMap, HeadersMap)
View Sourcedescribe_test_set_generation(Client, TestSetGenerationId, QueryMap, HeadersMap, Options0)
View Sourcegenerate_bot_element(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourceget_test_execution_artifacts_url(Client, TestExecutionId, QueryMap, HeadersMap)
View Sourceget_test_execution_artifacts_url(Client, TestExecutionId, QueryMap, HeadersMap, Options0)
View SourceProvides a list of utterances that users have sent to the bot.
Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response.
You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.
Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.
Utterances statistics are not generated under the following conditions:
The
childDirected
field was set to true when the bot was created.You are using slot obfuscation with one or more slots.
You opted out of participating in improving Amazon Lex.
list_bot_alias_replicas(Client, BotId, ReplicaRegion, Input0, Options0)
View Sourcelist_bot_recommendations(Client, BotId, BotVersion, LocaleId, Input)
View Sourcelist_bot_recommendations(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcelist_bot_resource_generations(Client, BotId, BotVersion, LocaleId, Input)
View Sourcelist_bot_resource_generations(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcelist_bot_version_replicas(Client, BotId, ReplicaRegion, Input0, Options0)
View SourceGets information about all of the versions of a bot.
The ListBotVersions
operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the ListBotVersions
operation returns for summaries, one for each numbered version and one for the DRAFT
version.
ListBotVersions
operation always returns at least one version, the DRAFT
version.
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 theparentIntentSignature
parameter when you call the CreateIntent
operation. For more information, see CreateIntent: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html.
list_custom_vocabulary_items(Client, BotId, BotVersion, LocaleId, Input)
View Sourcelist_custom_vocabulary_items(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View SourceLists the exports for a bot, bot locale, or custom vocabulary.
Exports are kept in the list for 7 days.Lists the imports for a bot, bot locale, or custom vocabulary.
Imports are kept in the list for 7 days.Retrieves summary metrics for the intents in your bot.
The following fields are required:
metrics
– A list of AnalyticsIntentMetric: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsIntentMetric.html objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order.startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results.Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
order
field exists in both binBy
and metrics
. You can specify only one order
in a given request.
Retrieves summary statistics for a path of intents that users take over sessions with your bot.
The following fields are required:
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.intentPath
– Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate theintentPath
field with/BookCar/BookHotel
to see details about how many times users invoked theBookCar
andBookHotel
intents in that order.
filters
field to filter the results.
Retrieves summary metrics for the stages within intents in your bot.
The following fields are required:
metrics
– A list of AnalyticsIntentStageMetric: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsIntentStageMetric.html objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order.startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results.Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
order
field exists in both binBy
and metrics
. You can only specify one order
in a given request.
list_intents(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcelist_recommended_intents(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input)
View SourceGets a list of recommended intents provided by the bot recommendation that you can use in your bot.
Intents in the response are ordered by relevance.list_recommended_intents(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input0, Options0)
View SourceRetrieves a list of metadata for individual user sessions with your bot.
The startDateTime
and endDateTime
fields are required. These fields define a time range for which you want to retrieve results. Of the optional fields, you can organize the results in the following ways:
Use the
filters
field to filter the results and thesortBy
field to specify the values by which to sort the results.Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Retrieves summary metrics for the user sessions with your bot.
The following fields are required:
metrics
– A list of AnalyticsSessionMetric: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsSessionMetric.html objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order.startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results.Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
order
field exists in both binBy
and metrics
. Currently, you can specify it in either field, but not in both.
list_slot_types(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcelist_slots(Client, BotId, BotVersion, IntentId, LocaleId, Input0, Options0)
View SourceGets a list of tags associated with a resource.
Only bots, bot aliases, and bot channels can have tags associated with them.list_tags_for_resource(Client, ResourceARN, QueryMap, HeadersMap, Options0)
View Sourcelist_test_execution_result_items(Client, TestExecutionId, Input0, Options0)
View SourceTo use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html operation, which provides access to utterance-related analytics.
See Viewing utterance statistics: https://docs.aws.amazon.com/lexv2/latest/dg/monitoring-utterances.html for the IAM policy to apply to the IAM role.
Retrieves a list of metadata for individual user utterances to your bot. The following fields are required:
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
Use the
filters
field to filter the results and thesortBy
field to specify the values by which to sort the results.Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html operation, which provides access to utterance-related analytics.
See Viewing utterance statistics: https://docs.aws.amazon.com/lexv2/latest/dg/monitoring-utterances.html for the IAM policy to apply to the IAM role.
Retrieves summary metrics for the utterances in your bot. The following fields are required:
metrics
– A list of AnalyticsUtteranceMetric: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsUtteranceMetric.html objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order.startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results.Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
order
field exists in both binBy
and metrics
. Currently, you can specify it in either field, but not in both.
search_associated_transcripts(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input)
View Sourcesearch_associated_transcripts(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input0, Options0)
View Sourcestart_bot_recommendation(Client, BotId, BotVersion, LocaleId, Input)
View Sourcestart_bot_recommendation(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcestart_bot_resource_generation(Client, BotId, BotVersion, LocaleId, Input)
View SourceStarts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it.
After you make this call, use theDescribeBotResourceGeneration
operation to check on the status of the generation and for the generatedBotLocaleUrl
when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
start_bot_resource_generation(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourcestop_bot_recommendation(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input)
View Sourcestop_bot_recommendation(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input0, Options0)
View SourceAdds the specified tags to the specified resource.
If a tag key already exists, the existing value is replaced with the new value.update_bot_locale(Client, BotId, BotVersion, LocaleId, Input0, Options0)
View Sourceupdate_bot_recommendation(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input)
View Sourceupdate_bot_recommendation(Client, BotId, BotRecommendationId, BotVersion, LocaleId, Input0, Options0)
View SourceUpdates the password used to protect an export zip archive.
The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html operation.update_intent(Client, BotId, BotVersion, IntentId, LocaleId, Input)
View Sourceupdate_intent(Client, BotId, BotVersion, IntentId, LocaleId, Input0, Options0)
View SourceReplaces the existing resource policy for a bot or bot alias with a new one.
If the policy doesn't exist, Amazon Lex returns an exception.