Skip to content

Creates an approval policy in Quick Sight

Description

Creates an approval policy in Quick Sight.

Usage

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

Arguments

  • PolicyId

[required] The unique identifier to assign to the approval policy. You cannot change this value after you create the policy.

  • Name

[required] The name of the approval policy.

  • Description

A description of the approval policy.

  • Actions

[required] The list of governed actions that trigger the approval workflow.

  • AssetTypes

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

  • ApplicableTo

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

  • ApprovalGroups

[required] 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$create_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"
  )
)