dcloud rds query-insights cancel-session

Cancel 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 how

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

  • <pid>Required

    number

    Also accepted as --pid. Constraints: integer, min 1

Flags

  • --howRequired

    enum

    cancel: the running statement; terminate: the session

    One of: cancel, terminate

Example

dcloud rds query-insights cancel-session id pid --how cancel

Generated from the API description, the same one the API checks requests against and the CLI is built from.