Skip to content

Updates an approval policy in Quick Sight

Description

Updates an approval policy in Quick Sight.

Usage

quicksight_update_approval_policy(PolicyId, Name, Description, Actions,
  AssetTypes, ApplicableTo, ApprovalGroups)

Arguments

  • PolicyId

[required] The unique identifier of the approval policy to update.

  • Name

The name of the approval policy.

  • Description

A description of the approval policy.

  • Actions

The list of governed actions that trigger the approval workflow.

  • AssetTypes

The list of asset types that the approval policy applies to.

  • ApplicableTo

The scoping configuration that determines who the approval policy applies to.

  • ApprovalGroups

The list of group ARNs whose members can approve requests.

Value

A list with the following syntax:

list(
  Policy = 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"
    )
  )
)

Request syntax

svc$update_approval_policy(
  PolicyId = "string",
  Name = "string",
  Description = "string",
  Actions = list(
    "SHARE"
  ),
  AssetTypes = list(
    "AGENT"|"SPACE"|"KNOWLEDGE_BASE"
  ),
  ApplicableTo = list(
    Type = "GROUP",
    GroupArns = list(
      "string"
    )
  ),
  ApprovalGroups = list(
    "string"
  )
)