Skip to content

List members associated with the Amazon Inspector delegated administrator for your organization

Description

List members associated with the Amazon Inspector delegated administrator for your organization.

Usage

inspector2_list_members(onlyAssociated, maxResults, nextToken)

Arguments

  • onlyAssociated

    Specifies whether to list only currently associated members if True or to list all members within the organization if False.

  • maxResults

    The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

  • nextToken

    A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

Value

A list with the following syntax:

list(
  members = list(
    list(
      accountId = "string",
      relationshipStatus = "CREATED"|"INVITED"|"DISABLED"|"ENABLED"|"REMOVED"|"RESIGNED"|"DELETED"|"EMAIL_VERIFICATION_IN_PROGRESS"|"EMAIL_VERIFICATION_FAILED"|"REGION_DISABLED"|"ACCOUNT_SUSPENDED"|"CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
      delegatedAdminAccountId = "string",
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_members(
  onlyAssociated = TRUE|FALSE,
  maxResults = 123,
  nextToken = "string"
)