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 |
Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.
Synopsis
- data StartCutover = StartCutover' {}
- newStartCutover :: NonEmpty Text -> StartCutover
- startCutover_tags :: Lens' StartCutover (Maybe (HashMap Text Text))
- startCutover_sourceServerIDs :: Lens' StartCutover (NonEmpty Text)
- data StartCutoverResponse = StartCutoverResponse' {
- job :: Maybe Job
- httpStatus :: Int
- newStartCutoverResponse :: Int -> StartCutoverResponse
- startCutoverResponse_job :: Lens' StartCutoverResponse (Maybe Job)
- startCutoverResponse_httpStatus :: Lens' StartCutoverResponse Int
Creating a Request
data StartCutover Source #
See: newStartCutover
smart constructor.
Instances
Create a value of StartCutover
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:tags:StartCutover'
, startCutover_tags
- Start Cutover by Tags.
$sel:sourceServerIDs:StartCutover'
, startCutover_sourceServerIDs
- Start Cutover by Source Server IDs.
Request Lenses
startCutover_tags :: Lens' StartCutover (Maybe (HashMap Text Text)) Source #
Start Cutover by Tags.
startCutover_sourceServerIDs :: Lens' StartCutover (NonEmpty Text) Source #
Start Cutover by Source Server IDs.
Destructuring the Response
data StartCutoverResponse Source #
See: newStartCutoverResponse
smart constructor.
StartCutoverResponse' | |
|
Instances
newStartCutoverResponse Source #
Create a value of StartCutoverResponse
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:StartCutoverResponse'
, startCutoverResponse_job
- Start Cutover Job response.
$sel:httpStatus:StartCutoverResponse'
, startCutoverResponse_httpStatus
- The response's http status code.
Response Lenses
startCutoverResponse_job :: Lens' StartCutoverResponse (Maybe Job) Source #
Start Cutover Job response.
startCutoverResponse_httpStatus :: Lens' StartCutoverResponse Int Source #
The response's http status code.