@aws-sdk/client-transcribe 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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -44,16 +44,16 @@ using your favorite package manager:
44
44
 
45
45
  The AWS SDK is modulized by clients and commands.
46
46
  To send a request, you only need to import the `TranscribeClient` and
47
- the commands you need, for example `CreateCallAnalyticsCategoryCommand`:
47
+ the commands you need, for example `ListVocabulariesCommand`:
48
48
 
49
49
  ```js
50
50
  // ES5 example
51
- const { TranscribeClient, CreateCallAnalyticsCategoryCommand } = require("@aws-sdk/client-transcribe");
51
+ const { TranscribeClient, ListVocabulariesCommand } = require("@aws-sdk/client-transcribe");
52
52
  ```
53
53
 
54
54
  ```ts
55
55
  // ES6+ example
56
- import { TranscribeClient, CreateCallAnalyticsCategoryCommand } from "@aws-sdk/client-transcribe";
56
+ import { TranscribeClient, ListVocabulariesCommand } from "@aws-sdk/client-transcribe";
57
57
  ```
58
58
 
59
59
  ### Usage
@@ -72,7 +72,7 @@ const client = new TranscribeClient({ region: "REGION" });
72
72
  const params = {
73
73
  /** input parameters */
74
74
  };
75
- const command = new CreateCallAnalyticsCategoryCommand(params);
75
+ const command = new ListVocabulariesCommand(params);
76
76
  ```
77
77
 
78
78
  #### Async/await
@@ -151,7 +151,7 @@ const client = new AWS.Transcribe({ region: "REGION" });
151
151
 
152
152
  // async/await.
153
153
  try {
154
- const data = await client.createCallAnalyticsCategory(params);
154
+ const data = await client.listVocabularies(params);
155
155
  // process data.
156
156
  } catch (error) {
157
157
  // error handling.
@@ -159,7 +159,7 @@ try {
159
159
 
160
160
  // Promises.
161
161
  client
162
- .createCallAnalyticsCategory(params)
162
+ .listVocabularies(params)
163
163
  .then((data) => {
164
164
  // process data.
165
165
  })
@@ -168,7 +168,7 @@ client
168
168
  });
169
169
 
170
170
  // callbacks.
171
- client.createCallAnalyticsCategory(params, (err, data) => {
171
+ client.listVocabularies(params, (err, data) => {
172
172
  // process err and data.
173
173
  });
174
174
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe",
3
3
  "description": "AWS SDK for JavaScript Transcribe Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
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.418.0",
25
- "@aws-sdk/credential-provider-node": "3.418.0",
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",