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?"
1732 1733 1734 1735 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 1732 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.
1777 1778 1779 1780 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 1777 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.
1880 1881 1882 1883 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 1880 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.
2321 2322 2323 2324 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2321 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.
2467 2468 2469 2470 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2467 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.
2489 2490 2491 2492 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2489 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
.
2533 2534 2535 2536 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2533 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.
2574 2575 2576 2577 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2574 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.
2625 2626 2627 2628 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2625 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.
2674 2675 2676 2677 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2674 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.
2718 2719 2720 2721 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2718 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.
2749 2750 2751 2752 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2749 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.
2780 2781 2782 2783 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2780 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.
2822 2823 2824 2825 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2822 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.
2862 2863 2864 2865 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2862 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.
2910 2911 2912 2913 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2910 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.
2954 2955 2956 2957 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 2954 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
.
3005 3006 3007 3008 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3005 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.
3064 3065 3066 3067 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3064 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
3113 3114 3115 3116 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3113 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
3186 3187 3188 3189 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3186 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
3270 3271 3272 3273 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3270 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.
3353 3354 3355 3356 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3353 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
3410 3411 3412 3413 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3410 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.
3457 3458 3459 3460 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3457 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
3512 3513 3514 3515 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3512 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
3578 3579 3580 3581 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3578 def describe_import(params = {}, = {}) req = build_request(:describe_import, params) req.send_request() end |
#describe_intent(params = {}) ⇒ Types::DescribeIntentResponse
Returns metadata about an intent.
3841 3842 3843 3844 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3841 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.
3874 3875 3876 3877 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 3874 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.
4041 4042 4043 4044 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb', line 4041 def describe_slot(params = {}, |