AWS cli documentation change
Summary
Updated CLI command structure for datazone create-asset including parameter reordering, added glossary-terms field, modified input validation patterns, and updated response field documentation
Security assessment
Changes primarily involve command structure reorganization and documentation updates. While some regex patterns were modified (e.g., removing ^/$ anchors), there's no explicit mention of security vulnerabilities being addressed. The added glossary-terms field appears to be a new feature rather than a security control.
Diff
diff --git a/cli/latest/reference/datazone/create-asset.md b/cli/latest/reference/datazone/create-asset.md index 069cafe3a..c063f7161 100644 --- a//cli/latest/reference/datazone/create-asset.md +++ b//cli/latest/reference/datazone/create-asset.md @@ -15 +15 @@ - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) » @@ -85,2 +85 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--client-token <value>] - [--description <value>] + --name <value> @@ -89 +88,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--forms-input <value>] + --type-identifier <value> + [--type-revision <value>] + [--description <value>] @@ -91 +92 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - --name <value> + [--forms-input <value>] @@ -94,2 +95 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - --type-identifier <value> - [--type-revision <value>] + [--client-token <value>] @@ -120 +120 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--client-token` (string) +`--name` (string) [required] @@ -122 +122 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. +> Asset name. @@ -127,2 +127 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * max: `128` -> * pattern: `^[\x21-\x7E]+$` +> * max: `256` @@ -132 +131 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--description` (string) +`--domain-identifier` (string) [required] @@ -134 +133 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> Asset description. +> Amazon DataZone domain where the asset is created. @@ -138,2 +137 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * min: `0` -> * max: `2048` +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` @@ -143 +141 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--domain-identifier` (string) [required] +`--external-identifier` (string) @@ -145 +143,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> Amazon DataZone domain where the asset is created. +> The external identifier of the asset. +> +> If the value for the `externalIdentifier` parameter is specified, it must be a unique value. @@ -149 +149,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * pattern: `^dzd[-_][a-zA-Z0-9_-]{1,36}$` +> * min: `1` +> * max: `600` @@ -153 +154 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--external-identifier` (string) +`--type-identifier` (string) [required] @@ -155 +156 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> The external identifier of the asset. +> The unique identifier of this asset’s type. @@ -157 +158,11 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> If the value for the `externalIdentifier` parameter is specified, it must be a unique value. +> Constraints: +> +> * min: `1` +> * max: `513` +> * pattern: `(?!\.)[\w\.]*\w` +> + + +`--type-revision` (string) + +> The revision of this asset’s type. @@ -162 +173,12 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * max: `600` +> * max: `64` +> + + +`--description` (string) + +> Asset description. +> +> Constraints: +> +> * min: `0` +> * max: `2048` @@ -165,0 +188,25 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo +`--glossary-terms` (list) + +> Glossary terms attached to the asset. +> +> Constraints: +> +> * min: `1` +> * max: `20` +> + +> +> (string) +> +>> Constraints: +>> +>> * pattern: `[a-zA-Z0-9_-]{1,36}` +>> + + +Syntax: + + + "string" "string" ... + + @@ -180,11 +226,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> ->> content -> (string) ->> ->>> The content of the metadata form. ->>> ->>> Constraints: ->>> ->>> * min: `0` ->>> * max: `300000` ->>> - @@ -200 +236 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> * pattern: `^(?![0-9_])\w+$|^_\w*[a-zA-Z0-9]\w*$` +>>> * pattern: `(?![0-9_])\w+$|^_\w*[a-zA-Z0-9]\w*` @@ -212 +248 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> * pattern: `^(?!\.)[\w\.]*\w$` +>>> * pattern: `(?!\.)[\w\.]*\w` @@ -224 +260,12 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->>> * pattern: `^[a-zA-Z0-9_-]+$` +>>> * pattern: `[a-zA-Z0-9_-]+` +>>> + +>> +>> content -> (string) +>> +>>> The content of the metadata form. +>>> +>>> Constraints: +>>> +>>> * min: `0` +>>> * max: `300000` @@ -231 +278 @@ Shorthand Syntax: - content=string,formName=string,typeIdentifier=string,typeRevision=string ... + formName=string,typeIdentifier=string,typeRevision=string,content=string ... @@ -239 +285,0 @@ JSON Syntax: - "content": "string", @@ -242 +288,2 @@ JSON Syntax: - "typeRevision": "string" + "typeRevision": "string", + "content": "string" @@ -248,36 +294,0 @@ JSON Syntax: -`--glossary-terms` (list) - -> Glossary terms attached to the asset. -> -> Constraints: -> -> * min: `1` -> * max: `20` -> - -> -> (string) -> ->> Constraints: ->> ->> * pattern: `^[a-zA-Z0-9_-]{1,36}$` ->> - - -Syntax: - - - "string" "string" ... - - -`--name` (string) [required] - -> Asset name. -> -> Constraints: -> -> * min: `1` -> * max: `256` -> - - @@ -290 +301 @@ Syntax: -> * pattern: `^[a-zA-Z0-9_-]{1,36}$` +> * pattern: `[a-zA-Z0-9_-]{1,36}` @@ -322,13 +333 @@ JSON Syntax: -`--type-identifier` (string) [required] - -> The unique identifier of this asset’s type. ->