Skip to content

Get Archive Rule

accessanalyzer_get_archive_rule R Documentation

Retrieves information about an archive rule

Description

Retrieves information about an archive rule.

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

Usage

accessanalyzer_get_archive_rule(analyzerName, ruleName)

Arguments

analyzerName

[required] The name of the analyzer to retrieve rules from.

ruleName

[required] The name of the rule to retrieve.

Value

A list with the following syntax:

list(
  archiveRule = list(
    ruleName = "string",
    filter = list(
      list(
        eq = list(
          "string"
        ),
        neq = list(
          "string"
        ),
        contains = list(
          "string"
        ),
        exists = TRUE|FALSE
      )
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$get_archive_rule(
  analyzerName = "string",
  ruleName = "string"
)