Lists details about all member accounts for the current Security Hub master account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
securityhub_list_members(OnlyAssociated, MaxResults, NextToken)
A list with the following syntax:
list(
Members = list(
list(
AccountId = "string",
Email = "string",
MasterId = "string",
MemberStatus = "string",
InvitedAt = as.POSIXct(
"2015-01-01"
),
UpdatedAt = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)
Specifies which member accounts to include in the response based on
their relationship status with the master account. The default value is
TRUE
.
If OnlyAssociated
is set to TRUE
, the response includes member
accounts whose relationship status with the master is set to ENABLED
.
If OnlyAssociated
is set to FALSE
, the response includes all
existing member accounts.
The maximum number of items to return in the response.
The token that is required for pagination. On your first call to the
list_members
operation, set the value of
this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
svc$list_members(
OnlyAssociated = TRUE|FALSE,
MaxResults = 123,
NextToken = "string"
)