aws_sdk_chatbot/client/
update_chime_webhook_configuration.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateChimeWebhookConfiguration`](crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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><p>The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration to update.</p><br>
7    ///   - [`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><p>A description of the webhook. We recommend using the convention <code>RoomName/WebhookName</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html">Tutorial: Get started with Amazon Chime</a> in the <i> AWS Chatbot Administrator Guide</i>.</p><br>
8    ///   - [`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><p>The URL for the Amazon Chime webhook.</p><br>
9    ///   - [`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><p>The ARNs of the SNS topics that deliver notifications to AWS Chatbot.</p><br>
10    ///   - [`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><p>A user-defined role that AWS Chatbot assumes. This is not the service-linked role.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html">IAM policies for AWS Chatbot</a> in the <i> AWS Chatbot Administrator Guide</i>.</p><br>
11    ///   - [`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><p>Logging levels include <code>ERROR</code>, <code>INFO</code>, or <code>NONE</code>.</p><br>
12    /// - On success, responds with [`UpdateChimeWebhookConfigurationOutput`](crate::operation::update_chime_webhook_configuration::UpdateChimeWebhookConfigurationOutput) with field(s):
13    ///   - [`webhook_configuration(Option<ChimeWebhookConfiguration>)`](crate::operation::update_chime_webhook_configuration::UpdateChimeWebhookConfigurationOutput::webhook_configuration): <p>A Amazon Chime webhook configuration.</p>
14    /// - On failure, responds with [`SdkError<UpdateChimeWebhookConfigurationError>`](crate::operation::update_chime_webhook_configuration::UpdateChimeWebhookConfigurationError)
15    pub fn update_chime_webhook_configuration(
16        &self,
17    ) -> crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder {
18        crate::operation::update_chime_webhook_configuration::builders::UpdateChimeWebhookConfigurationFluentBuilder::new(self.handle.clone())
19    }
20}