AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-12-10 · Documentation low

File: cli/latest/reference/mgn/update-source-server-replication-type.md

Summary

Updated CLI command reference for updating source server replication type, including parameter reordering, field renaming, constraint adjustments, and documentation clarifications for replication types and error handling

Security assessment

Changes focus on documentation accuracy (parameter order, field names, regex patterns) and error message updates. No explicit references to vulnerabilities, exploits, or security advisories. While some error codes mention security groups, this reflects existing error states rather than addressing new security issues

Diff

diff --git a/cli/latest/reference/mgn/update-source-server-replication-type.md b/cli/latest/reference/mgn/update-source-server-replication-type.md
index 0acc0f205..5a61a42f5 100644
--- a//cli/latest/reference/mgn/update-source-server-replication-type.md
+++ b//cli/latest/reference/mgn/update-source-server-replication-type.md
@@ -15 +15 @@
-  * [AWS CLI 2.32.11 Command Reference](../../index.html) »
+  * [AWS CLI 2.32.13 Command Reference](../../index.html) »
@@ -60,0 +61,2 @@ Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_S
+SNAPSHOT_SHIPPING should be used for agentless replication.
+
@@ -67,2 +68,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-    [--account-id <value>]
-    --replication-type <value>
@@ -69,0 +70,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
+    --replication-type <value>
+    [--account-id <value>]
@@ -94 +96 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-`--account-id` (string)
+`--source-server-id` (string) [required]
@@ -96 +98 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> Account ID on which to update replication type.
+> ID of source server on which to update replication type.
@@ -100,3 +102,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->   * min: `12`
->   * max: `12`
->   * pattern: `[0-9]{12,}`
+>   * min: `19`
+>   * max: `19`
+>   * pattern: `s-[0-9a-zA-Z]{17}`
@@ -117 +119 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-`--source-server-id` (string) [required]
+`--account-id` (string)
@@ -119 +121 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> ID of source server on which to update replication type.
+> Account ID on which to update replication type.
@@ -123,3 +125,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->   * min: `19`
->   * max: `19`
->   * pattern: `^s-[0-9a-zA-Z]{17}$`
+>   * min: `12`
+>   * max: `12`
+>   * pattern: `.*[0-9]{12,}.*`
@@ -228 +230 @@ Disable automatically prompt for CLI input parameters.
-applicationID -> (string)
+sourceServerID -> (string)
@@ -230 +232 @@ applicationID -> (string)
-> Source server application ID.
+> Source server ID.
@@ -234,3 +236,3 @@ applicationID -> (string)
->   * min: `21`
->   * max: `21`
->   * pattern: `^app-[0-9a-zA-Z]{17}$`
+>   * min: `19`
+>   * max: `19`
+>   * pattern: `s-[0-9a-zA-Z]{17}`
@@ -251 +253 @@ arn -> (string)
-connectorAction -> (structure)
+isArchived -> (boolean)
@@ -253 +255,5 @@ connectorAction -> (structure)
-> Source Server connector action.
+> Source server archived status.
+
+tags -> (map)
+
+> Source server Tags.
@@ -255 +261,8 @@ connectorAction -> (structure)
-> connectorArn -> (string)
+> Constraints:
+> 
+>   * min: `0`
+>   * max: `50`
+> 
+
+> 
+> key -> (string)
@@ -257,2 +269,0 @@ connectorAction -> (structure)
->> Source Server connector action connector arn.
->> 
@@ -261,3 +272,2 @@ connectorAction -> (structure)
->>   * min: `27`
->>   * max: `100`
->>   * pattern: `^arn:[\w-]+:mgn:([a-z]{2}-(gov-)?[a-z]+-\d{1})?:(\d{12})?:connector\/(connector-[0-9a-zA-Z]{17})$`
+>>   * min: `0`
+>>   * max: `256`
@@ -267 +277 @@ connectorAction -> (structure)
-> credentialsSecretArn -> (string)
+> value -> (string)
@@ -269,2 +278,0 @@ connectorAction -> (structure)
->> Source Server connector action credentials secret arn.
->> 
@@ -273,3 +281,2 @@ connectorAction -> (structure)
->>   * min: `20`
->>   * max: `100`
->>   * pattern: `^arn:[\w-]+:secretsmanager:([a-z]{2}-(gov-)?[a-z]+-\d{1})?:(\d{12})?:secret:(.+)$`
+>>   * min: `0`
+>>   * max: `256`
@@ -279 +286 @@ connectorAction -> (structure)
-dataReplicationInfo -> (structure)
+launchedInstance -> (structure)
@@ -281 +288 @@ dataReplicationInfo -> (structure)
-> Source server data replication info.
+> Source server launched instance.
@@ -283 +290 @@ dataReplicationInfo -> (structure)
-> dataReplicationError -> (structure)
+> ec2InstanceID -> (string)
@@ -285,3 +292 @@ dataReplicationInfo -> (structure)
->> Error in obtaining data replication info.
->> 
->> error -> (string)
+>> Launched instance EC2 ID.
@@ -289,22 +294 @@ dataReplicationInfo -> (structure)
->>> Error in data replication.
->>> 
->>> Possible values:
->>> 
->>>   * `AGENT_NOT_SEEN`
->>>   * `SNAPSHOTS_FAILURE`
->>>   * `NOT_CONVERGING`
->>>   * `UNSTABLE_NETWORK`
->>>   * `FAILED_TO_CREATE_SECURITY_GROUP`
->>>   * `FAILED_TO_LAUNCH_REPLICATION_SERVER`
->>>   * `FAILED_TO_BOOT_REPLICATION_SERVER`
->>>   * `FAILED_TO_AUTHENTICATE_WITH_SERVICE`
->>>   * `FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE`
->>>   * `FAILED_TO_CREATE_STAGING_DISKS`
->>>   * `FAILED_TO_ATTACH_STAGING_DISKS`
->>>   * `FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT`
->>>   * `FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER`
->>>   * `FAILED_TO_START_DATA_TRANSFER`
->>>   * `UNSUPPORTED_VM_CONFIGURATION`
->>>   * `LAST_SNAPSHOT_JOB_FAILED`
->>> 
-
+>> Constraints:
@@ -312 +296,3 @@ dataReplicationInfo -> (structure)
->> rawError -> (string)
+>>   * min: `0`
+>>   * max: `255`
+>>   * pattern: `i-[0-9a-fA-F]{8,}`
@@ -314,7 +299,0 @@ dataReplicationInfo -> (structure)
->>> Error in data replication.
->>> 
->>> Constraints:
->>> 
->>>   * min: `0`
->>>   * max: `65536`
->>> 
@@ -323 +302 @@ dataReplicationInfo -> (structure)
-> dataReplicationInitiation -> (structure)
+> jobID -> (string)
@@ -325,15 +304 @@ dataReplicationInfo -> (structure)
->> Request to query whether data replication has been initiated.
->> 
->> nextAttemptDateTime -> (string)
->>
->>> Request to query next data initiation date and time.
->>> 
->>> Constraints:
->>> 
->>>   * min: `19`
->>>   * max: `32`
->>>   * pattern: `^[1-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?Z$`
->>> 
-
->> 
->> startDateTime -> (string)
+>> Launched instance Job ID.
@@ -341,9 +306 @@ dataReplicationInfo -> (structure)
->>> Request to query data initiation start date and time.
->>> 
->>> Constraints:
->>> 
->>>   * min: `19`
->>>   * max: `32`
->>>   * pattern: `^[1-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?Z$`
->>> 
-
+>> Constraints:
@@ -351 +308,3 @@ dataReplicationInfo -> (structure)
->> steps -> (list)
+>>   * min: `24`
+>>   * max: `24`
+>>   * pattern: `mgnjob-[0-9a-zA-Z]{17}`
@@ -353,38 +311,0 @@ dataReplicationInfo -> (structure)
->>> Request to query data initiation steps.
->>> 
->>> (structure)
->>>
->>>> Data replication initiation step.
->>>> 
->>>> name -> (string)
->>>>
->>>>> Request to query data initiation step name.
->>>>> 
->>>>> Possible values:
->>>>> 
->>>>>   * `WAIT`
->>>>>   * `CREATE_SECURITY_GROUP`
->>>>>   * `LAUNCH_REPLICATION_SERVER`
->>>>>   * `BOOT_REPLICATION_SERVER`