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 |
Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)
Synopsis
- data ChangeServerLifeCycleState = ChangeServerLifeCycleState' {}
- newChangeServerLifeCycleState :: ChangeServerLifeCycleStateSourceServerLifecycle -> Text -> ChangeServerLifeCycleState
- changeServerLifeCycleState_lifeCycle :: Lens' ChangeServerLifeCycleState ChangeServerLifeCycleStateSourceServerLifecycle
- changeServerLifeCycleState_sourceServerID :: Lens' ChangeServerLifeCycleState Text
- data SourceServer = SourceServer' {}
- newSourceServer :: SourceServer
- sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties)
- sourceServer_arn :: Lens' SourceServer (Maybe Text)
- sourceServer_launchedInstance :: Lens' SourceServer (Maybe LaunchedInstance)
- sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle)
- sourceServer_isArchived :: Lens' SourceServer (Maybe Bool)
- sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo)
- sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text)
- sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text))
Creating a Request
data ChangeServerLifeCycleState Source #
See: newChangeServerLifeCycleState
smart constructor.
ChangeServerLifeCycleState' | |
|
Instances
newChangeServerLifeCycleState Source #
Create a value of ChangeServerLifeCycleState
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:lifeCycle:ChangeServerLifeCycleState'
, changeServerLifeCycleState_lifeCycle
- The request to change the source server migration lifecycle state.
$sel:sourceServerID:ChangeServerLifeCycleState'
, changeServerLifeCycleState_sourceServerID
- The request to change the source server migration lifecycle state by
source server ID.
Request Lenses
changeServerLifeCycleState_lifeCycle :: Lens' ChangeServerLifeCycleState ChangeServerLifeCycleStateSourceServerLifecycle Source #
The request to change the source server migration lifecycle state.
changeServerLifeCycleState_sourceServerID :: Lens' ChangeServerLifeCycleState Text Source #
The request to change the source server migration lifecycle state by source server ID.
Destructuring the Response
data SourceServer Source #
See: newSourceServer
smart constructor.
SourceServer' | |
|
Instances
newSourceServer :: SourceServer Source #
Create a value of SourceServer
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:sourceProperties:SourceServer'
, sourceServer_sourceProperties
- Source server properties.
$sel:arn:SourceServer'
, sourceServer_arn
- Source server ARN.
$sel:launchedInstance:SourceServer'
, sourceServer_launchedInstance
- Source server launched instance.
$sel:lifeCycle:SourceServer'
, sourceServer_lifeCycle
- Source server lifecycle state.
$sel:isArchived:SourceServer'
, sourceServer_isArchived
- Source server archived status.
$sel:dataReplicationInfo:SourceServer'
, sourceServer_dataReplicationInfo
- Source server data replication info.
$sel:sourceServerID:SourceServer'
, sourceServer_sourceServerID
- Source server ID.
$sel:tags:SourceServer'
, sourceServer_tags
- Source server Tags.
Response Lenses
sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties) Source #
Source server properties.
sourceServer_arn :: Lens' SourceServer (Maybe Text) Source #
Source server ARN.
sourceServer_launchedInstance :: Lens' SourceServer (Maybe LaunchedInstance) Source #
Source server launched instance.
sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle) Source #
Source server lifecycle state.
sourceServer_isArchived :: Lens' SourceServer (Maybe Bool) Source #
Source server archived status.
sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo) Source #
Source server data replication info.
sourceServer_sourceServerID :: Lens' SourceServer (Maybe Text) Source #
Source server ID.
sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text)) Source #
Source server Tags.