Struct aws_sdk_supportapp::operation::update_slack_channel_configuration::builders::UpdateSlackChannelConfigurationFluentBuilder
source · pub struct UpdateSlackChannelConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateSlackChannelConfiguration
.
Updates the configuration for a Slack channel, such as case update notifications.
Implementations§
source§impl UpdateSlackChannelConfigurationFluentBuilder
impl UpdateSlackChannelConfigurationFluentBuilder
sourcepub async fn send(
self
) -> Result<UpdateSlackChannelConfigurationOutput, SdkError<UpdateSlackChannelConfigurationError>>
pub async fn send( self ) -> Result<UpdateSlackChannelConfigurationOutput, SdkError<UpdateSlackChannelConfigurationError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSlackChannelConfiguration, AwsResponseRetryClassifier>, SdkError<UpdateSlackChannelConfigurationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateSlackChannelConfiguration, AwsResponseRetryClassifier>, SdkError<UpdateSlackChannelConfigurationError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub fn team_id(self, input: impl Into<String>) -> Self
pub fn team_id(self, input: impl Into<String>) -> Self
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
sourcepub fn set_team_id(self, input: Option<String>) -> Self
pub fn set_team_id(self, input: Option<String>) -> Self
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
sourcepub fn channel_id(self, input: impl Into<String>) -> Self
pub fn channel_id(self, input: impl Into<String>) -> Self
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
sourcepub fn set_channel_id(self, input: Option<String>) -> Self
pub fn set_channel_id(self, input: Option<String>) -> Self
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The Slack channel name that you want to update.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The Slack channel name that you want to update.
sourcepub fn notify_on_create_or_reopen_case(self, input: bool) -> Self
pub fn notify_on_create_or_reopen_case(self, input: bool) -> Self
Whether you want to get notified when a support case is created or reopened.
sourcepub fn set_notify_on_create_or_reopen_case(self, input: Option<bool>) -> Self
pub fn set_notify_on_create_or_reopen_case(self, input: Option<bool>) -> Self
Whether you want to get notified when a support case is created or reopened.
sourcepub fn notify_on_add_correspondence_to_case(self, input: bool) -> Self
pub fn notify_on_add_correspondence_to_case(self, input: bool) -> Self
Whether you want to get notified when a support case has a new correspondence.
sourcepub fn set_notify_on_add_correspondence_to_case(
self,
input: Option<bool>
) -> Self
pub fn set_notify_on_add_correspondence_to_case( self, input: Option<bool> ) -> Self
Whether you want to get notified when a support case has a new correspondence.
sourcepub fn notify_on_resolve_case(self, input: bool) -> Self
pub fn notify_on_resolve_case(self, input: bool) -> Self
Whether you want to get notified when a support case is resolved.
sourcepub fn set_notify_on_resolve_case(self, input: Option<bool>) -> Self
pub fn set_notify_on_resolve_case(self, input: Option<bool>) -> Self
Whether you want to get notified when a support case is resolved.
sourcepub fn notify_on_case_severity(self, input: NotificationSeverityLevel) -> Self
pub fn notify_on_case_severity(self, input: NotificationSeverityLevel) -> Self
The case severity for a support case that you want to receive notifications.
If you specify high
or all
, at least one of the following parameters must be true
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, any of the following parameters that you specify in your request must be false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.
sourcepub fn set_notify_on_case_severity(
self,
input: Option<NotificationSeverityLevel>
) -> Self
pub fn set_notify_on_case_severity( self, input: Option<NotificationSeverityLevel> ) -> Self
The case severity for a support case that you want to receive notifications.
If you specify high
or all
, at least one of the following parameters must be true
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, any of the following parameters that you specify in your request must be false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.
sourcepub fn channel_role_arn(self, input: impl Into<String>) -> Self
pub fn channel_role_arn(self, input: impl Into<String>) -> Self
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 Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.
sourcepub fn set_channel_role_arn(self, input: Option<String>) -> Self
pub fn set_channel_role_arn(self, input: Option<String>) -> Self
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 Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.
Trait Implementations§
source§impl Clone for UpdateSlackChannelConfigurationFluentBuilder
impl Clone for UpdateSlackChannelConfigurationFluentBuilder
source§fn clone(&self) -> UpdateSlackChannelConfigurationFluentBuilder
fn clone(&self) -> UpdateSlackChannelConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more