Skip to content

Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization

Description

Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

Usage

inspector2_batch_get_member_ec_2_deep_inspection_status(accountIds)

Arguments

  • accountIds

    The unique identifiers for the Amazon Web Services accounts to retrieve Amazon Inspector deep inspection activation status for.

Value

A list with the following syntax:

list(
  accountIds = list(
    list(
      accountId = "string",
      status = "ACTIVATED"|"DEACTIVATED"|"PENDING"|"FAILED",
      errorMessage = "string"
    )
  ),
  failedAccountIds = list(
    list(
      accountId = "string",
      ec2ScanStatus = "ENABLING"|"ENABLED"|"DISABLING"|"DISABLED"|"SUSPENDING"|"SUSPENDED",
      errorMessage = "string"
    )
  )
)

Request syntax

svc$batch_get_member_ec_2_deep_inspection_status(
  accountIds = list(
    "string"
  )
)