Copyright | (c) 2013-2016 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.DeregisterInstance
Description
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 .
Creating a Request
Arguments
:: Text | |
-> DeregisterInstance |
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 #
See: deregisterInstance
smart constructor.
Instances
Request Lenses
dInstanceId :: Lens' DeregisterInstance Text #
The instance ID.
Destructuring the Response
deregisterInstanceResponse :: DeregisterInstanceResponse #
Creates a value of DeregisterInstanceResponse
with the minimum fields required to make a request.
data DeregisterInstanceResponse #
See: deregisterInstanceResponse
smart constructor.