Update Slack Channel Configuration
supportapp_update_slack_channel_configuration | R Documentation |
Updates the configuration for a Slack channel, such as case update notifications¶
Description¶
Updates the configuration for a Slack channel, such as case update notifications.
Usage¶
supportapp_update_slack_channel_configuration(channelId, channelName,
channelRoleArn, notifyOnAddCorrespondenceToCase, notifyOnCaseSeverity,
notifyOnCreateOrReopenCase, notifyOnResolveCase, teamId)
Arguments¶
channelId
[required] The channel ID in Slack. This ID identifies a channel within a Slack workspace.
channelName
The Slack channel name that you want to update.
channelRoleArn
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.
notifyOnAddCorrespondenceToCase
Whether you want to get notified when a support case has a new correspondence.
notifyOnCaseSeverity
The case severity for a support case that you want to receive notifications.
If you specify
high
orall
, at least one of the following parameters must betrue
:notifyOnAddCorrespondenceToCase
notifyOnCreateOrReopenCase
notifyOnResolveCase
If you specify
none
, any of the following parameters that you specify in your request must befalse
: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.
notifyOnCreateOrReopenCase
Whether you want to get notified when a support case is created or reopened.
notifyOnResolveCase
Whether you want to get notified when a support case is resolved.
teamId
[required] The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
T012ABCDEFG
.
Value¶
A list with the following syntax:
list(
channelId = "string",
channelName = "string",
channelRoleArn = "string",
notifyOnAddCorrespondenceToCase = TRUE|FALSE,
notifyOnCaseSeverity = "none"|"all"|"high",
notifyOnCreateOrReopenCase = TRUE|FALSE,
notifyOnResolveCase = TRUE|FALSE,
teamId = "string"
)