Class: Aws::SSM::Types::CancelCommandRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::CancelCommandRequest
- Includes:
- Aws::Structure
- Defined in:
- 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"],
}
Instance Attribute Summary collapse
-
#command_id ⇒ String
The ID of the command you want to cancel.
-
#instance_ids ⇒ Array<String>
(Optional) A list of instance IDs on which you want to cancel the command.
Instance Attribute Details
#command_id ⇒ String
The ID of the command you want to cancel.
1239 1240 1241 1242 1243 |
# File 'lib/aws-sdk-ssm/types.rb', line 1239 class CancelCommandRequest < Struct.new( :command_id, :instance_ids) include Aws::Structure end |
#instance_ids ⇒ Array<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.
1239 1240 1241 1242 1243 |
# File 'lib/aws-sdk-ssm/types.rb', line 1239 class CancelCommandRequest < Struct.new( :command_id, :instance_ids) include Aws::Structure end |