Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 Stacks.
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 .
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:
dInstanceId
- The instance ID.
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.