@aws-sdk/client-health 3.1146.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
@@ -93,6 +93,45 @@ const params = { /** input parameters */ };
93
93
  const command = new DescribeEventsCommand(params);
94
94
  ```
95
95
 
96
+ #### Supported Message Protocols
97
+
98
+ This client supports multiple protocols.
99
+
100
+ The default for this client is **AWS JSON (RPC) 1.1**.
101
+
102
+ We have selected this default based on our evaluation of the
103
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
104
+ but you have the option to do so, for example to support existing integrations or tests.
105
+ Selecting a non-default protocol changes the format
106
+ of the data sent over the network, but does not affect how you interact with the
107
+ client using JavaScript objects.
108
+
109
+ Install the `@aws-sdk/config` package to access alternate protocols.
110
+
111
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
112
+
113
+ ##### AWS JSON (RPC) 1.1
114
+
115
+ This protocol uses JSON payloads.
116
+ ```js
117
+ import { AwsJson1_1Protocol } from "@aws-sdk/config/protocol";
118
+
119
+ const client = new HealthClient({
120
+ protocol: AwsJson1_1Protocol
121
+ });
122
+ ```
123
+
124
+ ##### Smithy RPC v2 CBOR
125
+
126
+ This protocol uses CBOR payloads.
127
+ ```js
128
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
129
+
130
+ const client = new HealthClient({
131
+ protocol: AwsSmithyRpcV2CborProtocol
132
+ });
133
+ ```
134
+
96
135
  #### Async/await
97
136
 
98
137
  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.1145.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-health",
3
- "version": "3.1146.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Health Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-health",
6
6
  "license": "Apache-2.0",