AWS cli documentation change
Summary
Updated CLI version reference, restructured parameters, modified regex patterns for service network identifiers (removed anchors), and reordered authType/name field documentation.
Security assessment
Changes involve documentation formatting and regex pattern adjustments (e.g., removing ^/$ in service network ID patterns) without explicit evidence of addressing a security vulnerability. While auth-type relates to IAM policies, the changes do not introduce new security features or address disclosed weaknesses.
Diff
diff --git a/cli/latest/reference/vpc-lattice/update-service-network.md b/cli/latest/reference/vpc-lattice/update-service-network.md index a9443df9d..7bf93891b 100644 --- a//cli/latest/reference/vpc-lattice/update-service-network.md +++ b//cli/latest/reference/vpc-lattice/update-service-network.md @@ -15 +15 @@ - * [AWS CLI 2.31.3 Command Reference](../../index.html) » + * [AWS CLI 2.31.5 Command Reference](../../index.html) » @@ -67 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la - --auth-type <value> @@ -68,0 +68 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la + --auth-type <value> @@ -92,0 +93,12 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la +`--service-network-identifier` (string) [required] + +> The ID or ARN of the service network. +> +> Constraints: +> +> * min: `3` +> * max: `2048` +> * pattern: `((sn-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}))` +> + + @@ -109,12 +120,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -`--service-network-identifier` (string) [required] - -> The ID or ARN of the service network. -> -> Constraints: -> -> * min: `3` -> * max: `2048` -> * pattern: `^((sn-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}))$` -> - - @@ -220 +220 @@ Disable automatically prompt for CLI input parameters. -arn -> (string) +id -> (string) @@ -222 +222 @@ arn -> (string) -> The Amazon Resource Name (ARN) of the service network. +> The ID of the service network. @@ -226,3 +226,3 @@ arn -> (string) -> * min: `32` -> * max: `2048` -> * pattern: `^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}$` +> * min: `20` +> * max: `20` +> * pattern: `sn-[0-9a-z]{17}` @@ -232 +232 @@ arn -> (string) -authType -> (string) +name -> (string) @@ -234 +234 @@ authType -> (string) -> The type of IAM policy. +> The name of the service network. @@ -236 +236 @@ authType -> (string) -> Possible values: +> Constraints: @@ -238,2 +238,3 @@ authType -> (string) -> * `NONE` -> * `AWS_IAM` +> * min: `3` +> * max: `63` +> * pattern: `(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+` @@ -243 +244 @@ authType -> (string) -id -> (string) +arn -> (string) @@ -245 +246 @@ id -> (string) -> The ID of the service network. +> The Amazon Resource Name (ARN) of the service network. @@ -249,3 +250,3 @@ id -> (string) -> * min: `20` -> * max: `20` -> * pattern: `^sn-[0-9a-z]{17}$` +> * min: `32` +> * max: `2048` +> * pattern: `arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}` @@ -255 +256 @@ id -> (string) -name -> (string) +authType -> (string) @@ -257 +258 @@ name -> (string) -> The name of the service network. +> The type of IAM policy. @@ -259 +260 @@ name -> (string) -> Constraints: +> Possible values: @@ -261,3 +262,2 @@ name -> (string) -> * min: `3` -> * max: `63` -> * pattern: `^(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$` +> * `NONE` +> * `AWS_IAM` @@ -277 +277 @@ name -> (string) - * [AWS CLI 2.31.3 Command Reference](../../index.html) » + * [AWS CLI 2.31.5 Command Reference](../../index.html) »