Skip to content

Update Theme Permissions

quicksight_update_theme_permissions R Documentation

Updates the resource permissions for a theme

Description

Updates the resource permissions for a theme. Permissions apply to the action to grant or revoke permissions on, for example "quicksight:DescribeTheme".

Theme permissions apply in groupings. Valid groupings include the following for the three levels of permissions, which are user, owner, or no permissions:

  • User

    • "quicksight:DescribeTheme"

    • "quicksight:DescribeThemeAlias"

    • "quicksight:ListThemeAliases"

    • "quicksight:ListThemeVersions"

  • Owner

    • "quicksight:DescribeTheme"

    • "quicksight:DescribeThemeAlias"

    • "quicksight:ListThemeAliases"

    • "quicksight:ListThemeVersions"

    • "quicksight:DeleteTheme"

    • "quicksight:UpdateTheme"

    • "quicksight:CreateThemeAlias"

    • "quicksight:DeleteThemeAlias"

    • "quicksight:UpdateThemeAlias"

    • "quicksight:UpdateThemePermissions"

    • "quicksight:DescribeThemePermissions"

  • To specify no permissions, omit the permissions list.

Usage

quicksight_update_theme_permissions(AwsAccountId, ThemeId,
  GrantPermissions, RevokePermissions)

Arguments

AwsAccountId

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

ThemeId

[required] The ID for the theme.

GrantPermissions

A list of resource permissions to be granted for the theme.

RevokePermissions

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

Value

A list with the following syntax:

list(
  ThemeId = "string",
  ThemeArn = "string",
  Permissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RequestId = "string",
  Status = 123
)

Request syntax

svc$update_theme_permissions(
  AwsAccountId = "string",
  ThemeId = "string",
  GrantPermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RevokePermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  )
)