create_replication_job(**kwargs)¶Creates a replication job. The replication job schedules periodic replication runs to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image (AMI).
See also: AWS API Documentation
Request Syntax
response = client.create_replication_job(
    serverId='string',
    seedReplicationTime=datetime(2015, 1, 1),
    frequency=123,
    runOnce=True|False,
    licenseType='AWS'|'BYOL',
    roleName='string',
    description='string',
    numberOfRecentAmisToKeep=123,
    encrypted=True|False,
    kmsKeyId='string'
)
[REQUIRED]
The ID of the server.
[REQUIRED]
The seed replication time.
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
dict
Response Syntax
{
    'replicationJobId': 'string'
}
Response Structure
(dict) --
replicationJobId (string) --
The unique identifier of the replication job.
Exceptions
SMS.Client.exceptions.InvalidParameterExceptionSMS.Client.exceptions.MissingRequiredParameterExceptionSMS.Client.exceptions.UnauthorizedOperationExceptionSMS.Client.exceptions.OperationNotPermittedExceptionSMS.Client.exceptions.ServerCannotBeReplicatedExceptionSMS.Client.exceptions.ReplicationJobAlreadyExistsExceptionSMS.Client.exceptions.NoConnectorsAvailableExceptionSMS.Client.exceptions.InternalErrorSMS.Client.exceptions.TemporarilyUnavailableException