Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_admin_account

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