aws_sdk_supportapp/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:
/// - [`team_id(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::team_id) / [`set_team_id(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_team_id):<br>required: **true**<br><p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p><br>
/// - [`channel_id(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::channel_id) / [`set_channel_id(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_channel_id):<br>required: **true**<br><p>The channel ID in Slack. This ID identifies a channel within a Slack workspace.</p><br>
/// - [`channel_name(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_channel_name):<br>required: **false**<br><p>The Slack channel name that you want to update.</p><br>
/// - [`notify_on_create_or_reopen_case(bool)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::notify_on_create_or_reopen_case) / [`set_notify_on_create_or_reopen_case(Option<bool>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_notify_on_create_or_reopen_case):<br>required: **false**<br><p>Whether you want to get notified when a support case is created or reopened.</p><br>
/// - [`notify_on_add_correspondence_to_case(bool)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::notify_on_add_correspondence_to_case) / [`set_notify_on_add_correspondence_to_case(Option<bool>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_notify_on_add_correspondence_to_case):<br>required: **false**<br><p>Whether you want to get notified when a support case has a new correspondence.</p><br>
/// - [`notify_on_resolve_case(bool)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::notify_on_resolve_case) / [`set_notify_on_resolve_case(Option<bool>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_notify_on_resolve_case):<br>required: **false**<br><p>Whether you want to get notified when a support case is resolved.</p><br>
/// - [`notify_on_case_severity(NotificationSeverityLevel)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::notify_on_case_severity) / [`set_notify_on_case_severity(Option<NotificationSeverityLevel>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_notify_on_case_severity):<br>required: **false**<br><p>The case severity for a support case that you want to receive notifications.</p> <p>If you specify <code>high</code> or <code>all</code>, at least one of the following parameters must be <code>true</code>:</p> <ul> <li> <p><code>notifyOnAddCorrespondenceToCase</code></p></li> <li> <p><code>notifyOnCreateOrReopenCase</code></p></li> <li> <p><code>notifyOnResolveCase</code></p></li> </ul> <p>If you specify <code>none</code>, any of the following parameters that you specify in your request must be <code>false</code>:</p> <ul> <li> <p><code>notifyOnAddCorrespondenceToCase</code></p></li> <li> <p><code>notifyOnCreateOrReopenCase</code></p></li> <li> <p><code>notifyOnResolveCase</code></p></li> </ul><note> <p>If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.</p> </note><br>
/// - [`channel_role_arn(impl Into<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::channel_role_arn) / [`set_channel_role_arn(Option<String>)`](crate::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder::set_channel_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html">Managing access to the Amazon Web Services Support App</a> in the <i>Amazon Web Services Support User Guide</i>.</p><br>
/// - On success, responds with [`UpdateSlackChannelConfigurationOutput`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput) with field(s):
/// - [`team_id(Option<String>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::team_id): <p>The team ID in Slack. This ID uniquely identifies a Slack workspace, such as <code>T012ABCDEFG</code>.</p>
/// - [`channel_id(Option<String>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::channel_id): <p>The channel ID in Slack. This ID identifies a channel within a Slack workspace.</p>
/// - [`channel_name(Option<String>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::channel_name): <p>The name of the Slack channel that you configure for the Amazon Web Services Support App.</p>
/// - [`notify_on_create_or_reopen_case(Option<bool>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::notify_on_create_or_reopen_case): <p>Whether you want to get notified when a support case is created or reopened.</p>
/// - [`notify_on_add_correspondence_to_case(Option<bool>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::notify_on_add_correspondence_to_case): <p>Whether you want to get notified when a support case has a new correspondence.</p>
/// - [`notify_on_resolve_case(Option<bool>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::notify_on_resolve_case): <p>Whether you want to get notified when a support case is resolved.</p>
/// - [`notify_on_case_severity(Option<NotificationSeverityLevel>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::notify_on_case_severity): <p>The case severity for a support case that you want to receive notifications.</p>
/// - [`channel_role_arn(Option<String>)`](crate::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationOutput::channel_role_arn): <p>The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html">Managing access to the Amazon Web Services Support App</a> in the <i>Amazon Web Services Support User Guide</i>.</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())
}
}