{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-secrets-manager/json-schema/amazon-secrets-manager-batch-get-secret-value-request-schema.json",
  "title": "BatchGetSecretValueRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-secrets-manager-secret-value-api-openapi.yml#/components/schemas/BatchGetSecretValueRequest",
  "type": "object",
  "properties": {
    "SecretIdList": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARN or names of the secrets to retrieve. You must include Filters or SecretIdList, but not both."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "The filters to choose which secrets to retrieve. You must include Filters or SecretIdList, but not both."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The number of results to include in the response. If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call BatchGetSecretValue again with the value from NextToken. To use this parameter, you must also use the Filters parameter."
    },
    "NextToken": {
      "type": "string",
      "description": "A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call BatchGetSecretValue again with this value."
    }
  },
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "enum": [
            "description",
            "name",
            "tag-key",
            "tag-value",
            "primary-region",
            "owning-service",
            "all"
          ],
          "description": "The following are keys you can use: description: Prefix match, not case-sensitive. name: Prefix match, case-sensitive. tag-key: Prefix match, case-sensitive. tag-value: Prefix match, case-sensitive. primary-region: Prefix match, case-sensitive. owning-service: Prefix match, case-sensitive. all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The keyword to filter for. You can prefix your search value with an exclamation mark (!) in order to perform negation filters."
        }
      }
    }
  }
}