Skip to content

Describe Resource Groups

inspector_describe_resource_groups R Documentation

Describes the resource groups that are specified by the ARNs of the resource groups

Description

Describes the resource groups that are specified by the ARNs of the resource groups.

Usage

inspector_describe_resource_groups(resourceGroupArns)

Arguments

resourceGroupArns

[required] The ARN that specifies the resource group that you want to describe.

Value

A list with the following syntax:

list(
  resourceGroups = list(
    list(
      arn = "string",
      tags = list(
        list(
          key = "string",
          value = "string"
        )
      ),
      createdAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  failedItems = list(
    list(
      failureCode = "INVALID_ARN"|"DUPLICATE_ARN"|"ITEM_DOES_NOT_EXIST"|"ACCESS_DENIED"|"LIMIT_EXCEEDED"|"INTERNAL_ERROR",
      retryable = TRUE|FALSE
    )
  )
)

Request syntax

svc$describe_resource_groups(
  resourceGroupArns = list(
    "string"
  )
)

Examples

## Not run: 
# Describes the resource groups that are specified by the ARNs of the
# resource groups.
svc$describe_resource_groups(
  resourceGroupArns = list(
    "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-PyGXopAI"
  )
)

## End(Not run)