{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-generate-embed-url-for-anonymous-user-request-schema.json",
  "title": "GenerateEmbedUrlForAnonymousUserRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-embed-url-api-openapi.yml#/components/schemas/GenerateEmbedUrlForAnonymousUserRequest",
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "type": "string",
      "description": "The ID for the Amazon Web Services account that contains the dashboard that you're embedding."
    },
    "SessionLifetimeInMinutes": {
      "type": "integer",
      "description": "How many minutes the session is valid. The session lifetime must be in [15-600] minutes range."
    },
    "Namespace": {
      "type": "string",
      "description": "The Amazon Quick Sight namespace that the anonymous user virtually belongs to. If you are not using an Amazon Quick custom namespace, set this to default."
    },
    "SessionTags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SessionTag"
      },
      "description": "Session tags are user-specified strings that identify a session in your application. You can use these tags to implement row-level security (RLS) controls. Before you use the SessionTags parameter, make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration parameter so that session tags can be used to provide row-level security. When using SessionTags in GenerateEmbedUrlForAnonymousUser, Treat SessionTags as security credentials. Do not expose SessionTags to end users or client-side code. Implement server-side controls. Ensure that SessionTags"
    },
    "AuthorizedResourceArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The Amazon Resource Names (ARNs) for the Quick Sight resources that the user is authorized to access during the lifetime of the session. If you choose Dashboard embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view. If you want to make changes to the theme of your embedded content, pass a list of theme ARNs that the anonymous users need access to. Currently, you can pass up to 25 theme ARNs in each API call."
    },
    "ExperienceConfiguration": {
      "$ref": "#/$defs/AnonymousUserEmbeddingExperienceConfiguration"
    },
    "AllowedDomains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage Quick Sight menu in the Amazon Quick Sight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call. To include all subdomains under a specific domain to the allow list, use *. For example, https://*.sapp.amazon.com includes all subdomains under https://sapp.amazon.com."
    }
  },
  "required": [
    "AwsAccountId",
    "Namespace",
    "AuthorizedResourceArns",
    "ExperienceConfiguration"
  ],
  "$defs": {
    "AnonymousUserDashboardEmbeddingConfiguration": {
      "type": "object",
      "properties": {
        "InitialDashboardId": {
          "type": "string",
          "description": "The dashboard ID for the dashboard that you want the user to see first. This ID is included in the output URL. When the URL in response is accessed, Amazon Quick Sight renders this dashboard. The Amazon Resource Name (ARN) of this dashboard must be included in the AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException."
        },
        "EnabledFeatures": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "SHARED_VIEW"
            ]
          },
          "description": "A list of all enabled features of a specified anonymous dashboard."
        },
        "DisabledFeatures": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "SHARED_VIEW"
            ]
          },
          "description": "A list of all disabled features of a specified anonymous dashboard."
        },
        "FeatureConfigurations": {
          "$ref": "#/$defs/AnonymousUserDashboardFeatureConfigurations"
        }
      },
      "required": [
        "InitialDashboardId"
      ]
    },
    "AnonymousUserDashboardFeatureConfigurations": {
      "type": "object",
      "properties": {
        "SharedView": {
          "$ref": "#/$defs/SharedViewConfigurations"
        }
      }
    },
    "AnonymousUserDashboardVisualEmbeddingConfiguration": {
      "type": "object",
      "properties": {
        "InitialDashboardVisualId": {
          "$ref": "#/$defs/DashboardVisualId"
        }
      },
      "required": [
        "InitialDashboardVisualId"
      ]
    },
    "AnonymousUserEmbeddingExperienceConfiguration": {
      "type": "object",
      "properties": {
        "Dashboard": {
          "$ref": "#/$defs/AnonymousUserDashboardEmbeddingConfiguration"
        },
        "DashboardVisual": {
          "$ref": "#/$defs/AnonymousUserDashboardVisualEmbeddingConfiguration"
        },
        "QSearchBar": {
          "$ref": "#/$defs/AnonymousUserQSearchBarEmbeddingConfiguration"
        },
        "GenerativeQnA": {
          "$ref": "#/$defs/AnonymousUserGenerativeQnAEmbeddingConfiguration"
        }
      }
    },
    "AnonymousUserGenerativeQnAEmbeddingConfiguration": {
      "type": "object",
      "properties": {
        "InitialTopicId": {
          "type": "string",
          "description": "The Quick Sight Q topic ID of the new reader experience topic that you want the anonymous user to see first. This ID is included in the output URL. When the URL in response is accessed, Quick Sight renders the Generative Q&A experience with this new reader experience topic pre selected. The Amazon Resource Name (ARN) of this Q new reader experience topic must be included in the AuthorizedResourceArns parameter. Otherwise, the request fails with an InvalidParameterValueException error."
        }
      },
      "required": [
        "InitialTopicId"
      ]
    },
    "AnonymousUserQSearchBarEmbeddingConfiguration": {
      "type": "object",
      "properties": {
        "InitialTopicId": {
          "type": "string",
          "description": "The Quick Sight Q topic ID of the legacy topic that you want the anonymous user to see first. This ID is included in the output URL. When the URL in response is accessed, Quick Sight renders the Q search bar with this legacy topic pre-selected. The Amazon Resource Name (ARN) of this Q legacy topic must be included in the AuthorizedResourceArns parameter. Otherwise, the request fails with an InvalidParameterValueException error."
        }
      },
      "required": [
        "InitialTopicId"
      ]
    },
    "DashboardVisualId": {
      "type": "object",
      "properties": {
        "DashboardId": {
          "type": "string",
          "description": "The ID of the dashboard that has the visual that you want to embed. The DashboardId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Quick console. You can also get the DashboardId with a ListDashboards API operation."
        },
        "SheetId": {
          "type": "string",
          "description": "The ID of the sheet that the has visual that you want to embed. The SheetId can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Quick console."
        },
        "VisualId": {
          "type": "string",
          "description": "The ID of the visual that you want to embed. The VisualID can be found in the IDs for developers section of the Embed visual pane of the visual's on-visual menu of the Amazon Quick Sight console."
        }
      },
      "required": [
        "DashboardId",
        "SheetId",
        "VisualId"
      ]
    },
    "SessionTag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key for the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value that you want to assign the tag."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    },
    "SharedViewConfigurations": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "The shared view settings of an embedded dashboard."
        }
      },
      "required": [
        "Enabled"
      ]
    }
  }
}