AWS cli documentation change
Summary
Updated AWS DataZone 'create-data-source' CLI command reference with parameter reordering, modified constraints, updated JSON structures, and pattern changes for ARNs and identifiers.
Security assessment
The changes involve documentation updates including parameter reordering, constraint modifications (min/max values), and pattern adjustments for ARNs/identifiers. No security vulnerabilities, exploits, or security features are mentioned. Pattern changes appear to be syntax corrections (e.g., removing start/end anchors) without security implications.
Diff
diff --git a/cli/latest/reference/datazone/create-data-source.md b/cli/latest/reference/datazone/create-data-source.md index d66f7f322..8c81f35a9 100644 --- a//cli/latest/reference/datazone/create-data-source.md +++ b//cli/latest/reference/datazone/create-data-source.md @@ -15 +15 @@ - * [AWS CLI 2.32.33 Command Reference](../../index.html) » + * [AWS CLI 2.33.1 Command Reference](../../index.html) » @@ -67,4 +67 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--asset-forms-input <value>] - [--client-token <value>] - [--configuration <value>] - [--connection-identifier <value>] + --name <value> @@ -73,3 +69,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--enable-setting <value>] - [--environment-identifier <value>] - --name <value> @@ -77 +71,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - [--publish-on-import | --no-publish-on-import] + [--environment-identifier <value>] + [--connection-identifier <value>] + --type <value> + [--configuration <value>] @@ -78,0 +76 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo + [--enable-setting <value>] @@ -80 +78,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo - --type <value> + [--publish-on-import | --no-publish-on-import] + [--asset-forms-input <value>] + [--client-token <value>] @@ -105 +105 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -`--asset-forms-input` (list) +`--name` (string) [required] @@ -107 +107 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> The metadata forms that are to be attached to the assets that this data source works with. +> The name of the data source. @@ -111,2 +111,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> * min: `0` -> * max: `10` +> * min: `1` +> * max: `256` @@ -114,0 +115,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo + +`--description` (string) + +> The description of the data source. @@ -116 +120,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -> (structure) +> Constraints: +> +> * min: `0` +> * max: `2048` @@ -118,11 +124,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> The details of a metadata form. ->> ->> content -> (string) ->> ->>> The content of the metadata form. ->>> ->>> Constraints: ->>> ->>> * min: `0` ->>> * max: `300000` ->>> @@ -130,11 +125,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> ->> formName -> (string) [required] ->> ->>> The name of the metadata form. ->>> ->>> Constraints: ->>> ->>> * min: `1` ->>> * max: `128` ->>> * pattern: `^(?![0-9_])\w+$|^_\w*[a-zA-Z0-9]\w*$` ->>> @@ -142,11 +127 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> ->> typeIdentifier -> (string) ->> ->>> The ID of the metadata form type. ->>> ->>> Constraints: ->>> ->>> * min: `1` ->>> * max: `385` ->>> * pattern: `^(?!\.)[\w\.]*\w$` ->>> +`--domain-identifier` (string) [required] @@ -154,11 +129,6 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo ->> ->> typeRevision -> (string) ->> ->>> The revision of the metadata form type. ->>> ->>> Constraints: ->>> ->>> * min: `1` ->>> * max: `64` ->>> * pattern: `^[a-zA-Z0-9_-]+$` ->>> +> The ID of the Amazon DataZone domain where the data source is created. +> +> Constraints: +> +> * pattern: `dzd[-_][a-zA-Z0-9_-]{1,36}` +> @@ -167 +137 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/datazo -Shorthand Syntax: +`--project-identifier` (string) [required] @@ -168,0 +139,6 @@ Shorthand Syntax: +> The identifier of the Amazon DataZone project in which you want to add this data source. +> +> Constraints: +> +> * pattern: `[a-zA-Z0-9_-]{1,36}` +> @@ -170 +145,0 @@ Shorthand Syntax: - content=string,formName=string,typeIdentifier=string,typeRevision=string ... @@ -171,0 +147 @@ Shorthand Syntax: +`--environment-identifier` (string) @@ -173 +149,6 @@ Shorthand Syntax: -JSON Syntax: +> The unique identifier of the Amazon DataZone environment to which the data source publishes assets. +> +> Constraints: +> +> * pattern: `[a-zA-Z0-9_-]{1,36}` +> @@ -176,9 +157 @@ JSON Syntax: - [ - { - "content": "string", - "formName": "string", - "typeIdentifier": "string", - "typeRevision": "string" - } - ... - ] +`--connection-identifier` (string) @@ -185,0 +159,6 @@ JSON Syntax: +> The ID of the connection. +> +> Constraints: +> +> * pattern: `[a-zA-Z0-9_-]{1,36}` +> @@ -187 +165,0 @@ JSON Syntax: -`--client-token` (string) @@ -189 +167,10 @@ JSON Syntax: -> A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. +`--type` (string) [required] + +> The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for Amazon Web Services Glue and Amazon Redshift. +> +> Constraints: +> +> * min: `1` +> * max: `256` +> + @@ -202,15 +188,0 @@ JSON Syntax: ->> ->> autoImportDataQualityResult -> (boolean) ->> ->>> Specifies whether to automatically import data quality metrics as part of the data source run. ->> ->> catalogName -> (string) ->> ->>> The catalog name in the Amazon Web Services Glue run configuration. ->>> ->>> Constraints: ->>> ->>> * min: `1` ->>> * max: `128` ->>> - @@ -224 +196 @@ JSON Syntax: ->>> * pattern: `^arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]{1,128}$` +>>> * pattern: `arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]{1,128}` @@ -245,0 +218,11 @@ JSON Syntax: +>>>> +>>>> schemaName -> (string) +>>>> +>>>>> The schema name specified in the relational filter configuration for the data source. +>>>>> +>>>>> Constraints: +>>>>> +>>>>> * min: `1` +>>>>> * max: `128` +>>>>> + @@ -255 +238 @@ JSON Syntax: ->>>>>> expression -> (string) [required] +>>>>>> type -> (string) [required] @@ -257 +240 @@ JSON Syntax: ->>>>>>> The search filter expression. +>>>>>>> The search filter explresison type. @@ -259 +242 @@ JSON Syntax: ->>>>>>> Constraints: