{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-secrets-manager/json-schema/amazon-secrets-manager-list-secret-version-ids-response-schema.json",
  "title": "ListSecretVersionIdsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-secrets-manager-operations-api-openapi.yml#/components/schemas/ListSecretVersionIdsResponse",
  "type": "object",
  "properties": {
    "Versions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SecretVersionsListEntry"
      },
      "description": "A list of the versions of the secret."
    },
    "NextToken": {
      "type": "string",
      "description": "Secrets Manager includes this value if there's more output available than what is included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a long list. To get the next results, call ListSecretVersionIds again with this value."
    },
    "ARN": {
      "type": "string",
      "description": "The ARN of the secret."
    },
    "Name": {
      "type": "string",
      "description": "The name of the secret."
    }
  },
  "$defs": {
    "SecretVersionsListEntry": {
      "type": "object",
      "properties": {
        "VersionId": {
          "type": "string",
          "description": "The unique version identifier of this version of the secret."
        },
        "VersionStages": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of staging labels that are currently associated with this version of the secret."
        },
        "LastAccessedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time."
        },
        "CreatedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time this version of the secret was created."
        },
        "KmsKeyIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The KMS keys used to encrypt the secret version."
        }
      }
    }
  }
}