v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1435213121.1 KB

Updates the specified settings for the specified replication job.

post/#X-Amz-Target=AWSServerMigrationService_V2016_10_24.UpdateReplicationJob

Headers

X-Amz-Target'AWSServerMigrationService_V2016_10_24.UpdateReplicationJob' required

Request body

replicationJobIdstring required

The ID of the replication job.

frequencyinteger

The time between consecutive replication runs, in hours.

nextReplicationRunStartTimestring date-time

The start time of the next replication run.

licenseType'AWS' | 'BYOL'

The license type to be used for the AMI created by a successful replication run.

roleNamestring

The name of the IAM role to be used by Server Migration Service.

descriptionstring

The description of the replication job.

numberOfRecentAmisToKeepinteger

The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.

encryptedboolean

When true, the replication job produces encrypted AMIs. For more information, <code>KmsKeyId</code>.

kmsKeyIdstring
<p>The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:</p> <ul> <li> <p>KMS key ID</p> </li> <li> <p>KMS key alias</p> </li> <li> <p>ARN referring to the KMS key ID</p> </li> <li> <p>ARN referring to the KMS key alias</p> </li> </ul> <p>If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.</p>

Response

Success

UpdateReplicationJobResponse required