1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateChimeWebhookConfiguration`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`webhook_description(impl Into<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::webhook_description) / [`set_webhook_description(Option<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::set_webhook_description):<br>required: **true**<br>Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.<br>
    ///   - [`webhook_url(impl Into<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::webhook_url) / [`set_webhook_url(Option<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::set_webhook_url):<br>required: **true**<br>URL for the Chime webhook.<br>
    ///   - [`sns_topic_arns(impl Into<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::sns_topic_arns) / [`set_sns_topic_arns(Option<Vec::<String>>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::set_sns_topic_arns):<br>required: **true**<br>The ARNs of the SNS topics that deliver notifications to AWS Chatbot.<br>
    ///   - [`iam_role_arn(impl Into<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::iam_role_arn) / [`set_iam_role_arn(Option<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::set_iam_role_arn):<br>required: **true**<br>This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.<br>
    ///   - [`configuration_name(impl Into<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::configuration_name) / [`set_configuration_name(Option<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::set_configuration_name):<br>required: **true**<br>The name of the configuration.<br>
    ///   - [`logging_level(impl Into<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::logging_level) / [`set_logging_level(Option<String>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::set_logging_level):<br>required: **false**<br>Logging levels include ERROR, INFO, or NONE.<br>
    ///   - [`tags(Tag)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::set_tags):<br>required: **false**<br>A list of tags to apply to the configuration.<br>
    /// - On success, responds with [`CreateChimeWebhookConfigurationOutput`](crate::operation::create_chime_webhook_configuration::CreateChimeWebhookConfigurationOutput) with field(s):
    ///   - [`webhook_configuration(Option<ChimeWebhookConfiguration>)`](crate::operation::create_chime_webhook_configuration::CreateChimeWebhookConfigurationOutput::webhook_configuration): Chime webhook configuration.
    /// - On failure, responds with [`SdkError<CreateChimeWebhookConfigurationError>`](crate::operation::create_chime_webhook_configuration::CreateChimeWebhookConfigurationError)
    pub fn create_chime_webhook_configuration(
        &self,
    ) -> crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder {
        crate::operation::create_chime_webhook_configuration::builders::CreateChimeWebhookConfigurationFluentBuilder::new(self.handle.clone())
    }
}