LexModelBuildingClient

Amazon Lex Build-Time Actions

Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications.

Properties

Link copied to clipboard
abstract override val config: LexModelBuildingClient.Config

LexModelBuildingClient's configuration

Functions

Link copied to clipboard

Creates a new version of the bot based on the $LATEST version. If the $LATEST 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.

Link copied to clipboard

Creates a new version of an intent based on the $LATEST version of the intent. If the $LATEST version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created.

Link copied to clipboard

Creates a new version of a slot type based on the $LATEST version of the specified slot type. If the $LATEST version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created.

Link copied to clipboard
abstract suspend fun deleteBot(input: DeleteBotRequest): DeleteBotResponse

Deletes all versions of the bot, including the $LATEST version. To delete a specific version of the bot, use the DeleteBotVersion operation. The DeleteBot operation doesn't immediately remove the bot schema. Instead, it is marked for deletion and removed later.

Link copied to clipboard

Deletes an alias for the specified bot.

Link copied to clipboard

Deletes the association between an Amazon Lex bot and a messaging platform.

Link copied to clipboard

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

Link copied to clipboard

Deletes all versions of the intent, including the $LATEST version. To delete a specific version of the intent, use the DeleteIntentVersion operation.

Link copied to clipboard

Deletes a specific version of an intent. To delete all versions of a intent, use the DeleteIntent operation.

Link copied to clipboard

Deletes all versions of the slot type, including the $LATEST version. To delete a specific version of the slot type, use the DeleteSlotTypeVersion operation.

Link copied to clipboard

Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.

Link copied to clipboard

Deletes stored utterances.

Link copied to clipboard
abstract suspend fun getBot(input: GetBotRequest): GetBotResponse

Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias.

Link copied to clipboard
abstract suspend fun getBotAlias(input: GetBotAliasRequest): GetBotAliasResponse

Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases.

Link copied to clipboard

Returns a list of aliases for a specified Amazon Lex bot.

Link copied to clipboard

Returns information about the association between an Amazon Lex bot and a messaging platform.

Link copied to clipboard

Returns a list of all of the channels associated with the specified bot.

Link copied to clipboard
abstract suspend fun getBots(input: GetBotsRequest = GetBotsRequest { }): GetBotsResponse

Returns bot information as follows:

Link copied to clipboard

Gets information about all of the versions of a bot.

Link copied to clipboard

Returns information about a built-in intent.

Link copied to clipboard
abstract suspend fun getBuiltinIntents(input: GetBuiltinIntentsRequest = GetBuiltinIntentsRequest { }): GetBuiltinIntentsResponse

Gets a list of built-in intents that meet the specified criteria.

Link copied to clipboard
abstract suspend fun getBuiltinSlotTypes(input: GetBuiltinSlotTypesRequest = GetBuiltinSlotTypesRequest { }): GetBuiltinSlotTypesResponse

Gets a list of built-in slot types that meet the specified criteria.

Link copied to clipboard
abstract suspend fun getExport(input: GetExportRequest): GetExportResponse

Exports the contents of a Amazon Lex resource in a specified format.

Link copied to clipboard
abstract suspend fun getImport(input: GetImportRequest): GetImportResponse

Gets information about an import job started with the StartImport operation.

Link copied to clipboard
abstract suspend fun getIntent(input: GetIntentRequest): GetIntentResponse

Returns information about an intent. In addition to the intent name, you must specify the intent version.

Link copied to clipboard
abstract suspend fun getIntents(input: GetIntentsRequest = GetIntentsRequest { }): GetIntentsResponse

Returns intent information as follows:

Link copied to clipboard

Gets information about all of the versions of an intent.

Link copied to clipboard

Provides details about an ongoing or complete migration from an Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration alerts and warnings related to the migration.

Link copied to clipboard
abstract suspend fun getMigrations(input: GetMigrationsRequest = GetMigrationsRequest { }): GetMigrationsResponse

Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.

Link copied to clipboard
abstract suspend fun getSlotType(input: GetSlotTypeRequest): GetSlotTypeResponse

Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.

Link copied to clipboard
abstract suspend fun getSlotTypes(input: GetSlotTypesRequest = GetSlotTypesRequest { }): GetSlotTypesResponse

Returns slot type information as follows:

Link copied to clipboard

Gets information about all versions of a slot type.

Link copied to clipboard

Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to.

Link copied to clipboard

Gets a list of tags associated with the specified resource. Only bots, bot aliases, and bot channels can have tags associated with them.

Link copied to clipboard
abstract suspend fun putBot(input: PutBotRequest): PutBotResponse

Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you are only required to specify a name, a locale, and whether the bot is directed toward children under age 13. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with the minimum information, the bot is created or updated but Amazon Lex returns the `` response FAILED. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works.

