associateToConfiguration

Links a resource (for example, a custom action) to a channel configuration.

Samples

// Associate a custom action to a channel configuration, allowing it to be used in that channel
val resp = chatbotClient.associateToConfiguration {
    resource = "arn:aws:chatbot::1234567890:custom-action/my-custom-action"
    chatConfiguration = "arn:aws:chatbot::1234567890:chat-configuration/slack-channel/my-channel"
}