All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.lex.kotlin.outputs.GetBotAliasResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.outputs

import com.pulumi.awsnative.lex.kotlin.enums.BotAliasStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the bot alias.
 * @property botAliasId The unique identifier of the bot alias.
 * @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 botAliasStatus The current status of the bot alias. When the status is Available the alias is ready for use with your 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 GetBotAliasResult(
    public val arn: String? = null,
    public val botAliasId: String? = null,
    public val botAliasLocaleSettings: List? = null,
    public val botAliasName: String? = null,
    public val botAliasStatus: BotAliasStatus? = null,
    public val botVersion: String? = null,
    public val conversationLogSettings: BotAliasConversationLogSettings? = null,
    public val description: String? = null,
    public val sentimentAnalysisSettings: SentimentAnalysisSettingsProperties? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.GetBotAliasResult): GetBotAliasResult = GetBotAliasResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            botAliasId = javaType.botAliasId().map({ args0 -> args0 }).orElse(null),
            botAliasLocaleSettings = javaType.botAliasLocaleSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.BotAliasLocaleSettingsItem.Companion.toKotlin(args0)
                })
            }),
            botAliasName = javaType.botAliasName().map({ args0 -> args0 }).orElse(null),
            botAliasStatus = javaType.botAliasStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.enums.BotAliasStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            botVersion = javaType.botVersion().map({ args0 -> args0 }).orElse(null),
            conversationLogSettings = javaType.conversationLogSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.BotAliasConversationLogSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            sentimentAnalysisSettings = javaType.sentimentAnalysisSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.SentimentAnalysisSettingsProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy