We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizations in the Security Hub User Guide.
See https://www.paws-r-sdk.com/docs/securityhub_invite_members/ for full documentation.
securityhub_invite_members(AccountIds)
[required] The list of account IDs of the Amazon Web Services accounts to invite to Security Hub as members.