Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
The CreateReplicationJob API is used to create a ReplicationJob to replicate a server on AWS. Call this API to first create a ReplicationJob, which will then schedule periodic ReplicationRuns to replicate your server to AWS. Each ReplicationRun will result in the creation of an AWS AMI.
Synopsis
- createReplicationJob :: Text -> UTCTime -> Int -> CreateReplicationJob
- data CreateReplicationJob
- crjLicenseType :: Lens' CreateReplicationJob (Maybe LicenseType)
- crjRoleName :: Lens' CreateReplicationJob (Maybe Text)
- crjDescription :: Lens' CreateReplicationJob (Maybe Text)
- crjServerId :: Lens' CreateReplicationJob Text
- crjSeedReplicationTime :: Lens' CreateReplicationJob UTCTime
- crjFrequency :: Lens' CreateReplicationJob Int
- createReplicationJobResponse :: Int -> CreateReplicationJobResponse
- data CreateReplicationJobResponse
- crjrsReplicationJobId :: Lens' CreateReplicationJobResponse (Maybe Text)
- crjrsResponseStatus :: Lens' CreateReplicationJobResponse Int
Creating a Request
Creates a value of CreateReplicationJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crjLicenseType
- Undocumented member.crjRoleName
- Undocumented member.crjDescription
- Undocumented member.crjServerId
- Undocumented member.crjSeedReplicationTime
- Undocumented member.crjFrequency
- Undocumented member.
data CreateReplicationJob Source #
See: createReplicationJob
smart constructor.
Instances
Request Lenses
crjLicenseType :: Lens' CreateReplicationJob (Maybe LicenseType) Source #
Undocumented member.
crjRoleName :: Lens' CreateReplicationJob (Maybe Text) Source #
Undocumented member.
crjDescription :: Lens' CreateReplicationJob (Maybe Text) Source #
Undocumented member.
crjServerId :: Lens' CreateReplicationJob Text Source #
Undocumented member.
crjSeedReplicationTime :: Lens' CreateReplicationJob UTCTime Source #
Undocumented member.
crjFrequency :: Lens' CreateReplicationJob Int Source #
Undocumented member.
Destructuring the Response
createReplicationJobResponse Source #
Creates a value of CreateReplicationJobResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crjrsReplicationJobId
- Undocumented member.crjrsResponseStatus
- -- | The response status code.
data CreateReplicationJobResponse Source #
See: createReplicationJobResponse
smart constructor.
Instances
Response Lenses
crjrsReplicationJobId :: Lens' CreateReplicationJobResponse (Maybe Text) Source #
Undocumented member.
crjrsResponseStatus :: Lens' CreateReplicationJobResponse Int Source #
- - | The response status code.