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 default 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 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

  • FMS.Client.exceptions.InvalidOperationException

  • FMS.Client.exceptions.ResourceNotFoundException

  • FMS.Client.exceptions.InternalErrorException