@aws-sdk/client-snowball 3.1033.0 → 3.1035.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
@@ -56,6 +56,45 @@ const params = { /** input parameters */ };
56
56
  const command = new ListJobsCommand(params);
57
57
  ```
58
58
 
59
+ #### Supported Message Protocols
60
+
61
+ This client supports multiple protocols.
62
+
63
+ The default for this client is **AWS JSON (RPC) 1.1**.
64
+
65
+ We have selected this default based on our evaluation of the
66
+ performance characteristics of this protocol format in JavaScript. You don't need to change it,
67
+ but you have the option to do so, for example to support existing integrations or tests.
68
+ Selecting a non-default protocol changes the format
69
+ of the data sent over the network, but does not affect how you interact with the
70
+ client using JavaScript objects.
71
+
72
+ Install the `@aws-sdk/config` package to access alternate protocols.
73
+
74
+ See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
75
+
76
+ ##### AWS JSON (RPC) 1.1
77
+
78
+ This protocol uses JSON payloads.
79
+ ```js
80
+ import { AwsJson1_1Protocol } from "@aws-sdk/config/protocol";
81
+
82
+ const client = new SnowballClient({
83
+ protocol: AwsJson1_1Protocol
84
+ });
85
+ ```
86
+
87
+ ##### Smithy RPC v2 CBOR
88
+
89
+ This protocol uses CBOR payloads.
90
+ ```js
91
+ import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
92
+
93
+ const client = new SnowballClient({
94
+ protocol: AwsSmithyRpcV2CborProtocol
95
+ });
96
+ ```
97
+
59
98
  #### Async/await
60
99
 
61
100
  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-snowball",
3
3
  "description": "AWS SDK for JavaScript Snowball Client for Node.js, Browser and React Native",
4
- "version": "3.1033.0",
4
+ "version": "3.1035.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-snowball",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.2",
25
- "@aws-sdk/credential-provider-node": "^3.972.33",
24
+ "@aws-sdk/core": "^3.974.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.35",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.32",
30
- "@aws-sdk/region-config-resolver": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.34",
30
+ "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.7",
32
+ "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.18",
35
- "@smithy/config-resolver": "^4.4.16",
36
- "@smithy/core": "^3.23.15",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.20",
35
+ "@smithy/config-resolver": "^4.4.17",
36
+ "@smithy/core": "^3.23.16",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
38
38
  "@smithy/hash-node": "^4.2.14",
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.30",
42
- "@smithy/middleware-retry": "^4.5.3",
43
- "@smithy/middleware-serde": "^4.2.18",
41
+ "@smithy/middleware-endpoint": "^4.4.31",
42
+ "@smithy/middleware-retry": "^4.5.4",
43
+ "@smithy/middleware-serde": "^4.2.19",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.5.3",
46
+ "@smithy/node-http-handler": "^4.6.0",
47
47
  "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.11",
48
+ "@smithy/smithy-client": "^4.12.12",
49
49
  "@smithy/types": "^4.14.1",
50
50
  "@smithy/url-parser": "^4.2.14",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.47",
55
- "@smithy/util-defaults-mode-node": "^4.2.52",
56
- "@smithy/util-endpoints": "^3.4.1",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.48",
55
+ "@smithy/util-defaults-mode-node": "^4.2.53",
56
+ "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.2",
58
+ "@smithy/util-retry": "^4.3.3",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },