| 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 |
Network.AWS.OpsWorks.UnassignInstance
Description
Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action 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 UnassignInstance.
Creating a Request
Arguments
| :: Text | |
| -> UnassignInstance |
Creates a value of UnassignInstance with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UnassignInstance Source
See: unassignInstance smart constructor.
Instances
Request Lenses
uInstanceId :: Lens' UnassignInstance Text Source
The instance ID.
Destructuring the Response
unassignInstanceResponse :: UnassignInstanceResponse Source
Creates a value of UnassignInstanceResponse with the minimum fields required to make a request.
data UnassignInstanceResponse Source
See: unassignInstanceResponse smart constructor.