Class: Aws::LexModelsV2::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::LexModelsV2::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb
Overview
An API client for LexModelsV2. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::LexModelsV2::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#build_bot_locale(params = {}) ⇒ Types::BuildBotLocaleResponse
Builds a bot, its intents, and its slot types into a specific locale.
-
#create_bot(params = {}) ⇒ Types::CreateBotResponse
Creates an Amazon Lex conversational bot.
-
#create_bot_alias(params = {}) ⇒ Types::CreateBotAliasResponse
Creates an alias for the specified version of a bot.
-
#create_bot_locale(params = {}) ⇒ Types::CreateBotLocaleResponse
Creates a locale in the bot.
-
#create_bot_version(params = {}) ⇒ Types::CreateBotVersionResponse
Creates a new version of the bot based on the
DRAFT
version. -
#create_export(params = {}) ⇒ Types::CreateExportResponse
Creates a zip archive containing the contents of a bot or a bot locale.
-
#create_intent(params = {}) ⇒ Types::CreateIntentResponse
Creates an intent.
-
#create_resource_policy(params = {}) ⇒ Types::CreateResourcePolicyResponse
Creates a new resource policy with the specified policy statements.
-
#create_resource_policy_statement(params = {}) ⇒ Types::CreateResourcePolicyStatementResponse
Adds a new resource policy statement to a bot or bot alias.
-
#create_slot(params = {}) ⇒ Types::CreateSlotResponse
Creates a slot in an intent.
-
#create_slot_type(params = {}) ⇒ Types::CreateSlotTypeResponse
Creates a custom slot type.
-
#create_upload_url(params = {}) ⇒ Types::CreateUploadUrlResponse
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
-
#delete_bot(params = {}) ⇒ Types::DeleteBotResponse
Deletes all versions of a bot, including the
Draft
version. -
#delete_bot_alias(params = {}) ⇒ Types::DeleteBotAliasResponse
Deletes the specified bot alias.
-
#delete_bot_locale(params = {}) ⇒ Types::DeleteBotLocaleResponse
Removes a locale from a bot.
-
#delete_bot_version(params = {}) ⇒ Types::DeleteBotVersionResponse
Deletes a specific version of a bot.
-
#delete_custom_vocabulary(params = {}) ⇒ Types::DeleteCustomVocabularyResponse
Removes a custom vocabulary from the specified locale in the specified bot.
-
#delete_export(params = {}) ⇒ Types::DeleteExportResponse
Removes a previous export and the associated files stored in an S3 bucket.
-
#delete_import(params = {}) ⇒ Types::DeleteImportResponse
Removes a previous import and the associated file stored in an S3 bucket.
-
#delete_intent(params = {}) ⇒ Struct
Removes the specified intent.
-
#delete_resource_policy(params = {}) ⇒ Types::DeleteResourcePolicyResponse
Removes an existing policy from a bot or bot alias.
-
#delete_resource_policy_statement(params = {}) ⇒ Types::DeleteResourcePolicyStatementResponse
Deletes a policy statement from a resource policy.
-
#delete_slot(params = {}) ⇒ Struct
Deletes the specified slot from an intent.
-
#delete_slot_type(params = {}) ⇒ Struct
Deletes a slot type from a bot locale.
-
#delete_utterances(params = {}) ⇒ Struct
Deletes stored utterances.
-
#describe_bot(params = {}) ⇒ Types::DescribeBotResponse
Provides metadata information about a bot.
-
#describe_bot_alias(params = {}) ⇒ Types::DescribeBotAliasResponse
Get information about a specific bot alias.
-
#describe_bot_locale(params = {}) ⇒ Types::DescribeBotLocaleResponse
Describes the settings that a bot has for a specific locale.
-
#describe_bot_recommendation(params = {}) ⇒ Types::DescribeBotRecommendationResponse
Provides metadata information about a bot recommendation.
-
#describe_bot_version(params = {}) ⇒ Types::DescribeBotVersionResponse
Provides metadata about a version of a bot.
-
#describe_custom_vocabulary_metadata(params = {}) ⇒ Types::DescribeCustomVocabularyMetadataResponse
Provides metadata information about a custom vocabulary.
-
#describe_export(params = {}) ⇒ Types::DescribeExportResponse
Gets information about a specific export.
-
#describe_import(params = {}) ⇒ Types::DescribeImportResponse
Gets information about a specific import.
-
#describe_intent(params = {}) ⇒ Types::DescribeIntentResponse
Returns metadata about an intent.
-
#describe_resource_policy(params = {}) ⇒ Types::DescribeResourcePolicyResponse
Gets the resource policy and policy revision for a bot or bot alias.
-
#describe_slot(params = {}) ⇒ Types::DescribeSlotResponse
Gets metadata information about a slot.
-
#describe_slot_type(params = {}) ⇒ Types::DescribeSlotTypeResponse
Gets metadata information about a slot type.
-
#list_aggregated_utterances(params = {}) ⇒ Types::ListAggregatedUtterancesResponse
Provides a list of utterances that users have sent to the bot.
-
#list_bot_aliases(params = {}) ⇒ Types::ListBotAliasesResponse
Gets a list of aliases for the specified bot.
-
#list_bot_locales(params = {}) ⇒ Types::ListBotLocalesResponse
Gets a list of locales for the specified bot.
-
#list_bot_recommendations(params = {}) ⇒ Types::ListBotRecommendationsResponse
Get a list of bot recommendations that meet the specified criteria.
-
#list_bot_versions(params = {}) ⇒ Types::ListBotVersionsResponse
Gets information about all of the versions of a bot.
-
#list_bots(params = {}) ⇒ Types::ListBotsResponse
Gets a list of available bots.
-
#list_built_in_intents(params = {}) ⇒ Types::ListBuiltInIntentsResponse
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
-
#list_built_in_slot_types(params = {}) ⇒ Types::ListBuiltInSlotTypesResponse
Gets a list of built-in slot types that meet the specified criteria.
-
#list_exports(params = {}) ⇒ Types::ListExportsResponse
Lists the exports for a bot, bot locale, or custom vocabulary.
-
#list_imports(params = {}) ⇒ Types::ListImportsResponse
Lists the imports for a bot, bot locale, or custom vocabulary.
-
#list_intents(params = {}) ⇒ Types::ListIntentsResponse
Get a list of intents that meet the specified criteria.
-
#list_recommended_intents(params = {}) ⇒ Types::ListRecommendedIntentsResponse
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.
-
#list_slot_types(params = {}) ⇒ Types::ListSlotTypesResponse
Gets a list of slot types that match the specified criteria.
-
#list_slots(params = {}) ⇒ Types::ListSlotsResponse
Gets a list of slots that match the specified criteria.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Gets a list of tags associated with a resource.
-
#search_associated_transcripts(params = {}) ⇒ Types::SearchAssociatedTranscriptsResponse
Search for associated transcripts that meet the specified criteria.
-
#start_bot_recommendation(params = {}) ⇒ Types::StartBotRecommendationResponse
Use this to provide your transcript data, and to start the bot recommendation process.
-
#start_import(params = {}) ⇒ Types::StartImportResponse
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
-
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a bot, bot alias, or bot channel.
-
#update_bot(params = {}) ⇒ Types::UpdateBotResponse
Updates the configuration of an existing bot.
-
#update_bot_alias(params = {}) ⇒ Types::UpdateBotAliasResponse
Updates the configuration of an existing bot alias.
-
#update_bot_locale(params = {}) ⇒ Types::UpdateBotLocaleResponse
Updates the settings that a bot has for a specific locale.
-
#update_bot_recommendation(params = {}) ⇒ Types::UpdateBotRecommendationResponse
Updates an existing bot recommendation request.
-
#update_export(params = {}) ⇒ Types::UpdateExportResponse
Updates the password used to protect an export zip archive.
-
#update_intent(params = {}) ⇒ Types::UpdateIntentResponse
Updates the settings for an intent.
-
#update_resource_policy(params = {}) ⇒ Types::UpdateResourcePolicyResponse
Replaces the existing resource policy for a bot or bot alias with a new one.
-
#update_slot(params = {}) ⇒ Types::UpdateSlotResponse
Updates the settings for a slot.
-
#update_slot_type(params = {}) ⇒ Types::UpdateSlotTypeResponse
Updates the configuration of an existing slot type.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
-
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
348 349 350 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 348 def initialize(*args) super end |
Instance Method Details
#build_bot_locale(params = {}) ⇒ Types::BuildBotLocaleResponse
Builds 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.
408 409 410 411 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 408 def build_bot_locale(params = {}, = {}) req = build_request(:build_bot_locale, params) req.send_request() end |
#create_bot(params = {}) ⇒ Types::CreateBotResponse
Creates an Amazon Lex conversational bot.
502 503 504 505 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 502 def create_bot(params = {}, = {}) req = build_request(:create_bot, params) req.send_request() end |
#create_bot_alias(params = {}) ⇒ Types::CreateBotAliasResponse
Creates 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.
649 650 651 652 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 649 def create_bot_alias(params = {}, = {}) req = build_request(:create_bot_alias, params) req.send_request() end |
#create_bot_locale(params = {}) ⇒ Types::CreateBotLocaleResponse
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.
748 749 750 751 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 748 def create_bot_locale(params = {}, = {}) req = build_request(:create_bot_locale, params) req.send_request() end |
#create_bot_version(params = {}) ⇒ Types::CreateBotVersionResponse
Creates a new version of the bot based on the DRAFT
version. If the
DRAFT
version of this resource hasn't changed since you created the
last version, Amazon Lex doesn't create a new version, it returns the
last created version.
When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1.
809 810 811 812 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 809 def create_bot_version(params = {}, = {}) req = build_request(:create_bot_version, params) req.send_request() end |
#create_export(params = {}) ⇒ Types::CreateExportResponse
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
891 892 893 894 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 891 def create_export(params = {}, = {}) req = build_request(:create_export, params) req.send_request() end |
#create_intent(params = {}) ⇒ Types::CreateIntentResponse
Creates 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?"
1730 1731 1732 1733 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 1730 def create_intent(params = {}, = {}) req = build_request(:create_intent, params) req.send_request() end |
#create_resource_policy(params = {}) ⇒ Types::CreateResourcePolicyResponse
Creates a new resource policy with the specified policy statements.
1775 1776 1777 1778 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 1775 def create_resource_policy(params = {}, = {}) req = build_request(:create_resource_policy, params) req.send_request() end |
#create_resource_policy_statement(params = {}) ⇒ Types::CreateResourcePolicyStatementResponse
Adds 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.
1878 1879 1880 1881 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 1878 def create_resource_policy_statement(params = {}, = {}) req = build_request(:create_resource_policy_statement, params) req.send_request() end |
#create_slot(params = {}) ⇒ Types::CreateSlotResponse
Creates a slot in an intent. A slot is a variable needed to fulfill an
intent. For example, an OrderPizza
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.
2317 2318 2319 2320 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2317 def create_slot(params = {}, = {}) req = build_request(:create_slot, params) req.send_request() end |
#create_slot_type(params = {}) ⇒ Types::CreateSlotTypeResponse
Creates 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.
2463 2464 2465 2466 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2463 def create_slot_type(params = {}, = {}) req = build_request(:create_slot_type, params) req.send_request() end |
#create_upload_url(params = {}) ⇒ Types::CreateUploadUrlResponse
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
2485 2486 2487 2488 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2485 def create_upload_url(params = {}, = {}) req = build_request(:create_upload_url, params) req.send_request() end |
#delete_bot(params = {}) ⇒ Types::DeleteBotResponse
Deletes 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, the DeleteBot
operation returns a
ResourceInUseException
exception. If you want to delete the bot and
the alias, set the skipResourceInUseCheck
parameter to true
.
2529 2530 2531 2532 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2529 def delete_bot(params = {}, = {}) req = build_request(:delete_bot, params) req.send_request() end |
#delete_bot_alias(params = {}) ⇒ Types::DeleteBotAliasResponse
Deletes the specified bot alias.
2570 2571 2572 2573 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2570 def delete_bot_alias(params = {}, = {}) req = build_request(:delete_bot_alias, params) req.send_request() end |
#delete_bot_locale(params = {}) ⇒ Types::DeleteBotLocaleResponse
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
2621 2622 2623 2624 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2621 def delete_bot_locale(params = {}, = {}) req = build_request(:delete_bot_locale, params) req.send_request() end |
#delete_bot_version(params = {}) ⇒ Types::DeleteBotVersionResponse
Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.
2670 2671 2672 2673 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2670 def delete_bot_version(params = {}, = {}) req = build_request(:delete_bot_version, params) req.send_request() end |
#delete_custom_vocabulary(params = {}) ⇒ Types::DeleteCustomVocabularyResponse
Removes a custom vocabulary from the specified locale in the specified bot.
2714 2715 2716 2717 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2714 def delete_custom_vocabulary(params = {}, = {}) req = build_request(:delete_custom_vocabulary, params) req.send_request() end |
#delete_export(params = {}) ⇒ Types::DeleteExportResponse
Removes a previous export and the associated files stored in an S3 bucket.
2745 2746 2747 2748 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2745 def delete_export(params = {}, = {}) req = build_request(:delete_export, params) req.send_request() end |
#delete_import(params = {}) ⇒ Types::DeleteImportResponse
Removes a previous import and the associated file stored in an S3 bucket.
2776 2777 2778 2779 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2776 def delete_import(params = {}, = {}) req = build_request(:delete_import, params) req.send_request() end |
#delete_intent(params = {}) ⇒ Struct
Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
2818 2819 2820 2821 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2818 def delete_intent(params = {}, = {}) req = build_request(:delete_intent, params) req.send_request() end |
#delete_resource_policy(params = {}) ⇒ Types::DeleteResourcePolicyResponse
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
2858 2859 2860 2861 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2858 def delete_resource_policy(params = {}, = {}) req = build_request(:delete_resource_policy, params) req.send_request() end |
#delete_resource_policy_statement(params = {}) ⇒ Types::DeleteResourcePolicyStatementResponse
Deletes 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.
2906 2907 2908 2909 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2906 def delete_resource_policy_statement(params = {}, = {}) req = build_request(:delete_resource_policy_statement, params) req.send_request() end |
#delete_slot(params = {}) ⇒ Struct
Deletes the specified slot from an intent.
2950 2951 2952 2953 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2950 def delete_slot(params = {}, = {}) req = build_request(:delete_slot, params) req.send_request() end |
#delete_slot_type(params = {}) ⇒ Struct
Deletes a slot type from a bot locale.
If a slot is using the slot type, Amazon Lex throws a
ResourceInUseException
exception. To avoid the exception, set the
skipResourceInUseCheck
parameter to true
.
3001 3002 3003 3004 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3001 def delete_slot_type(params = {}, = {}) req = build_request(:delete_slot_type, params) req.send_request() end |
#delete_utterances(params = {}) ⇒ Struct
Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..
Use the DeleteUtterances
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.
3060 3061 3062 3063 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3060 def delete_utterances(params = {}, = {}) req = build_request(:delete_utterances, params) req.send_request() end |
#describe_bot(params = {}) ⇒ Types::DescribeBotResponse
Provides metadata information about a bot.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- bot_available
3109 3110 3111 3112 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3109 def describe_bot(params = {}, = {}) req = build_request(:describe_bot, params) req.send_request() end |
#describe_bot_alias(params = {}) ⇒ Types::DescribeBotAliasResponse
Get information about a specific bot alias.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- bot_alias_available
3182 3183 3184 3185 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3182 def describe_bot_alias(params = {}, = {}) req = build_request(:describe_bot_alias, params) req.send_request() end |
#describe_bot_locale(params = {}) ⇒ Types::DescribeBotLocaleResponse
Describes the settings that a bot has for a specific locale.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- bot_locale_built
- bot_locale_created
- bot_locale_express_testing_available
3266 3267 3268 3269 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3266 def describe_bot_locale(params = {}, = {}) req = build_request(:describe_bot_locale, params) req.send_request() end |
#describe_bot_recommendation(params = {}) ⇒ Types::DescribeBotRecommendationResponse
Provides 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.
3349 3350 3351 3352 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3349 def describe_bot_recommendation(params = {}, = {}) req = build_request(:describe_bot_recommendation, params) req.send_request() end |
#describe_bot_version(params = {}) ⇒ Types::DescribeBotVersionResponse
Provides metadata about a version of a bot.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- bot_version_available
3406 3407 3408 3409 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3406 def describe_bot_version(params = {}, = {}) req = build_request(:describe_bot_version, params) req.send_request() end |
#describe_custom_vocabulary_metadata(params = {}) ⇒ Types::DescribeCustomVocabularyMetadataResponse
Provides metadata information about a custom vocabulary.
3453 3454 3455 3456 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3453 def (params = {}, = {}) req = build_request(:describe_custom_vocabulary_metadata, params) req.send_request() end |
#describe_export(params = {}) ⇒ Types::DescribeExportResponse
Gets information about a specific export.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- bot_export_completed
3508 3509 3510 3511 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3508 def describe_export(params = {}, = {}) req = build_request(:describe_export, params) req.send_request() end |
#describe_import(params = {}) ⇒ Types::DescribeImportResponse
Gets information about a specific import.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- bot_import_completed
3574 3575 3576 3577 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3574 def describe_import(params = {}, = {}) req = build_request(:describe_import, params) req.send_request() end |
#describe_intent(params = {}) ⇒ Types::DescribeIntentResponse
Returns metadata about an intent.
3836 3837 3838 3839 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3836 def describe_intent(params = {}, = {}) req = build_request(:describe_intent, params) req.send_request() end |
#describe_resource_policy(params = {}) ⇒ Types::DescribeResourcePolicyResponse
Gets the resource policy and policy revision for a bot or bot alias.
3869 3870 3871 3872 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3869 def describe_resource_policy(params = {}, = {}) req = build_request(:describe_resource_policy, params) req.send_request() end |
#describe_slot(params = {}) ⇒ Types::DescribeSlotResponse
Gets metadata information about a slot.
4035 4036 4037 4038 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 4035 def describe_slot(params = {}, = {}) req = build_request(:describe_slot, params) req.send_request() end |
#describe_slot_type(params = {}) ⇒ Types::DescribeSlotTypeResponse
Gets metadata information about a slot type.