AWS cli documentation change
Summary
Added examples section with two new examples: creating a Microsoft SQL Server data provider with SSL verification and creating a virtual data provider. Updated CLI version references.
Security assessment
The examples demonstrate security features like SSL certificate verification (verify-full mode) and virtual providers, but there's no evidence of addressing a specific vulnerability. The SSL configuration guidance improves security awareness.
Diff
diff --git a/cli/latest/reference/dms/create-data-provider.md b/cli/latest/reference/dms/create-data-provider.md index bc44d59f4..3f0f3b458 100644 --- a//cli/latest/reference/dms/create-data-provider.md +++ b//cli/latest/reference/dms/create-data-provider.md @@ -15 +15 @@ - * [AWS CLI 2.35.19 Command Reference](../../index.html) » + * [AWS CLI 2.35.21 Command Reference](../../index.html) » @@ -35,0 +36 @@ + * Examples @@ -855,0 +857,83 @@ The formatting style for error output. By default, errors are displayed in enhan +## Examples¶ + +### Note + +To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the _AWS CLI User Guide_ for more information. + +Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the _AWS CLI User Guide_ . + +**Example 1: To create a Microsoft SQL Server data provider** + +The following `create-data-provider` example creates a Microsoft SQL Server data provider. + + + aws dms create-data-provider \ + --data-provider-name example-data-provider \ + --engine sqlserver \ + --description "Example data provider for documentation" \ + --settings MicrosoftSqlServerSettings={ServerName=example-source-server.us-east-1.rds.amazonaws.com,Port=1433,DatabaseName=ExampleDatabase,SslMode=verify-full,CertificateArn=arn:aws:dms:us-east-1:123456789012:cert:EXAMPLEABCDEFGHIJKLMNOPQRS} + + +Output: + + + { + "DataProvider": { + "DataProviderName": "example-data-provider", + "DataProviderArn": "arn:aws:dms:us-east-1:123456789012:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS", + "DataProviderCreationTime": "2026-01-09T12:30:00.000000+00:00", + "Description": "Example data provider for documentation", + "Engine": "sqlserver", + "Settings": { + "MicrosoftSqlServerSettings": { + "ServerName": "example-source-server.us-east-1.rds.amazonaws.com", + "Port": 1433, + "DatabaseName": "ExampleDatabase", + "SslMode": "verify-full", + "CertificateArn": "arn:aws:dms:us-east-1:123456789012:cert:EXAMPLEABCDEFGHIJKLMNOPQRS" + } + } + } + } + + +For more information, see [Working with data providers](https://docs.aws.amazon.com/dms/latest/userguide/data-providers.html) in the _AWS Database Migration Service User Guide_. + +**Example 2: To create a virtual data provider** + +The following `create-data-provider` example creates a virtual data provider, which doesn’t require a connection to the database. + + + aws dms create-data-provider \ + --data-provider-name example-virtual-data-provider \ + --engine aurora-postgresql \ + --description "Example data provider for documentation" \ + --virtual \ + --settings PostgreSqlSettings={ServerName=virtual,Port=5432,DatabaseName=virtual,SslMode=none} + + +Output: + + + { + "DataProvider": { + "DataProviderName": "example-virtual-data-provider", + "DataProviderArn": "arn:aws:dms:us-east-1:123456789012:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS", + "DataProviderCreationTime": "2026-01-09T12:30:00.000000+00:00", + "Description": "Example data provider for documentation", + "Engine": "aurora-postgresql", + "Virtual": true, + "Settings": { + "PostgreSqlSettings": { + "ServerName": "virtual", + "Port": 5432, + "DatabaseName": "virtual", + "SslMode": "none" + } + } + } + } + + +For more information, see [Working with virtual data providers](https://docs.aws.amazon.com/dms/latest/userguide/virtual-data-provider.html) in the _AWS Database Migration Service User Guide_. + @@ -1369 +1453 @@ DataProvider -> (structure) - * [AWS CLI 2.35.19 Command Reference](../../index.html) » + * [AWS CLI 2.35.21 Command Reference](../../index.html) »