| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SupportApp.UpdateSlackChannelConfiguration
Description
Updates the configuration for a Slack channel, such as case update notifications.
Synopsis
- data UpdateSlackChannelConfiguration = UpdateSlackChannelConfiguration' {}
 - newUpdateSlackChannelConfiguration :: Text -> Text -> UpdateSlackChannelConfiguration
 - updateSlackChannelConfiguration_channelName :: Lens' UpdateSlackChannelConfiguration (Maybe Text)
 - updateSlackChannelConfiguration_channelRoleArn :: Lens' UpdateSlackChannelConfiguration (Maybe Text)
 - updateSlackChannelConfiguration_notifyOnAddCorrespondenceToCase :: Lens' UpdateSlackChannelConfiguration (Maybe Bool)
 - updateSlackChannelConfiguration_notifyOnCaseSeverity :: Lens' UpdateSlackChannelConfiguration (Maybe NotificationSeverityLevel)
 - updateSlackChannelConfiguration_notifyOnCreateOrReopenCase :: Lens' UpdateSlackChannelConfiguration (Maybe Bool)
 - updateSlackChannelConfiguration_notifyOnResolveCase :: Lens' UpdateSlackChannelConfiguration (Maybe Bool)
 - updateSlackChannelConfiguration_channelId :: Lens' UpdateSlackChannelConfiguration Text
 - updateSlackChannelConfiguration_teamId :: Lens' UpdateSlackChannelConfiguration Text
 - data UpdateSlackChannelConfigurationResponse = UpdateSlackChannelConfigurationResponse' {}
 - newUpdateSlackChannelConfigurationResponse :: Int -> UpdateSlackChannelConfigurationResponse
 - updateSlackChannelConfigurationResponse_channelId :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text)
 - updateSlackChannelConfigurationResponse_channelName :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text)
 - updateSlackChannelConfigurationResponse_channelRoleArn :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text)
 - updateSlackChannelConfigurationResponse_notifyOnAddCorrespondenceToCase :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Bool)
 - updateSlackChannelConfigurationResponse_notifyOnCaseSeverity :: Lens' UpdateSlackChannelConfigurationResponse (Maybe NotificationSeverityLevel)
 - updateSlackChannelConfigurationResponse_notifyOnCreateOrReopenCase :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Bool)
 - updateSlackChannelConfigurationResponse_notifyOnResolveCase :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Bool)
 - updateSlackChannelConfigurationResponse_teamId :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text)
 - updateSlackChannelConfigurationResponse_httpStatus :: Lens' UpdateSlackChannelConfigurationResponse Int
 
Creating a Request
data UpdateSlackChannelConfiguration Source #
See: newUpdateSlackChannelConfiguration smart constructor.
Constructors
| UpdateSlackChannelConfiguration' | |
Fields 
  | |
Instances
newUpdateSlackChannelConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateSlackChannelConfiguration | 
Create a value of UpdateSlackChannelConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_channelName - The Slack channel name that you want to update.
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_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.
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_notifyOnAddCorrespondenceToCase - Whether you want to get notified when a support case has a new
 correspondence.
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_notifyOnCaseSeverity - 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.
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_notifyOnCreateOrReopenCase - Whether you want to get notified when a support case is created or
 reopened.
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_notifyOnResolveCase - Whether you want to get notified when a support case is resolved.
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_channelId - The channel ID in Slack. This ID identifies a channel within a Slack
 workspace.
UpdateSlackChannelConfiguration, updateSlackChannelConfiguration_teamId - The team ID in Slack. This ID uniquely identifies a Slack workspace,
 such as T012ABCDEFG.
Request Lenses
updateSlackChannelConfiguration_channelName :: Lens' UpdateSlackChannelConfiguration (Maybe Text) Source #
The Slack channel name that you want to update.
updateSlackChannelConfiguration_channelRoleArn :: Lens' UpdateSlackChannelConfiguration (Maybe Text) Source #
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.
updateSlackChannelConfiguration_notifyOnAddCorrespondenceToCase :: Lens' UpdateSlackChannelConfiguration (Maybe Bool) Source #
Whether you want to get notified when a support case has a new correspondence.
updateSlackChannelConfiguration_notifyOnCaseSeverity :: Lens' UpdateSlackChannelConfiguration (Maybe NotificationSeverityLevel) Source #
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.
updateSlackChannelConfiguration_notifyOnCreateOrReopenCase :: Lens' UpdateSlackChannelConfiguration (Maybe Bool) Source #
Whether you want to get notified when a support case is created or reopened.
updateSlackChannelConfiguration_notifyOnResolveCase :: Lens' UpdateSlackChannelConfiguration (Maybe Bool) Source #
Whether you want to get notified when a support case is resolved.
updateSlackChannelConfiguration_channelId :: Lens' UpdateSlackChannelConfiguration Text Source #
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
updateSlackChannelConfiguration_teamId :: Lens' UpdateSlackChannelConfiguration Text Source #
The team ID in Slack. This ID uniquely identifies a Slack workspace,
 such as T012ABCDEFG.
Destructuring the Response
data UpdateSlackChannelConfigurationResponse Source #
See: newUpdateSlackChannelConfigurationResponse smart constructor.
Constructors
| UpdateSlackChannelConfigurationResponse' | |
Fields 
  | |
Instances
newUpdateSlackChannelConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateSlackChannelConfigurationResponse | 
Create a value of UpdateSlackChannelConfigurationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_channelId - The channel ID in Slack. This ID identifies a channel within a Slack
 workspace.
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_channelName - The name of the Slack channel that you configure for the Amazon Web
 Services Support App.
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_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.
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_notifyOnAddCorrespondenceToCase - Whether you want to get notified when a support case has a new
 correspondence.
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_notifyOnCaseSeverity - The case severity for a support case that you want to receive
 notifications.
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_notifyOnCreateOrReopenCase - Whether you want to get notified when a support case is created or
 reopened.
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_notifyOnResolveCase - Whether you want to get notified when a support case is resolved.
UpdateSlackChannelConfiguration, updateSlackChannelConfigurationResponse_teamId - The team ID in Slack. This ID uniquely identifies a Slack workspace,
 such as T012ABCDEFG.
$sel:httpStatus:UpdateSlackChannelConfigurationResponse', updateSlackChannelConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
updateSlackChannelConfigurationResponse_channelId :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text) Source #
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
updateSlackChannelConfigurationResponse_channelName :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text) Source #
The name of the Slack channel that you configure for the Amazon Web Services Support App.
updateSlackChannelConfigurationResponse_channelRoleArn :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text) Source #
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.
updateSlackChannelConfigurationResponse_notifyOnAddCorrespondenceToCase :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Bool) Source #
Whether you want to get notified when a support case has a new correspondence.
updateSlackChannelConfigurationResponse_notifyOnCaseSeverity :: Lens' UpdateSlackChannelConfigurationResponse (Maybe NotificationSeverityLevel) Source #
The case severity for a support case that you want to receive notifications.
updateSlackChannelConfigurationResponse_notifyOnCreateOrReopenCase :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Bool) Source #
Whether you want to get notified when a support case is created or reopened.
updateSlackChannelConfigurationResponse_notifyOnResolveCase :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Bool) Source #
Whether you want to get notified when a support case is resolved.
updateSlackChannelConfigurationResponse_teamId :: Lens' UpdateSlackChannelConfigurationResponse (Maybe Text) Source #
The team ID in Slack. This ID uniquely identifies a Slack workspace,
 such as T012ABCDEFG.
updateSlackChannelConfigurationResponse_httpStatus :: Lens' UpdateSlackChannelConfigurationResponse Int Source #
The response's http status code.