Skip to content

Updates the resource permissions for a template

Description

Updates the resource permissions for a template.

Usage

quicksight_update_template_permissions(AwsAccountId, TemplateId,
  GrantPermissions, RevokePermissions)

Arguments

  • AwsAccountId

    [required] The ID of the Amazon Web Services account that contains the template.

  • TemplateId

    [required] The ID for the template.

  • GrantPermissions

    A list of resource permissions to be granted on the template.

  • RevokePermissions

    A list of resource permissions to be revoked from the template.

Value

A list with the following syntax:

list(
  TemplateId = "string",
  TemplateArn = "string",
  Permissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RequestId = "string",
  Status = 123
)

Request syntax

svc$update_template_permissions(
  AwsAccountId = "string",
  TemplateId = "string",
  GrantPermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RevokePermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  )
)