{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-update-resource-permissions-request-schema.json",
  "title": "UpdateResourcePermissionsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-operations-api-openapi.yml#/components/schemas/UpdateResourcePermissionsRequest",
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "type": "string",
      "description": "The ID of the Amazon Web Services account whose service role configuration you want to update."
    },
    "RoleType": {
      "type": "string",
      "enum": [
        "QUICKSIGHT_MANAGED",
        "CUSTOMER_MANAGED"
      ],
      "description": "The type of service role that you want Amazon Quick Sight to use. The only supported value for this operation is CUSTOMER_MANAGED. Requests that specify QUICKSIGHT_MANAGED are rejected."
    },
    "CustomerManagedRoleArn": {
      "type": "string",
      "description": "The ARN of the customer-managed role that you want Amazon Quick Sight to use. To use this operation, you must have the iam:PassRole permission for the role. Configure the role as follows: The role must belong to the Amazon Web Services account specified by AwsAccountId. Configure the role trust policy to allow the Amazon Quick Sight service principal to call sts:AssumeRole. Attach a permissions policy that allows access to the resources that you want Amazon Quick Sight to use. To use features that rely on session tags, configure the role trust policy to allow the Amazon Quick Sight service pri"
    }
  },
  "required": [
    "AwsAccountId",
    "RoleType",
    "CustomerManagedRoleArn"
  ]
}