{
  "$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-partition-credentials-request-schema.json",
  "title": "GetTemporaryGluePartitionCredentialsRequest",
  "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/GetTemporaryGluePartitionCredentialsRequest",
  "type": "object",
  "properties": {
    "TableArn": {
      "type": "string",
      "description": "The ARN of the partitions' table."
    },
    "Partition": {
      "$ref": "#/$defs/PartitionValueList"
    },
    "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 partition. Valid values are COLUMN_PERMISSION and CELL_FILTER_PERMISSION."
    }
  },
  "required": [
    "TableArn",
    "Partition"
  ],
  "$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."
        }
      }
    },
    "PartitionValueList": {
      "type": "object",
      "properties": {
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of partition values."
        }
      },
      "required": [
        "Values"
      ]
    }
  }
}