aws_sdk_chatbot/client/update_slack_channel_configuration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateSlackChannelConfiguration`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`chat_configuration_arn(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::chat_configuration_arn) / [`set_chat_configuration_arn(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_chat_configuration_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the SlackChannelConfiguration to update.</p><br>
/// - [`slack_channel_id(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::slack_channel_id) / [`set_slack_channel_id(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_slack_channel_id):<br>required: **true**<br><p>The ID of the Slack channel.</p> <p>To get this ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.</p><br>
/// - [`slack_channel_name(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::slack_channel_name) / [`set_slack_channel_name(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_slack_channel_name):<br>required: **false**<br><p>The name of the Slack channel.</p><br>
/// - [`sns_topic_arns(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::sns_topic_arns) / [`set_sns_topic_arns(Option<Vec::<String>>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_sns_topic_arns):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.</p><br>
/// - [`iam_role_arn(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::iam_role_arn) / [`set_iam_role_arn(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::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>
/// - [`logging_level(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::logging_level) / [`set_logging_level(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_logging_level):<br>required: **false**<br><p>Logging levels include <code>ERROR</code>, <code>INFO</code>, or <code>NONE</code>.</p><br>
/// - [`guardrail_policy_arns(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::guardrail_policy_arns) / [`set_guardrail_policy_arns(Option<Vec::<String>>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_guardrail_policy_arns):<br>required: **false**<br><p>The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed <code>AdministratorAccess</code> policy is applied by default if this is not set.</p><br>
/// - [`user_authorization_required(bool)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::user_authorization_required) / [`set_user_authorization_required(Option<bool>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_user_authorization_required):<br>required: **false**<br><p>Enables use of a user role requirement in your chat configuration.</p><br>
/// - On success, responds with [`UpdateSlackChannelConfigurationOutput`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput) with field(s):
/// - [`channel_configuration(Option<SlackChannelConfiguration>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::channel_configuration): <p>The configuration for a Slack channel configured with AWS Chatbot.</p>
/// - On failure, responds with [`SdkError<UpdateSlackChannelConfigurationError>`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationError)
pub fn update_slack_channel_configuration(
&self,
) -> crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder {
crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::new(self.handle.clone())
}
}