@aws-sdk/client-application-discovery-service 3.418.0 → 3.421.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -129,13 +129,13 @@ using your favorite package manager:
|
|
|
129
129
|
|
|
130
130
|
The AWS SDK is modulized by clients and commands.
|
|
131
131
|
To send a request, you only need to import the `ApplicationDiscoveryServiceClient` and
|
|
132
|
-
the commands you need, for example `
|
|
132
|
+
the commands you need, for example `ListConfigurationsCommand`:
|
|
133
133
|
|
|
134
134
|
```js
|
|
135
135
|
// ES5 example
|
|
136
136
|
const {
|
|
137
137
|
ApplicationDiscoveryServiceClient,
|
|
138
|
-
|
|
138
|
+
ListConfigurationsCommand,
|
|
139
139
|
} = require("@aws-sdk/client-application-discovery-service");
|
|
140
140
|
```
|
|
141
141
|
|
|
@@ -143,7 +143,7 @@ const {
|
|
|
143
143
|
// ES6+ example
|
|
144
144
|
import {
|
|
145
145
|
ApplicationDiscoveryServiceClient,
|
|
146
|
-
|
|
146
|
+
ListConfigurationsCommand,
|
|
147
147
|
} from "@aws-sdk/client-application-discovery-service";
|
|
148
148
|
```
|
|
149
149
|
|
|
@@ -163,7 +163,7 @@ const client = new ApplicationDiscoveryServiceClient({ region: "REGION" });
|
|
|
163
163
|
const params = {
|
|
164
164
|
/** input parameters */
|
|
165
165
|
};
|
|
166
|
-
const command = new
|
|
166
|
+
const command = new ListConfigurationsCommand(params);
|
|
167
167
|
```
|
|
168
168
|
|
|
169
169
|
#### Async/await
|
|
@@ -242,7 +242,7 @@ const client = new AWS.ApplicationDiscoveryService({ region: "REGION" });
|
|
|
242
242
|
|
|
243
243
|
// async/await.
|
|
244
244
|
try {
|
|
245
|
-
const data = await client.
|
|
245
|
+
const data = await client.listConfigurations(params);
|
|
246
246
|
// process data.
|
|
247
247
|
} catch (error) {
|
|
248
248
|
// error handling.
|
|
@@ -250,7 +250,7 @@ try {
|
|
|
250
250
|
|
|
251
251
|
// Promises.
|
|
252
252
|
client
|
|
253
|
-
.
|
|
253
|
+
.listConfigurations(params)
|
|
254
254
|
.then((data) => {
|
|
255
255
|
// process data.
|
|
256
256
|
})
|
|
@@ -259,7 +259,7 @@ client
|
|
|
259
259
|
});
|
|
260
260
|
|
|
261
261
|
// callbacks.
|
|
262
|
-
client.
|
|
262
|
+
client.listConfigurations(params, (err, data) => {
|
|
263
263
|
// process err and data.
|
|
264
264
|
});
|
|
265
265
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-discovery-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Discovery Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.421.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.421.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.421.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|