inspector_describe_rules_packages: Describes the rules packages that are specified by the ARNs...

Description Usage Arguments Value Request syntax Examples

View source: R/inspector_operations.R

Description

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

Usage

1
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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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

1
2
3
4
5
6
svc$describe_rules_packages(
  rulesPackageArns = list(
    "string"
  ),
  locale = "EN_US"
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

paws.security.identity documentation built on Aug. 23, 2021, 9:16 a.m.