Skip to content

Updates the permissions of a topic

Description

Updates the permissions of a topic.

Usage

quicksight_update_topic_permissions_v2(AwsAccountId, TopicId,
  GrantPermissions, RevokePermissions)

Arguments

  • AwsAccountId

[required] The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.

  • TopicId

[required] The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

  • GrantPermissions

The resource permissions that you want to grant to the topic.

  • RevokePermissions

The resource permissions that you want to revoke from the topic.

Value

A list with the following syntax:

list(
  TopicId = "string",
  TopicArn = "string",
  Permissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  Status = 123,
  RequestId = "string"
)

Request syntax

svc$update_topic_permissions_v2(
  AwsAccountId = "string",
  TopicId = "string",
  GrantPermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RevokePermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  )
)