| 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.SMS.StartOnDemandReplicationRun
Description
Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled.
There is a limit on the number of on-demand replications runs that you can request in a 24-hour period.
Synopsis
- data StartOnDemandReplicationRun = StartOnDemandReplicationRun' {}
- newStartOnDemandReplicationRun :: Text -> StartOnDemandReplicationRun
- startOnDemandReplicationRun_description :: Lens' StartOnDemandReplicationRun (Maybe Text)
- startOnDemandReplicationRun_replicationJobId :: Lens' StartOnDemandReplicationRun Text
- data StartOnDemandReplicationRunResponse = StartOnDemandReplicationRunResponse' {}
- newStartOnDemandReplicationRunResponse :: Int -> StartOnDemandReplicationRunResponse
- startOnDemandReplicationRunResponse_replicationRunId :: Lens' StartOnDemandReplicationRunResponse (Maybe Text)
- startOnDemandReplicationRunResponse_httpStatus :: Lens' StartOnDemandReplicationRunResponse Int
Creating a Request
data StartOnDemandReplicationRun Source #
See: newStartOnDemandReplicationRun smart constructor.
Constructors
| StartOnDemandReplicationRun' | |
Fields
| |
Instances
newStartOnDemandReplicationRun Source #
Arguments
| :: Text | |
| -> StartOnDemandReplicationRun |
Create a value of StartOnDemandReplicationRun 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:
StartOnDemandReplicationRun, startOnDemandReplicationRun_description - The description of the replication run.
StartOnDemandReplicationRun, startOnDemandReplicationRun_replicationJobId - The ID of the replication job.
Request Lenses
startOnDemandReplicationRun_description :: Lens' StartOnDemandReplicationRun (Maybe Text) Source #
The description of the replication run.
startOnDemandReplicationRun_replicationJobId :: Lens' StartOnDemandReplicationRun Text Source #
The ID of the replication job.
Destructuring the Response
data StartOnDemandReplicationRunResponse Source #
See: newStartOnDemandReplicationRunResponse smart constructor.
Constructors
| StartOnDemandReplicationRunResponse' | |
Fields
| |
Instances
newStartOnDemandReplicationRunResponse Source #
Arguments
| :: Int | |
| -> StartOnDemandReplicationRunResponse |
Create a value of StartOnDemandReplicationRunResponse 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:
StartOnDemandReplicationRunResponse, startOnDemandReplicationRunResponse_replicationRunId - The ID of the replication run.
$sel:httpStatus:StartOnDemandReplicationRunResponse', startOnDemandReplicationRunResponse_httpStatus - The response's http status code.
Response Lenses
startOnDemandReplicationRunResponse_replicationRunId :: Lens' StartOnDemandReplicationRunResponse (Maybe Text) Source #
The ID of the replication run.
startOnDemandReplicationRunResponse_httpStatus :: Lens' StartOnDemandReplicationRunResponse Int Source #
The response's http status code.