@aws-sdk/client-network-firewall 3.1166.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
@@ -137,6 +137,45 @@ const params = { /** input parameters */ };
137
137
  const command = new ListProxiesCommand(params);
138
138
  ```
139
139
 
140
+ #### Supported Message Protocols
141
+
142
+ This client supports multiple protocols.
143
+
144
+ The default for this client is **AWS JSON (RPC) 1.0**.
145
+
146
+ We have selected this default based on our evaluation of the
147
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
148
+ but you have the option to do so, for example to support existing integrations or tests.
149
+ Selecting a non-default protocol changes the format
150
+ of the data sent over the network, but does not affect how you interact with the
151
+ client using JavaScript objects.
152
+
153
+ Install the `@aws-sdk/config` package to access alternate protocols.
154
+
155
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
156
+
157
+ ##### AWS JSON (RPC) 1.0
158
+
159
+ This protocol uses JSON payloads.
160
+ ```js
161
+ import { AwsJson1_0Protocol } from "@aws-sdk/config/protocol";
162
+
163
+ const client = new NetworkFirewallClient({
164
+ protocol: AwsJson1_0Protocol
165
+ });
166
+ ```
167
+
168
+ ##### Smithy RPC v2 CBOR
169
+
170
+ This protocol uses CBOR payloads.
171
+ ```js
172
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
173
+
174
+ const client = new NetworkFirewallClient({
175
+ protocol: AwsSmithyRpcV2CborProtocol
176
+ });
177
+ ```
178
+
140
179
  #### Async/await
141
180
 
142
181
  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.1165.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-network-firewall",
3
- "version": "3.1166.0",
3
+ "version": "3.1167.0",
4
4
  "description": "AWS SDK for JavaScript Network Firewall Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-network-firewall",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@aws-sdk/core": "^3.981.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.96",
50
+ "@aws-sdk/credential-provider-node": "^3.972.97",
51
51
  "@aws-sdk/types": "^3.975.1",
52
52
  "@smithy/core": "^3.40.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.1",