:doc:`SsmSap <../../ssm-sap>` / Client / list_sub_check_rule_results

***************************
list_sub_check_rule_results
***************************



.. py:method:: SsmSap.Client.list_sub_check_rule_results(**kwargs)

  

  Lists the rules of a specified sub-check belonging to a configuration check operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListSubCheckRuleResults>`_  


  **Request Syntax**
  ::

    response = client.list_sub_check_rule_results(
        SubCheckResultId='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type SubCheckResultId: string
  :param SubCheckResultId: **[REQUIRED]** 

    The ID of the sub check result.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next page of results.

    

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

    
    ::

      {
          'RuleResults': [
              {
                  'Id': 'string',
                  'Description': 'string',
                  'Status': 'PASSED'|'FAILED'|'WARNING'|'INFO'|'UNKNOWN',
                  'Message': 'string',
                  'Metadata': {
                      'string': 'string'
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RuleResults** *(list) --* 

        The rule results of a sub-check belonging to a configuration check operation.

        
        

        - *(dict) --* 

          Represents the result of a single rule within a configuration check.

          
          

          - **Id** *(string) --* 

            The unique identifier of the rule result.

            
          

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

            A description of what the rule validates.

            
          

          - **Status** *(string) --* 

            The status of the rule result.

            
          

          - **Message** *(string) --* 

            A message providing details about the rule result.

            
          

          - **Metadata** *(dict) --* 

            Additional metadata associated with the rule result.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
    
      

      - **NextToken** *(string) --* 

        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

        
  
  **Exceptions**
  
  *   :py:class:`SsmSap.Client.exceptions.ValidationException`

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

  