:doc:`SupportApp <../../support-app>` / Client / update_slack_channel_configuration

**********************************
update_slack_channel_configuration
**********************************



.. py:method:: SupportApp.Client.update_slack_channel_configuration(**kwargs)

  

  Updates the configuration for a Slack channel, such as case update notifications.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/UpdateSlackChannelConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_slack_channel_configuration(
        channelId='string',
        channelName='string',
        channelRoleArn='string',
        notifyOnAddCorrespondenceToCase=True|False,
        notifyOnCaseSeverity='none'|'all'|'high',
        notifyOnCreateOrReopenCase=True|False,
        notifyOnResolveCase=True|False,
        teamId='string'
    )
    
  :type channelId: string
  :param channelId: **[REQUIRED]** 

    The channel ID in Slack. This ID identifies a channel within a Slack workspace.

    

  
  :type channelName: string
  :param channelName: 

    The Slack channel name that you want to update.

    

  
  :type channelRoleArn: string
  :param 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 <https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html>`__ in the *Amazon Web Services Support User Guide*.

    

  
  :type notifyOnAddCorrespondenceToCase: boolean
  :param notifyOnAddCorrespondenceToCase: 

    Whether you want to get notified when a support case has a new correspondence.

    

  
  :type notifyOnCaseSeverity: string
  :param 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``
    

     

    .. note::

      

      If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current values by default.

      

    

  
  :type notifyOnCreateOrReopenCase: boolean
  :param notifyOnCreateOrReopenCase: 

    Whether you want to get notified when a support case is created or reopened.

    

  
  :type notifyOnResolveCase: boolean
  :param notifyOnResolveCase: 

    Whether you want to get notified when a support case is resolved.

    

  
  :type teamId: string
  :param teamId: **[REQUIRED]** 

    The team ID in Slack. This ID uniquely identifies a Slack workspace, such as ``T012ABCDEFG``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'channelId': 'string',
          'channelName': 'string',
          'channelRoleArn': 'string',
          'notifyOnAddCorrespondenceToCase': True|False,
          'notifyOnCaseSeverity': 'none'|'all'|'high',
          'notifyOnCreateOrReopenCase': True|False,
          'notifyOnResolveCase': True|False,
          'teamId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **channelId** *(string) --* 

        The channel ID in Slack. This ID identifies a channel within a Slack workspace.

        
      

      - **channelName** *(string) --* 

        The name of the Slack channel that you configure for the Amazon Web Services Support App.

        
      

      - **channelRoleArn** *(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 <https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html>`__ in the *Amazon Web Services Support User Guide*.

        
      

      - **notifyOnAddCorrespondenceToCase** *(boolean) --* 

        Whether you want to get notified when a support case has a new correspondence.

        
      

      - **notifyOnCaseSeverity** *(string) --* 

        The case severity for a support case that you want to receive notifications.

        
      

      - **notifyOnCreateOrReopenCase** *(boolean) --* 

        Whether you want to get notified when a support case is created or reopened.

        
      

      - **notifyOnResolveCase** *(boolean) --* 

        Whether you want to get notified when a support case is resolved.

        
      

      - **teamId** *(string) --* 

        The team ID in Slack. This ID uniquely identifies a Slack workspace, such as ``T012ABCDEFG``.

        
  
  **Exceptions**
  
  *   :py:class:`SupportApp.Client.exceptions.ConflictException`

  
  *   :py:class:`SupportApp.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`SupportApp.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`SupportApp.Client.exceptions.InternalServerException`

  
  *   :py:class:`SupportApp.Client.exceptions.ValidationException`

  