:doc:`FMS <../../fms>` / Client / get_admin_account

*****************
get_admin_account
*****************



.. py:method:: FMS.Client.get_admin_account()

  

  Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminAccount>`_  


  **Request Syntax**
  ::

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

    
    ::

      {
          'AdminAccount': 'string',
          'RoleStatus': 'READY'|'CREATING'|'PENDING_DELETION'|'DELETING'|'DELETED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AdminAccount** *(string) --* 

        The account that is set as the Firewall Manager default administrator.

        
      

      - **RoleStatus** *(string) --* 

        The status of the account that you set as the Firewall Manager default administrator.

        
  
  **Exceptions**
  
  *   :py:class:`FMS.Client.exceptions.InvalidOperationException`

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

  
  *   :py:class:`FMS.Client.exceptions.InternalErrorException`

  