@aws-sdk/client-pi 3.1147.0 → 3.1148.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
@@ -75,6 +75,45 @@ const params = { /** input parameters */ };
75
75
  const command = new ListTagsForResourceCommand(params);
76
76
  ```
77
77
 
78
+ #### Supported Message Protocols
79
+
80
+ This client supports multiple protocols.
81
+
82
+ The default for this client is **AWS JSON (RPC) 1.1**.
83
+
84
+ We have selected this default based on our evaluation of the
85
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
86
+ but you have the option to do so, for example to support existing integrations or tests.
87
+ Selecting a non-default protocol changes the format
88
+ of the data sent over the network, but does not affect how you interact with the
89
+ client using JavaScript objects.
90
+
91
+ Install the `@aws-sdk/config` package to access alternate protocols.
92
+
93
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
94
+
95
+ ##### AWS JSON (RPC) 1.1
96
+
97
+ This protocol uses JSON payloads.
98
+ ```js
99
+ import { AwsJson1_1Protocol } from "@aws-sdk/config/protocol";
100
+
101
+ const client = new PIClient({
102
+ protocol: AwsJson1_1Protocol
103
+ });
104
+ ```
105
+
106
+ ##### Smithy RPC v2 CBOR
107
+
108
+ This protocol uses CBOR payloads.
109
+ ```js
110
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
111
+
112
+ const client = new PIClient({
113
+ protocol: AwsSmithyRpcV2CborProtocol
114
+ });
115
+ ```
116
+
78
117
  #### Async/await
79
118
 
80
119
  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.1146.0";
72
+ var version = "3.1147.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-pi",
3
- "version": "3.1147.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Pi Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pi",
6
6
  "license": "Apache-2.0",