:doc:`TrustedAdvisorPublicAPI <../../trustedadvisor>` / Client / list_organization_recommendation_resources

******************************************
list_organization_recommendation_resources
******************************************



.. py:method:: TrustedAdvisorPublicAPI.Client.list_organization_recommendation_resources(**kwargs)

  

  List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendationResources>`_  


  **Request Syntax**
  ::

    response = client.list_organization_recommendation_resources(
        affectedAccountId='string',
        exclusionStatus='excluded'|'included',
        maxResults=123,
        nextToken='string',
        organizationRecommendationIdentifier='string',
        regionCode='string',
        status='ok'|'warning'|'error'
    )
    
  :type affectedAccountId: string
  :param affectedAccountId: 

    An account affected by this organization recommendation

    

  
  :type exclusionStatus: string
  :param exclusionStatus: 

    The exclusion status of the resource

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return per page.

    

  
  :type nextToken: string
  :param nextToken: 

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    

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

    The AWS Organization organization's Recommendation identifier

    

  
  :type regionCode: string
  :param regionCode: 

    The AWS Region code of the resource

    

  
  :type status: string
  :param status: 

    The status of the resource

    

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

    
    ::

      {
          'nextToken': 'string',
          'organizationRecommendationResourceSummaries': [
              {
                  'accountId': 'string',
                  'arn': 'string',
                  'awsResourceId': 'string',
                  'exclusionStatus': 'excluded'|'included',
                  'id': 'string',
                  'lastUpdatedAt': datetime(2015, 1, 1),
                  'metadata': {
                      'string': 'string'
                  },
                  'recommendationArn': 'string',
                  'regionCode': 'string',
                  'status': 'ok'|'warning'|'error'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        
      

      - **organizationRecommendationResourceSummaries** *(list) --* 

        A list of Recommendation Resources

        
        

        - *(dict) --* 

          Organization Recommendation Resource Summary

          
          

          - **accountId** *(string) --* 

            The AWS account ID

            
          

          - **arn** *(string) --* 

            The ARN of the Recommendation Resource

            
          

          - **awsResourceId** *(string) --* 

            The AWS resource identifier

            
          

          - **exclusionStatus** *(string) --* 

            The exclusion status of the Recommendation Resource

            
          

          - **id** *(string) --* 

            The ID of the Recommendation Resource

            
          

          - **lastUpdatedAt** *(datetime) --* 

            When the Recommendation Resource was last updated

            
          

          - **metadata** *(dict) --* 

            Metadata associated with the Recommendation Resource

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
          

          - **recommendationArn** *(string) --* 

            The Recommendation ARN

            
          

          - **regionCode** *(string) --* 

            The AWS Region code that the Recommendation Resource is in

            
          

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

            The current status of the Recommendation Resource

            
      
    
  
  **Exceptions**
  
  *   :py:class:`TrustedAdvisorPublicAPI.Client.exceptions.AccessDeniedException`

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

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

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

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

  