AWS cli documentation change
Summary
Updated AWS CLI command reference for 'create-subscription-grant' including parameter reordering, pattern constraint changes, and output structure reorganization
Security assessment
Changes involve parameter reorganization, pattern constraint updates (e.g., changing from '^pattern$' to 'pattern'), and output field restructuring. No security vulnerabilities, weaknesses, or incidents are mentioned. The client-token parameter remains unchanged and is unrelated to security fixes.
Diff
diff --git a/cli/latest/reference/datazone/create-subscription-grant.md b/cli/latest/reference/datazone/create-subscription-grant.md index bb6a4e928..56a25ba5f 100644 --- a//cli/latest/reference/datazone/create-subscription-grant.md +++ b//cli/latest/reference/datazone/create-subscription-grant.md @@ -15 +15 @@ - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) » @@ -67,2 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--asset-target-names <value>] - [--client-token <value>] @@ -71 +68,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - --granted-entity <value> @@ -72,0 +70,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo + --granted-entity <value> + [--asset-target-names <value>] + [--client-token <value>] @@ -97 +97 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--asset-target-names` (list) +`--domain-identifier` (string) [required] @@ -99 +99 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> The names of the assets for which the subscription grant is created. +> The ID of the Amazon DataZone domain in which the subscription grant is created. @@ -101 +101,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> (structure) +> Constraints: +> +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` @@ -103,32 +104,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> The name map for assets. ->> ->> assetId -> (string) [required] ->> ->>> The identifier of the inventory asset. ->>> ->>> Constraints: ->>> ->>> * pattern: `^[a-zA-Z0-9_-]{1,36}$` ->>> - ->> ->> targetName -> (string) [required] ->> ->>> The target name in the asset target name map. - -Shorthand Syntax: - - - assetId=string,targetName=string ... - - -JSON Syntax: - - - [ - { - "assetId": "string", - "targetName": "string" - } - ... - ] @@ -137,5 +107 @@ JSON Syntax: -`--client-token` (string) - -> A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. - -`--domain-identifier` (string) [required] +`--environment-identifier` (string) [required] @@ -143 +109 @@ JSON Syntax: -> The ID of the Amazon DataZone domain in which the subscription grant is created. +> The ID of the environment in which the subscription grant is created. @@ -147 +113 @@ JSON Syntax: -> * pattern: `^dzd[-_][a-zA-Z0-9_-]{1,36}$` +> * pattern: `[a-zA-Z0-9_-]{1,36}` @@ -151 +117 @@ JSON Syntax: -`--environment-identifier` (string) [required] +`--subscription-target-identifier` (string) @@ -153 +119 @@ JSON Syntax: -> The ID of the environment in which the subscription grant is created. +> The ID of the subscription target for which the subscription grant is created. @@ -157 +123 @@ JSON Syntax: -> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +> * pattern: `[a-zA-Z0-9_-]{1,36}` @@ -179 +145 @@ JSON Syntax: ->>> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +>>> * pattern: `[a-zA-Z0-9_-]{1,36}` @@ -211 +177 @@ JSON Syntax: -`--subscription-target-identifier` (string) +`--asset-target-names` (list) @@ -213,3 +179 @@ JSON Syntax: -> The ID of the subscription target for which the subscription grant is created. -> -> Constraints: +> The names of the assets for which the subscription grant is created. @@ -217 +181 @@ JSON Syntax: -> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +> (structure) @@ -218,0 +183,35 @@ JSON Syntax: +>> The name map for assets. +>> +>> assetId -> (string) [required] +>> +>>> The identifier of the inventory asset. +>>> +>>> Constraints: +>>> +>>> * pattern: `[a-zA-Z0-9_-]{1,36}` +>>> + +>> +>> targetName -> (string) [required] +>> +>>> The target name in the asset target name map. + +Shorthand Syntax: + + + assetId=string,targetName=string ... + + +JSON Syntax: + + + [ + { + "assetId": "string", + "targetName": "string" + } + ... + ] + + +`--client-token` (string) @@ -219,0 +219 @@ JSON Syntax: +> A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. @@ -320 +320 @@ Disable automatically prompt for CLI input parameters. -assets -> (list) +id -> (string) @@ -322 +322 @@ assets -> (list) -> The assets for which the subscription grant is created. +> The ID of the subscription grant. @@ -324 +324,3 @@ assets -> (list) -> (structure) +> Constraints: +> +> * pattern: `[a-zA-Z0-9_-]{1,36}` @@ -326,10 +327,0 @@ assets -> (list) ->> The details of the asset for which the subscription grant is created. ->> ->> assetId -> (string) [required] ->> ->>> The identifier of the asset for which the subscription grant is created. ->>> ->>> Constraints: ->>> ->>> * pattern: `^[a-zA-Z0-9_-]{1,36}$` ->>> @@ -337,10 +328,0 @@ assets -> (list) ->> ->> assetRevision -> (string) [required] ->> ->>> The revision of the asset for which the subscription grant is created. ->>> ->>> Constraints: ->>> ->>> * min: `1` ->>> * max: `64` ->>> @@ -348,13 +330 @@ assets -> (list) ->> ->> assetScope -> (structure) ->> ->>> The asset scope of the subscribed asset. ->>> ->>> assetId -> (string) [required] ->>> ->>>> The asset ID of the asset scope. ->>>> ->>>> Constraints: ->>>> ->>>> * pattern: `^[a-zA-Z0-9_-]{1,36}$` ->>>> +createdBy -> (string) @@ -362,15 +332 @@ assets -> (list) ->>> ->>> errorMessage -> (string) ->>> ->>>> The error message of the asset scope. ->>> ->>> filterIds -> (list) [required] ->>> ->>>> The filter IDs of the asset scope. ->>>> ->>>> (string) ->>>> ->>>>> Constraints: ->>>>> ->>>>> * pattern: `^[a-zA-Z0-9_-]{1,36}$` ->>>>> +> The Amazon DataZone user who created the subscription grant. @@ -378,40 +334 @@ assets -> (list)