SMS.Client.
update_replication_job
(**kwargs)¶Updates the specified settings for the specified replication job.
See also: AWS API Documentation
Request Syntax
response = client.update_replication_job(
replicationJobId='string',
frequency=123,
nextReplicationRunStartTime=datetime(2015, 1, 1),
licenseType='AWS'|'BYOL',
roleName='string',
description='string',
numberOfRecentAmisToKeep=123,
encrypted=True|False,
kmsKeyId='string'
)
[REQUIRED]
The ID of the replication job.
KmsKeyId
.The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
dict
Response Syntax
{}
Response Structure
Exceptions
SMS.Client.exceptions.InvalidParameterException
SMS.Client.exceptions.MissingRequiredParameterException
SMS.Client.exceptions.OperationNotPermittedException
SMS.Client.exceptions.UnauthorizedOperationException
SMS.Client.exceptions.ServerCannotBeReplicatedException
SMS.Client.exceptions.ReplicationJobNotFoundException
SMS.Client.exceptions.InternalError
SMS.Client.exceptions.TemporarilyUnavailableException