{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-directory-service/json-schema/amazon-directory-service-list-groups-for-member-request-schema.json",
  "title": "ListGroupsForMemberRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-directory-service-groupmemberships-api-openapi.yml#/components/schemas/ListGroupsForMemberRequest",
  "type": "object",
  "properties": {
    "DirectoryId": {
      "type": "string",
      "description": "The identifier (ID) of the directory that's associated with the member."
    },
    "Realm": {
      "type": "string",
      "description": "The domain name that's associated with the group. This parameter is optional, so you can return groups outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD groups are returned. This value is case insensitive and defaults to your Managed Microsoft AD domain."
    },
    "MemberRealm": {
      "type": "string",
      "description": "The domain name that's associated with the group member. This parameter is optional, so you can limit your results to the group members in a specific domain. This parameter is case insensitive and defaults to Realm"
    },
    "SAMAccountName": {
      "type": "string",
      "description": "The SAMAccountName of the user, group, or computer that's a member of the group."
    },
    "NextToken": {
      "type": "string",
      "description": "An encoded paging token for paginated calls that can be passed back to retrieve the next page."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of results to be returned per request."
    }
  },
  "required": [
    "DirectoryId",
    "SAMAccountName"
  ]
}