Paws::SSM::CancelCommand - Arguments for method CancelCommand on Paws::SSM


This class represents the parameters used for calling the method CancelCommand on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method CancelCommand.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CancelCommand.


    my $ssm = Paws->service('SSM');
    my $CancelCommandResult = $ssm->CancelCommand(
      CommandId   => 'MyCommandId',
      InstanceIds => [ 'MyInstanceId', ... ],    # OPTIONAL

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED CommandId => Str

The ID of the command you want to cancel.

InstanceIds => ArrayRef[Str|Undef]

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


This class forms part of Paws, documenting arguments for method CancelCommand in Paws::SSM


The source code is located here:

Please report bugs to: