@aws-sdk/client-fms 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
@@ -57,6 +57,45 @@ const params = { /** input parameters */ };
57
57
  const command = new ListPoliciesCommand(params);
58
58
  ```
59
59
 
60
+ #### Supported Message Protocols
61
+
62
+ This client supports multiple protocols.
63
+
64
+ The default for this client is **AWS JSON (RPC) 1.1**.
65
+
66
+ We have selected this default based on our evaluation of the
67
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
68
+ but you have the option to do so, for example to support existing integrations or tests.
69
+ Selecting a non-default protocol changes the format
70
+ of the data sent over the network, but does not affect how you interact with the
71
+ client using JavaScript objects.
72
+
73
+ Install the `@aws-sdk/config` package to access alternate protocols.
74
+
75
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
76
+
77
+ ##### AWS JSON (RPC) 1.1
78
+
79
+ This protocol uses JSON payloads.
80
+ ```js
81
+ import { AwsJson1_1Protocol } from "@aws-sdk/config/protocol";
82
+
83
+ const client = new FMSClient({
84
+ protocol: AwsJson1_1Protocol
85
+ });
86
+ ```
87
+
88
+ ##### Smithy RPC v2 CBOR
89
+
90
+ This protocol uses CBOR payloads.
91
+ ```js
92
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
93
+
94
+ const client = new FMSClient({
95
+ protocol: AwsSmithyRpcV2CborProtocol
96
+ });
97
+ ```
98
+
60
99
  #### Async/await
61
100
 
62
101
  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-fms",
3
- "version": "3.1147.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Fms Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-fms",
6
6
  "license": "Apache-2.0",