@aws-sdk/client-codeconnections 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
@@ -129,6 +129,45 @@ const params = { /** input parameters */ };
129
129
  const command = new ListHostsCommand(params);
130
130
  ```
131
131
 
132
+ #### Supported Message Protocols
133
+
134
+ This client supports multiple protocols.
135
+
136
+ The default for this client is **AWS JSON (RPC) 1.0**.
137
+
138
+ We have selected this default based on our evaluation of the
139
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
140
+ but you have the option to do so, for example to support existing integrations or tests.
141
+ Selecting a non-default protocol changes the format
142
+ of the data sent over the network, but does not affect how you interact with the
143
+ client using JavaScript objects.
144
+
145
+ Install the `@aws-sdk/config` package to access alternate protocols.
146
+
147
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
148
+
149
+ ##### AWS JSON (RPC) 1.0
150
+
151
+ This protocol uses JSON payloads.
152
+ ```js
153
+ import { AwsJson1_0Protocol } from "@aws-sdk/config/protocol";
154
+
155
+ const client = new CodeConnectionsClient({
156
+ protocol: AwsJson1_0Protocol
157
+ });
158
+ ```
159
+
160
+ ##### Smithy RPC v2 CBOR
161
+
162
+ This protocol uses CBOR payloads.
163
+ ```js
164
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
165
+
166
+ const client = new CodeConnectionsClient({
167
+ protocol: AwsSmithyRpcV2CborProtocol
168
+ });
169
+ ```
170
+
132
171
  #### Async/await
133
172
 
134
173
  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-codeconnections",
3
- "version": "3.1147.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Codeconnections Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codeconnections",
6
6
  "license": "Apache-2.0",