:doc:`ResilienceHub <../../resiliencehub>` / Client / describe_resource_grouping_recommendation_task

**********************************************
describe_resource_grouping_recommendation_task
**********************************************



.. py:method:: ResilienceHub.Client.describe_resource_grouping_recommendation_task(**kwargs)

  

  Describes the resource grouping recommendation tasks run by Resilience Hub for your application.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResourceGroupingRecommendationTask>`_  


  **Request Syntax**
  ::

    response = client.describe_resource_grouping_recommendation_task(
        appArn='string',
        groupingId='string'
    )
    
  :type appArn: string
  :param appArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:app/ ``app-id``. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

    

  
  :type groupingId: string
  :param groupingId: 

    Identifier of the grouping recommendation task.

    

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

    
    ::

      {
          'errorMessage': 'string',
          'groupingId': 'string',
          'status': 'Pending'|'InProgress'|'Failed'|'Success'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **errorMessage** *(string) --* 

        Error that occurred while generating a grouping recommendation.

        
      

      - **groupingId** *(string) --* 

        Identifier of the grouping recommendation task.

        
      

      - **status** *(string) --* 

        Status of the action.

        
  
  **Exceptions**
  
  *   :py:class:`ResilienceHub.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`ResilienceHub.Client.exceptions.ThrottlingException`

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

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

  