@aws-sdk/client-gamelift 3.1033.0 → 3.1034.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.
Files changed (2) hide show
  1. package/README.md +39 -0
  2. package/package.json +18 -18
package/README.md CHANGED
@@ -108,6 +108,45 @@ const params = { /** input parameters */ };
108
108
  const command = new ListAliasesCommand(params);
109
109
  ```
110
110
 
111
+ #### Supported Message Protocols
112
+
113
+ This client supports multiple protocols.
114
+
115
+ The default for this client is **AWS JSON (RPC) 1.1**.
116
+
117
+ We have selected this default based on our evaluation of the
118
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
119
+ but you have the option to do so, for example to support existing integrations or tests.
120
+ Selecting a non-default protocol changes the format
121
+ of the data sent over the network, but does not affect how you interact with the
122
+ client using JavaScript objects.
123
+
124
+ Install the `@aws-sdk/config` package to access alternate protocols.
125
+
126
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
127
+
128
+ ##### AWS JSON (RPC) 1.1
129
+
130
+ This protocol uses JSON payloads.
131
+ ```js
132
+ import { AwsJson1_1Protocol } from "@aws-sdk/config/protocol";
133
+
134
+ const client = new GameLiftClient({
135
+ protocol: AwsJson1_1Protocol
136
+ });
137
+ ```
138
+
139
+ ##### Smithy RPC v2 CBOR
140
+
141
+ This protocol uses CBOR payloads.
142
+ ```js
143
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
144
+
145
+ const client = new GameLiftClient({
146
+ protocol: AwsSmithyRpcV2CborProtocol
147
+ });
148
+ ```
149
+
111
150
  #### Async/await
112
151
 
113
152
  We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-gamelift",
3
3
  "description": "AWS SDK for JavaScript Gamelift Client for Node.js, Browser and React Native",
4
- "version": "3.1033.0",
4
+ "version": "3.1034.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-gamelift",
@@ -23,41 +23,41 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.974.2",
27
- "@aws-sdk/credential-provider-node": "^3.972.33",
26
+ "@aws-sdk/core": "^3.974.3",
27
+ "@aws-sdk/credential-provider-node": "^3.972.34",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.10",
29
29
  "@aws-sdk/middleware-logger": "^3.972.10",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
31
- "@aws-sdk/middleware-user-agent": "^3.972.32",
32
- "@aws-sdk/region-config-resolver": "^3.972.12",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.33",
32
+ "@aws-sdk/region-config-resolver": "^3.972.13",
33
33
  "@aws-sdk/types": "^3.973.8",
34
- "@aws-sdk/util-endpoints": "^3.996.7",
34
+ "@aws-sdk/util-endpoints": "^3.996.8",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
36
- "@aws-sdk/util-user-agent-node": "^3.973.18",
37
- "@smithy/config-resolver": "^4.4.16",
38
- "@smithy/core": "^3.23.15",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.19",
37
+ "@smithy/config-resolver": "^4.4.17",
38
+ "@smithy/core": "^3.23.16",
39
39
  "@smithy/fetch-http-handler": "^5.3.17",
40
40
  "@smithy/hash-node": "^4.2.14",
41
41
  "@smithy/invalid-dependency": "^4.2.14",
42
42
  "@smithy/middleware-content-length": "^4.2.14",
43
- "@smithy/middleware-endpoint": "^4.4.30",
44
- "@smithy/middleware-retry": "^4.5.3",
45
- "@smithy/middleware-serde": "^4.2.18",
43
+ "@smithy/middleware-endpoint": "^4.4.31",
44
+ "@smithy/middleware-retry": "^4.5.4",
45
+ "@smithy/middleware-serde": "^4.2.19",
46
46
  "@smithy/middleware-stack": "^4.2.14",
47
47
  "@smithy/node-config-provider": "^4.3.14",
48
- "@smithy/node-http-handler": "^4.5.3",
48
+ "@smithy/node-http-handler": "^4.6.0",
49
49
  "@smithy/protocol-http": "^5.3.14",
50
- "@smithy/smithy-client": "^4.12.11",
50
+ "@smithy/smithy-client": "^4.12.12",
51
51
  "@smithy/types": "^4.14.1",
52
52
  "@smithy/url-parser": "^4.2.14",
53
53
  "@smithy/util-base64": "^4.3.2",
54
54
  "@smithy/util-body-length-browser": "^4.2.2",
55
55
  "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.47",
57
- "@smithy/util-defaults-mode-node": "^4.2.52",
58
- "@smithy/util-endpoints": "^3.4.1",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.48",
57
+ "@smithy/util-defaults-mode-node": "^4.2.53",
58
+ "@smithy/util-endpoints": "^3.4.2",
59
59
  "@smithy/util-middleware": "^4.2.14",
60
- "@smithy/util-retry": "^4.3.2",
60
+ "@smithy/util-retry": "^4.3.3",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
62
  "tslib": "^2.6.2"
63
63
  },