Skip to content

Batch Get Member Ec 2 Deep Inspection Status

inspector2_batch_get_member_ec_2_deep_inspection_status R Documentation

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.

 </p>

Value

A list with the following syntax:

list(
  accountIds = list(
    list(
      accountId = "string",
      errorMessage = "string",
      status = "ACTIVATED"|"DEACTIVATED"|"PENDING"|"FAILED"
    )
  ),
  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"
  )
)