Skip to content

Batch Get Free Trial Info

inspector2_batch_get_free_trial_info R Documentation

Gets free trial status for multiple Amazon Web Services accounts

Description

Gets free trial status for multiple Amazon Web Services accounts.

Usage

inspector2_batch_get_free_trial_info(accountIds)

Arguments

accountIds

[required] The account IDs to get free trial status for.

Value

A list with the following syntax:

list(
  accounts = list(
    list(
      accountId = "string",
      freeTrialInfo = list(
        list(
          end = as.POSIXct(
            "2015-01-01"
          ),
          start = as.POSIXct(
            "2015-01-01"
          ),
          status = "ACTIVE"|"INACTIVE",
          type = "EC2"|"ECR"|"LAMBDA"|"LAMBDA_CODE"
        )
      )
    )
  ),
  failedAccounts = list(
    list(
      accountId = "string",
      code = "ACCESS_DENIED"|"INTERNAL_ERROR",
      message = "string"
    )
  )
)

Request syntax

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