@aws-sdk/client-transcribe 3.1165.0 → 3.1167.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 CHANGED
@@ -72,6 +72,45 @@ const params = { /** input parameters */ };
72
72
  const command = new ListVocabulariesCommand(params);
73
73
  ```
74
74
 
75
+ #### Supported Message Protocols
76
+
77
+ This client supports multiple protocols.
78
+
79
+ The default for this client is **AWS JSON (RPC) 1.1**.
80
+
81
+ We have selected this default based on our evaluation of the
82
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
83
+ but you have the option to do so, for example to support existing integrations or tests.
84
+ Selecting a non-default protocol changes the format
85
+ of the data sent over the network, but does not affect how you interact with the
86
+ client using JavaScript objects.
87
+
88
+ Install the `@aws-sdk/config` package to access alternate protocols.
89
+
90
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
91
+
92
+ ##### AWS JSON (RPC) 1.1
93
+
94
+ This protocol uses JSON payloads.
95
+ ```js
96
+ import { AwsJson1_1Protocol } from "@aws-sdk/config/protocol";
97
+
98
+ const client = new TranscribeClient({
99
+ protocol: AwsJson1_1Protocol
100
+ });
101
+ ```
102
+
103
+ ##### Smithy RPC v2 CBOR
104
+
105
+ This protocol uses CBOR payloads.
106
+ ```js
107
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
108
+
109
+ const client = new TranscribeClient({
110
+ protocol: AwsSmithyRpcV2CborProtocol
111
+ });
112
+ ```
113
+
75
114
  #### Async/await
76
115
 
77
116
  We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1164.0";
72
+ var version = "3.1166.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe",
3
- "version": "3.1165.0",
3
+ "version": "3.1167.0",
4
4
  "description": "AWS SDK for JavaScript Transcribe Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transcribe",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.980.2",
50
- "@aws-sdk/credential-provider-node": "^3.972.95",
49
+ "@aws-sdk/core": "^3.981.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.97",
51
51
  "@aws-sdk/types": "^3.975.1",
52
- "@smithy/core": "^3.39.0",
52
+ "@smithy/core": "^3.40.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.1",
54
54
  "@smithy/node-http-handler": "^4.14.2",
55
55
  "@smithy/types": "^4.20.0",