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 |
Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances.
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
data RebootInstance Source #
See: newRebootInstance
smart constructor.
RebootInstance' | |
|
Instances
Create a value of RebootInstance
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:RebootInstance'
, rebootInstance_instanceId
- The instance ID.
Request Lenses
rebootInstance_instanceId :: Lens' RebootInstance Text Source #
The instance ID.
Destructuring the Response
data RebootInstanceResponse Source #
See: newRebootInstanceResponse
smart constructor.
Instances
Eq RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance | |
Read RebootInstanceResponse Source # | |
Show RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance showsPrec :: Int -> RebootInstanceResponse -> ShowS # show :: RebootInstanceResponse -> String # showList :: [RebootInstanceResponse] -> ShowS # | |
Generic RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance type Rep RebootInstanceResponse :: Type -> Type # | |
NFData RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance rnf :: RebootInstanceResponse -> () # | |
type Rep RebootInstanceResponse Source # | |
newRebootInstanceResponse :: RebootInstanceResponse Source #
Create a value of RebootInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.