:doc:`GlobalAccelerator <../../globalaccelerator>` / Client / list_cross_account_resource_accounts

************************************
list_cross_account_resource_accounts
************************************



.. py:method:: GlobalAccelerator.Client.list_cross_account_resource_accounts()

  

  List the accounts that have cross-account resources.

   

  For more information, see `Working with cross-account attachments and resources in Global Accelerator <https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html>`__ in the *Global Accelerator Developer Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountResourceAccounts>`_  


  **Request Syntax**
  ::

    response = client.list_cross_account_resource_accounts()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ResourceOwnerAwsAccountIds': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ResourceOwnerAwsAccountIds** *(list) --* 

        The account IDs of principals (resource owners) in a cross-account attachment who can work with resources listed in the same attachment.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`GlobalAccelerator.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.InternalServiceErrorException`

  