{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dms/json-schema/amazon-dms-describe-metadata-model-exports-as-script-message-schema.json",
  "title": "DescribeMetadataModelExportsAsScriptMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dms-operations-api-openapi.yml#/components/schemas/DescribeMetadataModelExportsAsScriptMessage",
  "type": "object",
  "properties": {
    "MigrationProjectIdentifier": {
      "type": "string",
      "description": "The migration project name or Amazon Resource Name (ARN)."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "The filters to apply to the metadata model export requests. The following filter names are supported: request-id – The request identifier. status – The request status. Valid values: RECEIVED, IN_PROGRESS, SUCCESS, FAILED."
    },
    "Marker": {
      "type": "string",
      "description": "Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. If Marker is returned by a previous response, there are more results available. The value of Marker is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged."
    },
    "MaxRecords": {
      "type": "integer",
      "description": "The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, DMS includes a pagination token in the response so that you can retrieve the remaining results."
    }
  },
  "required": [
    "MigrationProjectIdentifier"
  ],
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the filter as specified for a Describe* or similar operation."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter value, which can specify one or more values used to narrow the returned results."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    }
  }
}