Learn R Programming

paws.analytics (version 0.1.11)

quicksight_update_analysis_permissions: Updates the read and write permissions for an analysis

Description

Updates the read and write permissions for an analysis.

Usage

quicksight_update_analysis_permissions(AwsAccountId, AnalysisId,
  GrantPermissions, RevokePermissions)

Arguments

AwsAccountId

[required] The ID of the AWS account that contains the analysis whose permissions you're updating. You must be using the AWS account that the analysis is in.

AnalysisId

[required] The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.

GrantPermissions

A structure that describes the permissions to add and the principal to add them to.

RevokePermissions

A structure that describes the permissions to remove and the principal to remove them from.

Value

A list with the following syntax:

list(
  AnalysisArn = "string",
  AnalysisId = "string",
  Permissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RequestId = "string",
  Status = 123
)

Request syntax

svc$update_analysis_permissions(
  AwsAccountId = "string",
  AnalysisId = "string",
  GrantPermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RevokePermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  )
)