Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.
For more information, see Deleting 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_DeleteInstance.html
Request
data DeleteInstance Source
Request constructor
DeleteInstance
constructor.
The fields accessible through corresponding lenses are:
Request lenses
diDeleteElasticIp :: Lens' DeleteInstance (Maybe Bool) Source
Whether to delete the instance Elastic IP address.
diDeleteVolumes :: Lens' DeleteInstance (Maybe Bool) Source
Whether to delete the instance's Amazon EBS volumes.
diInstanceId :: Lens' DeleteInstance Text Source
The instance ID.
Response
Response constructor
deleteInstanceResponse :: DeleteInstanceResponse Source
DeleteInstanceResponse
constructor.