v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14125953.1 KB

Updates the <code>aggregationPeriod</code> for a monitor. Monitors support an <code>aggregationPeriod</code> of either <code>30</code> or <code>60</code> seconds. This action requires the <code>monitorName</code> and <code>probeId</code> parameter. Run <code>ListMonitors</code> to get a list of monitor names.

patch/monitors/{monitorName}

Path parameters

monitorNamestring required

The name of the monitor to update.

Request body

aggregationPeriodinteger required

The aggregation time, in seconds, to change to. This must be either <code>30</code> or <code>60</code>.

Response

Success

monitorArnstring required

The ARN of the monitor that was updated.

monitorNamestring required

The name of the monitor that was updated.

state'PENDING' | 'ACTIVE' | 'INACTIVE' | 'ERROR' | 'DELETING' required

The state of the updated monitor.

aggregationPeriodinteger

The changed aggregation period.

tagsobject

The list of key-value pairs associated with the monitor.