List all monitors in an account. Optionally, you can list only monitors that have a specific status, by using the <code>STATUS</code> parameter.
get/monitors
Query parameters
nextTokenstring
The token for the next set of results. You receive this token from a previous call.
maxResultsinteger
The number of query results that you want to return with this call.
monitorStatus'PENDING' | 'ACTIVE' | 'INACTIVE' | 'ERROR' | 'DELETING'
<p>The status of a monitor. The status can be one of the following</p> <ul> <li> <p> <code>PENDING</code>: The monitor is in the process of being created.</p> </li> <li> <p> <code>ACTIVE</code>: The monitor is active.</p> </li> <li> <p> <code>INACTIVE</code>: The monitor is inactive.</p> </li> <li> <p> <code>ERROR</code>: Monitor creation failed due to an error.</p> </li> <li> <p> <code>DELETING</code>: The monitor is in the process of being deleted.</p> </li> </ul>
Response
Success