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.

accept_administrator_invitation

accept_administrator_invitation(**kwargs)

Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.

This operation is only used by member accounts that are not added through Organizations.

When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.

See also: AWS API Documentation

Request Syntax

response = client.accept_administrator_invitation(
    AdministratorId='string',
    InvitationId='string'
)
Parameters
  • AdministratorId (string) --

    [REQUIRED]

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

  • InvitationId (string) --

    [REQUIRED]

    The identifier of the invitation sent from the Security Hub administrator account.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • SecurityHub.Client.exceptions.InternalException
  • SecurityHub.Client.exceptions.InvalidInputException
  • SecurityHub.Client.exceptions.LimitExceededException
  • SecurityHub.Client.exceptions.ResourceNotFoundException
  • SecurityHub.Client.exceptions.InvalidAccessException