@aws-sdk/client-medical-imaging 3.1075.0 → 3.1076.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.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultMedicalImagingHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CopyImageSet$, CreateDatastore$, DeleteDatastore$, DeleteImageSet$, GetDatastore$, GetDICOMImportJob$, GetImageFrame$, GetImageSet$, GetImageSetMetadata$, ListDatastores$, ListDICOMImportJobs$, ListImageSetVersions$, ListTagsForResource$, SearchImageSets$, StartDICOMImportJob$, TagResource$, UntagResource$, UpdateImageSetMetadata$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { MedicalImagingServiceException } = require("./models/MedicalImagingServiceException");
18
- exports.MedicalImagingServiceException = MedicalImagingServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultMedicalImagingHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "medical-imaging",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultMedicalImagingHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,924 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://medical-imaging-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://medical-imaging-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://medical-imaging.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://medical-imaging.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class MedicalImagingServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, MedicalImagingServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends MedicalImagingServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ constructor(opts) {
143
+ super({
144
+ name: "AccessDeniedException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
149
+ }
150
+ }
151
+ class ConflictException extends MedicalImagingServiceException {
152
+ name = "ConflictException";
153
+ $fault = "client";
154
+ constructor(opts) {
155
+ super({
156
+ name: "ConflictException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, ConflictException.prototype);
161
+ }
162
+ }
163
+ class InternalServerException extends MedicalImagingServiceException {
164
+ name = "InternalServerException";
165
+ $fault = "server";
166
+ constructor(opts) {
167
+ super({
168
+ name: "InternalServerException",
169
+ $fault: "server",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, InternalServerException.prototype);
173
+ }
174
+ }
175
+ class ResourceNotFoundException extends MedicalImagingServiceException {
176
+ name = "ResourceNotFoundException";
177
+ $fault = "client";
178
+ constructor(opts) {
179
+ super({
180
+ name: "ResourceNotFoundException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
185
+ }
186
+ }
187
+ class ServiceQuotaExceededException extends MedicalImagingServiceException {
188
+ name = "ServiceQuotaExceededException";
189
+ $fault = "client";
190
+ constructor(opts) {
191
+ super({
192
+ name: "ServiceQuotaExceededException",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
197
+ }
198
+ }
199
+ class ThrottlingException extends MedicalImagingServiceException {
200
+ name = "ThrottlingException";
201
+ $fault = "client";
202
+ constructor(opts) {
203
+ super({
204
+ name: "ThrottlingException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
209
+ }
210
+ }
211
+ class ValidationException extends MedicalImagingServiceException {
212
+ name = "ValidationException";
213
+ $fault = "client";
214
+ constructor(opts) {
215
+ super({
216
+ name: "ValidationException",
217
+ $fault: "client",
218
+ ...opts,
219
+ });
220
+ Object.setPrototypeOf(this, ValidationException.prototype);
221
+ }
222
+ }
223
+ class BadRequestException extends MedicalImagingServiceException {
224
+ name = "BadRequestException";
225
+ $fault = "client";
226
+ constructor(opts) {
227
+ super({
228
+ name: "BadRequestException",
229
+ $fault: "client",
230
+ ...opts,
231
+ });
232
+ Object.setPrototypeOf(this, BadRequestException.prototype);
233
+ }
234
+ }
235
+ class NotAcceptableException extends MedicalImagingServiceException {
236
+ name = "NotAcceptableException";
237
+ $fault = "client";
238
+ constructor(opts) {
239
+ super({
240
+ name: "NotAcceptableException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, NotAcceptableException.prototype);
245
+ }
246
+ }
247
+
248
+ const _ADE = "AccessDeniedException";
249
+ const _BRE = "BadRequestException";
250
+ const _CA = "CopiableAttributes";
251
+ const _CD = "CreateDatastore";
252
+ const _CDIS = "CopyDestinationImageSet";
253
+ const _CDISP = "CopyDestinationImageSetProperties";
254
+ const _CDR = "CreateDatastoreRequest";
255
+ const _CDRr = "CreateDatastoreResponse";
256
+ const _CE = "ConflictException";
257
+ const _CE_ = "Content-Encoding";
258
+ const _CIS = "CopyImageSet";
259
+ const _CISI = "CopyImageSetInformation";
260
+ const _CISR = "CopyImageSetRequest";
261
+ const _CISRo = "CopyImageSetResponse";
262
+ const _CSISI = "CopySourceImageSetInformation";
263
+ const _CSISP = "CopySourceImageSetProperties";
264
+ const _CT = "Content-Type";
265
+ const _DD = "DeleteDatastore";
266
+ const _DDR = "DeleteDatastoreRequest";
267
+ const _DDRe = "DeleteDatastoreResponse";
268
+ const _DICOMA = "DICOMAttribute";
269
+ const _DICOMAN = "DICOMAccessionNumber";
270
+ const _DICOMC = "DICOMCopies";
271
+ const _DICOMIJP = "DICOMImportJobProperties";
272
+ const _DICOMIJS = "DICOMImportJobSummary";
273
+ const _DICOMIJSm = "DICOMImportJobSummaries";
274
+ const _DICOMNOSRI = "DICOMNumberOfStudyRelatedInstances";
275
+ const _DICOMNOSRS = "DICOMNumberOfStudyRelatedSeries";
276
+ const _DICOMPBD = "DICOMPatientBirthDate";
277
+ const _DICOMPI = "DICOMPatientId";
278
+ const _DICOMPN = "DICOMPatientName";
279
+ const _DICOMPS = "DICOMPatientSex";
280
+ const _DICOMSBP = "DICOMSeriesBodyPart";
281
+ const _DICOMSD = "DICOMStudyDate";
282
+ const _DICOMSDAT = "DICOMStudyDateAndTime";
283
+ const _DICOMSDt = "DICOMStudyDescription";
284
+ const _DICOMSI = "DICOMStudyId";
285
+ const _DICOMSIUID = "DICOMSeriesInstanceUID";
286
+ const _DICOMSIUIDt = "DICOMStudyInstanceUID";
287
+ const _DICOMSM = "DICOMSeriesModality";
288
+ const _DICOMSN = "DICOMSeriesNumber";
289
+ const _DICOMST = "DICOMStudyTime";
290
+ const _DICOMT = "DICOMTags";
291
+ const _DICOMU = "DICOMUpdates";
292
+ const _DIS = "DeleteImageSet";
293
+ const _DISR = "DeleteImageSetRequest";
294
+ const _DISRe = "DeleteImageSetResponse";
295
+ const _DJMIC = "DicomJsonMetadataImportConfiguration";
296
+ const _DMM = "DicomMetadataMapping";
297
+ const _DMMi = "DicomMetadataMappings";
298
+ const _DP = "DatastoreProperties";
299
+ const _DS = "DatastoreSummary";
300
+ const _DSa = "DatastoreSummaries";
301
+ const _GD = "GetDatastore";
302
+ const _GDICOMIJ = "GetDICOMImportJob";
303
+ const _GDICOMIJR = "GetDICOMImportJobRequest";
304
+ const _GDICOMIJRe = "GetDICOMImportJobResponse";
305
+ const _GDR = "GetDatastoreRequest";
306
+ const _GDRe = "GetDatastoreResponse";
307
+ const _GIF = "GetImageFrame";
308
+ const _GIFR = "GetImageFrameRequest";
309
+ const _GIFRe = "GetImageFrameResponse";
310
+ const _GIS = "GetImageSet";
311
+ const _GISM = "GetImageSetMetadata";
312
+ const _GISMR = "GetImageSetMetadataRequest";
313
+ const _GISMRe = "GetImageSetMetadataResponse";
314
+ const _GISR = "GetImageSetRequest";
315
+ const _GISRe = "GetImageSetResponse";
316
+ const _IC = "ImportConfiguration";
317
+ const _IFI = "ImageFrameInformation";
318
+ const _ISE = "InternalServerException";
319
+ const _ISMB = "ImageSetMetadataBlob";
320
+ const _ISMS = "ImageSetsMetadataSummary";
321
+ const _ISMSm = "ImageSetsMetadataSummaries";
322
+ const _ISP = "ImageSetProperties";
323
+ const _ISPL = "ImageSetPropertiesList";
324
+ const _ISWS = "ImageSetWorkflowStatus";
325
+ const _LD = "ListDatastores";
326
+ const _LDICOMIJ = "ListDICOMImportJobs";
327
+ const _LDICOMIJR = "ListDICOMImportJobsRequest";
328
+ const _LDICOMIJRi = "ListDICOMImportJobsResponse";
329
+ const _LDR = "ListDatastoresRequest";
330
+ const _LDRi = "ListDatastoresResponse";
331
+ const _LISV = "ListImageSetVersions";
332
+ const _LISVR = "ListImageSetVersionsRequest";
333
+ const _LISVRi = "ListImageSetVersionsResponse";
334
+ const _LTFR = "ListTagsForResource";
335
+ const _LTFRR = "ListTagsForResourceRequest";
336
+ const _LTFRRi = "ListTagsForResourceResponse";
337
+ const _MC = "MetadataCopies";
338
+ const _MU = "MetadataUpdates";
339
+ const _NAE = "NotAcceptableException";
340
+ const _O = "Overrides";
341
+ const _PB = "PayloadBlob";
342
+ const _RNFE = "ResourceNotFoundException";
343
+ const _S = "Sort";
344
+ const _SBAV = "SearchByAttributeValues";
345
+ const _SBAVe = "SearchByAttributeValue";
346
+ const _SC = "SearchCriteria";
347
+ const _SDICOMIJ = "StartDICOMImportJob";
348
+ const _SDICOMIJR = "StartDICOMImportJobRequest";
349
+ const _SDICOMIJRt = "StartDICOMImportJobResponse";
350
+ const _SF = "SearchFilter";
351
+ const _SFe = "SearchFilters";
352
+ const _SIS = "SearchImageSets";
353
+ const _SISR = "SearchImageSetsRequest";
354
+ const _SISRe = "SearchImageSetsResponse";
355
+ const _SQEE = "ServiceQuotaExceededException";
356
+ const _TE = "ThrottlingException";
357
+ const _TR = "TagResource";
358
+ const _TRR = "TagResourceRequest";
359
+ const _TRRa = "TagResourceResponse";
360
+ const _UISM = "UpdateImageSetMetadata";
361
+ const _UISMR = "UpdateImageSetMetadataRequest";
362
+ const _UISMRp = "UpdateImageSetMetadataResponse";
363
+ const _UR = "UntagResource";
364
+ const _URR = "UntagResourceRequest";
365
+ const _URRn = "UntagResourceResponse";
366
+ const _VE = "ValidationException";
367
+ const _c = "client";
368
+ const _cA = "createdAt";
369
+ const _cAo = "copiableAttributes";
370
+ const _cE = "contentEncoding";
371
+ const _cISI = "copyImageSetInformation";
372
+ const _cT = "clientToken";
373
+ const _cTo = "contentType";
374
+ const _dA = "datastoreArn";
375
+ const _dARA = "dataAccessRoleArn";
376
+ const _dAe = "deletedAt";
377
+ const _dI = "datastoreId";
378
+ const _dIS = "destinationImageSet";
379
+ const _dISP = "destinationImageSetProperties";
380
+ const _dJMIC = "dicomJsonMetadataImportConfiguration";
381
+ const _dMM = "dicomMetadataMappings";
382
+ const _dN = "datastoreName";
383
+ const _dP = "datastoreProperties";
384
+ const _dS = "datastoreStatus";
385
+ const _dSa = "datastoreSummaries";
386
+ const _e = "error";
387
+ const _eA = "endedAt";
388
+ const _en = "endpoint";
389
+ const _f = "force";
390
+ const _fi = "filters";
391
+ const _fo = "forced";
392
+ const _h = "http";
393
+ const _hE = "httpError";
394
+ const _hH = "httpHeader";
395
+ const _hQ = "httpQuery";
396
+ const _iC = "importConfiguration";
397
+ const _iFB = "imageFrameBlob";
398
+ const _iFI = "imageFrameInformation";
399
+ const _iFIm = "imageFrameId";
400
+ const _iOAI = "inputOwnerAccountId";
401
+ const _iP = "isPrimary";
402
+ const _iSA = "imageSetArn";
403
+ const _iSI = "imageSetId";
404
+ const _iSIS = "includeStudyImageSets";
405
+ const _iSMB = "imageSetMetadataBlob";
406
+ const _iSMS = "imageSetsMetadataSummaries";
407
+ const _iSPL = "imageSetPropertiesList";
408
+ const _iSS = "imageSetState";
409
+ const _iSU = "inputS3Uri";
410
+ const _iSWS = "imageSetWorkflowStatus";
411
+ const _jI = "jobId";
412
+ const _jN = "jobName";
413
+ const _jP = "jobProperties";
414
+ const _jS = "jobStatus";
415
+ const _jSo = "jobSummaries";
416
+ const _kKA = "kmsKeyArn";
417
+ const _lAA = "lambdaAuthorizerArn";
418
+ const _lAAa = "lastAccessedAt";
419
+ const _lSF = "losslessStorageFormat";
420
+ const _lV = "latestVersion";
421
+ const _lVI = "latestVersionId";
422
+ const _m = "message";
423
+ const _mFP = "metadataFilePath";
424
+ const _mR = "maxResults";
425
+ const _nT = "nextToken";
426
+ const _o = "overrides";
427
+ const _oSU = "outputS3Uri";
428
+ const _op = "operator";
429
+ const _pTP = "promoteToPrimary";
430
+ const _rA = "removableAttributes";
431
+ const _rAe = "resourceArn";
432
+ const _rTVI = "revertToVersionId";
433
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.medicalimaging";
434
+ const _sA = "submittedAt";
435
+ const _sC = "searchCriteria";
436
+ const _sF = "sortField";
437
+ const _sIS = "sourceImageSet";
438
+ const _sISI = "sourceImageSetId";
439
+ const _sISP = "sourceImageSetProperties";
440
+ const _sIUID = "studyInstanceUID";
441
+ const _sIUIDe = "seriesInstanceUID";
442
+ const _sO = "sortOrder";
443
+ const _sT = "storageTier";
444
+ const _se = "server";
445
+ const _so = "sort";
446
+ const _st = "streaming";
447
+ const _t = "tags";
448
+ const _tK = "tagKeys";
449
+ const _uA = "updatedAt";
450
+ const _uAp = "updatableAttributes";
451
+ const _uISMU = "updateImageSetMetadataUpdates";
452
+ const _v = "version";
453
+ const _vI = "versionId";
454
+ const _va = "values";
455
+ const n0 = "com.amazonaws.medicalimaging";
456
+ const _s_registry = TypeRegistry.for(_s);
457
+ var MedicalImagingServiceException$ = [-3, _s, "MedicalImagingServiceException", 0, [], []];
458
+ _s_registry.registerError(MedicalImagingServiceException$, MedicalImagingServiceException);
459
+ const n0_registry = TypeRegistry.for(n0);
460
+ var AccessDeniedException$ = [-3, n0, _ADE,
461
+ { [_e]: _c, [_hE]: 403 },
462
+ [_m],
463
+ [0], 1
464
+ ];
465
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
466
+ var BadRequestException$ = [-3, n0, _BRE,
467
+ { [_e]: _c, [_hE]: 400 },
468
+ [_m],
469
+ [0], 1
470
+ ];
471
+ n0_registry.registerError(BadRequestException$, BadRequestException);
472
+ var ConflictException$ = [-3, n0, _CE,
473
+ { [_e]: _c, [_hE]: 409 },
474
+ [_m],
475
+ [0], 1
476
+ ];
477
+ n0_registry.registerError(ConflictException$, ConflictException);
478
+ var InternalServerException$ = [-3, n0, _ISE,
479
+ { [_e]: _se, [_hE]: 500 },
480
+ [_m],
481
+ [0], 1
482
+ ];
483
+ n0_registry.registerError(InternalServerException$, InternalServerException);
484
+ var NotAcceptableException$ = [-3, n0, _NAE,
485
+ { [_e]: _c, [_hE]: 406 },
486
+ [_m],
487
+ [0], 1
488
+ ];
489
+ n0_registry.registerError(NotAcceptableException$, NotAcceptableException);
490
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
491
+ { [_e]: _c, [_hE]: 404 },
492
+ [_m],
493
+ [0], 1
494
+ ];
495
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
496
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
497
+ { [_e]: _c, [_hE]: 402 },
498
+ [_m],
499
+ [0], 1
500
+ ];
501
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
502
+ var ThrottlingException$ = [-3, n0, _TE,
503
+ { [_e]: _c, [_hE]: 429 },
504
+ [_m],
505
+ [0], 1
506
+ ];
507
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
508
+ var ValidationException$ = [-3, n0, _VE,
509
+ { [_e]: _c, [_hE]: 400 },
510
+ [_m],
511
+ [0], 1
512
+ ];
513
+ n0_registry.registerError(ValidationException$, ValidationException);
514
+ const errorTypeRegistries = [
515
+ _s_registry,
516
+ n0_registry,
517
+ ];
518
+ var CopiableAttributes = [0, n0, _CA, 8, 0];
519
+ var DICOMAccessionNumber = [0, n0, _DICOMAN, 8, 0];
520
+ var DICOMAttribute = [0, n0, _DICOMA, 8, 21];
521
+ var DICOMPatientBirthDate = [0, n0, _DICOMPBD, 8, 0];
522
+ var DICOMPatientId = [0, n0, _DICOMPI, 8, 0];
523
+ var DICOMPatientName = [0, n0, _DICOMPN, 8, 0];
524
+ var DICOMPatientSex = [0, n0, _DICOMPS, 8, 0];
525
+ var DICOMSeriesBodyPart = [0, n0, _DICOMSBP, 8, 0];
526
+ var DICOMSeriesInstanceUID = [0, n0, _DICOMSIUID, 8, 0];
527
+ var DICOMSeriesModality = [0, n0, _DICOMSM, 8, 0];
528
+ var DICOMSeriesNumber = [0, n0, _DICOMSN, 8, 1];
529
+ var DICOMStudyDate = [0, n0, _DICOMSD, 8, 0];
530
+ var DICOMStudyDescription = [0, n0, _DICOMSDt, 8, 0];
531
+ var DICOMStudyId = [0, n0, _DICOMSI, 8, 0];
532
+ var DICOMStudyInstanceUID = [0, n0, _DICOMSIUIDt, 8, 0];
533
+ var DICOMStudyTime = [0, n0, _DICOMST, 8, 0];
534
+ var ImageSetMetadataBlob = [0, n0, _ISMB, { [_st]: 1 }, 42];
535
+ var PayloadBlob = [0, n0, _PB, { [_st]: 1 }, 42];
536
+ var CopyDestinationImageSet$ = [3, n0, _CDIS,
537
+ 0,
538
+ [_iSI, _lVI],
539
+ [0, 0], 2
540
+ ];
541
+ var CopyDestinationImageSetProperties$ = [3, n0, _CDISP,
542
+ 0,
543
+ [_iSI, _lVI, _iSS, _iSWS, _cA, _uA, _iSA],
544
+ [0, 0, 0, 0, 4, 4, 0], 2
545
+ ];
546
+ var CopyImageSetInformation$ = [3, n0, _CISI,
547
+ 0,
548
+ [_sIS, _dIS],
549
+ [[() => CopySourceImageSetInformation$, 0], () => CopyDestinationImageSet$], 1
550
+ ];
551
+ var CopyImageSetRequest$ = [3, n0, _CISR,
552
+ 0,
553
+ [_dI, _sISI, _cISI, _f, _pTP],
554
+ [[0, 1], [0, 1], [() => CopyImageSetInformation$, 16], [2, { [_hQ]: _f }], [2, { [_hQ]: _pTP }]], 3
555
+ ];
556
+ var CopyImageSetResponse$ = [3, n0, _CISRo,
557
+ 0,
558
+ [_dI, _sISP, _dISP],
559
+ [0, () => CopySourceImageSetProperties$, () => CopyDestinationImageSetProperties$], 3
560
+ ];
561
+ var CopySourceImageSetInformation$ = [3, n0, _CSISI,
562
+ 0,
563
+ [_lVI, _DICOMC],
564
+ [0, [() => MetadataCopies$, 0]], 1
565
+ ];
566
+ var CopySourceImageSetProperties$ = [3, n0, _CSISP,
567
+ 0,
568
+ [_iSI, _lVI, _iSS, _iSWS, _cA, _uA, _iSA],
569
+ [0, 0, 0, 0, 4, 4, 0], 2
570
+ ];
571
+ var CreateDatastoreRequest$ = [3, n0, _CDR,
572
+ 0,
573
+ [_dN, _cT, _t, _kKA, _lAA, _lSF],
574
+ [0, [0, 4], 128 | 0, 0, 0, 0]
575
+ ];
576
+ var CreateDatastoreResponse$ = [3, n0, _CDRr,
577
+ 0,
578
+ [_dI, _dS],
579
+ [0, 0], 2
580
+ ];
581
+ var DatastoreProperties$ = [3, n0, _DP,
582
+ 0,
583
+ [_dI, _dN, _dS, _kKA, _lAA, _lSF, _dA, _cA, _uA],
584
+ [0, 0, 0, 0, 0, 0, 0, 4, 4], 3
585
+ ];
586
+ var DatastoreSummary$ = [3, n0, _DS,
587
+ 0,
588
+ [_dI, _dN, _dS, _dA, _cA, _uA],
589
+ [0, 0, 0, 0, 4, 4], 3
590
+ ];
591
+ var DeleteDatastoreRequest$ = [3, n0, _DDR,
592
+ 0,
593
+ [_dI],
594
+ [[0, 1]], 1
595
+ ];
596
+ var DeleteDatastoreResponse$ = [3, n0, _DDRe,
597
+ 0,
598
+ [_dI, _dS],
599
+ [0, 0], 2
600
+ ];
601
+ var DeleteImageSetRequest$ = [3, n0, _DISR,
602
+ 0,
603
+ [_dI, _iSI],
604
+ [[0, 1], [0, 1]], 2
605
+ ];
606
+ var DeleteImageSetResponse$ = [3, n0, _DISRe,
607
+ 0,
608
+ [_dI, _iSI, _iSS, _iSWS],
609
+ [0, 0, 0, 0], 4
610
+ ];
611
+ var DICOMImportJobProperties$ = [3, n0, _DICOMIJP,
612
+ 0,
613
+ [_jI, _jN, _jS, _dI, _dARA, _iSU, _oSU, _eA, _sA, _m, _iC],
614
+ [0, 0, 0, 0, 0, 0, 0, 4, 4, 0, [() => ImportConfiguration$, 0]], 7
615
+ ];
616
+ var DICOMImportJobSummary$ = [3, n0, _DICOMIJS,
617
+ 0,
618
+ [_jI, _jN, _jS, _dI, _dARA, _eA, _sA, _m],
619
+ [0, 0, 0, 0, 0, 4, 4, 0], 4
620
+ ];
621
+ var DicomJsonMetadataImportConfiguration$ = [3, n0, _DJMIC,
622
+ 0,
623
+ [_dMM],
624
+ [[() => DicomMetadataMappings, 0]], 1
625
+ ];
626
+ var DicomMetadataMapping$ = [3, n0, _DMM,
627
+ 0,
628
+ [_sIUID, _mFP, _sIUIDe],
629
+ [[() => DICOMStudyInstanceUID, 0], 0, [() => DICOMSeriesInstanceUID, 0]], 2
630
+ ];
631
+ var DICOMStudyDateAndTime$ = [3, n0, _DICOMSDAT,
632
+ 0,
633
+ [_DICOMSD, _DICOMST],
634
+ [[() => DICOMStudyDate, 0], [() => DICOMStudyTime, 0]], 1
635
+ ];
636
+ var DICOMTags$ = [3, n0, _DICOMT,
637
+ 0,
638
+ [_DICOMPI, _DICOMPN, _DICOMPBD, _DICOMPS, _DICOMSIUIDt, _DICOMSI, _DICOMSDt, _DICOMNOSRS, _DICOMNOSRI, _DICOMAN, _DICOMSIUID, _DICOMSM, _DICOMSBP, _DICOMSN, _DICOMSD, _DICOMST],
639
+ [[() => DICOMPatientId, 0], [() => DICOMPatientName, 0], [() => DICOMPatientBirthDate, 0], [() => DICOMPatientSex, 0], [() => DICOMStudyInstanceUID, 0], [() => DICOMStudyId, 0], [() => DICOMStudyDescription, 0], 1, 1, [() => DICOMAccessionNumber, 0], [() => DICOMSeriesInstanceUID, 0], [() => DICOMSeriesModality, 0], [() => DICOMSeriesBodyPart, 0], [() => DICOMSeriesNumber, 0], [() => DICOMStudyDate, 0], [() => DICOMStudyTime, 0]]
640
+ ];
641
+ var DICOMUpdates$ = [3, n0, _DICOMU,
642
+ 0,
643
+ [_rA, _uAp],
644
+ [[() => DICOMAttribute, 0], [() => DICOMAttribute, 0]]
645
+ ];
646
+ var GetDatastoreRequest$ = [3, n0, _GDR,
647
+ 0,
648
+ [_dI],
649
+ [[0, 1]], 1
650
+ ];
651
+ var GetDatastoreResponse$ = [3, n0, _GDRe,
652
+ 0,
653
+ [_dP],
654
+ [() => DatastoreProperties$], 1
655
+ ];
656
+ var GetDICOMImportJobRequest$ = [3, n0, _GDICOMIJR,
657
+ 0,
658
+ [_dI, _jI],
659
+ [[0, 1], [0, 1]], 2
660
+ ];
661
+ var GetDICOMImportJobResponse$ = [3, n0, _GDICOMIJRe,
662
+ 0,
663
+ [_jP],
664
+ [[() => DICOMImportJobProperties$, 0]], 1
665
+ ];
666
+ var GetImageFrameRequest$ = [3, n0, _GIFR,
667
+ 0,
668
+ [_dI, _iSI, _iFI],
669
+ [[0, 1], [0, 1], [() => ImageFrameInformation$, 16]], 3
670
+ ];
671
+ var GetImageFrameResponse$ = [3, n0, _GIFRe,
672
+ 0,
673
+ [_iFB, _cTo],
674
+ [[() => PayloadBlob, 16], [0, { [_hH]: _CT }]], 1
675
+ ];
676
+ var GetImageSetMetadataRequest$ = [3, n0, _GISMR,
677
+ 0,
678
+ [_dI, _iSI, _vI],
679
+ [[0, 1], [0, 1], [0, { [_hQ]: _v }]], 2
680
+ ];
681
+ var GetImageSetMetadataResponse$ = [3, n0, _GISMRe,
682
+ 0,
683
+ [_iSMB, _cTo, _cE],
684
+ [[() => ImageSetMetadataBlob, 16], [0, { [_hH]: _CT }], [0, { [_hH]: _CE_ }]], 1
685
+ ];
686
+ var GetImageSetRequest$ = [3, n0, _GISR,
687
+ 0,
688
+ [_dI, _iSI, _vI],
689
+ [[0, 1], [0, 1], [0, { [_hQ]: _v }]], 2
690
+ ];
691
+ var GetImageSetResponse$ = [3, n0, _GISRe,
692
+ 0,
693
+ [_dI, _iSI, _vI, _iSS, _iSWS, _cA, _uA, _dAe, _m, _iSA, _o, _iP, _lAAa, _sT],
694
+ [0, 0, 0, 0, 0, 4, 4, 4, 0, 0, () => Overrides$, 2, 4, 0], 4
695
+ ];
696
+ var ImageFrameInformation$ = [3, n0, _IFI,
697
+ 0,
698
+ [_iFIm],
699
+ [0], 1
700
+ ];
701
+ var ImageSetProperties$ = [3, n0, _ISP,
702
+ 0,
703
+ [_iSI, _vI, _iSS, _ISWS, _cA, _uA, _dAe, _m, _o, _iP],
704
+ [0, 0, 0, 0, 4, 4, 4, 0, () => Overrides$, 2], 3
705
+ ];
706
+ var ImageSetsMetadataSummary$ = [3, n0, _ISMS,
707
+ 0,
708
+ [_iSI, _v, _cA, _uA, _lAAa, _sT, _DICOMT, _iP],
709
+ [0, 1, 4, 4, 4, 0, [() => DICOMTags$, 0], 2], 1
710
+ ];
711
+ var ListDatastoresRequest$ = [3, n0, _LDR,
712
+ 0,
713
+ [_dS, _nT, _mR],
714
+ [[0, { [_hQ]: _dS }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
715
+ ];
716
+ var ListDatastoresResponse$ = [3, n0, _LDRi,
717
+ 0,
718
+ [_dSa, _nT],
719
+ [() => DatastoreSummaries, 0]
720
+ ];
721
+ var ListDICOMImportJobsRequest$ = [3, n0, _LDICOMIJR,
722
+ 0,
723
+ [_dI, _jS, _nT, _mR],
724
+ [[0, 1], [0, { [_hQ]: _jS }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
725
+ ];
726
+ var ListDICOMImportJobsResponse$ = [3, n0, _LDICOMIJRi,
727
+ 0,
728
+ [_jSo, _nT],
729
+ [() => DICOMImportJobSummaries, 0], 1
730
+ ];
731
+ var ListImageSetVersionsRequest$ = [3, n0, _LISVR,
732
+ 0,
733
+ [_dI, _iSI, _nT, _mR],
734
+ [[0, 1], [0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2
735
+ ];
736
+ var ListImageSetVersionsResponse$ = [3, n0, _LISVRi,
737
+ 0,
738
+ [_iSPL, _nT],
739
+ [() => ImageSetPropertiesList, 0], 1
740
+ ];
741
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
742
+ 0,
743
+ [_rAe],
744
+ [[0, 1]], 1
745
+ ];
746
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
747
+ 0,
748
+ [_t],
749
+ [128 | 0], 1
750
+ ];
751
+ var MetadataCopies$ = [3, n0, _MC,
752
+ 0,
753
+ [_cAo],
754
+ [[() => CopiableAttributes, 0]], 1
755
+ ];
756
+ var Overrides$ = [3, n0, _O,
757
+ 0,
758
+ [_fo],
759
+ [2]
760
+ ];
761
+ var SearchCriteria$ = [3, n0, _SC,
762
+ 8,
763
+ [_fi, _so],
764
+ [[() => SearchFilters, 0], () => Sort$]
765
+ ];
766
+ var SearchFilter$ = [3, n0, _SF,
767
+ 0,
768
+ [_va, _op],
769
+ [[() => SearchByAttributeValues, 0], 0], 2
770
+ ];
771
+ var SearchImageSetsRequest$ = [3, n0, _SISR,
772
+ 0,
773
+ [_dI, _sC, _mR, _nT],
774
+ [[0, 1], [() => SearchCriteria$, 16], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
775
+ ];
776
+ var SearchImageSetsResponse$ = [3, n0, _SISRe,
777
+ 0,
778
+ [_iSMS, _so, _nT],
779
+ [[() => ImageSetsMetadataSummaries, 0], () => Sort$, 0], 1
780
+ ];
781
+ var Sort$ = [3, n0, _S,
782
+ 0,
783
+ [_sO, _sF],
784
+ [0, 0], 2
785
+ ];
786
+ var StartDICOMImportJobRequest$ = [3, n0, _SDICOMIJR,
787
+ 0,
788
+ [_dARA, _dI, _iSU, _oSU, _jN, _cT, _iOAI, _iC],
789
+ [0, [0, 1], 0, 0, 0, [0, 4], 0, [() => ImportConfiguration$, 0]], 4
790
+ ];
791
+ var StartDICOMImportJobResponse$ = [3, n0, _SDICOMIJRt,
792
+ 0,
793
+ [_dI, _jI, _jS, _sA],
794
+ [0, 0, 0, 4], 4
795
+ ];
796
+ var TagResourceRequest$ = [3, n0, _TRR,
797
+ 0,
798
+ [_rAe, _t],
799
+ [[0, 1], 128 | 0], 2
800
+ ];
801
+ var TagResourceResponse$ = [3, n0, _TRRa,
802
+ 0,
803
+ [],
804
+ []
805
+ ];
806
+ var UntagResourceRequest$ = [3, n0, _URR,
807
+ 0,
808
+ [_rAe, _tK],
809
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
810
+ ];
811
+ var UntagResourceResponse$ = [3, n0, _URRn,
812
+ 0,
813
+ [],
814
+ []
815
+ ];
816
+ var UpdateImageSetMetadataRequest$ = [3, n0, _UISMR,
817
+ 0,
818
+ [_dI, _iSI, _lVI, _uISMU, _f, _iSIS],
819
+ [[0, 1], [0, 1], [0, { [_hQ]: _lV }], [() => MetadataUpdates$, 16], [2, { [_hQ]: _f }], [2, { [_hQ]: _iSIS }]], 4
820
+ ];
821
+ var UpdateImageSetMetadataResponse$ = [3, n0, _UISMRp,
822
+ 0,
823
+ [_dI, _iSI, _lVI, _iSS, _iSWS, _cA, _uA, _m],
824
+ [0, 0, 0, 0, 0, 4, 4, 0], 4
825
+ ];
826
+ var DatastoreSummaries = [1, n0, _DSa,
827
+ 0, () => DatastoreSummary$
828
+ ];
829
+ var DICOMImportJobSummaries = [1, n0, _DICOMIJSm,
830
+ 0, () => DICOMImportJobSummary$
831
+ ];
832
+ var DicomMetadataMappings = [1, n0, _DMMi,
833
+ 0, [() => DicomMetadataMapping$,
834
+ 0]
835
+ ];
836
+ var ImageSetPropertiesList = [1, n0, _ISPL,
837
+ 0, () => ImageSetProperties$
838
+ ];
839
+ var ImageSetsMetadataSummaries = [1, n0, _ISMSm,
840
+ 0, [() => ImageSetsMetadataSummary$,
841
+ 0]
842
+ ];
843
+ var SearchByAttributeValues = [1, n0, _SBAV,
844
+ 0, [() => SearchByAttributeValue$,
845
+ 0]
846
+ ];
847
+ var SearchFilters = [1, n0, _SFe,
848
+ 0, [() => SearchFilter$,
849
+ 0]
850
+ ];
851
+ var ImportConfiguration$ = [4, n0, _IC,
852
+ 0,
853
+ [_dJMIC],
854
+ [[() => DicomJsonMetadataImportConfiguration$, 0]]
855
+ ];
856
+ var MetadataUpdates$ = [4, n0, _MU,
857
+ 0,
858
+ [_DICOMU, _rTVI],
859
+ [[() => DICOMUpdates$, 0], 0]
860
+ ];
861
+ var SearchByAttributeValue$ = [4, n0, _SBAVe,
862
+ 0,
863
+ [_DICOMPI, _DICOMAN, _DICOMSI, _DICOMSIUIDt, _DICOMSIUID, _cA, _uA, _DICOMSDAT, _iP],
864
+ [[() => DICOMPatientId, 0], [() => DICOMAccessionNumber, 0], [() => DICOMStudyId, 0], [() => DICOMStudyInstanceUID, 0], [() => DICOMSeriesInstanceUID, 0], 4, 4, [() => DICOMStudyDateAndTime$, 0], 2]
865
+ ];
866
+ var CopyImageSet$ = [9, n0, _CIS,
867
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/imageSet/{sourceImageSetId}/copyImageSet", 200] }, () => CopyImageSetRequest$, () => CopyImageSetResponse$
868
+ ];
869
+ var CreateDatastore$ = [9, n0, _CD,
870
+ { [_h]: ["POST", "/datastore", 200] }, () => CreateDatastoreRequest$, () => CreateDatastoreResponse$
871
+ ];
872
+ var DeleteDatastore$ = [9, n0, _DD,
873
+ { [_h]: ["DELETE", "/datastore/{datastoreId}", 200] }, () => DeleteDatastoreRequest$, () => DeleteDatastoreResponse$
874
+ ];
875
+ var DeleteImageSet$ = [9, n0, _DIS,
876
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/imageSet/{imageSetId}/deleteImageSet", 200] }, () => DeleteImageSetRequest$, () => DeleteImageSetResponse$
877
+ ];
878
+ var GetDatastore$ = [9, n0, _GD,
879
+ { [_h]: ["GET", "/datastore/{datastoreId}", 200] }, () => GetDatastoreRequest$, () => GetDatastoreResponse$
880
+ ];
881
+ var GetDICOMImportJob$ = [9, n0, _GDICOMIJ,
882
+ { [_h]: ["GET", "/getDICOMImportJob/datastore/{datastoreId}/job/{jobId}", 200] }, () => GetDICOMImportJobRequest$, () => GetDICOMImportJobResponse$
883
+ ];
884
+ var GetImageFrame$ = [9, n0, _GIF,
885
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/imageSet/{imageSetId}/getImageFrame", 200] }, () => GetImageFrameRequest$, () => GetImageFrameResponse$
886
+ ];
887
+ var GetImageSet$ = [9, n0, _GIS,
888
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/imageSet/{imageSetId}/getImageSet", 200] }, () => GetImageSetRequest$, () => GetImageSetResponse$
889
+ ];
890
+ var GetImageSetMetadata$ = [9, n0, _GISM,
891
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/imageSet/{imageSetId}/getImageSetMetadata", 200] }, () => GetImageSetMetadataRequest$, () => GetImageSetMetadataResponse$
892
+ ];
893
+ var ListDatastores$ = [9, n0, _LD,
894
+ { [_h]: ["GET", "/datastore", 200] }, () => ListDatastoresRequest$, () => ListDatastoresResponse$
895
+ ];
896
+ var ListDICOMImportJobs$ = [9, n0, _LDICOMIJ,
897
+ { [_h]: ["GET", "/listDICOMImportJobs/datastore/{datastoreId}", 200] }, () => ListDICOMImportJobsRequest$, () => ListDICOMImportJobsResponse$
898
+ ];
899
+ var ListImageSetVersions$ = [9, n0, _LISV,
900
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/imageSet/{imageSetId}/listImageSetVersions", 200] }, () => ListImageSetVersionsRequest$, () => ListImageSetVersionsResponse$
901
+ ];
902
+ var ListTagsForResource$ = [9, n0, _LTFR,
903
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
904
+ ];
905
+ var SearchImageSets$ = [9, n0, _SIS,
906
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/searchImageSets", 200] }, () => SearchImageSetsRequest$, () => SearchImageSetsResponse$
907
+ ];
908
+ var StartDICOMImportJob$ = [9, n0, _SDICOMIJ,
909
+ { [_h]: ["POST", "/startDICOMImportJob/datastore/{datastoreId}", 200] }, () => StartDICOMImportJobRequest$, () => StartDICOMImportJobResponse$
910
+ ];
911
+ var TagResource$ = [9, n0, _TR,
912
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
913
+ ];
914
+ var UntagResource$ = [9, n0, _UR,
915
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
916
+ ];
917
+ var UpdateImageSetMetadata$ = [9, n0, _UISM,
918
+ { [_en]: ["runtime-"], [_h]: ["POST", "/datastore/{datastoreId}/imageSet/{imageSetId}/updateImageSetMetadata", 200] }, () => UpdateImageSetMetadataRequest$, () => UpdateImageSetMetadataResponse$
919
+ ];
920
+
921
+ const getRuntimeConfig$1 = (config) => {
922
+ return {
923
+ apiVersion: "2023-07-19",
924
+ base64Decoder: config?.base64Decoder ?? fromBase64,
925
+ base64Encoder: config?.base64Encoder ?? toBase64,
926
+ disableHostPrefix: config?.disableHostPrefix ?? false,
927
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
928
+ extensions: config?.extensions ?? [],
929
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMedicalImagingHttpAuthSchemeProvider,
930
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
931
+ {
932
+ schemeId: "aws.auth#sigv4",
933
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
934
+ signer: new AwsSdkSigV4Signer(),
935
+ },
936
+ ],
937
+ logger: config?.logger ?? new NoOpLogger(),
938
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
939
+ protocolSettings: config?.protocolSettings ?? {
940
+ defaultNamespace: "com.amazonaws.medicalimaging",
941
+ errorTypeRegistries,
942
+ version: "2023-07-19",
943
+ serviceTarget: "AHIGatewayService",
944
+ },
945
+ sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
946
+ serviceId: config?.serviceId ?? "Medical Imaging",
947
+ urlParser: config?.urlParser ?? parseUrl,
948
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
949
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
950
+ };
951
+ };
952
+
953
+ const getRuntimeConfig = (config) => {
954
+ emitWarningIfUnsupportedVersion(process.version);
955
+ const defaultsMode = resolveDefaultsModeConfig(config);
956
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
957
+ const clientSharedValues = getRuntimeConfig$1(config);
958
+ emitWarningIfUnsupportedVersion$1(process.version);
959
+ const loaderConfig = {
960
+ profile: config?.profile,
961
+ logger: clientSharedValues.logger,
962
+ };
963
+ return {
964
+ ...clientSharedValues,
965
+ ...config,
966
+ runtime: "node",
967
+ defaultsMode,
968
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
969
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
970
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
971
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
972
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
973
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
974
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
975
+ retryMode: config?.retryMode ??
976
+ loadConfig({
977
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
978
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
979
+ }, config),
980
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
981
+ streamCollector: config?.streamCollector ?? streamCollector,
982
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
983
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
984
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
985
+ };
986
+ };
987
+
34
988
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
989
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
990
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -421,35 +1375,135 @@ const SortOrder = {
421
1375
  DESC: "DESC",
422
1376
  };
423
1377
 
1378
+ exports.AccessDeniedException = AccessDeniedException;
1379
+ exports.AccessDeniedException$ = AccessDeniedException$;
1380
+ exports.BadRequestException = BadRequestException;
1381
+ exports.BadRequestException$ = BadRequestException$;
1382
+ exports.ConflictException = ConflictException;
1383
+ exports.ConflictException$ = ConflictException$;
1384
+ exports.CopyDestinationImageSet$ = CopyDestinationImageSet$;
1385
+ exports.CopyDestinationImageSetProperties$ = CopyDestinationImageSetProperties$;
1386
+ exports.CopyImageSet$ = CopyImageSet$;
424
1387
  exports.CopyImageSetCommand = CopyImageSetCommand;
1388
+ exports.CopyImageSetInformation$ = CopyImageSetInformation$;
1389
+ exports.CopyImageSetRequest$ = CopyImageSetRequest$;
1390
+ exports.CopyImageSetResponse$ = CopyImageSetResponse$;
1391
+ exports.CopySourceImageSetInformation$ = CopySourceImageSetInformation$;
1392
+ exports.CopySourceImageSetProperties$ = CopySourceImageSetProperties$;
1393
+ exports.CreateDatastore$ = CreateDatastore$;
425
1394
  exports.CreateDatastoreCommand = CreateDatastoreCommand;
1395
+ exports.CreateDatastoreRequest$ = CreateDatastoreRequest$;
1396
+ exports.CreateDatastoreResponse$ = CreateDatastoreResponse$;
1397
+ exports.DICOMImportJobProperties$ = DICOMImportJobProperties$;
1398
+ exports.DICOMImportJobSummary$ = DICOMImportJobSummary$;
1399
+ exports.DICOMStudyDateAndTime$ = DICOMStudyDateAndTime$;
1400
+ exports.DICOMTags$ = DICOMTags$;
1401
+ exports.DICOMUpdates$ = DICOMUpdates$;
1402
+ exports.DatastoreProperties$ = DatastoreProperties$;
426
1403
  exports.DatastoreStatus = DatastoreStatus;
1404
+ exports.DatastoreSummary$ = DatastoreSummary$;
1405
+ exports.DeleteDatastore$ = DeleteDatastore$;
427
1406
  exports.DeleteDatastoreCommand = DeleteDatastoreCommand;
1407
+ exports.DeleteDatastoreRequest$ = DeleteDatastoreRequest$;
1408
+ exports.DeleteDatastoreResponse$ = DeleteDatastoreResponse$;
1409
+ exports.DeleteImageSet$ = DeleteImageSet$;
428
1410
  exports.DeleteImageSetCommand = DeleteImageSetCommand;
1411
+ exports.DeleteImageSetRequest$ = DeleteImageSetRequest$;
1412
+ exports.DeleteImageSetResponse$ = DeleteImageSetResponse$;
1413
+ exports.DicomJsonMetadataImportConfiguration$ = DicomJsonMetadataImportConfiguration$;
1414
+ exports.DicomMetadataMapping$ = DicomMetadataMapping$;
1415
+ exports.GetDICOMImportJob$ = GetDICOMImportJob$;
429
1416
  exports.GetDICOMImportJobCommand = GetDICOMImportJobCommand;
1417
+ exports.GetDICOMImportJobRequest$ = GetDICOMImportJobRequest$;
1418
+ exports.GetDICOMImportJobResponse$ = GetDICOMImportJobResponse$;
1419
+ exports.GetDatastore$ = GetDatastore$;
430
1420
  exports.GetDatastoreCommand = GetDatastoreCommand;
1421
+ exports.GetDatastoreRequest$ = GetDatastoreRequest$;
1422
+ exports.GetDatastoreResponse$ = GetDatastoreResponse$;
1423
+ exports.GetImageFrame$ = GetImageFrame$;
431
1424
  exports.GetImageFrameCommand = GetImageFrameCommand;
1425
+ exports.GetImageFrameRequest$ = GetImageFrameRequest$;
1426
+ exports.GetImageFrameResponse$ = GetImageFrameResponse$;
1427
+ exports.GetImageSet$ = GetImageSet$;
432
1428
  exports.GetImageSetCommand = GetImageSetCommand;
1429
+ exports.GetImageSetMetadata$ = GetImageSetMetadata$;
433
1430
  exports.GetImageSetMetadataCommand = GetImageSetMetadataCommand;
1431
+ exports.GetImageSetMetadataRequest$ = GetImageSetMetadataRequest$;
1432
+ exports.GetImageSetMetadataResponse$ = GetImageSetMetadataResponse$;
1433
+ exports.GetImageSetRequest$ = GetImageSetRequest$;
1434
+ exports.GetImageSetResponse$ = GetImageSetResponse$;
1435
+ exports.ImageFrameInformation$ = ImageFrameInformation$;
1436
+ exports.ImageSetProperties$ = ImageSetProperties$;
434
1437
  exports.ImageSetState = ImageSetState;
435
1438
  exports.ImageSetWorkflowStatus = ImageSetWorkflowStatus;
1439
+ exports.ImageSetsMetadataSummary$ = ImageSetsMetadataSummary$;
1440
+ exports.ImportConfiguration$ = ImportConfiguration$;
1441
+ exports.InternalServerException = InternalServerException;
1442
+ exports.InternalServerException$ = InternalServerException$;
436
1443
  exports.JobStatus = JobStatus;
1444
+ exports.ListDICOMImportJobs$ = ListDICOMImportJobs$;
437
1445
  exports.ListDICOMImportJobsCommand = ListDICOMImportJobsCommand;
1446
+ exports.ListDICOMImportJobsRequest$ = ListDICOMImportJobsRequest$;
1447
+ exports.ListDICOMImportJobsResponse$ = ListDICOMImportJobsResponse$;
1448
+ exports.ListDatastores$ = ListDatastores$;
438
1449
  exports.ListDatastoresCommand = ListDatastoresCommand;
1450
+ exports.ListDatastoresRequest$ = ListDatastoresRequest$;
1451
+ exports.ListDatastoresResponse$ = ListDatastoresResponse$;
1452
+ exports.ListImageSetVersions$ = ListImageSetVersions$;
439
1453
  exports.ListImageSetVersionsCommand = ListImageSetVersionsCommand;
1454
+ exports.ListImageSetVersionsRequest$ = ListImageSetVersionsRequest$;
1455
+ exports.ListImageSetVersionsResponse$ = ListImageSetVersionsResponse$;
1456
+ exports.ListTagsForResource$ = ListTagsForResource$;
440
1457
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1458
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1459
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
441
1460
  exports.LosslessStorageFormat = LosslessStorageFormat;
442
1461
  exports.MedicalImaging = MedicalImaging;
443
1462
  exports.MedicalImagingClient = MedicalImagingClient;
1463
+ exports.MedicalImagingServiceException = MedicalImagingServiceException;
1464
+ exports.MedicalImagingServiceException$ = MedicalImagingServiceException$;
1465
+ exports.MetadataCopies$ = MetadataCopies$;
1466
+ exports.MetadataUpdates$ = MetadataUpdates$;
1467
+ exports.NotAcceptableException = NotAcceptableException;
1468
+ exports.NotAcceptableException$ = NotAcceptableException$;
444
1469
  exports.Operator = Operator;
1470
+ exports.Overrides$ = Overrides$;
1471
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1472
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1473
+ exports.SearchByAttributeValue$ = SearchByAttributeValue$;
1474
+ exports.SearchCriteria$ = SearchCriteria$;
1475
+ exports.SearchFilter$ = SearchFilter$;
1476
+ exports.SearchImageSets$ = SearchImageSets$;
445
1477
  exports.SearchImageSetsCommand = SearchImageSetsCommand;
1478
+ exports.SearchImageSetsRequest$ = SearchImageSetsRequest$;
1479
+ exports.SearchImageSetsResponse$ = SearchImageSetsResponse$;
1480
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1481
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1482
+ exports.Sort$ = Sort$;
446
1483
  exports.SortField = SortField;
447
1484
  exports.SortOrder = SortOrder;
1485
+ exports.StartDICOMImportJob$ = StartDICOMImportJob$;
448
1486
  exports.StartDICOMImportJobCommand = StartDICOMImportJobCommand;
1487
+ exports.StartDICOMImportJobRequest$ = StartDICOMImportJobRequest$;
1488
+ exports.StartDICOMImportJobResponse$ = StartDICOMImportJobResponse$;
449
1489
  exports.StorageTier = StorageTier;
1490
+ exports.TagResource$ = TagResource$;
450
1491
  exports.TagResourceCommand = TagResourceCommand;
1492
+ exports.TagResourceRequest$ = TagResourceRequest$;
1493
+ exports.TagResourceResponse$ = TagResourceResponse$;
1494
+ exports.ThrottlingException = ThrottlingException;
1495
+ exports.ThrottlingException$ = ThrottlingException$;
1496
+ exports.UntagResource$ = UntagResource$;
451
1497
  exports.UntagResourceCommand = UntagResourceCommand;
1498
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1499
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1500
+ exports.UpdateImageSetMetadata$ = UpdateImageSetMetadata$;
452
1501
  exports.UpdateImageSetMetadataCommand = UpdateImageSetMetadataCommand;
1502
+ exports.UpdateImageSetMetadataRequest$ = UpdateImageSetMetadataRequest$;
1503
+ exports.UpdateImageSetMetadataResponse$ = UpdateImageSetMetadataResponse$;
1504
+ exports.ValidationException = ValidationException;
1505
+ exports.ValidationException$ = ValidationException$;
1506
+ exports.errorTypeRegistries = errorTypeRegistries;
453
1507
  exports.paginateListDICOMImportJobs = paginateListDICOMImportJobs;
454
1508
  exports.paginateListDatastores = paginateListDatastores;
455
1509
  exports.paginateListImageSetVersions = paginateListImageSetVersions;