1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateChimeWebhookConfiguration`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`chat_configuration_arn(impl Into<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::chat_configuration_arn) / [`set_chat_configuration_arn(Option<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::set_chat_configuration_arn):<br>required: **true**<br>The ARN of the ChimeWebhookConfiguration to update.<br>
    ///   - [`webhook_description(impl Into<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::webhook_description) / [`set_webhook_description(Option<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::set_webhook_description):<br>required: **false**<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::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::webhook_url) / [`set_webhook_url(Option<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::set_webhook_url):<br>required: **false**<br>URL for the Chime webhook.<br>
    ///   - [`sns_topic_arns(impl Into<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::sns_topic_arns) / [`set_sns_topic_arns(Option<Vec::<String>>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::set_sns_topic_arns):<br>required: **false**<br>The ARNs of the SNS topics that deliver notifications to AWS Chatbot.<br>
    ///   - [`iam_role_arn(impl Into<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::iam_role_arn) / [`set_iam_role_arn(Option<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::set_iam_role_arn):<br>required: **false**<br>The ARN of the IAM role that defines the permissions for AWS Chatbot. 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>
    ///   - [`logging_level(impl Into<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::logging_level) / [`set_logging_level(Option<String>)`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::set_logging_level):<br>required: **false**<br>Logging levels include ERROR, INFO, or NONE.<br>
    /// - On success, responds with [`UpdateChimeWebhookConfigurationOutput`](crate::operation::update_chime_webhook_configuration::UpdateChimeWebhookConfigurationOutput) with field(s):
    ///   - [`webhook_configuration(Option<ChimeWebhookConfiguration>)`](crate::operation::update_chime_webhook_configuration::UpdateChimeWebhookConfigurationOutput::webhook_configuration): Chime webhook configuration.
    /// - On failure, responds with [`SdkError<UpdateChimeWebhookConfigurationError>`](crate::operation::update_chime_webhook_configuration::UpdateChimeWebhookConfigurationError)
    pub fn update_chime_webhook_configuration(
        &self,
    ) -> crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder {
        crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::new(self.handle.clone())
    }
}