ssm_cancel_command: Attempts to cancel the command specified by the Command ID

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.

Usage

1
ssm_cancel_command(CommandId, InstanceIds)

Arguments

CommandId

[required] The ID of the command you want to cancel.

InstanceIds

(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.

Value

An empty list.

Request syntax

1
2
3
4
5
6
svc$cancel_command(
  CommandId = "string",
  InstanceIds = list(
    "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.