{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-list-subscription-grants-input-schema.json",
  "title": "ListSubscriptionGrantsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-subscription-grants-api-openapi.yml#/components/schemas/ListSubscriptionGrantsInput",
  "type": "object",
  "properties": {
    "domainIdentifier": {
      "type": "string",
      "description": "The identifier of the Amazon DataZone domain."
    },
    "environmentId": {
      "type": "string",
      "description": "The identifier of the Amazon DataZone environment."
    },
    "subscriptionTargetId": {
      "type": "string",
      "description": "The identifier of the subscription target."
    },
    "subscribedListingId": {
      "type": "string",
      "description": "The identifier of the subscribed listing."
    },
    "subscriptionId": {
      "type": "string",
      "description": "The identifier of the subscription."
    },
    "owningProjectId": {
      "type": "string",
      "description": "The ID of the owning project of the subscription grants."
    },
    "owningIamPrincipalArn": {
      "type": "string",
      "description": "The ARN of the owning IAM principal."
    },
    "owningUserId": {
      "type": "string",
      "description": "The ID of the owning user."
    },
    "owningGroupId": {
      "type": "string",
      "description": "The ID of the owning group."
    },
    "sortBy": {
      "type": "string",
      "enum": [
        "CREATED_AT",
        "UPDATED_AT"
      ],
      "description": "Specifies the way of sorting the results of this action."
    },
    "sortOrder": {
      "type": "string",
      "enum": [
        "ASCENDING",
        "DESCENDING"
      ],
      "description": "Specifies the sort order of this action."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of subscription grants to return in a single call to ListSubscriptionGrants. When the number of subscription grants to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListSubscriptionGrants to list the next set of subscription grants."
    },
    "nextToken": {
      "type": "string",
      "description": "When the number of subscription grants is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of subscription grants, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListSubscriptionGrants to list the next set of subscription grants."
    }
  },
  "required": [
    "domainIdentifier"
  ]
}