Skip to content

StopQuery

Source: src/AWS/InternetMonitor/StopQuery.ts

Runtime binding for internetmonitor:StopQuery — cancel an in-progress query on the bound Monitor; the monitor name is injected automatically.

Provide InternetMonitor.StopQueryHttp on the hosting Lambda Function to satisfy the requirement.

// init — grants internetmonitor:StopQuery on the monitor
const stopQuery = yield* AWS.InternetMonitor.StopQuery(monitor);
// runtime
yield* stopQuery({ QueryId: queryId });