| 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.StartInstance
Description
Starts 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.
Synopsis
Creating a Request
data StartInstance Source #
See: newStartInstance smart constructor.
Constructors
| StartInstance' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StartInstance |
Create a value of StartInstance 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:
StartInstance, startInstance_instanceId - The instance ID.
Request Lenses
startInstance_instanceId :: Lens' StartInstance Text Source #
The instance ID.
Destructuring the Response
data StartInstanceResponse Source #
See: newStartInstanceResponse smart constructor.
Constructors
| StartInstanceResponse' | |
Instances
newStartInstanceResponse :: StartInstanceResponse Source #
Create a value of StartInstanceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.