AWS cli documentation change
Summary
Swapped order of 'credentialsSecretArn' and 'connectorArn' in JSON syntax and parameter descriptions, and updated field constraints.
Security assessment
Parameter reordering and syntax adjustments do not inherently address security issues. While ARN patterns were corrected, this specific change is structural rather than security-focused.
Diff
diff --git a/cli/latest/reference/mgn/update-source-server.md b/cli/latest/reference/mgn/update-source-server.md index e527a91a1..fc4797e65 100644 --- a//cli/latest/reference/mgn/update-source-server.md +++ b//cli/latest/reference/mgn/update-source-server.md @@ -15 +15 @@ - * [AWS CLI 2.32.11 Command Reference](../../index.html) » + * [AWS CLI 2.32.13 Command Reference](../../index.html) » @@ -68 +67,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 - [--connector-action <value>] @@ -69,0 +69 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 + [--connector-action <value>] @@ -102 +102,13 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 -> * pattern: `[0-9]{12,}` +> * pattern: `.*[0-9]{12,}.*` +> + + +`--source-server-id` (string) [required] + +> Update Source Server request source server ID. +> +> Constraints: +> +> * min: `19` +> * max: `19` +> * pattern: `s-[0-9a-zA-Z]{17}` @@ -110 +122 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 -> connectorArn -> (string) +> credentialsSecretArn -> (string) @@ -112 +124 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 ->> Source Server connector action connector arn. +>> Source Server connector action credentials secret arn. @@ -116 +128 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 ->> * min: `27` +>> * min: `20` @@ -118 +130 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 ->> * pattern: `^arn:[\w-]+:mgn:([a-z]{2}-(gov-)?[a-z]+-\d{1})?:(\d{12})?:connector\/(connector-[0-9a-zA-Z]{17})$` +>> * pattern: `arn:[\w-]+:secretsmanager:([a-z]{2}-(gov-)?[a-z]+-\d{1})?:(\d{12})?:secret:(.+)` @@ -122 +134 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 -> credentialsSecretArn -> (string) +> connectorArn -> (string) @@ -124 +136 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 ->> Source Server connector action credentials secret arn. +>> Source Server connector action connector arn. @@ -128 +140 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 ->> * min: `20` +>> * min: `27` @@ -130 +142 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20 ->> * pattern: `^arn:[\w-]+:secretsmanager:([a-z]{2}-(gov-)?[a-z]+-\d{1})?:(\d{12})?:secret:(.+)$` +>> * pattern: `arn:[\w-]+:mgn:([a-z]{2}-(gov-)?[a-z]+-\d{1})?:(\d{12})?:connector\/(connector-[0-9a-zA-Z]{17})` @@ -137 +149 @@ Shorthand Syntax: - connectorArn=string,credentialsSecretArn=string + credentialsSecretArn=string,connectorArn=string @@ -144,2 +156,2 @@ JSON Syntax: - "connectorArn": "string", - "credentialsSecretArn": "string" + "credentialsSecretArn": "string", + "connectorArn": "string" @@ -149,12 +160,0 @@ JSON Syntax: -`--source-server-id` (string) [required] - -> Update Source Server request source server ID. -> -> Constraints: -> -> * min: `19` -> * max: `19` -> * pattern: `^s-[0-9a-zA-Z]{17}$` -> - - @@ -260 +260 @@ Disable automatically prompt for CLI input parameters. -applicationID -> (string) +sourceServerID -> (string) @@ -262 +262 @@ applicationID -> (string) -> Source server application ID. +> Source server ID. @@ -266,3 +266,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}` @@ -283 +283 @@ arn -> (string) -connectorAction -> (structure) +isArchived -> (boolean) @@ -285 +285,5 @@ connectorAction -> (structure) -> Source Server connector action. +> Source server archived status. + +tags -> (map) + +> Source server Tags. @@ -287 +291,8 @@ connectorAction -> (structure) -> connectorArn -> (string) +> Constraints: +> +> * min: `0` +> * max: `50` +> + +> +> key -> (string) @@ -289,2 +299,0 @@ connectorAction -> (structure) ->> Source Server connector action connector arn. ->> @@ -293,3 +302,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` @@ -299 +307 @@ connectorAction -> (structure) -> credentialsSecretArn -> (string) +> value -> (string) @@ -301,2 +308,0 @@ connectorAction -> (structure) ->> Source Server connector action credentials secret arn. ->> @@ -305,3 +311,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` @@ -311 +316 @@ connectorAction -> (structure) -dataReplicationInfo -> (structure) +launchedInstance -> (structure) @@ -313 +318 @@ dataReplicationInfo -> (structure) -> Source server data replication info. +> Source server launched instance. @@ -315 +320 @@ dataReplicationInfo -> (structure) -> dataReplicationError -> (structure) +> ec2InstanceID -> (string) @@ -317,3 +322 @@ dataReplicationInfo -> (structure) ->> Error in obtaining data replication info. ->> ->> error -> (string) +>> Launched instance EC2 ID. @@ -321,22 +324 @@ 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: @@ -344 +326,3 @@ dataReplicationInfo -> (structure) ->> rawError -> (string) +>> * min: `0` +>> * max: `255` +>> * pattern: `i-[0-9a-fA-F]{8,}` @@ -346,7 +329,0 @@ dataReplicationInfo -> (structure) ->>> Error in data replication. ->>> ->>> Constraints: ->>> ->>> * min: `0` ->>> * max: `65536` ->>> @@ -355 +332 @@ dataReplicationInfo -> (structure) -> dataReplicationInitiation -> (structure) +> jobID -> (string) @@ -357,15 +334 @@ 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. @@ -373,9 +336 @@ dataReplicationInfo -> (structure) ->>> Request to query data initiation start date and time. ->>> ->>> Constraints: