Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 UserPermissions.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_StopInstance.html
- data StopInstance
- stopInstance :: Text -> StopInstance
- siInstanceId :: Lens' StopInstance Text
- data StopInstanceResponse
- stopInstanceResponse :: StopInstanceResponse
Request
data StopInstance Source
Eq StopInstance | |
Ord StopInstance | |
Read StopInstance | |
Show StopInstance | |
IsString StopInstance | |
Monoid StopInstance | |
AWSRequest StopInstance | |
ToQuery StopInstance | |
ToPath StopInstance | |
ToHeaders StopInstance | |
ToJSON StopInstance | |
type Sv StopInstance = OpsWorks | |
type Rs StopInstance = StopInstanceResponse |
Request constructor
:: Text | |
-> StopInstance |
StopInstance
constructor.
The fields accessible through corresponding lenses are:
siInstanceId
::
Text
Request lenses
siInstanceId :: Lens' StopInstance Text Source
The instance ID.
Response
Response constructor
stopInstanceResponse :: StopInstanceResponse Source
StopInstanceResponse
constructor.