@aws-sdk/client-kendra-ranking 3.1092.0 → 3.1094.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
@@ -53,6 +53,45 @@ const params = { /** input parameters */ };
53
53
  const command = new ListRescoreExecutionPlansCommand(params);
54
54
  ```
55
55
 
56
+ #### Supported Message Protocols
57
+
58
+ This client supports multiple protocols.
59
+
60
+ The default for this client is **AWS JSON (RPC) 1.0**.
61
+
62
+ We have selected this default based on our evaluation of the
63
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
64
+ but you have the option to do so, for example to support existing integrations or tests.
65
+ Selecting a non-default protocol changes the format
66
+ of the data sent over the network, but does not affect how you interact with the
67
+ client using JavaScript objects.
68
+
69
+ Install the `@aws-sdk/config` package to access alternate protocols.
70
+
71
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
72
+
73
+ ##### AWS JSON (RPC) 1.0
74
+
75
+ This protocol uses JSON payloads.
76
+ ```js
77
+ import { AwsJson1_0Protocol } from "@aws-sdk/config/protocol";
78
+
79
+ const client = new KendraRankingClient({
80
+ protocol: AwsJson1_0Protocol
81
+ });
82
+ ```
83
+
84
+ ##### Smithy RPC v2 CBOR
85
+
86
+ This protocol uses CBOR payloads.
87
+ ```js
88
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
89
+
90
+ const client = new KendraRankingClient({
91
+ protocol: AwsSmithyRpcV2CborProtocol
92
+ });
93
+ ```
94
+
56
95
  #### Async/await
57
96
 
58
97
  We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1091.0";
70
+ var version = "3.1093.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kendra-ranking",
3
- "version": "3.1092.0",
3
+ "version": "3.1094.0",
4
4
  "description": "AWS SDK for JavaScript Kendra Ranking Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kendra-ranking",
6
6
  "license": "Apache-2.0",