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

***********************
associate_admin_account
***********************



.. py:method:: FMS.Client.associate_admin_account(**kwargs)

  

  Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect.

   

  For information about working with Firewall Manager administrator accounts, see `Managing Firewall Manager administrators <https://docs.aws.amazon.com/organizations/latest/userguide/fms-administrators.html>`__ in the *Firewall Manager Developer Guide*.

  

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


  **Request Syntax**
  ::

    response = client.associate_admin_account(
        AdminAccount='string'
    )
    
  :type AdminAccount: string
  :param AdminAccount: **[REQUIRED]** 

    The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager default administrator account. This account must be a member account of the organization in Organizations whose resources you want to protect. For more information about Organizations, see `Managing the Amazon Web Services Accounts in Your Organization <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.html>`__.

    

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

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

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

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

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

  