{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-license-manager/json-schema/amazon-license-manager-list-product-subscriptions-request-schema.json",
  "title": "ListProductSubscriptionsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-license-manager-user-api-openapi.yml#/components/schemas/ListProductSubscriptionsRequest",
  "type": "object",
  "properties": {
    "Product": {
      "type": "string",
      "description": "The name of the user-based subscription product. Valid values: VISUAL_STUDIO_ENTERPRISE | VISUAL_STUDIO_PROFESSIONAL | OFFICE_PROFESSIONAL_PLUS | OFFICE_STANDARD | REMOTE_DESKTOP_SERVICES"
    },
    "IdentityProvider": {
      "$ref": "#/$defs/IdentityProvider"
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of results to return from a single request."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LicenseManagerUserSubscriptionsFilter"
      },
      "description": "You can use the following filters to streamline results: Status Username Domain"
    },
    "NextToken": {
      "type": "string",
      "description": "A token to specify where to start paginating. This is the nextToken from a previously truncated response."
    }
  },
  "required": [
    "IdentityProvider"
  ],
  "$defs": {
    "ActiveDirectoryIdentityProvider": {
      "type": "object",
      "properties": {
        "DirectoryId": {
          "type": "string",
          "description": "The directory ID for an Active Directory identity provider."
        },
        "ActiveDirectorySettings": {
          "$ref": "#/$defs/ActiveDirectorySettings"
        },
        "ActiveDirectoryType": {
          "type": "string",
          "description": "The type of Active Directory – either a self-managed Active Directory or an Amazon Web Services Managed Active Directory."
        },
        "IsSharedActiveDirectory": {
          "type": "boolean",
          "description": "Whether this directory is shared from an Amazon Web Services Managed Active Directory. The default value is false."
        }
      }
    },
    "ActiveDirectorySettings": {
      "type": "object",
      "properties": {
        "DomainName": {
          "type": "string",
          "description": "The domain name for the Active Directory."
        },
        "DomainIpv4List": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of domain IPv4 addresses that are used for the Active Directory."
        },
        "DomainIpv6List": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of domain IPv6 addresses that are used for the Active Directory."
        },
        "DomainCredentialsProvider": {
          "$ref": "#/$defs/CredentialsProvider"
        },
        "DomainNetworkSettings": {
          "$ref": "#/$defs/DomainNetworkSettings"
        }
      }
    },
    "CredentialsProvider": {
      "type": "object",
      "properties": {
        "SecretsManagerCredentialsProvider": {
          "$ref": "#/$defs/SecretsManagerCredentialsProvider"
        }
      },
      "description": "Exactly one member is set."
    },
    "DomainNetworkSettings": {
      "type": "object",
      "properties": {
        "Subnets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Contains a list of subnets that apply for the Active Directory domain."
        }
      },
      "required": [
        "Subnets"
      ]
    },
    "IdentityProvider": {
      "type": "object",
      "properties": {
        "ActiveDirectoryIdentityProvider": {
          "$ref": "#/$defs/ActiveDirectoryIdentityProvider"
        }
      },
      "description": "Exactly one member is set."
    },
    "LicenseManagerUserSubscriptionsFilter": {
      "type": "object",
      "properties": {
        "Attribute": {
          "type": "string",
          "description": "The name of an attribute to use as a filter."
        },
        "Operation": {
          "type": "string",
          "description": "The type of search (For example, eq, geq, leq)"
        },
        "Value": {
          "type": "string",
          "description": "Value of the filter."
        }
      }
    },
    "SecretsManagerCredentialsProvider": {
      "type": "object",
      "properties": {
        "SecretId": {
          "type": "string",
          "description": "The ID of the Secrets Manager secret that contains credentials."
        }
      }
    }
  }
}