Skip to content

Update Data Source Permissions

quicksight_update_data_source_permissions R Documentation

Updates the permissions to a data source

Description

Updates the permissions to a data source.

Usage

quicksight_update_data_source_permissions(AwsAccountId, DataSourceId,
  GrantPermissions, RevokePermissions)

Arguments

AwsAccountId

[required] The Amazon Web Services account ID.

DataSourceId

[required] The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

GrantPermissions

A list of resource permissions that you want to grant on the data source.

RevokePermissions

A list of resource permissions that you want to revoke on the data source.

Value

A list with the following syntax:

list(
  DataSourceArn = "string",
  DataSourceId = "string",
  RequestId = "string",
  Status = 123
)

Request syntax

svc$update_data_source_permissions(
  AwsAccountId = "string",
  DataSourceId = "string",
  GrantPermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RevokePermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  )
)