amazonka-ssm-1.3.5: Amazon Simple Systems Management Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SSM.CancelCommand

Contents

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.

See: AWS API Reference for CancelCommand.

Synopsis

Creating a Request

cancelCommand Source

Creates a value of CancelCommand with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ccInstanceIds :: Lens' CancelCommand (Maybe (NonEmpty Text)) Source

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

ccCommandId :: Lens' CancelCommand Text Source

The ID of the command you want to cancel.

Destructuring the Response

cancelCommandResponse Source

Creates a value of CancelCommandResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CancelCommandResponse Source

Whether or not the command was successfully canceled. There is no guarantee that a request can be canceled.

See: cancelCommandResponse smart constructor.

Response Lenses