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 |
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.
StartOnDemandReplicationRun' | |
|
Instances
newStartOnDemandReplicationRun Source #
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:
$sel:description:StartOnDemandReplicationRun'
, startOnDemandReplicationRun_description
- The description of the replication run.
$sel:replicationJobId: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.
StartOnDemandReplicationRunResponse' | |
|
Instances
Eq StartOnDemandReplicationRunResponse Source # | |
Read StartOnDemandReplicationRunResponse Source # | |
Show StartOnDemandReplicationRunResponse Source # | |
Generic StartOnDemandReplicationRunResponse Source # | |
NFData StartOnDemandReplicationRunResponse Source # | |
Defined in Amazonka.SMS.StartOnDemandReplicationRun rnf :: StartOnDemandReplicationRunResponse -> () # | |
type Rep StartOnDemandReplicationRunResponse Source # | |
Defined in Amazonka.SMS.StartOnDemandReplicationRun type Rep StartOnDemandReplicationRunResponse = D1 ('MetaData "StartOnDemandReplicationRunResponse" "Amazonka.SMS.StartOnDemandReplicationRun" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "StartOnDemandReplicationRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartOnDemandReplicationRunResponse Source #
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:
$sel:replicationRunId: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.