updateCustomAction

Updates a custom action.

Samples

// Updates the command text of a custom action without altering the existing alias name or attachment
// criteria
val resp = chatbotClient.updateCustomAction {
    customActionArn = "arn:aws:chatbot::1234567890:custom-action/my-custom-action"
    definition = CustomActionDefinition {
        commandText = "lambda invoke MyNewFunction"
    }
}