{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-kendra/json-schema/amazon-kendra-describe-principal-mapping-response-schema.json",
  "title": "DescribePrincipalMappingResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-kendra-principal-mapping-api-openapi.yml#/components/schemas/DescribePrincipalMappingResponse",
  "type": "object",
  "properties": {
    "IndexId": {
      "type": "string",
      "description": "Shows the identifier of the index to see information on the processing of PUT and DELETE actions for mapping users to their groups."
    },
    "DataSourceId": {
      "type": "string",
      "description": "Shows the identifier of the data source to see information on the processing of PUT and DELETE actions for mapping users to their groups."
    },
    "GroupId": {
      "type": "string",
      "description": "Shows the identifier of the group to see information on the processing of PUT and DELETE actions for mapping users to their groups."
    },
    "GroupOrderingIdSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GroupOrderingIdSummary"
      },
      "description": "Shows the following information on the processing of PUT and DELETE actions for mapping users to their groups: Status—the status can be either PROCESSING, SUCCEEDED, DELETING, DELETED, or FAILED. Last updated—the last date-time an action was updated. Received—the last date-time an action was received or submitted. Ordering ID—the latest action that should process and apply after other actions. Failure reason—the reason an action could not be processed."
    }
  },
  "$defs": {
    "GroupOrderingIdSummary": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "FAILED",
            "SUCCEEDED",
            "PROCESSING",
            "DELETING",
            "DELETED"
          ],
          "description": "The current processing status of actions for mapping users to their groups. The status can be either PROCESSING, SUCCEEDED, DELETING, DELETED, or FAILED."
        },
        "LastUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp when an action was last updated. An action can be a PUT or DELETE action for mapping users to their groups."
        },
        "ReceivedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix timestamp when an action was received by Amazon Kendra. An action can be a PUT or DELETE action for mapping users to their groups."
        },
        "OrderingId": {
          "type": "integer",
          "description": "The order in which actions should complete processing. An action can be a PUT or DELETE action for mapping users to their groups."
        },
        "FailureReason": {
          "type": "string",
          "description": "The reason an action could not be processed. An action can be a PUT or DELETE action for mapping users to their groups."
        }
      }
    }
  }
}