SecurityHub / Client / get_administrator_account



Provides the details for the Security Hub administrator account for the current member account.

Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.

See also: AWS API Documentation

Request Syntax

response = client.get_administrator_account()
Return type:



Response Syntax

    'Administrator': {
        'AccountId': 'string',
        'InvitationId': 'string',
        'InvitedAt': datetime(2015, 1, 1),
        'MemberStatus': 'string'

Response Structure

  • (dict) –

    • Administrator (dict) –

      Details about an invitation.

      • AccountId (string) –

        The account ID of the Security Hub administrator account that the invitation was sent from.

      • InvitationId (string) –

        The ID of the invitation sent to the member account.

      • InvitedAt (datetime) –

        The timestamp of when the invitation was sent.

      • MemberStatus (string) –

        The current status of the association between the member and administrator accounts.


  • SecurityHub.Client.exceptions.InternalException

  • SecurityHub.Client.exceptions.InvalidInputException

  • SecurityHub.Client.exceptions.InvalidAccessException

  • SecurityHub.Client.exceptions.LimitExceededException

  • SecurityHub.Client.exceptions.ResourceNotFoundException