dcloud rds query-insights cancel-sessionCancel a session’s running statement, or end the session
IAM rds:CancelDBSessionChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud rds query-insights cancel-session id pid --how howArguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/<pid>Requirednumber
Also accepted as
--pid. Constraints: integer, min 1
Flags
--howRequiredenum
cancel: the running statement; terminate: the session
One of:
cancel,terminate
Example
dcloud rds query-insights cancel-session id pid --how cancelGenerated from the API description, the same one the API checks requests against and the CLI is built from.