List Invitations
securityhub_list_invitations | R Documentation |
We recommend using Organizations instead of Security Hub invitations to manage your member accounts¶
Description¶
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.
Lists all Security Hub membership invitations that were sent to the calling account.
Only accounts that are managed by invitation can use this operation. Accounts that are managed using the integration with Organizations don't receive invitations.
Usage¶
Arguments¶
MaxResults
The maximum number of items to return in the response.
NextToken
The token that is required for pagination. On your first call to the
list_invitations
operation, set the value of this parameter toNULL
.For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
Value¶
A list with the following syntax:
list(
Invitations = list(
list(
AccountId = "string",
InvitationId = "string",
InvitedAt = as.POSIXct(
"2015-01-01"
),
MemberStatus = "string"
)
),
NextToken = "string"
)