Link copied to clipboard
abstract suspend fun putBotAlias(input: PutBotAliasRequest): PutBotAliasResponse

Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases.

Link copied to clipboard
abstract suspend fun putIntent(input: PutIntentRequest): PutIntentResponse

Creates an intent or replaces an existing intent.

Link copied to clipboard
abstract suspend fun putSlotType(input: PutSlotTypeRequest): PutSlotTypeResponse

Creates a custom slot type or replaces an existing custom slot type.

Link copied to clipboard
abstract suspend fun startImport(input: StartImportRequest): StartImportResponse

Starts a job to import a resource to Amazon Lex.

Link copied to clipboard

Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when you want to take advantage of the new features of Amazon Lex V2.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.

Link copied to clipboard

Removes tags from a bot, bot alias or bot channel.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Creates a new version of the bot based on the $LATEST version. If the $LATEST 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.

Link copied to clipboard

Creates a new version of an intent based on the $LATEST version of the intent. If the $LATEST version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created.

Link copied to clipboard

Creates a new version of a slot type based on the $LATEST version of the specified slot type. If the $LATEST version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created.

Link copied to clipboard

Deletes all versions of the bot, including the $LATEST version. To delete a specific version of the bot, use the DeleteBotVersion operation. The DeleteBot operation doesn't immediately remove the bot schema. Instead, it is marked for deletion and removed later.

Link copied to clipboard

Deletes an alias for the specified bot.

Link copied to clipboard

Deletes the association between an Amazon Lex bot and a messaging platform.

Link copied to clipboard

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

Link copied to clipboard

Deletes all versions of the intent, including the $LATEST version. To delete a specific version of the intent, use the DeleteIntentVersion operation.

Link copied to clipboard

Deletes a specific version of an intent. To delete all versions of a intent, use the DeleteIntent operation.

Link copied to clipboard

Deletes all versions of the slot type, including the $LATEST version. To delete a specific version of the slot type, use the DeleteSlotTypeVersion operation.

Link copied to clipboard

Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.

Link copied to clipboard

Deletes stored utterances.

Link copied to clipboard
inline suspend fun LexModelBuildingClient.getBot(crossinline block: GetBotRequest.Builder.() -> Unit): GetBotResponse

Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias.

Link copied to clipboard

Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases.

Link copied to clipboard

Returns a list of aliases for a specified Amazon Lex bot.

Link copied to clipboard

Returns information about the association between an Amazon Lex bot and a messaging platform.

Link copied to clipboard

Returns a list of all of the channels associated with the specified bot.

Link copied to clipboard
inline suspend fun LexModelBuildingClient.getBots(crossinline block: GetBotsRequest.Builder.() -> Unit): GetBotsResponse

Returns bot information as follows:

Link copied to clipboard
Link copied to clipboard

Gets information about all of the versions of a bot.

Link copied to clipboard

Returns information about a built-in intent.

Link copied to clipboard

Gets a list of built-in intents that meet the specified criteria.

Link copied to clipboard

Gets a list of built-in slot types that meet the specified criteria.

Link copied to clipboard

Exports the contents of a Amazon Lex resource in a specified format.

Link copied to clipboard

Gets information about an import job started with the StartImport operation.

Link copied to clipboard

Returns information about an intent. In addition to the intent name, you must specify the intent version.

Link copied to clipboard

Returns intent information as follows:

Link copied to clipboard
Link copied to clipboard

Gets information about all of the versions of an intent.

Link copied to clipboard

Provides details about an ongoing or complete migration from an Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration alerts and warnings related to the migration.

Link copied to clipboard

Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.

Link copied to clipboard

Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.

Link copied to clipboard

Returns slot type information as follows:

Link copied to clipboard

Gets information about all versions of a slot type.

Link copied to clipboard

Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to.

Link copied to clipboard

Gets a list of tags associated with the specified resource. Only bots, bot aliases, and bot channels can have tags associated with them.

Link copied to clipboard
inline suspend fun LexModelBuildingClient.putBot(crossinline block: PutBotRequest.Builder.() -> Unit): PutBotResponse

Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you are only required to specify a name, a locale, and whether the bot is directed toward children under age 13. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with the minimum information, the bot is created or updated but Amazon Lex returns the `` response FAILED. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works.

Link copied to clipboard

Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases.

Link copied to clipboard

Creates an intent or replaces an existing intent.

Link copied to clipboard

Creates a custom slot type or replaces an existing custom slot type.

Link copied to clipboard

Starts a job to import a resource to Amazon Lex.

Link copied to clipboard

Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when you want to take advantage of the new features of Amazon Lex V2.

Link copied to clipboard

Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.

Link copied to clipboard

Removes tags from a bot, bot alias or bot channel.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.