Skip to content

Updates the resource permissions for an agent

Description

Updates the resource permissions for an agent.

Usage

quicksight_update_agent_permissions(AgentId, AwsAccountId,
  GrantPermissions, RevokePermissions)

Arguments

  • AgentId

[required] The unique identifier for the agent.

  • AwsAccountId

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

  • GrantPermissions

The resource permissions that you want to grant on the agent.

  • RevokePermissions

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

Value

A list with the following syntax:

list(
  Arn = "string",
  AgentId = "string",
  RequestId = "string",
  Permissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  )
)

Request syntax

svc$update_agent_permissions(
  AgentId = "string",
  AwsAccountId = "string",
  GrantPermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  ),
  RevokePermissions = list(
    list(
      Principal = "string",
      Actions = list(
        "string"
      )
    )
  )
)