Skip to content

List Access Previews

accessanalyzer_list_access_previews R Documentation

Retrieves a list of access previews for the specified analyzer

Description

Retrieves a list of access previews for the specified analyzer.

Usage

accessanalyzer_list_access_previews(analyzerArn, nextToken, maxResults)

Arguments

analyzerArn

[required] The ARN of the analyzer used to generate the access preview.

nextToken

A token used for pagination of results returned.

maxResults

The maximum number of results to return in the response.

Value

A list with the following syntax:

list(
  accessPreviews = list(
    list(
      id = "string",
      analyzerArn = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      status = "COMPLETED"|"CREATING"|"FAILED",
      statusReason = list(
        code = "INTERNAL_ERROR"|"INVALID_CONFIGURATION"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_access_previews(
  analyzerArn = "string",
  nextToken = "string",
  maxResults = 123
)