{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-organizations/json-schema/amazon-organizations-list-handshakes-for-account-request-schema.json",
  "title": "ListHandshakesForAccountRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-organizations-handshake-api-openapi.yml#/components/schemas/ListHandshakesForAccountRequest",
  "type": "object",
  "properties": {
    "Filter": {
      "$ref": "#/$defs/HandshakeFilter"
    },
    "NextToken": {
      "type": "string",
      "description": "The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return in the response. If more results exist than the specified MaxResults value, a token is included in the response so that you can retrieve the remaining results."
    }
  },
  "$defs": {
    "HandshakeFilter": {
      "type": "object",
      "properties": {
        "ActionType": {
          "type": "string",
          "enum": [
            "INVITE",
            "ENABLE_ALL_FEATURES",
            "APPROVE_ALL_FEATURES",
            "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE",
            "TRANSFER_RESPONSIBILITY"
          ],
          "description": "The type of handshake. If you specify ActionType, you cannot also specify ParentHandshakeId."
        },
        "ParentHandshakeId": {
          "type": "string",
          "description": "The parent handshake. Only used for handshake types that are a child of another type. If you specify ParentHandshakeId, you cannot also specify ActionType. The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lowercase letters or digits."
        }
      }
    }
  }
}