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 |
Amazonka.OpsWorks.RebootInstance
Description
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.
Constructors
RebootInstance' | |
Fields
|
Instances
Arguments
:: Text | |
-> RebootInstance |
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.
Constructors
RebootInstanceResponse' | |
Instances
Eq RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance Methods (==) :: RebootInstanceResponse -> RebootInstanceResponse -> Bool # (/=) :: RebootInstanceResponse -> RebootInstanceResponse -> Bool # | |
Read RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance | |
Show RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance Methods showsPrec :: Int -> RebootInstanceResponse -> ShowS # show :: RebootInstanceResponse -> String # showList :: [RebootInstanceResponse] -> ShowS # | |
Generic RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance Associated Types type Rep RebootInstanceResponse :: Type -> Type # Methods from :: RebootInstanceResponse -> Rep RebootInstanceResponse x # to :: Rep RebootInstanceResponse x -> RebootInstanceResponse # | |
NFData RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance Methods 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.