{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-associate-member-to-fleet-request-schema.json",
  "title": "AssociateMemberToFleetRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-members-api-openapi.yml#/components/schemas/AssociateMemberToFleetRequest",
  "type": "object",
  "properties": {
    "farmId": {
      "type": "string",
      "description": "The farm ID of the fleet to associate with the member."
    },
    "fleetId": {
      "type": "string",
      "description": "The ID of the fleet to associate with a member."
    },
    "principalType": {
      "type": "string",
      "enum": [
        "USER",
        "GROUP"
      ],
      "description": "The member's principal type to associate with the fleet."
    },
    "identityStoreId": {
      "type": "string",
      "description": "The member's identity store ID to associate with the fleet."
    },
    "membershipLevel": {
      "type": "string",
      "enum": [
        "VIEWER",
        "CONTRIBUTOR",
        "OWNER",
        "MANAGER"
      ],
      "description": "The principal's membership level for the associated fleet."
    },
    "principalId": {
      "type": "string",
      "description": "The member's principal ID to associate with a fleet."
    },
    "identityCenterRegion": {
      "type": "string",
      "description": "The Region of the IAM Identity Center instance. If not provided, the service defaults to the Region of the farm."
    }
  },
  "required": [
    "farmId",
    "fleetId",
    "principalType",
    "identityStoreId",
    "membershipLevel",
    "principalId"
  ]
}