Class: Aws::SSM::Types::CancelCommandRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass CancelCommandRequest data as a hash:

{
  command_id: "CommandId", # required
  instance_ids: ["InstanceId"],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#command_idString

The ID of the command you want to cancel.

Returns:

  • (String)


1362
1363
1364
1365
1366
1367
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1362

class CancelCommandRequest < Struct.new(
  :command_id,
  :instance_ids)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idsArray<String>

(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.

Returns:

  • (Array<String>)


1362
1363
1364
1365
1366
1367
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1362

class CancelCommandRequest < Struct.new(
  :command_id,
  :instance_ids)
  SENSITIVE = []
  include Aws::Structure
end