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 application.
Synopsis
- data StartOnDemandAppReplication = StartOnDemandAppReplication' {
- description :: Maybe Text
- appId :: Text
- newStartOnDemandAppReplication :: Text -> StartOnDemandAppReplication
- startOnDemandAppReplication_description :: Lens' StartOnDemandAppReplication (Maybe Text)
- startOnDemandAppReplication_appId :: Lens' StartOnDemandAppReplication Text
- data StartOnDemandAppReplicationResponse = StartOnDemandAppReplicationResponse' {
- httpStatus :: Int
- newStartOnDemandAppReplicationResponse :: Int -> StartOnDemandAppReplicationResponse
- startOnDemandAppReplicationResponse_httpStatus :: Lens' StartOnDemandAppReplicationResponse Int
Creating a Request
data StartOnDemandAppReplication Source #
See: newStartOnDemandAppReplication
smart constructor.
StartOnDemandAppReplication' | |
|
Instances
newStartOnDemandAppReplication Source #
Create a value of StartOnDemandAppReplication
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:StartOnDemandAppReplication'
, startOnDemandAppReplication_description
- The description of the replication run.
$sel:appId:StartOnDemandAppReplication'
, startOnDemandAppReplication_appId
- The ID of the application.
Request Lenses
startOnDemandAppReplication_description :: Lens' StartOnDemandAppReplication (Maybe Text) Source #
The description of the replication run.
startOnDemandAppReplication_appId :: Lens' StartOnDemandAppReplication Text Source #
The ID of the application.
Destructuring the Response
data StartOnDemandAppReplicationResponse Source #
See: newStartOnDemandAppReplicationResponse
smart constructor.
StartOnDemandAppReplicationResponse' | |
|
Instances
Eq StartOnDemandAppReplicationResponse Source # | |
Read StartOnDemandAppReplicationResponse Source # | |
Show StartOnDemandAppReplicationResponse Source # | |
Generic StartOnDemandAppReplicationResponse Source # | |
NFData StartOnDemandAppReplicationResponse Source # | |
Defined in Amazonka.SMS.StartOnDemandAppReplication rnf :: StartOnDemandAppReplicationResponse -> () # | |
type Rep StartOnDemandAppReplicationResponse Source # | |
Defined in Amazonka.SMS.StartOnDemandAppReplication type Rep StartOnDemandAppReplicationResponse = D1 ('MetaData "StartOnDemandAppReplicationResponse" "Amazonka.SMS.StartOnDemandAppReplication" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "StartOnDemandAppReplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartOnDemandAppReplicationResponse Source #
Create a value of StartOnDemandAppReplicationResponse
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:httpStatus:StartOnDemandAppReplicationResponse'
, startOnDemandAppReplicationResponse_httpStatus
- The response's http status code.
Response Lenses
startOnDemandAppReplicationResponse_httpStatus :: Lens' StartOnDemandAppReplicationResponse Int Source #
The response's http status code.