FMS / Client / get_admin_account

get_admin_account#

FMS.Client.get_admin_account()#

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

See also: AWS API Documentation

Request Syntax

response = client.get_admin_account()
Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • AdminAccount (string) –

      The Amazon Web Services account that is set as the Firewall Manager administrator.

    • RoleStatus (string) –

      The status of the Amazon Web Services account that you set as the Firewall Manager administrator.

Exceptions

  • FMS.Client.exceptions.InvalidOperationException

  • FMS.Client.exceptions.ResourceNotFoundException

  • FMS.Client.exceptions.InternalErrorException