{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lake-formation/json-schema/amazon-lake-formation-get-temporary-glue-table-credentials-request-schema.json",
  "title": "GetTemporaryGlueTableCredentialsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lake-formation-operations-api-openapi.yml#/components/schemas/GetTemporaryGlueTableCredentialsRequest",
  "type": "object",
  "properties": {
    "TableArn": {
      "type": "string",
      "description": "The ARN identifying a table in the Data Catalog for the temporary credentials request."
    },
    "Permissions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "ALL",
          "SELECT",
          "ALTER",
          "DROP",
          "DELETE",
          "INSERT",
          "DESCRIBE",
          "CREATE_DATABASE",
          "CREATE_TABLE",
          "DATA_LOCATION_ACCESS",
          "CREATE_LF_TAG",
          "ASSOCIATE",
          "GRANT_WITH_LF_TAG_EXPRESSION",
          "CREATE_LF_TAG_EXPRESSION",
          "CREATE_CATALOG",
          "SUPER_USER",
          "EXECUTE"
        ]
      },
      "description": "Filters the request based on the user having been granted a list of specified permissions on the requested resource(s)."
    },
    "DurationSeconds": {
      "type": "integer",
      "description": "The time period, between 900 and 21,600 seconds, for the timeout of the temporary credentials."
    },
    "AuditContext": {
      "$ref": "#/$defs/AuditContext"
    },
    "SupportedPermissionTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "COLUMN_PERMISSION",
          "CELL_FILTER_PERMISSION",
          "NESTED_PERMISSION",
          "NESTED_CELL_PERMISSION"
        ]
      },
      "description": "A list of supported permission types for the table. Valid values are COLUMN_PERMISSION and CELL_FILTER_PERMISSION."
    },
    "S3Path": {
      "type": "string",
      "description": "The Amazon S3 path for the table."
    },
    "QuerySessionContext": {
      "$ref": "#/$defs/QuerySessionContext"
    }
  },
  "required": [
    "TableArn"
  ],
  "$defs": {
    "AuditContext": {
      "type": "object",
      "properties": {
        "AdditionalAuditContext": {
          "type": "string",
          "description": "The filter engine can populate the 'AdditionalAuditContext' information with the request ID for you to track. This information will be displayed in CloudTrail log in your account."
        }
      }
    },
    "QuerySessionContext": {
      "type": "object",
      "properties": {
        "QueryId": {
          "type": "string",
          "description": "A unique identifier generated by the query engine for the query."
        },
        "QueryStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "A timestamp provided by the query engine for when the query started."
        },
        "ClusterId": {
          "type": "string",
          "description": "An identifier string for the consumer cluster."
        },
        "QueryAuthorizationId": {
          "type": "string",
          "description": "A cryptographically generated query identifier generated by Glue or Lake Formation."
        },
        "AdditionalContext": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "An opaque string-string map passed by the query engine."
        }
      }
    }
  }
}