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 |
Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action can not be used with instances that were created with AWS OpsWorks.
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 DeregisterInstance.
Creating a Request
Creates a value of DeregisterInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeregisterInstance Source
See: deregisterInstance
smart constructor.
Request Lenses
dInstanceId :: Lens' DeregisterInstance Text Source
The instance ID.
Destructuring the Response
deregisterInstanceResponse :: DeregisterInstanceResponse Source
Creates a value of DeregisterInstanceResponse
with the minimum fields required to make a request.
data DeregisterInstanceResponse Source
See: deregisterInstanceResponse
smart constructor.