@aws-sdk/client-comprehendmedical 3.535.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -2184,9 +2184,6 @@ var _ComprehendMedical = class _ComprehendMedical extends ComprehendMedicalClien
2184
2184
  __name(_ComprehendMedical, "ComprehendMedical");
2185
2185
  var ComprehendMedical = _ComprehendMedical;
2186
2186
  (0, import_smithy_client.createAggregatedClient)(commands, ComprehendMedical);
2187
-
2188
- // src/index.ts
2189
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
2190
2187
  // Annotate the CommonJS export names for ESM import in node:
2191
2188
 
2192
2189
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -2,5 +2,4 @@ export * from "./ComprehendMedicalClient";
2
2
  export * from "./ComprehendMedical";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
- import "@aws-sdk/util-endpoints";
6
5
  export { ComprehendMedicalServiceException } from "./models/ComprehendMedicalServiceException";
@@ -30,6 +30,8 @@ declare const DetectEntitiesCommand_base: {
30
30
  * <p>Inspects the clinical text for a variety of medical entities and returns specific
31
31
  * information about them such as entity category, location, and confidence score on that
32
32
  * information.</p>
33
+ *
34
+ * @deprecated This operation is deprecated, use DetectEntitiesV2 instead.
33
35
  * @example
34
36
  * Use a bare-bones client and the command you need to make an API call.
35
37
  * ```javascript
@@ -135,7 +137,6 @@ declare const DetectEntitiesCommand_base: {
135
137
  * <p>Base exception class for all service exceptions from ComprehendMedical service.</p>
136
138
  *
137
139
  * @public
138
- * @deprecated This operation is deprecated, use DetectEntitiesV2 instead.
139
140
  */
140
141
  export declare class DetectEntitiesCommand extends DetectEntitiesCommand_base {
141
142
  }
@@ -10,5 +10,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
10
10
  export { ComprehendMedicalExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./models";
13
- import "@aws-sdk/util-endpoints";
14
13
  export { ComprehendMedicalServiceException } from "./models/ComprehendMedicalServiceException";
@@ -5,5 +5,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ComprehendMedicalExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./models";
8
- import "@aws-sdk/util-endpoints";
9
8
  export { ComprehendMedicalServiceException } from "./models/ComprehendMedicalServiceException";
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.535.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-comprehendmedical",
@@ -20,16 +20,16 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",