Copyright | (c) 2013-2021 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 |
Unassigns a registered instance from all layers that are using the instance. 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 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 about user permissions, see Managing User Permissions.
Creating a Request
data UnassignInstance Source #
See: newUnassignInstance
smart constructor.
UnassignInstance' | |
|
Instances
Create a value of UnassignInstance
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceId:UnassignInstance'
, unassignInstance_instanceId
- The instance ID.
Request Lenses
unassignInstance_instanceId :: Lens' UnassignInstance Text Source #
The instance ID.
Destructuring the Response
data UnassignInstanceResponse Source #
See: newUnassignInstanceResponse
smart constructor.
Instances
Eq UnassignInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.UnassignInstance | |
Read UnassignInstanceResponse Source # | |
Show UnassignInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.UnassignInstance showsPrec :: Int -> UnassignInstanceResponse -> ShowS # show :: UnassignInstanceResponse -> String # showList :: [UnassignInstanceResponse] -> ShowS # | |
Generic UnassignInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.UnassignInstance type Rep UnassignInstanceResponse :: Type -> Type # | |
NFData UnassignInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.UnassignInstance rnf :: UnassignInstanceResponse -> () # | |
type Rep UnassignInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.UnassignInstance |
newUnassignInstanceResponse :: UnassignInstanceResponse Source #
Create a value of UnassignInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.