| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.OpsWorks.StopInstance
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.
Creating a Request
Arguments
| :: Text | |
| -> StopInstance |
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:
data StopInstance Source
See: stopInstance smart constructor.
Request Lenses
siInstanceId :: Lens' StopInstance Text Source
The instance ID.
Destructuring the Response
stopInstanceResponse :: StopInstanceResponse Source
Creates a value of StopInstanceResponse with the minimum fields required to make a request.
data StopInstanceResponse Source
See: stopInstanceResponse smart constructor.