Skip to content

Commit 0f4b1b2

Browse files
committed
chore: move rds node client to rds universal client
1 parent f60c6c0 commit 0f4b1b2

21 files changed

+16
-18
lines changed

clients/node/client-rds-data-node/README.md renamed to clients/client-rds-data/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# @aws-sdk/client-rds-data-node
1+
# @aws-sdk/client-rds-data
22

3-
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-rds-data-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-rds-data-node)
4-
[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-rds-data-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-rds-data-node)
3+
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-rds-data/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-rds-data)
4+
[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-rds-data.svg)](https://www.npmjs.com/package/@aws-sdk/client-rds-data)
55

66
## Description
77

@@ -18,7 +18,7 @@ Serverless</a> in the <i>Amazon Aurora User Guide</i>.</p>
1818
To install the this package using NPM, simply type the following into a terminal window:
1919

2020
```
21-
npm install @aws-sdk/client-rds-data-node
21+
npm install @aws-sdk/client-rds-data
2222
```
2323

2424
## Getting Started
@@ -31,16 +31,16 @@ The AWS SDK is modulized by clients and commands in CommonJS modules. To send a
3131
//JavaScript
3232
const {
3333
RdsDataServiceClient
34-
} = require("@aws-sdk/client-rds-data-node/RdsDataServiceClient");
34+
} = require("@aws-sdk/client-rds-data/RdsDataServiceClient");
3535
const {
3636
BatchExecuteStatementCommand
37-
} = require("@aws-sdk/client-rds-data-node/commands/BatchExecuteStatementCommand");
37+
} = require("@aws-sdk/client-rds-data/commands/BatchExecuteStatementCommand");
3838
```
3939

4040
```javascript
4141
//TypeScript
42-
import { RdsDataServiceClient } from "@aws-sdk/client-rds-data-node/RdsDataServiceClient";
43-
import { BatchExecuteStatementCommand } from "@aws-sdk/client-rds-data-node/commands/BatchExecuteStatementCommand";
42+
import { RdsDataServiceClient } from "@aws-sdk/client-rds-data/RdsDataServiceClient";
43+
import { BatchExecuteStatementCommand } from "@aws-sdk/client-rds-data/commands/BatchExecuteStatementCommand";
4444
```
4545

4646
### Usage
@@ -90,7 +90,7 @@ rDSData.send(batchExecuteStatementCommand, (err, data) => {
9090
The SDK can also send requests using the simplified callback style from version 2 of the SDK.
9191

9292
```javascript
93-
import * as AWS from "@aws-sdk/@aws-sdk/client-rds-data-node/RDSData";
93+
import * as AWS from "@aws-sdk/@aws-sdk/client-rds-data/RDSData";
9494
const rDSData = new AWS.RDSData({ region: "region" });
9595
rDSData.batchExecuteStatement(params, (err, data) => {
9696
//do something
@@ -131,7 +131,7 @@ Please use these community resources for getting help. We use the GitHub issues
131131

132132
## Contributing
133133

134-
This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/@aws-sdk/client-rds-data-node' package is updated. To contribute to SDK you can checkout our [code generator package][].
134+
This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/@aws-sdk/client-rds-data' package is updated. To contribute to SDK you can checkout our [code generator package][].
135135

136136
## License
137137

clients/node/client-rds-data-node/package.json renamed to clients/client-rds-data/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@aws-sdk/client-rds-data-node",
2+
"name": "@aws-sdk/client-rds-data",
33
"description": "Node SDK for AWS RDS DataService",
44
"version": "0.1.0-preview.3",
55
"scripts": {

jest.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ module.exports = {
55
projects: ["<rootDir>/packages/*/jest.config.js"],
66
testPathIgnorePatterns: [
77
"<rootDir>/packages/add-glacier-checksum-headers-browser",
8-
"<rootDir>/clients/.*/client-.*"
8+
"<rootDir>/clients/client-.*"
99
],
1010
coveragePathIgnorePatterns: [
1111
"/node_modules/",
1212
"<rootDir>/packages/add-glacier-checksum-headers-browser",
1313
"<rootDir>/packages/crypto-sjcl-*",
1414
"<rootDir>/packages/xml-body-parser/vendor/",
15-
"<rootDir>/clients/.*/client-.*",
15+
"<rootDir>/clients/client-.*",
1616
"/__fixtures__/"
1717
]
1818
};

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
},
4949
"workspaces": [
5050
"packages/*",
51-
"clients/browser/*",
52-
"clients/node/*",
53-
"clients/universal/*"
51+
"clients/*"
5452
],
5553
"husky": {
5654
"hooks": {
@@ -64,4 +62,4 @@
6462
"git add"
6563
]
6664
}
67-
}
65+
}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8706,7 +8706,7 @@ [email protected]:
87068706
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.4.tgz#c585cb952912263d915b462726ce244ba510ef3d"
87078707
integrity sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg==
87088708

8709-
[email protected], typescript@^3.7.0-dev.20190926:
8709+
87108710
version "3.7.0-dev.20190926"
87118711
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.0-dev.20190926.tgz#2e90fa4e56fad0fddb87e4d837cd33c7e4a55e7c"
87128712
integrity sha512-uOQij3UHJnzxY/8Kv1kdmvWTjghgbCD0kBOgVGbY7Rni8ER51O8iPMmI4YpanZmaiZbPK6zUaS60b04/2C91bA==

0 commit comments

Comments
 (0)