amazonka-opsworks-1.3.5: Amazon OpsWorks 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.OpsWorks.StopInstance

Contents

Description

Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See: AWS API Reference for StopInstance.

Synopsis

Creating a Request

stopInstance Source

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

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

Request Lenses

Destructuring the Response

stopInstanceResponse :: StopInstanceResponse Source

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