{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-get-identity-context-request-schema.json",
  "title": "GetIdentityContextRequest",
  "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/GetIdentityContextRequest",
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "type": "string",
      "description": "The ID for the Amazon Web Services account that the user whose identity context you want to retrieve is in. Currently, you use the ID for the Amazon Web Services account that contains your Quick Sight account."
    },
    "UserIdentifier": {
      "$ref": "#/$defs/UserIdentifier"
    },
    "Namespace": {
      "type": "string",
      "description": "The namespace of the user that you want to get identity context for. This parameter is required when the UserIdentifier is specified using Email or UserName."
    },
    "SessionExpiresAt": {
      "type": "string",
      "description": "The timestamp at which the session will expire."
    },
    "ContextRegion": {
      "type": "string",
      "description": "The region in which the context is to be used. Use this parameter to obtain an identity context for cross-region use. The specified region must meet the following conditions: The region must be in the same Amazon Web Services partition as the region you are calling from. Cross-partition requests are not supported. For example, you cannot specify a region in the aws-cn partition when calling from a region in the aws partition. It must be a valid Amazon QuickSight supported region. The calling customer account must be enabled in the specified context region. This parameter is not supported when "
    }
  },
  "required": [
    "AwsAccountId",
    "UserIdentifier"
  ],
  "$defs": {
    "UserIdentifier": {
      "type": "object",
      "properties": {
        "UserName": {
          "type": "string",
          "description": "The name of the user that you want to get identity context for."
        },
        "Email": {
          "type": "string",
          "description": "The email address of the user that you want to get identity context for."
        },
        "UserArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the user that you want to get identity context for."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}