@aws-sdk/client-medical-imaging 3.418.0 → 3.423.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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -172,16 +172,16 @@ using your favorite package manager:
172
172
 
173
173
  The AWS SDK is modulized by clients and commands.
174
174
  To send a request, you only need to import the `MedicalImagingClient` and
175
- the commands you need, for example `CopyImageSetCommand`:
175
+ the commands you need, for example `ListDatastoresCommand`:
176
176
 
177
177
  ```js
178
178
  // ES5 example
179
- const { MedicalImagingClient, CopyImageSetCommand } = require("@aws-sdk/client-medical-imaging");
179
+ const { MedicalImagingClient, ListDatastoresCommand } = require("@aws-sdk/client-medical-imaging");
180
180
  ```
181
181
 
182
182
  ```ts
183
183
  // ES6+ example
184
- import { MedicalImagingClient, CopyImageSetCommand } from "@aws-sdk/client-medical-imaging";
184
+ import { MedicalImagingClient, ListDatastoresCommand } from "@aws-sdk/client-medical-imaging";
185
185
  ```
186
186
 
187
187
  ### Usage
@@ -200,7 +200,7 @@ const client = new MedicalImagingClient({ region: "REGION" });
200
200
  const params = {
201
201
  /** input parameters */
202
202
  };
203
- const command = new CopyImageSetCommand(params);
203
+ const command = new ListDatastoresCommand(params);
204
204
  ```
205
205
 
206
206
  #### Async/await
@@ -279,7 +279,7 @@ const client = new AWS.MedicalImaging({ region: "REGION" });
279
279
 
280
280
  // async/await.
281
281
  try {
282
- const data = await client.copyImageSet(params);
282
+ const data = await client.listDatastores(params);
283
283
  // process data.
284
284
  } catch (error) {
285
285
  // error handling.
@@ -287,7 +287,7 @@ try {
287
287
 
288
288
  // Promises.
289
289
  client
290
- .copyImageSet(params)
290
+ .listDatastores(params)
291
291
  .then((data) => {
292
292
  // process data.
293
293
  })
@@ -296,7 +296,7 @@ client
296
296
  });
297
297
 
298
298
  // callbacks.
299
- client.copyImageSet(params, (err, data) => {
299
+ client.listDatastores(params, (err, data) => {
300
300
  // process err and data.
301
301
  });
302
302
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medical-imaging",
3
3
  "description": "AWS SDK for JavaScript Medical Imaging Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
4
+ "version": "3.423.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.418.0",
25
- "@aws-sdk/credential-provider-node": "3.418.0",
24
+ "@aws-sdk/client-sts": "3.423.0",
25
+ "@aws-sdk/credential-provider-node": "3.423.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",