AWS cli documentation change
Summary
Updated AWS CLI version reference, reordered parameters in synopsis, modified parameter patterns and constraints, restructured output documentation, and updated regex patterns by removing start/end anchors.
Security assessment
Changes involve documentation restructuring and pattern updates (removing '^' and '$' anchors from regex patterns), but no explicit security vulnerability or weakness is addressed. Pattern changes may impact input validation but lack evidence of fixing a specific security issue.
Diff
diff --git a/cli/latest/reference/datazone/update-user-profile.md b/cli/latest/reference/datazone/update-user-profile.md index 9bf02a621..a680dd84a 100644 --- a//cli/latest/reference/datazone/update-user-profile.md +++ b//cli/latest/reference/datazone/update-user-profile.md @@ -15 +15 @@ - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) » @@ -68,2 +67,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - --status <value> - [--type <value>] @@ -70,0 +69,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo + [--type <value>] + --status <value> @@ -101 +101 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * pattern: `^dzd[-_][a-zA-Z0-9_-]{1,36}$` +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` @@ -105 +105 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--status` (string) [required] +`--user-identifier` (string) [required] @@ -107 +107 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> The status of the user profile that are to be updated. +> The identifier of the user whose user profile is to be updated. @@ -109 +109 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> Possible values: +> Constraints: @@ -111,4 +111 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * `ASSIGNED` -> * `NOT_ASSIGNED` -> * `ACTIVATED` -> * `DEACTIVATED` +> * pattern: `.*(^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$|^[a-zA-Z_0-9+=,.@-]+$|^arn:aws:iam::\d{12}:.+$).*` @@ -129 +126 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--user-identifier` (string) [required] +`--status` (string) [required] @@ -131 +128 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> The identifier of the user whose user profile is to be updated. +> The status of the user profile that are to be updated. @@ -133 +130 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> Constraints: +> Possible values: @@ -135 +132,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * pattern: `(^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$|^[a-zA-Z_0-9+=,.@-]+$|^arn:aws:iam::\d{12}:.+$)` +> * `ASSIGNED` +> * `NOT_ASSIGNED` +> * `ACTIVATED` +> * `DEACTIVATED` @@ -238 +238 @@ Disable automatically prompt for CLI input parameters. -details -> (tagged union structure) +domainId -> (string) @@ -240,7 +240 @@ details -> (tagged union structure) -> The results of the UpdateUserProfile action. -> -> ### Note -> -> This is a Tagged Union structure. Only one of the following top level keys can be set: `iam`, `sso`. -> -> iam -> (structure) +> The identifier of the Amazon DataZone domain in which a user profile is updated. @@ -248,9 +242 @@ details -> (tagged union structure) ->> The IAM details of the user profile. ->> ->> arn -> (string) ->> ->>> The ARN of the IAM user. ->> ->> principalId -> (string) ->> ->>> The principal ID as part of the IAM user profile details. +> Constraints: @@ -258 +244 @@ details -> (tagged union structure) -> sso -> (structure) +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` @@ -260,20 +245,0 @@ details -> (tagged union structure) ->> The SSO details of the user profile. ->> ->> firstName -> (string) ->> ->>> The first name as part of the SSO user profile detail. ->> ->> lastName -> (string) ->> ->>> The last name as part of the SSO user profile detail. ->> ->> username -> (string) ->> ->>> The username as part of the SSO user profile detail. ->>> ->>> Constraints: ->>> ->>> * min: `1` ->>> * max: `1024` ->>> * pattern: `^[a-zA-Z_0-9+=,.@-]+$` ->>> @@ -282 +248 @@ details -> (tagged union structure) -domainId -> (string) +id -> (string) @@ -284 +250 @@ domainId -> (string) -> The identifier of the Amazon DataZone domain in which a user profile is updated. +> The identifier of the user profile. @@ -288 +254 @@ domainId -> (string) -> * pattern: `^dzd[-_][a-zA-Z0-9_-]{1,36}$` +> * pattern: `([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}` @@ -292 +258 @@ domainId -> (string) -id -> (string) +type -> (string) @@ -294 +260 @@ id -> (string) -> The identifier of the user profile. +> The type of the user profile. @@ -296 +262 @@ id -> (string) -> Constraints: +> Possible values: @@ -298 +264,2 @@ id -> (string) -> * pattern: `^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$` +> * `IAM` +> * `SSO` @@ -315 +282 @@ status -> (string) -type -> (string) +details -> (tagged union structure) @@ -317 +284 @@ type -> (string) -> The type of the user profile. +> The results of the UpdateUserProfile action. @@ -319 +286 @@ type -> (string) -> Possible values: +> ### Note @@ -321,2 +288 @@ type -> (string) -> * `IAM` -> * `SSO` +> This is a Tagged Union structure. Only one of the following top level keys can be set: `iam`, `sso`. @@ -323,0 +290,26 @@ type -> (string) +> iam -> (structure) +> +>> The IAM details of the user profile. +>> +>> arn -> (string) +>> +>>> The ARN of the IAM user. +>> +>> principalId -> (string) +>> +>>> The principal ID as part of the IAM user profile details. +> +> sso -> (structure) +> +>> The SSO details of the user profile. +>> +>> username -> (string) +>> +>>> The username as part of the SSO user profile detail. +>>> +>>> Constraints: +>>> +>>> * min: `1` +>>> * max: `1024` +>>> * pattern: `[a-zA-Z_0-9+=,.@-]+` +>>> @@ -324,0 +317,8 @@ type -> (string) +>> +>> firstName -> (string) +>> +>>> The first name as part of the SSO user profile detail. +>> +>> lastName -> (string) +>> +>>> The last name as part of the SSO user profile detail. @@ -336 +336 @@ type -> (string) - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) »