Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lex.kotlin
import com.pulumi.awsnative.lex.BotAliasArgs.builder
import com.pulumi.awsnative.lex.kotlin.inputs.BotAliasConversationLogSettingsArgs
import com.pulumi.awsnative.lex.kotlin.inputs.BotAliasConversationLogSettingsArgsBuilder
import com.pulumi.awsnative.lex.kotlin.inputs.BotAliasLocaleSettingsItemArgs
import com.pulumi.awsnative.lex.kotlin.inputs.BotAliasLocaleSettingsItemArgsBuilder
import com.pulumi.awsnative.lex.kotlin.inputs.BotAliasTagArgs
import com.pulumi.awsnative.lex.kotlin.inputs.BotAliasTagArgsBuilder
import com.pulumi.awsnative.lex.kotlin.inputs.SentimentAnalysisSettingsPropertiesArgs
import com.pulumi.awsnative.lex.kotlin.inputs.SentimentAnalysisSettingsPropertiesArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A Bot Alias enables you to change the version of a bot without updating applications that use the bot
* @property botAliasLocaleSettings Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
* @property botAliasName The name of the bot alias.
* @property botAliasTags A list of tags to add to the bot alias.
* @property botId The unique identifier of the bot.
* @property botVersion The version of the bot that the bot alias references.
* @property conversationLogSettings Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
* @property description The description of the bot alias.
* @property sentimentAnalysisSettings Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
*/
public data class BotAliasArgs(
public val botAliasLocaleSettings: Output>? = null,
public val botAliasName: Output? = null,
public val botAliasTags: Output>? = null,
public val botId: Output? = null,
public val botVersion: Output? = null,
public val conversationLogSettings: Output? = null,
public val description: Output? = null,
public val sentimentAnalysisSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lex.BotAliasArgs =
com.pulumi.awsnative.lex.BotAliasArgs.builder()
.botAliasLocaleSettings(
botAliasLocaleSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.botAliasName(botAliasName?.applyValue({ args0 -> args0 }))
.botAliasTags(
botAliasTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.botId(botId?.applyValue({ args0 -> args0 }))
.botVersion(botVersion?.applyValue({ args0 -> args0 }))
.conversationLogSettings(
conversationLogSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.sentimentAnalysisSettings(
sentimentAnalysisSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [BotAliasArgs].
*/
@PulumiTagMarker
public class BotAliasArgsBuilder internal constructor() {
private var botAliasLocaleSettings: Output>? = null
private var botAliasName: Output? = null
private var botAliasTags: Output>? = null
private var botId: Output? = null
private var botVersion: Output? = null
private var conversationLogSettings: Output? = null
private var description: Output? = null
private var sentimentAnalysisSettings: Output? = null
/**
* @param value Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
*/
@JvmName("ejxugjohodpacdwy")
public suspend fun botAliasLocaleSettings(`value`: Output>) {
this.botAliasLocaleSettings = value
}
@JvmName("hkujommusckicxmh")
public suspend fun botAliasLocaleSettings(vararg values: Output) {
this.botAliasLocaleSettings = Output.all(values.asList())
}
/**
* @param values Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
*/
@JvmName("lholkjtxowkptbjf")
public suspend fun botAliasLocaleSettings(values: List