Skip to content

Updates the resource permissions for an app

Description

Updates the resource permissions for an app. You can grant or revoke permissions and, optionally, change the app's visibility.

Usage

quicksight_update_app_permissions(AwsAccountId, AppId, GrantPermissions,
  RevokePermissions, Visibility)

Arguments

  • AwsAccountId

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

  • AppId

[required] The ID of the app.

  • GrantPermissions

The permissions that you want to grant on the app.

  • RevokePermissions

The permissions that you want to revoke from the app.

  • Visibility

The visibility to set for the app. Currently, only PRIVATE is accepted, which removes public (anonymous) access from the app. If you don't specify a value, the app's visibility is unchanged. Setting an app to PUBLIC through this operation is not supported.

Value

A list with the following syntax:

list(
  Arn = "string",
  AppId = "string",
  Permissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  Visibility = "PRIVATE"|"PUBLIC",
  RequestId = "string"
)

Request syntax

svc$update_app_permissions(
  AwsAccountId = "string",
  AppId = "string",
  GrantPermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RevokePermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  Visibility = "PRIVATE"|"PUBLIC"
)