{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-put-alarm-mute-rule-input-schema.json",
  "title": "PutAlarmMuteRuleInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-alarm-mute-rule-api-openapi.yml#/components/schemas/PutAlarmMuteRuleInput",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the alarm mute rule. This name must be unique within your Amazon Web Services account and region."
    },
    "Description": {
      "type": "string",
      "description": "A description of the alarm mute rule that helps you identify its purpose."
    },
    "Rule": {
      "$ref": "#/$defs/Rule"
    },
    "MuteTargets": {
      "$ref": "#/$defs/MuteTargets"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of key-value pairs to associate with the alarm mute rule. You can use tags to categorize and manage your mute rules."
    },
    "StartDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time after which the mute rule takes effect, specified as a timestamp in ISO 8601 format (for example, 2026-04-15T08:00:00Z). If not specified, the mute rule takes effect immediately upon creation and the mutes are applied as per the schedule expression."
    },
    "ExpireDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time when the mute rule expires and is no longer evaluated, specified as a timestamp in ISO 8601 format (for example, 2026-12-31T23:59:59Z). After this time, the rule status becomes EXPIRED and will no longer mute the targeted alarms."
    }
  },
  "required": [
    "Name",
    "Rule"
  ],
  "$defs": {
    "MuteTargets": {
      "type": "object",
      "properties": {
        "AlarmNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of alarm names that this mute rule targets. You can specify up to 100 alarm names. Each alarm name must be between 1 and 255 characters in length. The alarm names must match existing alarms in your Amazon Web Services account and region."
        }
      },
      "required": [
        "AlarmNames"
      ]
    },
    "Rule": {
      "type": "object",
      "properties": {
        "Schedule": {
          "$ref": "#/$defs/Schedule"
        }
      },
      "required": [
        "Schedule"
      ]
    },
    "Schedule": {
      "type": "object",
      "properties": {
        "Expression": {
          "type": "string",
          "description": "The schedule expression that defines when the mute rule activates. The expression must be between 1 and 256 characters in length. You can use one of two expression formats: Cron expressions - For recurring mute windows. Format: cron(Minutes Hours Day-of-month Month Day-of-week) Examples: cron(0 2 * * *) - Activates daily at 2:00 AM cron(0 2 * * SUN) - Activates every Sunday at 2:00 AM for weekly system maintenance cron(0 1 1 * *) - Activates on the first day of each month at 1:00 AM for monthly database maintenance cron(0 18 * * FRI) - Activates every Friday at 6:00 PM cron(0 23 * * *) - Activ"
        },
        "Duration": {
          "type": "string",
          "description": "The length of time that alarms remain muted when the schedule activates. The duration must be between 1 and 50 characters in length. Specify the duration using ISO 8601 duration format with a minimum of 1 minute (PT1M) and maximum of 15 days (P15D). Examples: PT4H - 4 hours for weekly system maintenance P2DT12H - 2 days and 12 hours for weekend muting from Friday 6:00 PM to Monday 6:00 AM PT6H - 6 hours for monthly database maintenance PT2H - 2 hours for nightly backup operations P7D - 7 days for annual company shutdown The duration begins when the schedule expression time is reached. For recu"
        },
        "Timezone": {
          "type": "string",
          "description": "The time zone to use when evaluating the schedule expression. The time zone must be between 1 and 50 characters in length. Specify the time zone using standard timezone identifiers (for example, America/New_York, Europe/London, or Asia/Tokyo). If you don't specify a time zone, UTC is used by default. The time zone affects how cron and at expressions are interpreted, as well as start and expire dates you specify Examples: America/New_York - Eastern Time (US) America/Los_Angeles - Pacific Time (US) Europe/London - British Time Asia/Tokyo - Japan Standard Time UTC - Coordinated Universal Time"
        }
      },
      "required": [
        "Expression",
        "Duration"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources."
        },
        "Value": {
          "type": "string",
          "description": "The value for the specified tag key."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}