:doc:`ResourceGroups <../../resource-groups>` / Client / update_group

************
update_group
************



.. py:method:: ResourceGroups.Client.update_group(**kwargs)

  

  Updates the description for an existing group. You cannot update the name of a resource group.

   

  **Minimum permissions**

   

  To run this command, you must have the following permissions:

   

  
  * ``resource-groups:UpdateGroup``
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroup>`_  


  **Request Syntax**
  ::

    response = client.update_group(
        GroupName='string',
        Group='string',
        Description='string',
        Criticality=123,
        Owner='string',
        DisplayName='string'
    )
    
  :type GroupName: string
  :param GroupName: 

    Don't use this parameter. Use ``Group`` instead.

    

  
  :type Group: string
  :param Group: 

    The name or the ARN of the resource group to update.

    

  
  :type Description: string
  :param Description: 

    The new description that you want to update the resource group with. Descriptions can contain letters, numbers, hyphens, underscores, periods, and spaces.

    

  
  :type Criticality: integer
  :param Criticality: 

    The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.

    

  
  :type Owner: string
  :param Owner: 

    A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.

    

  
  :type DisplayName: string
  :param DisplayName: 

    The name of the application group, which you can change at any time.

    

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

    
    ::

      {
          'Group': {
              'GroupArn': 'string',
              'Name': 'string',
              'Description': 'string',
              'Criticality': 123,
              'Owner': 'string',
              'DisplayName': 'string',
              'ApplicationTag': {
                  'string': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Group** *(dict) --* 

        The update description of the resource group.

        
        

        - **GroupArn** *(string) --* 

          The Amazon resource name (ARN) of the resource group.

          
        

        - **Name** *(string) --* 

          The name of the resource group.

          
        

        - **Description** *(string) --* 

          The description of the resource group.

          
        

        - **Criticality** *(integer) --* 

          The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.

          
        

        - **Owner** *(string) --* 

          A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.

          
        

        - **DisplayName** *(string) --* 

          The name of the application group, which you can change at any time.

          
        

        - **ApplicationTag** *(dict) --* 

          A tag that defines the application group membership. This tag is only supported for application groups.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    
  
  **Exceptions**
  
  *   :py:class:`ResourceGroups.Client.exceptions.BadRequestException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.NotFoundException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.MethodNotAllowedException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.InternalServerErrorException`

  