Skip to content

Lists all approval policies in the specified Quick Sight account

Description

Lists all approval policies in the specified Quick Sight account. The results are paginated. If the response includes a NextToken value, pass it in a subsequent call to retrieve the next set of results.

Usage

quicksight_list_approval_policies(NextToken, MaxResults)

Arguments

  • NextToken

The token for the next set of results, or null if there are no more results.

  • MaxResults

The maximum number of results to return in a single call. If you don't specify a value, the service returns a default number of results. Use the NextToken value in the response to retrieve additional results.

Value

A list with the following syntax:

list(
  Policies = list(
    list(
      PolicyId = "string",
      PolicyArn = "string",
      Name = "string",
      Description = "string",
      Actions = list(
        "SHARE"
      ),
      AssetTypes = list(
        "AGENT"|"SPACE"|"KNOWLEDGE_BASE"
      ),
      ApplicableTo = list(
        Type = "GROUP",
        GroupArns = list(
          "string"
        )
      ),
      ApprovalGroups = list(
        "string"
      ),
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_approval_policies(
  NextToken = "string",
  MaxResults = 123
)