@aws-sdk/client-medical-imaging 3.614.0 → 3.619.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 +52 -14
- package/dist-es/MedicalImagingClient.js +5 -5
- package/dist-es/commands/CopyImageSetCommand.js +2 -1
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/protocols/Aws_restJson1.js +9 -1
- package/dist-types/MedicalImagingClient.d.ts +2 -2
- package/dist-types/commands/CopyImageSetCommand.d.ts +4 -0
- package/dist-types/commands/GetImageSetCommand.d.ts +3 -0
- package/dist-types/commands/ListImageSetVersionsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateImageSetMetadataCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +99 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/MedicalImagingClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -24,6 +24,9 @@ __export(src_exports, {
|
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
ConflictException: () => ConflictException,
|
|
26
26
|
CopyImageSetCommand: () => CopyImageSetCommand,
|
|
27
|
+
CopyImageSetInformationFilterSensitiveLog: () => CopyImageSetInformationFilterSensitiveLog,
|
|
28
|
+
CopyImageSetRequestFilterSensitiveLog: () => CopyImageSetRequestFilterSensitiveLog,
|
|
29
|
+
CopySourceImageSetInformationFilterSensitiveLog: () => CopySourceImageSetInformationFilterSensitiveLog,
|
|
27
30
|
CreateDatastoreCommand: () => CreateDatastoreCommand,
|
|
28
31
|
DICOMStudyDateAndTimeFilterSensitiveLog: () => DICOMStudyDateAndTimeFilterSensitiveLog,
|
|
29
32
|
DICOMTagsFilterSensitiveLog: () => DICOMTagsFilterSensitiveLog,
|
|
@@ -50,6 +53,7 @@ __export(src_exports, {
|
|
|
50
53
|
MedicalImaging: () => MedicalImaging,
|
|
51
54
|
MedicalImagingClient: () => MedicalImagingClient,
|
|
52
55
|
MedicalImagingServiceException: () => MedicalImagingServiceException,
|
|
56
|
+
MetadataCopiesFilterSensitiveLog: () => MetadataCopiesFilterSensitiveLog,
|
|
53
57
|
MetadataUpdates: () => MetadataUpdates,
|
|
54
58
|
MetadataUpdatesFilterSensitiveLog: () => MetadataUpdatesFilterSensitiveLog,
|
|
55
59
|
Operator: () => Operator,
|
|
@@ -181,19 +185,19 @@ var _MedicalImagingClient = class _MedicalImagingClient extends import_smithy_cl
|
|
|
181
185
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
182
186
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
183
187
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
184
|
-
const _config_4 = (0,
|
|
185
|
-
const _config_5 = (0,
|
|
186
|
-
const _config_6 = (0,
|
|
188
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
189
|
+
const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
|
|
190
|
+
const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
|
|
187
191
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
188
192
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
189
193
|
super(_config_8);
|
|
190
194
|
this.config = _config_8;
|
|
191
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
192
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
193
195
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
194
196
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
195
197
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
196
198
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
199
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
200
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
197
201
|
this.middlewareStack.use(
|
|
198
202
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
199
203
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
@@ -230,12 +234,8 @@ var MedicalImagingClient = _MedicalImagingClient;
|
|
|
230
234
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
231
235
|
|
|
232
236
|
|
|
233
|
-
// src/
|
|
234
|
-
var import_core2 = require("@aws-sdk/core");
|
|
235
|
-
|
|
236
|
-
|
|
237
|
+
// src/models/models_0.ts
|
|
237
238
|
|
|
238
|
-
var import_uuid = require("uuid");
|
|
239
239
|
|
|
240
240
|
// src/models/MedicalImagingServiceException.ts
|
|
241
241
|
|
|
@@ -252,7 +252,6 @@ __name(_MedicalImagingServiceException, "MedicalImagingServiceException");
|
|
|
252
252
|
var MedicalImagingServiceException = _MedicalImagingServiceException;
|
|
253
253
|
|
|
254
254
|
// src/models/models_0.ts
|
|
255
|
-
|
|
256
255
|
var _AccessDeniedException = class _AccessDeniedException extends MedicalImagingServiceException {
|
|
257
256
|
/**
|
|
258
257
|
* @internal
|
|
@@ -442,9 +441,29 @@ var MetadataUpdates;
|
|
|
442
441
|
MetadataUpdates2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
443
442
|
if (value.DICOMUpdates !== void 0)
|
|
444
443
|
return visitor.DICOMUpdates(value.DICOMUpdates);
|
|
444
|
+
if (value.revertToVersionId !== void 0)
|
|
445
|
+
return visitor.revertToVersionId(value.revertToVersionId);
|
|
445
446
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
446
447
|
}, "visit");
|
|
447
448
|
})(MetadataUpdates || (MetadataUpdates = {}));
|
|
449
|
+
var MetadataCopiesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
450
|
+
...obj,
|
|
451
|
+
...obj.copiableAttributes && { copiableAttributes: import_smithy_client.SENSITIVE_STRING }
|
|
452
|
+
}), "MetadataCopiesFilterSensitiveLog");
|
|
453
|
+
var CopySourceImageSetInformationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
454
|
+
...obj,
|
|
455
|
+
...obj.DICOMCopies && { DICOMCopies: MetadataCopiesFilterSensitiveLog(obj.DICOMCopies) }
|
|
456
|
+
}), "CopySourceImageSetInformationFilterSensitiveLog");
|
|
457
|
+
var CopyImageSetInformationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
...obj.sourceImageSet && { sourceImageSet: CopySourceImageSetInformationFilterSensitiveLog(obj.sourceImageSet) }
|
|
460
|
+
}), "CopyImageSetInformationFilterSensitiveLog");
|
|
461
|
+
var CopyImageSetRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
462
|
+
...obj,
|
|
463
|
+
...obj.copyImageSetInformation && {
|
|
464
|
+
copyImageSetInformation: CopyImageSetInformationFilterSensitiveLog(obj.copyImageSetInformation)
|
|
465
|
+
}
|
|
466
|
+
}), "CopyImageSetRequestFilterSensitiveLog");
|
|
448
467
|
var GetImageFrameResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
449
468
|
...obj
|
|
450
469
|
}), "GetImageFrameResponseFilterSensitiveLog");
|
|
@@ -525,6 +544,8 @@ var DICOMUpdatesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
525
544
|
var MetadataUpdatesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
526
545
|
if (obj.DICOMUpdates !== void 0)
|
|
527
546
|
return { DICOMUpdates: DICOMUpdatesFilterSensitiveLog(obj.DICOMUpdates) };
|
|
547
|
+
if (obj.revertToVersionId !== void 0)
|
|
548
|
+
return { revertToVersionId: obj.revertToVersionId };
|
|
528
549
|
if (obj.$unknown !== void 0)
|
|
529
550
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
530
551
|
}, "MetadataUpdatesFilterSensitiveLog");
|
|
@@ -536,6 +557,11 @@ var UpdateImageSetMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((ob
|
|
|
536
557
|
}), "UpdateImageSetMetadataRequestFilterSensitiveLog");
|
|
537
558
|
|
|
538
559
|
// src/protocols/Aws_restJson1.ts
|
|
560
|
+
var import_core2 = require("@aws-sdk/core");
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
var import_uuid = require("uuid");
|
|
539
565
|
var se_CopyImageSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
540
566
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
541
567
|
const headers = {
|
|
@@ -544,6 +570,9 @@ var se_CopyImageSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
544
570
|
b.bp("/datastore/{datastoreId}/imageSet/{sourceImageSetId}/copyImageSet");
|
|
545
571
|
b.p("datastoreId", () => input.datastoreId, "{datastoreId}", false);
|
|
546
572
|
b.p("sourceImageSetId", () => input.sourceImageSetId, "{sourceImageSetId}", false);
|
|
573
|
+
const query = (0, import_smithy_client.map)({
|
|
574
|
+
[_f]: [() => input.force !== void 0, () => input[_f].toString()]
|
|
575
|
+
});
|
|
547
576
|
let body;
|
|
548
577
|
if (input.copyImageSetInformation !== void 0) {
|
|
549
578
|
body = (0, import_smithy_client._json)(input.copyImageSetInformation);
|
|
@@ -560,7 +589,7 @@ var se_CopyImageSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
560
589
|
}
|
|
561
590
|
}
|
|
562
591
|
b.hn(resolvedHostname);
|
|
563
|
-
b.m("POST").h(headers).b(body);
|
|
592
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
564
593
|
return b.build();
|
|
565
594
|
}, "se_CopyImageSetCommand");
|
|
566
595
|
var se_CreateDatastoreCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -845,7 +874,8 @@ var se_UpdateImageSetMetadataCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
845
874
|
b.p("datastoreId", () => input.datastoreId, "{datastoreId}", false);
|
|
846
875
|
b.p("imageSetId", () => input.imageSetId, "{imageSetId}", false);
|
|
847
876
|
const query = (0, import_smithy_client.map)({
|
|
848
|
-
[_lV]: [, (0, import_smithy_client.expectNonNull)(input[_lVI], `latestVersionId`)]
|
|
877
|
+
[_lV]: [, (0, import_smithy_client.expectNonNull)(input[_lVI], `latestVersionId`)],
|
|
878
|
+
[_f]: [() => input.force !== void 0, () => input[_f].toString()]
|
|
849
879
|
});
|
|
850
880
|
let body;
|
|
851
881
|
if (input.updateImageSetMetadataUpdates !== void 0) {
|
|
@@ -987,6 +1017,7 @@ var de_GetImageSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
987
1017
|
imageSetState: import_smithy_client.expectString,
|
|
988
1018
|
imageSetWorkflowStatus: import_smithy_client.expectString,
|
|
989
1019
|
message: import_smithy_client.expectString,
|
|
1020
|
+
overrides: import_smithy_client._json,
|
|
990
1021
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
991
1022
|
versionId: import_smithy_client.expectString
|
|
992
1023
|
});
|
|
@@ -1278,6 +1309,7 @@ var se_DICOMUpdates = /* @__PURE__ */ __name((input, context) => {
|
|
|
1278
1309
|
var se_MetadataUpdates = /* @__PURE__ */ __name((input, context) => {
|
|
1279
1310
|
return MetadataUpdates.visit(input, {
|
|
1280
1311
|
DICOMUpdates: (value) => ({ DICOMUpdates: se_DICOMUpdates(value, context) }),
|
|
1312
|
+
revertToVersionId: (value) => ({ revertToVersionId: value }),
|
|
1281
1313
|
_: (name, value) => ({ name: value })
|
|
1282
1314
|
});
|
|
1283
1315
|
}, "se_MetadataUpdates");
|
|
@@ -1405,6 +1437,7 @@ var de_ImageSetProperties = /* @__PURE__ */ __name((output, context) => {
|
|
|
1405
1437
|
imageSetId: import_smithy_client.expectString,
|
|
1406
1438
|
imageSetState: import_smithy_client.expectString,
|
|
1407
1439
|
message: import_smithy_client.expectString,
|
|
1440
|
+
overrides: import_smithy_client._json,
|
|
1408
1441
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1409
1442
|
versionId: import_smithy_client.expectString
|
|
1410
1443
|
});
|
|
@@ -1441,6 +1474,7 @@ var _cT = "contentType";
|
|
|
1441
1474
|
var _ce = "content-encoding";
|
|
1442
1475
|
var _ct = "content-type";
|
|
1443
1476
|
var _dS = "datastoreStatus";
|
|
1477
|
+
var _f = "force";
|
|
1444
1478
|
var _jS = "jobStatus";
|
|
1445
1479
|
var _lV = "latestVersion";
|
|
1446
1480
|
var _lVI = "latestVersionId";
|
|
@@ -1458,7 +1492,7 @@ var _CopyImageSetCommand = class _CopyImageSetCommand extends import_smithy_clie
|
|
|
1458
1492
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1459
1493
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1460
1494
|
];
|
|
1461
|
-
}).s("AHIGatewayService", "CopyImageSet", {}).n("MedicalImagingClient", "CopyImageSetCommand").f(
|
|
1495
|
+
}).s("AHIGatewayService", "CopyImageSet", {}).n("MedicalImagingClient", "CopyImageSetCommand").f(CopyImageSetRequestFilterSensitiveLog, void 0).ser(se_CopyImageSetCommand).de(de_CopyImageSetCommand).build() {
|
|
1462
1496
|
};
|
|
1463
1497
|
__name(_CopyImageSetCommand, "CopyImageSetCommand");
|
|
1464
1498
|
var CopyImageSetCommand = _CopyImageSetCommand;
|
|
@@ -1823,6 +1857,10 @@ var paginateSearchImageSets = (0, import_core.createPaginator)(MedicalImagingCli
|
|
|
1823
1857
|
SortField,
|
|
1824
1858
|
SortOrder,
|
|
1825
1859
|
MetadataUpdates,
|
|
1860
|
+
MetadataCopiesFilterSensitiveLog,
|
|
1861
|
+
CopySourceImageSetInformationFilterSensitiveLog,
|
|
1862
|
+
CopyImageSetInformationFilterSensitiveLog,
|
|
1863
|
+
CopyImageSetRequestFilterSensitiveLog,
|
|
1826
1864
|
GetImageFrameResponseFilterSensitiveLog,
|
|
1827
1865
|
GetImageSetMetadataResponseFilterSensitiveLog,
|
|
1828
1866
|
DICOMStudyDateAndTimeFilterSensitiveLog,
|
|
@@ -19,19 +19,19 @@ export class MedicalImagingClient extends __Client {
|
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
20
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
21
21
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
22
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveUserAgentConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveRetryConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
31
29
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
31
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
32
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
36
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
37
37
|
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CopyImageSetRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { de_CopyImageSetCommand, se_CopyImageSetCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CopyImageSetCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class CopyImageSetCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("AHIGatewayService", "CopyImageSet", {})
|
|
19
20
|
.n("MedicalImagingClient", "CopyImageSetCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(CopyImageSetRequestFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_CopyImageSetCommand)
|
|
22
23
|
.de(de_CopyImageSetCommand)
|
|
23
24
|
.build() {
|
|
@@ -154,9 +154,29 @@ export var MetadataUpdates;
|
|
|
154
154
|
MetadataUpdates.visit = (value, visitor) => {
|
|
155
155
|
if (value.DICOMUpdates !== undefined)
|
|
156
156
|
return visitor.DICOMUpdates(value.DICOMUpdates);
|
|
157
|
+
if (value.revertToVersionId !== undefined)
|
|
158
|
+
return visitor.revertToVersionId(value.revertToVersionId);
|
|
157
159
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
158
160
|
};
|
|
159
161
|
})(MetadataUpdates || (MetadataUpdates = {}));
|
|
162
|
+
export const MetadataCopiesFilterSensitiveLog = (obj) => ({
|
|
163
|
+
...obj,
|
|
164
|
+
...(obj.copiableAttributes && { copiableAttributes: SENSITIVE_STRING }),
|
|
165
|
+
});
|
|
166
|
+
export const CopySourceImageSetInformationFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
...(obj.DICOMCopies && { DICOMCopies: MetadataCopiesFilterSensitiveLog(obj.DICOMCopies) }),
|
|
169
|
+
});
|
|
170
|
+
export const CopyImageSetInformationFilterSensitiveLog = (obj) => ({
|
|
171
|
+
...obj,
|
|
172
|
+
...(obj.sourceImageSet && { sourceImageSet: CopySourceImageSetInformationFilterSensitiveLog(obj.sourceImageSet) }),
|
|
173
|
+
});
|
|
174
|
+
export const CopyImageSetRequestFilterSensitiveLog = (obj) => ({
|
|
175
|
+
...obj,
|
|
176
|
+
...(obj.copyImageSetInformation && {
|
|
177
|
+
copyImageSetInformation: CopyImageSetInformationFilterSensitiveLog(obj.copyImageSetInformation),
|
|
178
|
+
}),
|
|
179
|
+
});
|
|
160
180
|
export const GetImageFrameResponseFilterSensitiveLog = (obj) => ({
|
|
161
181
|
...obj,
|
|
162
182
|
});
|
|
@@ -235,6 +255,8 @@ export const DICOMUpdatesFilterSensitiveLog = (obj) => ({
|
|
|
235
255
|
export const MetadataUpdatesFilterSensitiveLog = (obj) => {
|
|
236
256
|
if (obj.DICOMUpdates !== undefined)
|
|
237
257
|
return { DICOMUpdates: DICOMUpdatesFilterSensitiveLog(obj.DICOMUpdates) };
|
|
258
|
+
if (obj.revertToVersionId !== undefined)
|
|
259
|
+
return { revertToVersionId: obj.revertToVersionId };
|
|
238
260
|
if (obj.$unknown !== undefined)
|
|
239
261
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
240
262
|
};
|
|
@@ -13,6 +13,9 @@ export const se_CopyImageSetCommand = async (input, context) => {
|
|
|
13
13
|
b.bp("/datastore/{datastoreId}/imageSet/{sourceImageSetId}/copyImageSet");
|
|
14
14
|
b.p("datastoreId", () => input.datastoreId, "{datastoreId}", false);
|
|
15
15
|
b.p("sourceImageSetId", () => input.sourceImageSetId, "{sourceImageSetId}", false);
|
|
16
|
+
const query = map({
|
|
17
|
+
[_f]: [() => input.force !== void 0, () => input[_f].toString()],
|
|
18
|
+
});
|
|
16
19
|
let body;
|
|
17
20
|
if (input.copyImageSetInformation !== undefined) {
|
|
18
21
|
body = _json(input.copyImageSetInformation);
|
|
@@ -29,7 +32,7 @@ export const se_CopyImageSetCommand = async (input, context) => {
|
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
b.hn(resolvedHostname);
|
|
32
|
-
b.m("POST").h(headers).b(body);
|
|
35
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
33
36
|
return b.build();
|
|
34
37
|
};
|
|
35
38
|
export const se_CreateDatastoreCommand = async (input, context) => {
|
|
@@ -309,6 +312,7 @@ export const se_UpdateImageSetMetadataCommand = async (input, context) => {
|
|
|
309
312
|
b.p("imageSetId", () => input.imageSetId, "{imageSetId}", false);
|
|
310
313
|
const query = map({
|
|
311
314
|
[_lV]: [, __expectNonNull(input[_lVI], `latestVersionId`)],
|
|
315
|
+
[_f]: [() => input.force !== void 0, () => input[_f].toString()],
|
|
312
316
|
});
|
|
313
317
|
let body;
|
|
314
318
|
if (input.updateImageSetMetadataUpdates !== undefined) {
|
|
@@ -450,6 +454,7 @@ export const de_GetImageSetCommand = async (output, context) => {
|
|
|
450
454
|
imageSetState: __expectString,
|
|
451
455
|
imageSetWorkflowStatus: __expectString,
|
|
452
456
|
message: __expectString,
|
|
457
|
+
overrides: _json,
|
|
453
458
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
454
459
|
versionId: __expectString,
|
|
455
460
|
});
|
|
@@ -741,6 +746,7 @@ const se_DICOMUpdates = (input, context) => {
|
|
|
741
746
|
const se_MetadataUpdates = (input, context) => {
|
|
742
747
|
return MetadataUpdates.visit(input, {
|
|
743
748
|
DICOMUpdates: (value) => ({ DICOMUpdates: se_DICOMUpdates(value, context) }),
|
|
749
|
+
revertToVersionId: (value) => ({ revertToVersionId: value }),
|
|
744
750
|
_: (name, value) => ({ name: value }),
|
|
745
751
|
});
|
|
746
752
|
};
|
|
@@ -876,6 +882,7 @@ const de_ImageSetProperties = (output, context) => {
|
|
|
876
882
|
imageSetId: __expectString,
|
|
877
883
|
imageSetState: __expectString,
|
|
878
884
|
message: __expectString,
|
|
885
|
+
overrides: _json,
|
|
879
886
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
880
887
|
versionId: __expectString,
|
|
881
888
|
});
|
|
@@ -922,6 +929,7 @@ const _cT = "contentType";
|
|
|
922
929
|
const _ce = "content-encoding";
|
|
923
930
|
const _ct = "content-type";
|
|
924
931
|
const _dS = "datastoreStatus";
|
|
932
|
+
const _f = "force";
|
|
925
933
|
const _jS = "jobStatus";
|
|
926
934
|
const _lV = "latestVersion";
|
|
927
935
|
const _lVI = "latestVersionId";
|
|
@@ -154,7 +154,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
154
154
|
/**
|
|
155
155
|
* @public
|
|
156
156
|
*/
|
|
157
|
-
export type MedicalImagingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
157
|
+
export type MedicalImagingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
158
158
|
/**
|
|
159
159
|
* @public
|
|
160
160
|
*
|
|
@@ -165,7 +165,7 @@ export interface MedicalImagingClientConfig extends MedicalImagingClientConfigTy
|
|
|
165
165
|
/**
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
|
-
export type MedicalImagingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
168
|
+
export type MedicalImagingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
169
169
|
/**
|
|
170
170
|
* @public
|
|
171
171
|
*
|
|
@@ -40,12 +40,16 @@ declare const CopyImageSetCommand_base: {
|
|
|
40
40
|
* copyImageSetInformation: { // CopyImageSetInformation
|
|
41
41
|
* sourceImageSet: { // CopySourceImageSetInformation
|
|
42
42
|
* latestVersionId: "STRING_VALUE", // required
|
|
43
|
+
* DICOMCopies: { // MetadataCopies
|
|
44
|
+
* copiableAttributes: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
43
46
|
* },
|
|
44
47
|
* destinationImageSet: { // CopyDestinationImageSet
|
|
45
48
|
* imageSetId: "STRING_VALUE", // required
|
|
46
49
|
* latestVersionId: "STRING_VALUE", // required
|
|
47
50
|
* },
|
|
48
51
|
* },
|
|
52
|
+
* force: true || false,
|
|
49
53
|
* };
|
|
50
54
|
* const command = new CopyImageSetCommand(input);
|
|
51
55
|
* const response = await client.send(command);
|
|
@@ -53,6 +53,9 @@ declare const ListImageSetVersionsCommand_base: {
|
|
|
53
53
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
54
|
* // deletedAt: new Date("TIMESTAMP"),
|
|
55
55
|
* // message: "STRING_VALUE",
|
|
56
|
+
* // overrides: { // Overrides
|
|
57
|
+
* // forced: true || false,
|
|
58
|
+
* // },
|
|
56
59
|
* // },
|
|
57
60
|
* // ],
|
|
58
61
|
* // nextToken: "STRING_VALUE",
|
|
@@ -38,11 +38,13 @@ declare const UpdateImageSetMetadataCommand_base: {
|
|
|
38
38
|
* datastoreId: "STRING_VALUE", // required
|
|
39
39
|
* imageSetId: "STRING_VALUE", // required
|
|
40
40
|
* latestVersionId: "STRING_VALUE", // required
|
|
41
|
+
* force: true || false,
|
|
41
42
|
* updateImageSetMetadataUpdates: { // MetadataUpdates Union: only one key present
|
|
42
43
|
* DICOMUpdates: { // DICOMUpdates
|
|
43
44
|
* removableAttributes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
44
45
|
* updatableAttributes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
45
46
|
* },
|
|
47
|
+
* revertToVersionId: "STRING_VALUE",
|
|
46
48
|
* },
|
|
47
49
|
* };
|
|
48
50
|
* const command = new UpdateImageSetMetadataCommand(input);
|
|
@@ -41,6 +41,18 @@ export interface CopyDestinationImageSet {
|
|
|
41
41
|
*/
|
|
42
42
|
latestVersionId: string | undefined;
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* <p>Contains copiable <code>Attributes</code> structure and wraps information related to specific copy use cases.
|
|
46
|
+
* For example, when copying subsets.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface MetadataCopies {
|
|
50
|
+
/**
|
|
51
|
+
* <p>The JSON string used to specify a subset of SOP Instances to copy from source to destination image set.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
copiableAttributes: string | undefined;
|
|
55
|
+
}
|
|
44
56
|
/**
|
|
45
57
|
* <p>Copy source image set information.</p>
|
|
46
58
|
* @public
|
|
@@ -51,6 +63,12 @@ export interface CopySourceImageSetInformation {
|
|
|
51
63
|
* @public
|
|
52
64
|
*/
|
|
53
65
|
latestVersionId: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>Contains <code>MetadataCopies</code> structure and wraps information related to specific copy use cases.
|
|
68
|
+
* For example, when copying subsets.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
DICOMCopies?: MetadataCopies;
|
|
54
72
|
}
|
|
55
73
|
/**
|
|
56
74
|
* <p>Copy image set information.</p>
|
|
@@ -87,6 +105,12 @@ export interface CopyImageSetRequest {
|
|
|
87
105
|
* @public
|
|
88
106
|
*/
|
|
89
107
|
copyImageSetInformation: CopyImageSetInformation | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>Setting this flag will force the <code>CopyImageSet</code> operation, even if Patient, Study, or Series level
|
|
110
|
+
* metadata are mismatched across the <code>sourceImageSet</code> and <code>destinationImageSet</code>.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
force?: boolean;
|
|
90
114
|
}
|
|
91
115
|
/**
|
|
92
116
|
* @public
|
|
@@ -697,6 +721,19 @@ export interface GetImageSetRequest {
|
|
|
697
721
|
*/
|
|
698
722
|
versionId?: string;
|
|
699
723
|
}
|
|
724
|
+
/**
|
|
725
|
+
* <p>Specifies the overrides used in image set modification calls to <code>CopyImageSet</code> and
|
|
726
|
+
* <code>UpdateImageSetMetadata</code>.</p>
|
|
727
|
+
* @public
|
|
728
|
+
*/
|
|
729
|
+
export interface Overrides {
|
|
730
|
+
/**
|
|
731
|
+
* <p>Setting this flag will force the <code>CopyImageSet</code> and <code>UpdateImageSetMetadata</code>
|
|
732
|
+
* operations, even if Patient, Study, or Series level metadata are mismatched.</p>
|
|
733
|
+
* @public
|
|
734
|
+
*/
|
|
735
|
+
forced?: boolean;
|
|
736
|
+
}
|
|
700
737
|
/**
|
|
701
738
|
* @public
|
|
702
739
|
*/
|
|
@@ -751,6 +788,13 @@ export interface GetImageSetResponse {
|
|
|
751
788
|
* @public
|
|
752
789
|
*/
|
|
753
790
|
imageSetArn?: string;
|
|
791
|
+
/**
|
|
792
|
+
* <p>This object contains the details of any overrides used while creating a specific image set version.
|
|
793
|
+
* If an image set was copied or updated using the <code>force</code> flag, this object will contain the
|
|
794
|
+
* <code>forced</code> flag.</p>
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
overrides?: Overrides;
|
|
754
798
|
}
|
|
755
799
|
/**
|
|
756
800
|
* @public
|
|
@@ -948,6 +992,13 @@ export interface ImageSetProperties {
|
|
|
948
992
|
* @public
|
|
949
993
|
*/
|
|
950
994
|
message?: string;
|
|
995
|
+
/**
|
|
996
|
+
* <p>Contains details on overrides used when creating the returned version of an image set.
|
|
997
|
+
* For example, if <code>forced</code> exists, the <code>forced</code> flag was used when
|
|
998
|
+
* creating the image set.</p>
|
|
999
|
+
* @public
|
|
1000
|
+
*/
|
|
1001
|
+
overrides?: Overrides;
|
|
951
1002
|
}
|
|
952
1003
|
/**
|
|
953
1004
|
* @public
|
|
@@ -1531,7 +1582,7 @@ export interface DICOMUpdates {
|
|
|
1531
1582
|
* <p>Contains DICOMUpdates.</p>
|
|
1532
1583
|
* @public
|
|
1533
1584
|
*/
|
|
1534
|
-
export type MetadataUpdates = MetadataUpdates.DICOMUpdatesMember | MetadataUpdates.$UnknownMember;
|
|
1585
|
+
export type MetadataUpdates = MetadataUpdates.DICOMUpdatesMember | MetadataUpdates.RevertToVersionIdMember | MetadataUpdates.$UnknownMember;
|
|
1535
1586
|
/**
|
|
1536
1587
|
* @public
|
|
1537
1588
|
*/
|
|
@@ -1542,6 +1593,20 @@ export declare namespace MetadataUpdates {
|
|
|
1542
1593
|
*/
|
|
1543
1594
|
interface DICOMUpdatesMember {
|
|
1544
1595
|
DICOMUpdates: DICOMUpdates;
|
|
1596
|
+
revertToVersionId?: never;
|
|
1597
|
+
$unknown?: never;
|
|
1598
|
+
}
|
|
1599
|
+
/**
|
|
1600
|
+
* <p>Specifies the previous image set version ID to revert the current image set back to.</p>
|
|
1601
|
+
* <note>
|
|
1602
|
+
* <p>You must provide either <code>revertToVersionId</code> or <code>DICOMUpdates</code> in your request. A
|
|
1603
|
+
* <code>ValidationException</code> error is thrown if both parameters are provided at the same time.</p>
|
|
1604
|
+
* </note>
|
|
1605
|
+
* @public
|
|
1606
|
+
*/
|
|
1607
|
+
interface RevertToVersionIdMember {
|
|
1608
|
+
DICOMUpdates?: never;
|
|
1609
|
+
revertToVersionId: string;
|
|
1545
1610
|
$unknown?: never;
|
|
1546
1611
|
}
|
|
1547
1612
|
/**
|
|
@@ -1549,10 +1614,12 @@ export declare namespace MetadataUpdates {
|
|
|
1549
1614
|
*/
|
|
1550
1615
|
interface $UnknownMember {
|
|
1551
1616
|
DICOMUpdates?: never;
|
|
1617
|
+
revertToVersionId?: never;
|
|
1552
1618
|
$unknown: [string, any];
|
|
1553
1619
|
}
|
|
1554
1620
|
interface Visitor<T> {
|
|
1555
1621
|
DICOMUpdates: (value: DICOMUpdates) => T;
|
|
1622
|
+
revertToVersionId: (value: string) => T;
|
|
1556
1623
|
_: (name: string, value: any) => T;
|
|
1557
1624
|
}
|
|
1558
1625
|
const visit: <T>(value: MetadataUpdates, visitor: Visitor<T>) => T;
|
|
@@ -1576,6 +1643,21 @@ export interface UpdateImageSetMetadataRequest {
|
|
|
1576
1643
|
* @public
|
|
1577
1644
|
*/
|
|
1578
1645
|
latestVersionId: string | undefined;
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>Setting this flag will force the <code>UpdateImageSetMetadata</code> operation for the following attributes:</p>
|
|
1648
|
+
* <ul>
|
|
1649
|
+
* <li>
|
|
1650
|
+
* <p>
|
|
1651
|
+
* <code>Tag.StudyInstanceUID</code>, <code>Tag.SeriesInstanceUID</code>, <code>Tag.SOPInstanceUID</code>, and <code>Tag.StudyID</code>
|
|
1652
|
+
* </p>
|
|
1653
|
+
* </li>
|
|
1654
|
+
* <li>
|
|
1655
|
+
* <p>Adding, removing, or updating private tags for an individual SOP Instance</p>
|
|
1656
|
+
* </li>
|
|
1657
|
+
* </ul>
|
|
1658
|
+
* @public
|
|
1659
|
+
*/
|
|
1660
|
+
force?: boolean;
|
|
1579
1661
|
/**
|
|
1580
1662
|
* <p>Update image set metadata updates.</p>
|
|
1581
1663
|
* @public
|
|
@@ -1627,6 +1709,22 @@ export interface UpdateImageSetMetadataResponse {
|
|
|
1627
1709
|
*/
|
|
1628
1710
|
message?: string;
|
|
1629
1711
|
}
|
|
1712
|
+
/**
|
|
1713
|
+
* @internal
|
|
1714
|
+
*/
|
|
1715
|
+
export declare const MetadataCopiesFilterSensitiveLog: (obj: MetadataCopies) => any;
|
|
1716
|
+
/**
|
|
1717
|
+
* @internal
|
|
1718
|
+
*/
|
|
1719
|
+
export declare const CopySourceImageSetInformationFilterSensitiveLog: (obj: CopySourceImageSetInformation) => any;
|
|
1720
|
+
/**
|
|
1721
|
+
* @internal
|
|
1722
|
+
*/
|
|
1723
|
+
export declare const CopyImageSetInformationFilterSensitiveLog: (obj: CopyImageSetInformation) => any;
|
|
1724
|
+
/**
|
|
1725
|
+
* @internal
|
|
1726
|
+
*/
|
|
1727
|
+
export declare const CopyImageSetRequestFilterSensitiveLog: (obj: CopyImageSetRequest) => any;
|
|
1630
1728
|
/**
|
|
1631
1729
|
* @internal
|
|
1632
1730
|
*/
|
|
@@ -33,8 +33,8 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
|
|
|
33
33
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
34
|
}) => import("@smithy/types").EndpointV2;
|
|
35
35
|
tls?: boolean | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
|
|
|
33
33
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
34
|
}) => import("@smithy/types").EndpointV2;
|
|
35
35
|
tls?: boolean | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -195,9 +195,9 @@ export type MedicalImagingClientConfigType = Partial<
|
|
|
195
195
|
ClientDefaults &
|
|
196
196
|
RegionInputConfig &
|
|
197
197
|
EndpointInputConfig<EndpointParameters> &
|
|
198
|
-
RetryInputConfig &
|
|
199
198
|
HostHeaderInputConfig &
|
|
200
199
|
UserAgentInputConfig &
|
|
200
|
+
RetryInputConfig &
|
|
201
201
|
HttpAuthSchemeInputConfig &
|
|
202
202
|
ClientInputEndpointParameters;
|
|
203
203
|
export interface MedicalImagingClientConfig
|
|
@@ -208,9 +208,9 @@ export type MedicalImagingClientResolvedConfigType =
|
|
|
208
208
|
RuntimeExtensionsConfig &
|
|
209
209
|
RegionResolvedConfig &
|
|
210
210
|
EndpointResolvedConfig<EndpointParameters> &
|
|
211
|
-
RetryResolvedConfig &
|
|
212
211
|
HostHeaderResolvedConfig &
|
|
213
212
|
UserAgentResolvedConfig &
|
|
213
|
+
RetryResolvedConfig &
|
|
214
214
|
HttpAuthSchemeResolvedConfig &
|
|
215
215
|
ClientResolvedEndpointParameters;
|
|
216
216
|
export interface MedicalImagingClientResolvedConfig
|
|
@@ -17,8 +17,12 @@ export interface CopyDestinationImageSet {
|
|
|
17
17
|
imageSetId: string | undefined;
|
|
18
18
|
latestVersionId: string | undefined;
|
|
19
19
|
}
|
|
20
|
+
export interface MetadataCopies {
|
|
21
|
+
copiableAttributes: string | undefined;
|
|
22
|
+
}
|
|
20
23
|
export interface CopySourceImageSetInformation {
|
|
21
24
|
latestVersionId: string | undefined;
|
|
25
|
+
DICOMCopies?: MetadataCopies;
|
|
22
26
|
}
|
|
23
27
|
export interface CopyImageSetInformation {
|
|
24
28
|
sourceImageSet: CopySourceImageSetInformation | undefined;
|
|
@@ -28,6 +32,7 @@ export interface CopyImageSetRequest {
|
|
|
28
32
|
datastoreId: string | undefined;
|
|
29
33
|
sourceImageSetId: string | undefined;
|
|
30
34
|
copyImageSetInformation: CopyImageSetInformation | undefined;
|
|
35
|
+
force?: boolean;
|
|
31
36
|
}
|
|
32
37
|
export declare const ImageSetState: {
|
|
33
38
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -218,6 +223,9 @@ export interface GetImageSetRequest {
|
|
|
218
223
|
imageSetId: string | undefined;
|
|
219
224
|
versionId?: string;
|
|
220
225
|
}
|
|
226
|
+
export interface Overrides {
|
|
227
|
+
forced?: boolean;
|
|
228
|
+
}
|
|
221
229
|
export interface GetImageSetResponse {
|
|
222
230
|
datastoreId: string | undefined;
|
|
223
231
|
imageSetId: string | undefined;
|
|
@@ -229,6 +237,7 @@ export interface GetImageSetResponse {
|
|
|
229
237
|
deletedAt?: Date;
|
|
230
238
|
message?: string;
|
|
231
239
|
imageSetArn?: string;
|
|
240
|
+
overrides?: Overrides;
|
|
232
241
|
}
|
|
233
242
|
export interface GetImageSetMetadataRequest {
|
|
234
243
|
datastoreId: string | undefined;
|
|
@@ -275,6 +284,7 @@ export interface ImageSetProperties {
|
|
|
275
284
|
updatedAt?: Date;
|
|
276
285
|
deletedAt?: Date;
|
|
277
286
|
message?: string;
|
|
287
|
+
overrides?: Overrides;
|
|
278
288
|
}
|
|
279
289
|
export interface ListImageSetVersionsResponse {
|
|
280
290
|
imageSetPropertiesList: ImageSetProperties[] | undefined;
|
|
@@ -508,18 +518,27 @@ export interface DICOMUpdates {
|
|
|
508
518
|
}
|
|
509
519
|
export type MetadataUpdates =
|
|
510
520
|
| MetadataUpdates.DICOMUpdatesMember
|
|
521
|
+
| MetadataUpdates.RevertToVersionIdMember
|
|
511
522
|
| MetadataUpdates.$UnknownMember;
|
|
512
523
|
export declare namespace MetadataUpdates {
|
|
513
524
|
interface DICOMUpdatesMember {
|
|
514
525
|
DICOMUpdates: DICOMUpdates;
|
|
526
|
+
revertToVersionId?: never;
|
|
527
|
+
$unknown?: never;
|
|
528
|
+
}
|
|
529
|
+
interface RevertToVersionIdMember {
|
|
530
|
+
DICOMUpdates?: never;
|
|
531
|
+
revertToVersionId: string;
|
|
515
532
|
$unknown?: never;
|
|
516
533
|
}
|
|
517
534
|
interface $UnknownMember {
|
|
518
535
|
DICOMUpdates?: never;
|
|
536
|
+
revertToVersionId?: never;
|
|
519
537
|
$unknown: [string, any];
|
|
520
538
|
}
|
|
521
539
|
interface Visitor<T> {
|
|
522
540
|
DICOMUpdates: (value: DICOMUpdates) => T;
|
|
541
|
+
revertToVersionId: (value: string) => T;
|
|
523
542
|
_: (name: string, value: any) => T;
|
|
524
543
|
}
|
|
525
544
|
const visit: <T>(value: MetadataUpdates, visitor: Visitor<T>) => T;
|
|
@@ -528,6 +547,7 @@ export interface UpdateImageSetMetadataRequest {
|
|
|
528
547
|
datastoreId: string | undefined;
|
|
529
548
|
imageSetId: string | undefined;
|
|
530
549
|
latestVersionId: string | undefined;
|
|
550
|
+
force?: boolean;
|
|
531
551
|
updateImageSetMetadataUpdates: MetadataUpdates | undefined;
|
|
532
552
|
}
|
|
533
553
|
export interface UpdateImageSetMetadataResponse {
|
|
@@ -540,6 +560,18 @@ export interface UpdateImageSetMetadataResponse {
|
|
|
540
560
|
updatedAt?: Date;
|
|
541
561
|
message?: string;
|
|
542
562
|
}
|
|
563
|
+
export declare const MetadataCopiesFilterSensitiveLog: (
|
|
564
|
+
obj: MetadataCopies
|
|
565
|
+
) => any;
|
|
566
|
+
export declare const CopySourceImageSetInformationFilterSensitiveLog: (
|
|
567
|
+
obj: CopySourceImageSetInformation
|
|
568
|
+
) => any;
|
|
569
|
+
export declare const CopyImageSetInformationFilterSensitiveLog: (
|
|
570
|
+
obj: CopyImageSetInformation
|
|
571
|
+
) => any;
|
|
572
|
+
export declare const CopyImageSetRequestFilterSensitiveLog: (
|
|
573
|
+
obj: CopyImageSetRequest
|
|
574
|
+
) => any;
|
|
543
575
|
export declare const GetImageFrameResponseFilterSensitiveLog: (
|
|
544
576
|
obj: GetImageFrameResponse
|
|
545
577
|
) => any;
|
|
@@ -57,11 +57,11 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
|
|
|
57
57
|
}
|
|
58
58
|
) => import("@smithy/types").EndpointV2;
|
|
59
59
|
tls?: boolean | undefined;
|
|
60
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
60
61
|
retryStrategy?:
|
|
61
62
|
| import("@smithy/types").RetryStrategy
|
|
62
63
|
| import("@smithy/types").RetryStrategyV2
|
|
63
64
|
| undefined;
|
|
64
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
65
65
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
66
66
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
|
|
67
67
|
credentials?:
|
|
@@ -61,11 +61,11 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
|
|
|
61
61
|
}
|
|
62
62
|
) => import("@smithy/types").EndpointV2;
|
|
63
63
|
tls?: boolean | undefined;
|
|
64
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
64
65
|
retryStrategy?:
|
|
65
66
|
| import("@smithy/types").RetryStrategy
|
|
66
67
|
| import("@smithy/types").RetryStrategyV2
|
|
67
68
|
| undefined;
|
|
68
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
69
69
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
70
70
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
|
|
71
71
|
credentials?:
|
|
@@ -51,11 +51,11 @@ export declare const getRuntimeConfig: (config: MedicalImagingClientConfig) => {
|
|
|
51
51
|
}
|
|
52
52
|
) => import("@smithy/types").EndpointV2;
|
|
53
53
|
tls?: boolean | undefined;
|
|
54
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
54
55
|
retryStrategy?:
|
|
55
56
|
| import("@smithy/types").RetryStrategy
|
|
56
57
|
| import("@smithy/types").RetryStrategyV2
|
|
57
58
|
| undefined;
|
|
58
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
59
59
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
60
60
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MedicalImagingHttpAuthSchemeProvider;
|
|
61
61
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-medical-imaging",
|
|
3
3
|
"description": "AWS SDK for JavaScript Medical Imaging Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.619.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-medical-imaging",
|
|
@@ -20,44 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.616.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.616.0",
|
|
25
|
+
"@aws-sdk/core": "3.616.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.616.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.616.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.616.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.616.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.614.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.2.7",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.4",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.0.5",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.10",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
|
-
"@smithy/node-http-handler": "^3.1.
|
|
48
|
-
"@smithy/protocol-http": "^4.0.
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
47
|
+
"@smithy/node-http-handler": "^3.1.3",
|
|
48
|
+
"@smithy/protocol-http": "^4.0.4",
|
|
49
|
+
"@smithy/smithy-client": "^3.1.8",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.10",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.10",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|
|
60
|
-
"@smithy/util-stream": "^3.0
|
|
60
|
+
"@smithy/util-stream": "^3.1.0",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|