AWS cli documentation change
Summary
Updated CLI version reference from 2.31.3 to 2.31.5. Swapped parameter order between --policy and --resource-identifier, updated validation constraints for both parameters. Increased policy max length from 10000 to 36864 characters.
Security assessment
Changes involve parameter ordering and validation constraint updates without explicit security context. The increased policy length limit and pattern updates appear to be documentation corrections rather than security fixes.
Diff
diff --git a/cli/latest/reference/vpc-lattice/put-auth-policy.md b/cli/latest/reference/vpc-lattice/put-auth-policy.md index 078cb65d7..d544d0ff4 100644 --- a//cli/latest/reference/vpc-lattice/put-auth-policy.md +++ b//cli/latest/reference/vpc-lattice/put-auth-policy.md @@ -15 +15 @@ - * [AWS CLI 2.31.3 Command Reference](../../index.html) » + * [AWS CLI 2.31.5 Command Reference](../../index.html) » @@ -70 +69,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la - --policy <value> @@ -71,0 +71 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la + --policy <value> @@ -96 +96 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -`--policy` (string) [required] +`--resource-identifier` (string) [required] @@ -98 +98 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> The auth policy. The policy string in JSON must not contain newlines or blank lines. +> The ID or ARN of the service network or service for which the policy is created. @@ -102,2 +102,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> * min: `0` -> * max: `10000` +> * min: `17` +> * max: `200` +> * pattern: `((((sn)|(svc)|(rcfg))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(resourceconfiguration/rcfg)|(service/svc))-[0-9a-z]{17}))` @@ -107 +108 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -`--resource-identifier` (string) [required] +`--policy` (string) [required] @@ -109 +110 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> The ID or ARN of the service network or service for which the policy is created. +> The auth policy. The policy string in JSON must not contain newlines or blank lines. @@ -113,3 +114,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/vpc-la -> * min: `17` -> * max: `200` -> * pattern: `^((((sn)|(svc)|(rcfg))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(resourceconfiguration/rcfg)|(service/svc))-[0-9a-z]{17}))$` +> * min: `0` +> * max: `36864` @@ -272 +272 @@ policy -> (string) -> * max: `10000` +> * max: `36864` @@ -297 +297 @@ state -> (string) - * [AWS CLI 2.31.3 Command Reference](../../index.html) » + * [AWS CLI 2.31.5 Command Reference](../../index.html) »