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