Skip to content

Describe Rules Packages

inspector_describe_rules_packages R Documentation

Describes the rules packages that are specified by the ARNs of the rules packages

Description

Describes the rules packages that are specified by the ARNs of the rules packages.

Usage

inspector_describe_rules_packages(rulesPackageArns, locale)

Arguments

rulesPackageArns

[required] The ARN that specifies the rules package that you want to describe.

locale

The locale that you want to translate a rules package description into.

Value

A list with the following syntax:

list(
  rulesPackages = list(
    list(
      arn = "string",
      name = "string",
      version = "string",
      provider = "string",
      description = "string"
    )
  ),
  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_rules_packages(
  rulesPackageArns = list(
    "string"
  ),
  locale = "EN_US"
)

Examples

## Not run: 
# Describes the rules packages that are specified by the ARNs of the rules
# packages.
svc$describe_rules_packages(
  rulesPackageArns = list(
    "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ"
  )
)

## End(Not run)