| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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:
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
| 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 # | |
| 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 # | |
| NFData RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance Methods rnf :: RebootInstanceResponse -> () # | |
| Eq RebootInstanceResponse Source # | |
Defined in Amazonka.OpsWorks.RebootInstance Methods (==) :: RebootInstanceResponse -> RebootInstanceResponse -> Bool # (/=) :: RebootInstanceResponse -> RebootInstanceResponse -> Bool # | |
| 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.