Struct aws_sdk_supportapp::operation::update_slack_channel_configuration::UpdateSlackChannelConfigurationInput
source · #[non_exhaustive]pub struct UpdateSlackChannelConfigurationInput {
pub team_id: Option<String>,
pub channel_id: Option<String>,
pub channel_name: Option<String>,
pub notify_on_create_or_reopen_case: Option<bool>,
pub notify_on_add_correspondence_to_case: Option<bool>,
pub notify_on_resolve_case: Option<bool>,
pub notify_on_case_severity: Option<NotificationSeverityLevel>,
pub channel_role_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.team_id: Option<String>
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
channel_id: Option<String>
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
channel_name: Option<String>
The Slack channel name that you want to update.
notify_on_create_or_reopen_case: Option<bool>
Whether you want to get notified when a support case is created or reopened.
notify_on_add_correspondence_to_case: Option<bool>
Whether you want to get notified when a support case has a new correspondence.
notify_on_resolve_case: Option<bool>
Whether you want to get notified when a support case is resolved.
notify_on_case_severity: 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.
channel_role_arn: Option<String>
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.
Implementations§
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, such as T012ABCDEFG
.
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.
source§impl UpdateSlackChannelConfigurationInput
impl UpdateSlackChannelConfigurationInput
sourcepub fn builder() -> UpdateSlackChannelConfigurationInputBuilder
pub fn builder() -> UpdateSlackChannelConfigurationInputBuilder
Creates a new builder-style object to manufacture UpdateSlackChannelConfigurationInput
.
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 moresource§impl PartialEq for UpdateSlackChannelConfigurationInput
impl PartialEq for UpdateSlackChannelConfigurationInput
source§fn eq(&self, other: &UpdateSlackChannelConfigurationInput) -> bool
fn eq(&self, other: &UpdateSlackChannelConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.