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 |
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
Synopsis
- data StartFailbackLaunch = StartFailbackLaunch' {}
- newStartFailbackLaunch :: NonEmpty Text -> StartFailbackLaunch
- startFailbackLaunch_tags :: Lens' StartFailbackLaunch (Maybe (HashMap Text Text))
- startFailbackLaunch_recoveryInstanceIDs :: Lens' StartFailbackLaunch (NonEmpty Text)
- data StartFailbackLaunchResponse = StartFailbackLaunchResponse' {
- job :: Maybe Job
- httpStatus :: Int
- newStartFailbackLaunchResponse :: Int -> StartFailbackLaunchResponse
- startFailbackLaunchResponse_job :: Lens' StartFailbackLaunchResponse (Maybe Job)
- startFailbackLaunchResponse_httpStatus :: Lens' StartFailbackLaunchResponse Int
Creating a Request
data StartFailbackLaunch Source #
See: newStartFailbackLaunch
smart constructor.
Instances
newStartFailbackLaunch Source #
Create a value of StartFailbackLaunch
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:
StartFailbackLaunch
, startFailbackLaunch_tags
- The tags to be associated with the failback launch Job.
StartFailbackLaunch
, startFailbackLaunch_recoveryInstanceIDs
- The IDs of the Recovery Instance whose failback launch we want to
request.
Request Lenses
startFailbackLaunch_tags :: Lens' StartFailbackLaunch (Maybe (HashMap Text Text)) Source #
The tags to be associated with the failback launch Job.
startFailbackLaunch_recoveryInstanceIDs :: Lens' StartFailbackLaunch (NonEmpty Text) Source #
The IDs of the Recovery Instance whose failback launch we want to request.
Destructuring the Response
data StartFailbackLaunchResponse Source #
See: newStartFailbackLaunchResponse
smart constructor.
StartFailbackLaunchResponse' | |
|
Instances
newStartFailbackLaunchResponse Source #
Create a value of StartFailbackLaunchResponse
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:job:StartFailbackLaunchResponse'
, startFailbackLaunchResponse_job
- The failback launch Job.
$sel:httpStatus:StartFailbackLaunchResponse'
, startFailbackLaunchResponse_httpStatus
- The response's http status code.
Response Lenses
startFailbackLaunchResponse_job :: Lens' StartFailbackLaunchResponse (Maybe Job) Source #
The failback launch Job.
startFailbackLaunchResponse_httpStatus :: Lens' StartFailbackLaunchResponse Int Source #
The response's http status code.