AWS cli documentation change
Summary
Updated CLI version reference, reordered parameters, modified pattern constraints for identifiers, restructured Tagged Union documentation, and adjusted parameter patterns
Security assessment
The changes primarily involve documentation structure adjustments and pattern constraint modifications (removing regex anchors ^/$). While pattern changes could theoretically affect input validation, there is no explicit mention of security vulnerabilities being addressed. The client-token changes relate to idempotency rather than security controls.
Diff
diff --git a/cli/latest/reference/datazone/remove-policy-grant.md b/cli/latest/reference/datazone/remove-policy-grant.md index e97942190..605b7194f 100644 --- a//cli/latest/reference/datazone/remove-policy-grant.md +++ b//cli/latest/reference/datazone/remove-policy-grant.md @@ -15 +15 @@ - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) » @@ -67 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--client-token <value>] @@ -69 +67,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - --entity-identifier <value> @@ -71 +69 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--grant-identifier <value>] + --entity-identifier <value> @@ -73,0 +72,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo + [--grant-identifier <value>] + [--client-token <value>] @@ -98,12 +97,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--client-token` (string) - -> A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. -> -> Constraints: -> -> * min: `1` -> * max: `128` -> * pattern: `^[\x21-\x7E]+$` -> - - @@ -116 +104 @@ 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}` @@ -120,4 +107,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--entity-identifier` (string) [required] - -> The ID of the entity from which you want to remove a policy grant. - @@ -137,8 +121 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--grant-identifier` (string) - -> The ID of the policy grant that is to be removed from a specified entity. -> -> Constraints: -> -> * pattern: `^[A-Za-z0-9+/]{10}$` -> +`--entity-identifier` (string) [required] @@ -145,0 +123 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo +> The ID of the entity from which you want to remove a policy grant. @@ -176 +154 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> This is a Tagged Union structure. Only one of the following top level keys can be set: `domainUnit`, `group`, `project`, `user`. +> This is a Tagged Union structure. Only one of the following top level keys can be set: `user`, `group`, `project`, `domainUnit`. @@ -178 +156 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> domainUnit -> (structure) +> user -> (tagged union structure) @@ -180,11 +158 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> The domain unit of the policy grant principal. ->> ->> domainUnitDesignation -> (string) [required] ->> ->>> Specifes the designation of the domain unit users. ->>> ->>> Possible values: ->>> ->>> * `OWNER` ->>> - +>> The user of the policy grant principal. @@ -192 +160 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> domainUnitGrantFilter -> (tagged union structure) +>> ### Note @@ -194,9 +162 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> The grant filter for the domain unit. ->>> ->>> ### Note ->>> ->>> This is a Tagged Union structure. Only one of the following top level keys can be set: `allDomainUnitsGrantFilter`. ->>> ->>> allDomainUnitsGrantFilter -> (structure) ->>> ->>>> Specifies a grant filter containing all domain units. +>> This is a Tagged Union structure. Only one of the following top level keys can be set: `userIdentifier`, `allUsersGrantFilter`. @@ -204 +164 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> domainUnitIdentifier -> (string) +>> userIdentifier -> (string) @@ -206 +166 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> The ID of the domain unit. +>>> The user ID of the user policy grant principal. @@ -210,3 +170 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> * min: `1` ->>> * max: `256` ->>> * pattern: `^[a-z0-9_\-]+$` +>>> * 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}:.+$).*` @@ -214,0 +173,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo +>> +>> allUsersGrantFilter -> (structure) +>> +>>> The all users grant filter of the user policy grant principal. @@ -230 +192 @@ 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}$|[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+)` +>>> * 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}$|[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+).*` @@ -248,0 +211,10 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo +>> +>> projectIdentifier -> (string) +>> +>>> The project ID of the project policy grant principal. +>>> +>>> Constraints: +>>> +>>> * pattern: `[a-zA-Z0-9_-]{1,36}` +>>> + @@ -270 +242 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>>>> * pattern: `^[a-z0-9_\-]+$` +>>>>> * pattern: `[a-z0-9_\-]+` @@ -276,0 +249,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo +> +> domainUnit -> (structure) +> +>> The domain unit of the policy grant principal. @@ -278 +254 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> projectIdentifier -> (string) +>> domainUnitDesignation -> (string) [required] @@ -280 +256 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> The project ID of the project policy grant principal. +>>> Specifes the designation of the domain unit users. @@ -282 +258 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> Constraints: +>>> Possible values: @@ -284 +260 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +>>> * `OWNER` @@ -287,12 +262,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> -> user -> (tagged union structure) -> ->> The user of the policy grant principal. ->> ->> ### Note ->> ->> This is a Tagged Union structure. Only one of the following top level keys can be set: `allUsersGrantFilter`, `userIdentifier`. ->> ->> allUsersGrantFilter -> (structure) ->> ->>> The all users grant filter of the user policy grant principal. @@ -300 +264 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> userIdentifier -> (string) +>> domainUnitIdentifier -> (string) @@ -302 +266 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> The user ID of the user policy grant principal. +>>> The ID of the domain unit. @@ -306 +270,3 @@ 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}:.+$)` +>>> * min: `1` +>>> * max: `256` +>>> * pattern: `[a-z0-9_\-]+` @@ -308,0 +275,12 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo +>> +>> domainUnitGrantFilter -> (tagged union structure) +>> +>>> The grant filter for the domain unit. +>>> +>>> ### Note +>>> +>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `allDomainUnitsGrantFilter`. +>>> +>>> allDomainUnitsGrantFilter -> (structure) +>>> +>>>> Specifies a grant filter containing all domain units. @@ -314,4 +292,3 @@ JSON Syntax: - "domainUnit": { - "domainUnitDesignation": "OWNER", - "domainUnitGrantFilter": { - "allDomainUnitsGrantFilter": { + "user": { + "userIdentifier": "string", + "allUsersGrantFilter": { @@ -321,2 +297,0 @@ JSON Syntax: - "domainUnitIdentifier": "string" - }, @@ -327,0 +303 @@ JSON Syntax: + "projectIdentifier": "string", @@ -332,0 +309 @@ JSON Syntax: + } @@ -334,4 +311,5 @@ JSON Syntax: - "projectIdentifier": "string" - }, - "user": { - "allUsersGrantFilter": { + "domainUnit": { + "domainUnitDesignation": "OWNER", + "domainUnitIdentifier": "string", + "domainUnitGrantFilter": { + "allDomainUnitsGrantFilter": { @@ -339,2 +316,0 @@ JSON Syntax: - }, - "userIdentifier": "string" @@ -342,0 +319,24 @@ JSON Syntax: + }