Duration

Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.

AnalyticsElasticsearchSearch

Properties

Name Type Description
Value object
Unit object
View JSON Schema on GitHub

JSON Schema

openapi-duration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-opensearch/refs/heads/main/json-schema/openapi-duration-schema.json",
  "title": "Duration",
  "description": "Specifies maintenance schedule duration: duration value and duration unit. See the <a href=\"https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html\" target=\"_blank\">Developer Guide</a> for more information.",
  "type": "object",
  "properties": {
    "Value": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DurationValue"
        },
        {
          "description": " Integer to specify the value of a maintenance schedule duration. See the <a href=\"https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html\" target=\"_blank\">Developer Guide</a> for more information."
        }
      ]
    },
    "Unit": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TimeUnit"
        },
        {
          "description": "Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the <a href=\"https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html\" target=\"_blank\">Developer Guide</a> for more information."
        }
      ]
    }
  }
}