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.StartOnDemandAppReplication
Description
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.
Constructors
StartOnDemandAppReplication' | |
Fields
|
Instances
newStartOnDemandAppReplication Source #
Arguments
:: Text | |
-> StartOnDemandAppReplication |
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:
StartOnDemandAppReplication
, startOnDemandAppReplication_description
- The description of the replication run.
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.
Constructors
StartOnDemandAppReplicationResponse' | |
Fields
|
Instances
newStartOnDemandAppReplicationResponse Source #
Arguments
:: Int | |
-> StartOnDemandAppReplicationResponse |
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.