@aws-sdk/client-medical-imaging 3.373.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 (159) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +498 -0
  3. package/dist-cjs/MedicalImaging.js +47 -0
  4. package/dist-cjs/MedicalImagingClient.js +41 -0
  5. package/dist-cjs/commands/CopyImageSetCommand.js +46 -0
  6. package/dist-cjs/commands/CreateDatastoreCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteDatastoreCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteImageSetCommand.js +46 -0
  9. package/dist-cjs/commands/GetDICOMImportJobCommand.js +46 -0
  10. package/dist-cjs/commands/GetDatastoreCommand.js +46 -0
  11. package/dist-cjs/commands/GetImageFrameCommand.js +47 -0
  12. package/dist-cjs/commands/GetImageSetCommand.js +46 -0
  13. package/dist-cjs/commands/GetImageSetMetadataCommand.js +47 -0
  14. package/dist-cjs/commands/ListDICOMImportJobsCommand.js +46 -0
  15. package/dist-cjs/commands/ListDatastoresCommand.js +46 -0
  16. package/dist-cjs/commands/ListImageSetVersionsCommand.js +46 -0
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  18. package/dist-cjs/commands/SearchImageSetsCommand.js +47 -0
  19. package/dist-cjs/commands/StartDICOMImportJobCommand.js +46 -0
  20. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  21. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  22. package/dist-cjs/commands/UpdateImageSetMetadataCommand.js +47 -0
  23. package/dist-cjs/commands/index.js +21 -0
  24. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  25. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  26. package/dist-cjs/endpoint/ruleset.js +7 -0
  27. package/dist-cjs/index.js +11 -0
  28. package/dist-cjs/models/MedicalImagingServiceException.js +12 -0
  29. package/dist-cjs/models/index.js +4 -0
  30. package/dist-cjs/models/models_0.js +248 -0
  31. package/dist-cjs/pagination/Interfaces.js +2 -0
  32. package/dist-cjs/pagination/ListDICOMImportJobsPaginator.js +29 -0
  33. package/dist-cjs/pagination/ListDatastoresPaginator.js +29 -0
  34. package/dist-cjs/pagination/ListImageSetVersionsPaginator.js +29 -0
  35. package/dist-cjs/pagination/SearchImageSetsPaginator.js +29 -0
  36. package/dist-cjs/pagination/index.js +8 -0
  37. package/dist-cjs/protocols/Aws_restJson1.js +1693 -0
  38. package/dist-cjs/runtimeConfig.browser.js +39 -0
  39. package/dist-cjs/runtimeConfig.js +48 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +23 -0
  42. package/dist-es/MedicalImaging.js +43 -0
  43. package/dist-es/MedicalImagingClient.js +37 -0
  44. package/dist-es/commands/CopyImageSetCommand.js +42 -0
  45. package/dist-es/commands/CreateDatastoreCommand.js +42 -0
  46. package/dist-es/commands/DeleteDatastoreCommand.js +42 -0
  47. package/dist-es/commands/DeleteImageSetCommand.js +42 -0
  48. package/dist-es/commands/GetDICOMImportJobCommand.js +42 -0
  49. package/dist-es/commands/GetDatastoreCommand.js +42 -0
  50. package/dist-es/commands/GetImageFrameCommand.js +43 -0
  51. package/dist-es/commands/GetImageSetCommand.js +42 -0
  52. package/dist-es/commands/GetImageSetMetadataCommand.js +43 -0
  53. package/dist-es/commands/ListDICOMImportJobsCommand.js +42 -0
  54. package/dist-es/commands/ListDatastoresCommand.js +42 -0
  55. package/dist-es/commands/ListImageSetVersionsCommand.js +42 -0
  56. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  57. package/dist-es/commands/SearchImageSetsCommand.js +43 -0
  58. package/dist-es/commands/StartDICOMImportJobCommand.js +42 -0
  59. package/dist-es/commands/TagResourceCommand.js +42 -0
  60. package/dist-es/commands/UntagResourceCommand.js +42 -0
  61. package/dist-es/commands/UpdateImageSetMetadataCommand.js +43 -0
  62. package/dist-es/commands/index.js +18 -0
  63. package/dist-es/endpoint/EndpointParameters.js +8 -0
  64. package/dist-es/endpoint/endpointResolver.js +8 -0
  65. package/dist-es/endpoint/ruleset.js +4 -0
  66. package/dist-es/index.js +6 -0
  67. package/dist-es/models/MedicalImagingServiceException.js +8 -0
  68. package/dist-es/models/index.js +1 -0
  69. package/dist-es/models/models_0.js +225 -0
  70. package/dist-es/pagination/Interfaces.js +1 -0
  71. package/dist-es/pagination/ListDICOMImportJobsPaginator.js +25 -0
  72. package/dist-es/pagination/ListDatastoresPaginator.js +25 -0
  73. package/dist-es/pagination/ListImageSetVersionsPaginator.js +25 -0
  74. package/dist-es/pagination/SearchImageSetsPaginator.js +25 -0
  75. package/dist-es/pagination/index.js +5 -0
  76. package/dist-es/protocols/Aws_restJson1.js +1654 -0
  77. package/dist-es/runtimeConfig.browser.js +34 -0
  78. package/dist-es/runtimeConfig.js +43 -0
  79. package/dist-es/runtimeConfig.native.js +11 -0
  80. package/dist-es/runtimeConfig.shared.js +19 -0
  81. package/dist-types/MedicalImaging.d.ts +285 -0
  82. package/dist-types/MedicalImagingClient.d.ts +334 -0
  83. package/dist-types/commands/CopyImageSetCommand.d.ts +122 -0
  84. package/dist-types/commands/CreateDatastoreCommand.d.ts +97 -0
  85. package/dist-types/commands/DeleteDatastoreCommand.d.ts +95 -0
  86. package/dist-types/commands/DeleteImageSetCommand.d.ts +95 -0
  87. package/dist-types/commands/GetDICOMImportJobCommand.d.ts +103 -0
  88. package/dist-types/commands/GetDatastoreCommand.d.ts +96 -0
  89. package/dist-types/commands/GetImageFrameCommand.d.ts +96 -0
  90. package/dist-types/commands/GetImageSetCommand.d.ts +102 -0
  91. package/dist-types/commands/GetImageSetMetadataCommand.d.ts +95 -0
  92. package/dist-types/commands/ListDICOMImportJobsCommand.d.ts +106 -0
  93. package/dist-types/commands/ListDatastoresCommand.d.ts +97 -0
  94. package/dist-types/commands/ListImageSetVersionsCommand.d.ts +106 -0
  95. package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
  96. package/dist-types/commands/SearchImageSetsCommand.d.ts +135 -0
  97. package/dist-types/commands/StartDICOMImportJobCommand.d.ts +104 -0
  98. package/dist-types/commands/TagResourceCommand.d.ts +89 -0
  99. package/dist-types/commands/UntagResourceCommand.d.ts +89 -0
  100. package/dist-types/commands/UpdateImageSetMetadataCommand.d.ts +109 -0
  101. package/dist-types/commands/index.d.ts +18 -0
  102. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  103. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  104. package/dist-types/endpoint/ruleset.d.ts +2 -0
  105. package/dist-types/index.d.ts +160 -0
  106. package/dist-types/models/MedicalImagingServiceException.d.ts +13 -0
  107. package/dist-types/models/index.d.ts +1 -0
  108. package/dist-types/models/models_0.d.ts +1363 -0
  109. package/dist-types/pagination/Interfaces.d.ts +8 -0
  110. package/dist-types/pagination/ListDICOMImportJobsPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListDatastoresPaginator.d.ts +7 -0
  112. package/dist-types/pagination/ListImageSetVersionsPaginator.d.ts +7 -0
  113. package/dist-types/pagination/SearchImageSetsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/index.d.ts +5 -0
  115. package/dist-types/protocols/Aws_restJson1.d.ts +164 -0
  116. package/dist-types/runtimeConfig.browser.d.ts +43 -0
  117. package/dist-types/runtimeConfig.d.ts +43 -0
  118. package/dist-types/runtimeConfig.native.d.ts +42 -0
  119. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  120. package/dist-types/ts3.4/MedicalImaging.d.ts +313 -0
  121. package/dist-types/ts3.4/MedicalImagingClient.d.ts +223 -0
  122. package/dist-types/ts3.4/commands/CopyImageSetCommand.d.ts +35 -0
  123. package/dist-types/ts3.4/commands/CreateDatastoreCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/DeleteDatastoreCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/DeleteImageSetCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/GetDICOMImportJobCommand.d.ts +39 -0
  127. package/dist-types/ts3.4/commands/GetDatastoreCommand.d.ts +35 -0
  128. package/dist-types/ts3.4/commands/GetImageFrameCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/GetImageSetCommand.d.ts +35 -0
  130. package/dist-types/ts3.4/commands/GetImageSetMetadataCommand.d.ts +43 -0
  131. package/dist-types/ts3.4/commands/ListDICOMImportJobsCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/ListDatastoresCommand.d.ts +38 -0
  133. package/dist-types/ts3.4/commands/ListImageSetVersionsCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/SearchImageSetsCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/StartDICOMImportJobCommand.d.ts +39 -0
  137. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  138. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  139. package/dist-types/ts3.4/commands/UpdateImageSetMetadataCommand.d.ts +42 -0
  140. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  141. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  142. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  143. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  144. package/dist-types/ts3.4/index.d.ts +6 -0
  145. package/dist-types/ts3.4/models/MedicalImagingServiceException.d.ts +8 -0
  146. package/dist-types/ts3.4/models/index.d.ts +1 -0
  147. package/dist-types/ts3.4/models/models_0.d.ts +513 -0
  148. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  149. package/dist-types/ts3.4/pagination/ListDICOMImportJobsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListDatastoresPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/ListImageSetVersionsPaginator.d.ts +11 -0
  152. package/dist-types/ts3.4/pagination/SearchImageSetsPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  154. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +224 -0
  155. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
  156. package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
  157. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  158. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  159. package/package.json +102 -0
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
+ (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
+ requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
32
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
+ };
38
+ };
39
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const client_sts_1 = require("@aws-sdk/client-sts");
7
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
+ const getRuntimeConfig = (config) => {
21
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
+ return {
26
+ ...clientSharedValues,
27
+ ...config,
28
+ runtime: "node",
29
+ defaultsMode,
30
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
31
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
32
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
33
+ (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
35
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
+ requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
37
+ retryMode: config?.retryMode ??
38
+ (0, node_config_provider_1.loadConfig)({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
42
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
43
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
44
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
+ };
47
+ };
48
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const url_parser_1 = require("@smithy/url-parser");
6
+ const util_base64_1 = require("@smithy/util-base64");
7
+ const util_stream_1 = require("@smithy/util-stream");
8
+ const util_utf8_1 = require("@smithy/util-utf8");
9
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
10
+ const getRuntimeConfig = (config) => ({
11
+ apiVersion: "2023-07-19",
12
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
13
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
14
+ disableHostPrefix: config?.disableHostPrefix ?? false,
15
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
16
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
17
+ sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
18
+ serviceId: config?.serviceId ?? "Medical Imaging",
19
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
20
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
21
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
22
+ });
23
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,43 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CopyImageSetCommand, } from "./commands/CopyImageSetCommand";
3
+ import { CreateDatastoreCommand, } from "./commands/CreateDatastoreCommand";
4
+ import { DeleteDatastoreCommand, } from "./commands/DeleteDatastoreCommand";
5
+ import { DeleteImageSetCommand, } from "./commands/DeleteImageSetCommand";
6
+ import { GetDatastoreCommand, } from "./commands/GetDatastoreCommand";
7
+ import { GetDICOMImportJobCommand, } from "./commands/GetDICOMImportJobCommand";
8
+ import { GetImageFrameCommand, } from "./commands/GetImageFrameCommand";
9
+ import { GetImageSetCommand } from "./commands/GetImageSetCommand";
10
+ import { GetImageSetMetadataCommand, } from "./commands/GetImageSetMetadataCommand";
11
+ import { ListDatastoresCommand, } from "./commands/ListDatastoresCommand";
12
+ import { ListDICOMImportJobsCommand, } from "./commands/ListDICOMImportJobsCommand";
13
+ import { ListImageSetVersionsCommand, } from "./commands/ListImageSetVersionsCommand";
14
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
15
+ import { SearchImageSetsCommand, } from "./commands/SearchImageSetsCommand";
16
+ import { StartDICOMImportJobCommand, } from "./commands/StartDICOMImportJobCommand";
17
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
18
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
19
+ import { UpdateImageSetMetadataCommand, } from "./commands/UpdateImageSetMetadataCommand";
20
+ import { MedicalImagingClient } from "./MedicalImagingClient";
21
+ const commands = {
22
+ CopyImageSetCommand,
23
+ CreateDatastoreCommand,
24
+ DeleteDatastoreCommand,
25
+ DeleteImageSetCommand,
26
+ GetDatastoreCommand,
27
+ GetDICOMImportJobCommand,
28
+ GetImageFrameCommand,
29
+ GetImageSetCommand,
30
+ GetImageSetMetadataCommand,
31
+ ListDatastoresCommand,
32
+ ListDICOMImportJobsCommand,
33
+ ListImageSetVersionsCommand,
34
+ ListTagsForResourceCommand,
35
+ SearchImageSetsCommand,
36
+ StartDICOMImportJobCommand,
37
+ TagResourceCommand,
38
+ UntagResourceCommand,
39
+ UpdateImageSetMetadataCommand,
40
+ };
41
+ export class MedicalImaging extends MedicalImagingClient {
42
+ }
43
+ createAggregatedClient(commands, MedicalImaging);
@@ -0,0 +1,37 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
5
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
+ import { resolveRegionConfig } from "@smithy/config-resolver";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
14
+ export class MedicalImagingClient extends __Client {
15
+ constructor(configuration) {
16
+ const _config_0 = __getRuntimeConfig(configuration);
17
+ const _config_1 = resolveClientEndpointParameters(_config_0);
18
+ const _config_2 = resolveRegionConfig(_config_1);
19
+ const _config_3 = resolveEndpointConfig(_config_2);
20
+ const _config_4 = resolveRetryConfig(_config_3);
21
+ const _config_5 = resolveHostHeaderConfig(_config_4);
22
+ const _config_6 = resolveAwsAuthConfig(_config_5);
23
+ const _config_7 = resolveUserAgentConfig(_config_6);
24
+ super(_config_7);
25
+ this.config = _config_7;
26
+ this.middlewareStack.use(getRetryPlugin(this.config));
27
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
28
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
29
+ this.middlewareStack.use(getLoggerPlugin(this.config));
30
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
31
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
32
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
+ }
34
+ destroy() {
35
+ super.destroy();
36
+ }
37
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_CopyImageSetCommand, se_CopyImageSetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class CopyImageSetCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CopyImageSetCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "CopyImageSetCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_CopyImageSetCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_CopyImageSetCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_CreateDatastoreCommand, se_CreateDatastoreCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class CreateDatastoreCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateDatastoreCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "CreateDatastoreCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_CreateDatastoreCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_CreateDatastoreCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DeleteDatastoreCommand, se_DeleteDatastoreCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DeleteDatastoreCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDatastoreCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "DeleteDatastoreCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DeleteDatastoreCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DeleteDatastoreCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DeleteImageSetCommand, se_DeleteImageSetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DeleteImageSetCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteImageSetCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "DeleteImageSetCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DeleteImageSetCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DeleteImageSetCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_GetDICOMImportJobCommand, se_GetDICOMImportJobCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class GetDICOMImportJobCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetDICOMImportJobCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "GetDICOMImportJobCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_GetDICOMImportJobCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_GetDICOMImportJobCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_GetDatastoreCommand, se_GetDatastoreCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class GetDatastoreCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetDatastoreCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "GetDatastoreCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_GetDatastoreCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_GetDatastoreCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { GetImageFrameResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_GetImageFrameCommand, se_GetImageFrameCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetImageFrameCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetImageFrameCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "MedicalImagingClient";
26
+ const commandName = "GetImageFrameCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: GetImageFrameResponseFilterSensitiveLog,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_GetImageFrameCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_GetImageFrameCommand(output, context);
42
+ }
43
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_GetImageSetCommand, se_GetImageSetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class GetImageSetCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetImageSetCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "GetImageSetCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_GetImageSetCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_GetImageSetCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { GetImageSetMetadataResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_GetImageSetMetadataCommand, se_GetImageSetMetadataCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetImageSetMetadataCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetImageSetMetadataCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "MedicalImagingClient";
26
+ const commandName = "GetImageSetMetadataCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: GetImageSetMetadataResponseFilterSensitiveLog,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_GetImageSetMetadataCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_GetImageSetMetadataCommand(output, context);
42
+ }
43
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ListDICOMImportJobsCommand, se_ListDICOMImportJobsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListDICOMImportJobsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListDICOMImportJobsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "MedicalImagingClient";
25
+ const commandName = "ListDICOMImportJobsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListDICOMImportJobsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListDICOMImportJobsCommand(output, context);
41
+ }
42
+ }