{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-list-memberships-request-schema.json",
  "title": "ListMembershipsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-operations-api-openapi.yml#/components/schemas/ListMembershipsRequest",
  "type": "object",
  "properties": {
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of results, or null to start from the beginning."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages."
    },
    "principalId": {
      "type": "string",
      "description": "The ID of the IAM Identity Center principal whose Deadline Cloud resource memberships you want to list."
    },
    "identityStoreId": {
      "type": "string",
      "description": "The identity store ID that contains the principal. This parameter is required for callers that do not use a monitor session."
    },
    "identityCenterRegion": {
      "type": "string",
      "description": "The Region of the IAM Identity Center instance. If not provided, the service defaults to the Amazon Web Services Region in which you make the request."
    },
    "resourceTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "FARM",
          "QUEUE",
          "FLEET",
          "JOB"
        ]
      },
      "description": "The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned."
    }
  },
  "required": [
    "principalId"
  ]
}