#[non_exhaustive]pub struct UpdateSlackChannelConfigurationInput { /* private fields */ }
Implementations§
source§impl UpdateSlackChannelConfigurationInput
impl UpdateSlackChannelConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSlackChannelConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSlackChannelConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateSlackChannelConfiguration
>
Examples found in repository?
962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateSlackChannelConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateSlackChannelConfigurationError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateSlackChannelConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateSlackChannelConfigurationError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateSlackChannelConfigurationInput
.
source§impl UpdateSlackChannelConfigurationInput
impl UpdateSlackChannelConfigurationInput
sourcepub fn team_id(&self) -> Option<&str>
pub fn team_id(&self) -> Option<&str>
The team ID in Slack. This ID uniquely identifies a Slack workspace.
sourcepub fn channel_id(&self) -> Option<&str>
pub fn channel_id(&self) -> Option<&str>
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The Slack channel name that you want to update.
sourcepub fn notify_on_create_or_reopen_case(&self) -> Option<bool>
pub fn notify_on_create_or_reopen_case(&self) -> Option<bool>
Whether you want to get notified when a support case is created or reopened.
sourcepub fn notify_on_add_correspondence_to_case(&self) -> Option<bool>
pub fn notify_on_add_correspondence_to_case(&self) -> Option<bool>
Whether you want to get notified when a support case has a new correspondence.
sourcepub fn notify_on_resolve_case(&self) -> Option<bool>
pub fn notify_on_resolve_case(&self) -> Option<bool>
Whether you want to get notified when a support case is resolved.
sourcepub fn notify_on_case_severity(&self) -> Option<&NotificationSeverityLevel>
pub fn notify_on_case_severity(&self) -> Option<&NotificationSeverityLevel>
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) -> Option<&str>
pub fn channel_role_arn(&self) -> Option<&str>
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 UpdateSlackChannelConfigurationInput
impl Clone for UpdateSlackChannelConfigurationInput
source§fn clone(&self) -> UpdateSlackChannelConfigurationInput
fn clone(&self) -> UpdateSlackChannelConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more