AWS cli documentation change
Summary
Updated AWS DataZone 'get-user-profile' command documentation for CLI version 2.33.1. Changes include: swapped order of --type and --user-identifier parameters, updated pattern constraints for domainId and user identifiers, restructured output fields (moved 'details' tagged union structure), and modified parameter descriptions.
Security assessment
The changes involve documentation restructuring and pattern constraint updates without evidence of addressing a specific vulnerability. The pattern changes (e.g., removing start/end anchors) could potentially allow broader input validation but lack explicit security context. No CVE, vulnerability fix, or security incident is referenced.
Diff
diff --git a/cli/latest/reference/datazone/get-user-profile.md b/cli/latest/reference/datazone/get-user-profile.md index 5453aab3e..2f9260f09 100644 --- a//cli/latest/reference/datazone/get-user-profile.md +++ b//cli/latest/reference/datazone/get-user-profile.md @@ -15 +15 @@ - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) » @@ -68 +67,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--type <value>] @@ -69,0 +69 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo + [--type <value>] @@ -100 +100 @@ 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}` @@ -104 +104 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--type` (string) +`--user-identifier` (string) [required] @@ -106 +106 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> The type of the user profile. +> The identifier of the user for which you want to get the user profile. @@ -108 +108 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> Possible values: +> Constraints: @@ -110,2 +110 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * `IAM` -> * `SSO` +> * 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}:.+$).*` @@ -115 +114 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--user-identifier` (string) [required] +`--type` (string) @@ -117 +116 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> The identifier of the user for which you want to get the user profile. +> The type of the user profile. @@ -119 +118 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> Constraints: +> Possible values: @@ -121 +120,2 @@ 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}:.+$)` +> * `IAM` +> * `SSO` @@ -224 +224 @@ Disable automatically prompt for CLI input parameters. -details -> (tagged union structure) +domainId -> (string) @@ -226,7 +226 @@ details -> (tagged union structure) -> The user profile details. -> -> ### 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 of which you want to get the user profile. @@ -234,9 +228 @@ 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: @@ -244 +230 @@ details -> (tagged union structure) -> sso -> (structure) +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` @@ -246,20 +231,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+=,.@-]+$` ->>> @@ -268 +234 @@ details -> (tagged union structure) -domainId -> (string) +id -> (string) @@ -270 +236 @@ domainId -> (string) -> the identifier of the Amazon DataZone domain of which you want to get the user profile. +> The identifier of the user profile. @@ -274 +240 @@ 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}` @@ -278 +244 @@ domainId -> (string) -id -> (string) +type -> (string) @@ -280 +246 @@ id -> (string) -> The identifier of the user profile. +> The type of the user profile. @@ -282 +248 @@ id -> (string) -> Constraints: +> Possible values: @@ -284 +250,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` @@ -301 +268 @@ status -> (string) -type -> (string) +details -> (tagged union structure) @@ -303 +270 @@ type -> (string) -> The type of the user profile. +> The user profile details. @@ -305 +272 @@ type -> (string) -> Possible values: +> ### Note @@ -307,2 +274,13 @@ type -> (string) -> * `IAM` -> * `SSO` +> This is a Tagged Union structure. Only one of the following top level keys can be set: `iam`, `sso`. +> +> 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. @@ -309,0 +288,14 @@ type -> (string) +> 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+=,.@-]+` +>>> @@ -310,0 +303,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. @@ -322 +322 @@ type -> (string) - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) »