com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.lex.kotlin.outputs
import kotlin.Suppress
/**
*
* @property failureConditional Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. See `failure_conditional`.
* @property failureNextStep Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. See `failure_next_step`.
* @property failureResponse Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
* @property successConditional Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.
* @property successNextStep Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.
* @property successResponse Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.
* @property timeoutConditional Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.
* @property timeoutNextStep Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.
* @property timeoutResponse Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.
*/
public data class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification(
public val failureConditional: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional? = null,
public val failureNextStep: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep? = null,
public val failureResponse: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse? = null,
public val successConditional: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional? = null,
public val successNextStep: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep? = null,
public val successResponse: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse? = null,
public val timeoutConditional: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional? = null,
public val timeoutNextStep: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep? = null,
public val timeoutResponse: V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponse? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification): V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification =
V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification(
failureConditional = javaType.failureConditional().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional.Companion.toKotlin(args0)
})
}).orElse(null),
failureNextStep = javaType.failureNextStep().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep.Companion.toKotlin(args0)
})
}).orElse(null),
failureResponse = javaType.failureResponse().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse.Companion.toKotlin(args0)
})
}).orElse(null),
successConditional = javaType.successConditional().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional.Companion.toKotlin(args0)
})
}).orElse(null),
successNextStep = javaType.successNextStep().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep.Companion.toKotlin(args0)
})
}).orElse(null),
successResponse = javaType.successResponse().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse.Companion.toKotlin(args0)
})
}).orElse(null),
timeoutConditional = javaType.timeoutConditional().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional.Companion.toKotlin(args0)
})
}).orElse(null),
timeoutNextStep = javaType.timeoutNextStep().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep.Companion.toKotlin(args0)
})
}).orElse(null),
timeoutResponse = javaType.timeoutResponse().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponse.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy