declinationResponse

@JvmName(name = "ihwvfqewxfxyuckp")
suspend fun declinationResponse(value: Output<BotResponseSpecificationArgs>)
@JvmName(name = "mtndbksyvmioxnqf")
suspend fun declinationResponse(value: BotResponseSpecificationArgs?)

Parameters

value

When the user answers "no" to the question defined in promptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled.


@JvmName(name = "mgqivybyfmnjtxxp")
suspend fun declinationResponse(argument: suspend BotResponseSpecificationArgsBuilder.() -> Unit)

Parameters

argument

When the user answers "no" to the question defined in promptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled.