@aws-sdk/client-workdocs 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
@@ -81,16 +81,16 @@ using your favorite package manager:
81
81
 
82
82
  The AWS SDK is modulized by clients and commands.
83
83
  To send a request, you only need to import the `WorkDocsClient` and
84
- the commands you need, for example `AbortDocumentVersionUploadCommand`:
84
+ the commands you need, for example `DescribeUsersCommand`:
85
85
 
86
86
  ```js
87
87
  // ES5 example
88
- const { WorkDocsClient, AbortDocumentVersionUploadCommand } = require("@aws-sdk/client-workdocs");
88
+ const { WorkDocsClient, DescribeUsersCommand } = require("@aws-sdk/client-workdocs");
89
89
  ```
90
90
 
91
91
  ```ts
92
92
  // ES6+ example
93
- import { WorkDocsClient, AbortDocumentVersionUploadCommand } from "@aws-sdk/client-workdocs";
93
+ import { WorkDocsClient, DescribeUsersCommand } from "@aws-sdk/client-workdocs";
94
94
  ```
95
95
 
96
96
  ### Usage
@@ -109,7 +109,7 @@ const client = new WorkDocsClient({ region: "REGION" });
109
109
  const params = {
110
110
  /** input parameters */
111
111
  };
112
- const command = new AbortDocumentVersionUploadCommand(params);
112
+ const command = new DescribeUsersCommand(params);
113
113
  ```
114
114
 
115
115
  #### Async/await
@@ -188,7 +188,7 @@ const client = new AWS.WorkDocs({ region: "REGION" });
188
188
 
189
189
  // async/await.
190
190
  try {
191
- const data = await client.abortDocumentVersionUpload(params);
191
+ const data = await client.describeUsers(params);
192
192
  // process data.
193
193
  } catch (error) {
194
194
  // error handling.
@@ -196,7 +196,7 @@ try {
196
196
 
197
197
  // Promises.
198
198
  client
199
- .abortDocumentVersionUpload(params)
199
+ .describeUsers(params)
200
200
  .then((data) => {
201
201
  // process data.
202
202
  })
@@ -205,7 +205,7 @@ client
205
205
  });
206
206
 
207
207
  // callbacks.
208
- client.abortDocumentVersionUpload(params, (err, data) => {
208
+ client.describeUsers(params, (err, data) => {
209
209
  // process err and data.
210
210
  });
211
211
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workdocs",
3
3
  "description": "AWS SDK for JavaScript Workdocs 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",