@aws-sdk/client-medical-imaging 3.1020.0 → 3.1022.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 +1 -0
- package/dist-cjs/models/errors.js +27 -1
- package/dist-cjs/schemas/schemas_0.js +19 -4
- package/dist-es/models/enums.js +1 -0
- package/dist-es/models/errors.js +24 -0
- package/dist-es/schemas/schemas_0.js +18 -3
- package/dist-types/commands/CopyImageSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteImageSetCommand.d.ts +1 -1
- package/dist-types/commands/GetImageFrameCommand.d.ts +6 -0
- package/dist-types/commands/GetImageSetCommand.d.ts +1 -1
- package/dist-types/commands/ListImageSetVersionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageSetMetadataCommand.d.ts +2 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/errors.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.NotAcceptableException = exports.BadRequestException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const MedicalImagingServiceException_1 = require("./MedicalImagingServiceException");
|
|
5
5
|
class AccessDeniedException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -93,3 +93,29 @@ class ValidationException extends MedicalImagingServiceException_1.MedicalImagin
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
exports.ValidationException = ValidationException;
|
|
96
|
+
class BadRequestException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
|
|
97
|
+
name = "BadRequestException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "BadRequestException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.BadRequestException = BadRequestException;
|
|
109
|
+
class NotAcceptableException extends MedicalImagingServiceException_1.MedicalImagingServiceException {
|
|
110
|
+
name = "NotAcceptableException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "NotAcceptableException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, NotAcceptableException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.NotAcceptableException = NotAcceptableException;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateImageSetMetadata$ = exports.UntagResource$ = exports.TagResource$ = exports.StartDICOMImportJob$ = exports.SearchImageSets$ = exports.ListTagsForResource$ = exports.ListImageSetVersions$ = exports.ListDICOMImportJobs$ = exports.ListDatastores$ = exports.GetImageSetMetadata$ = exports.GetImageSet$ = exports.GetImageFrame$ = exports.GetDICOMImportJob$ = exports.GetDatastore$ = exports.DeleteImageSet$ = exports.DeleteDatastore$ = exports.CreateDatastore$ = exports.CopyImageSet$ = exports.SearchByAttributeValue$ = exports.MetadataUpdates$ = exports.UpdateImageSetMetadataResponse$ = exports.UpdateImageSetMetadataRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StartDICOMImportJobResponse$ = exports.StartDICOMImportJobRequest$ = exports.Sort$ = exports.SearchImageSetsResponse$ = exports.SearchImageSetsRequest$ = exports.SearchFilter$ = exports.SearchCriteria$ = exports.Overrides$ = exports.MetadataCopies$ = void 0;
|
|
3
|
+
exports.ListImageSetVersionsResponse$ = exports.ListImageSetVersionsRequest$ = exports.ListDICOMImportJobsResponse$ = exports.ListDICOMImportJobsRequest$ = exports.ListDatastoresResponse$ = exports.ListDatastoresRequest$ = exports.ImageSetsMetadataSummary$ = exports.ImageSetProperties$ = exports.ImageFrameInformation$ = exports.GetImageSetResponse$ = exports.GetImageSetRequest$ = exports.GetImageSetMetadataResponse$ = exports.GetImageSetMetadataRequest$ = exports.GetImageFrameResponse$ = exports.GetImageFrameRequest$ = exports.GetDICOMImportJobResponse$ = exports.GetDICOMImportJobRequest$ = exports.GetDatastoreResponse$ = exports.GetDatastoreRequest$ = exports.DICOMUpdates$ = exports.DICOMTags$ = exports.DICOMStudyDateAndTime$ = exports.DICOMImportJobSummary$ = exports.DICOMImportJobProperties$ = exports.DeleteImageSetResponse$ = exports.DeleteImageSetRequest$ = exports.DeleteDatastoreResponse$ = exports.DeleteDatastoreRequest$ = exports.DatastoreSummary$ = exports.DatastoreProperties$ = exports.CreateDatastoreResponse$ = exports.CreateDatastoreRequest$ = exports.CopySourceImageSetProperties$ = exports.CopySourceImageSetInformation$ = exports.CopyImageSetResponse$ = exports.CopyImageSetRequest$ = exports.CopyImageSetInformation$ = exports.CopyDestinationImageSetProperties$ = exports.CopyDestinationImageSet$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.NotAcceptableException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.BadRequestException$ = exports.AccessDeniedException$ = exports.MedicalImagingServiceException$ = void 0;
|
|
4
|
+
exports.UpdateImageSetMetadata$ = exports.UntagResource$ = exports.TagResource$ = exports.StartDICOMImportJob$ = exports.SearchImageSets$ = exports.ListTagsForResource$ = exports.ListImageSetVersions$ = exports.ListDICOMImportJobs$ = exports.ListDatastores$ = exports.GetImageSetMetadata$ = exports.GetImageSet$ = exports.GetImageFrame$ = exports.GetDICOMImportJob$ = exports.GetDatastore$ = exports.DeleteImageSet$ = exports.DeleteDatastore$ = exports.CreateDatastore$ = exports.CopyImageSet$ = exports.SearchByAttributeValue$ = exports.MetadataUpdates$ = exports.UpdateImageSetMetadataResponse$ = exports.UpdateImageSetMetadataRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StartDICOMImportJobResponse$ = exports.StartDICOMImportJobRequest$ = exports.Sort$ = exports.SearchImageSetsResponse$ = exports.SearchImageSetsRequest$ = exports.SearchFilter$ = exports.SearchCriteria$ = exports.Overrides$ = exports.MetadataCopies$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = void 0;
|
|
5
5
|
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _BRE = "BadRequestException";
|
|
6
7
|
const _CA = "CopiableAttributes";
|
|
7
8
|
const _CD = "CreateDatastore";
|
|
8
9
|
const _CDIS = "CopyDestinationImageSet";
|
|
@@ -88,6 +89,7 @@ const _LTFRR = "ListTagsForResourceRequest";
|
|
|
88
89
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
89
90
|
const _MC = "MetadataCopies";
|
|
90
91
|
const _MU = "MetadataUpdates";
|
|
92
|
+
const _NAE = "NotAcceptableException";
|
|
91
93
|
const _O = "Overrides";
|
|
92
94
|
const _PB = "PayloadBlob";
|
|
93
95
|
const _RNFE = "ResourceNotFoundException";
|
|
@@ -149,6 +151,7 @@ const _iOAI = "inputOwnerAccountId";
|
|
|
149
151
|
const _iP = "isPrimary";
|
|
150
152
|
const _iSA = "imageSetArn";
|
|
151
153
|
const _iSI = "imageSetId";
|
|
154
|
+
const _iSIS = "includeStudyImageSets";
|
|
152
155
|
const _iSMB = "imageSetMetadataBlob";
|
|
153
156
|
const _iSMS = "imageSetsMetadataSummaries";
|
|
154
157
|
const _iSPL = "imageSetPropertiesList";
|
|
@@ -210,6 +213,12 @@ exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
210
213
|
[0], 1
|
|
211
214
|
];
|
|
212
215
|
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
216
|
+
exports.BadRequestException$ = [-3, n0, _BRE,
|
|
217
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
218
|
+
[_m],
|
|
219
|
+
[0], 1
|
|
220
|
+
];
|
|
221
|
+
n0_registry.registerError(exports.BadRequestException$, errors_1.BadRequestException);
|
|
213
222
|
exports.ConflictException$ = [-3, n0, _CE,
|
|
214
223
|
{ [_e]: _c, [_hE]: 409 },
|
|
215
224
|
[_m],
|
|
@@ -222,6 +231,12 @@ exports.InternalServerException$ = [-3, n0, _ISE,
|
|
|
222
231
|
[0], 1
|
|
223
232
|
];
|
|
224
233
|
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
234
|
+
exports.NotAcceptableException$ = [-3, n0, _NAE,
|
|
235
|
+
{ [_e]: _c, [_hE]: 406 },
|
|
236
|
+
[_m],
|
|
237
|
+
[0], 1
|
|
238
|
+
];
|
|
239
|
+
n0_registry.registerError(exports.NotAcceptableException$, errors_1.NotAcceptableException);
|
|
225
240
|
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
226
241
|
{ [_e]: _c, [_hE]: 404 },
|
|
227
242
|
[_m],
|
|
@@ -540,8 +555,8 @@ exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
540
555
|
];
|
|
541
556
|
exports.UpdateImageSetMetadataRequest$ = [3, n0, _UISMR,
|
|
542
557
|
0,
|
|
543
|
-
[_dI, _iSI, _lVI, _uISMU, _f],
|
|
544
|
-
[[0, 1], [0, 1], [0, { [_hQ]: _lV }], [() => exports.MetadataUpdates$, 16], [2, { [_hQ]: _f }]], 4
|
|
558
|
+
[_dI, _iSI, _lVI, _uISMU, _f, _iSIS],
|
|
559
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _lV }], [() => exports.MetadataUpdates$, 16], [2, { [_hQ]: _f }], [2, { [_hQ]: _iSIS }]], 4
|
|
545
560
|
];
|
|
546
561
|
exports.UpdateImageSetMetadataResponse$ = [3, n0, _UISMRp,
|
|
547
562
|
0,
|
package/dist-es/models/enums.js
CHANGED
package/dist-es/models/errors.js
CHANGED
|
@@ -83,3 +83,27 @@ export class ValidationException extends __BaseException {
|
|
|
83
83
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
+
export class BadRequestException extends __BaseException {
|
|
87
|
+
name = "BadRequestException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "BadRequestException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class NotAcceptableException extends __BaseException {
|
|
99
|
+
name = "NotAcceptableException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "NotAcceptableException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, NotAcceptableException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _BRE = "BadRequestException";
|
|
2
3
|
const _CA = "CopiableAttributes";
|
|
3
4
|
const _CD = "CreateDatastore";
|
|
4
5
|
const _CDIS = "CopyDestinationImageSet";
|
|
@@ -84,6 +85,7 @@ const _LTFRR = "ListTagsForResourceRequest";
|
|
|
84
85
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
85
86
|
const _MC = "MetadataCopies";
|
|
86
87
|
const _MU = "MetadataUpdates";
|
|
88
|
+
const _NAE = "NotAcceptableException";
|
|
87
89
|
const _O = "Overrides";
|
|
88
90
|
const _PB = "PayloadBlob";
|
|
89
91
|
const _RNFE = "ResourceNotFoundException";
|
|
@@ -145,6 +147,7 @@ const _iOAI = "inputOwnerAccountId";
|
|
|
145
147
|
const _iP = "isPrimary";
|
|
146
148
|
const _iSA = "imageSetArn";
|
|
147
149
|
const _iSI = "imageSetId";
|
|
150
|
+
const _iSIS = "includeStudyImageSets";
|
|
148
151
|
const _iSMB = "imageSetMetadataBlob";
|
|
149
152
|
const _iSMS = "imageSetsMetadataSummaries";
|
|
150
153
|
const _iSPL = "imageSetPropertiesList";
|
|
@@ -194,7 +197,7 @@ const _vI = "versionId";
|
|
|
194
197
|
const _va = "values";
|
|
195
198
|
const n0 = "com.amazonaws.medicalimaging";
|
|
196
199
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
197
|
-
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
200
|
+
import { AccessDeniedException, BadRequestException, ConflictException, InternalServerException, NotAcceptableException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
198
201
|
import { MedicalImagingServiceException } from "../models/MedicalImagingServiceException";
|
|
199
202
|
const _s_registry = TypeRegistry.for(_s);
|
|
200
203
|
export var MedicalImagingServiceException$ = [-3, _s, "MedicalImagingServiceException", 0, [], []];
|
|
@@ -206,6 +209,12 @@ export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
206
209
|
[0], 1
|
|
207
210
|
];
|
|
208
211
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
212
|
+
export var BadRequestException$ = [-3, n0, _BRE,
|
|
213
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
214
|
+
[_m],
|
|
215
|
+
[0], 1
|
|
216
|
+
];
|
|
217
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
209
218
|
export var ConflictException$ = [-3, n0, _CE,
|
|
210
219
|
{ [_e]: _c, [_hE]: 409 },
|
|
211
220
|
[_m],
|
|
@@ -218,6 +227,12 @@ export var InternalServerException$ = [-3, n0, _ISE,
|
|
|
218
227
|
[0], 1
|
|
219
228
|
];
|
|
220
229
|
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
230
|
+
export var NotAcceptableException$ = [-3, n0, _NAE,
|
|
231
|
+
{ [_e]: _c, [_hE]: 406 },
|
|
232
|
+
[_m],
|
|
233
|
+
[0], 1
|
|
234
|
+
];
|
|
235
|
+
n0_registry.registerError(NotAcceptableException$, NotAcceptableException);
|
|
221
236
|
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
222
237
|
{ [_e]: _c, [_hE]: 404 },
|
|
223
238
|
[_m],
|
|
@@ -536,8 +551,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
536
551
|
];
|
|
537
552
|
export var UpdateImageSetMetadataRequest$ = [3, n0, _UISMR,
|
|
538
553
|
0,
|
|
539
|
-
[_dI, _iSI, _lVI, _uISMU, _f],
|
|
540
|
-
[[0, 1], [0, 1], [0, { [_hQ]: _lV }], [() => MetadataUpdates$, 16], [2, { [_hQ]: _f }]], 4
|
|
554
|
+
[_dI, _iSI, _lVI, _uISMU, _f, _iSIS],
|
|
555
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _lV }], [() => MetadataUpdates$, 16], [2, { [_hQ]: _f }], [2, { [_hQ]: _iSIS }]], 4
|
|
541
556
|
];
|
|
542
557
|
export var UpdateImageSetMetadataResponse$ = [3, n0, _UISMRp,
|
|
543
558
|
0,
|
|
@@ -62,7 +62,7 @@ declare const CopyImageSetCommand_base: {
|
|
|
62
62
|
* // imageSetId: "STRING_VALUE", // required
|
|
63
63
|
* // latestVersionId: "STRING_VALUE", // required
|
|
64
64
|
* // imageSetState: "ACTIVE" || "LOCKED" || "DELETED",
|
|
65
|
-
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
65
|
+
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATING_FOR_STUDY_CONSISTENCY" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
66
66
|
* // createdAt: new Date("TIMESTAMP"),
|
|
67
67
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
68
68
|
* // imageSetArn: "STRING_VALUE",
|
|
@@ -71,7 +71,7 @@ declare const CopyImageSetCommand_base: {
|
|
|
71
71
|
* // imageSetId: "STRING_VALUE", // required
|
|
72
72
|
* // latestVersionId: "STRING_VALUE", // required
|
|
73
73
|
* // imageSetState: "ACTIVE" || "LOCKED" || "DELETED",
|
|
74
|
-
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
74
|
+
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATING_FOR_STUDY_CONSISTENCY" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
75
75
|
* // createdAt: new Date("TIMESTAMP"),
|
|
76
76
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
77
77
|
* // imageSetArn: "STRING_VALUE",
|
|
@@ -46,7 +46,7 @@ declare const DeleteImageSetCommand_base: {
|
|
|
46
46
|
* // datastoreId: "STRING_VALUE", // required
|
|
47
47
|
* // imageSetId: "STRING_VALUE", // required
|
|
48
48
|
* // imageSetState: "ACTIVE" || "LOCKED" || "DELETED", // required
|
|
49
|
-
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED", // required
|
|
49
|
+
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATING_FOR_STUDY_CONSISTENCY" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED", // required
|
|
50
50
|
* // };
|
|
51
51
|
*
|
|
52
52
|
* ```
|
|
@@ -67,12 +67,18 @@ declare const GetImageFrameCommand_base: {
|
|
|
67
67
|
* @throws {@link AccessDeniedException} (client fault)
|
|
68
68
|
* <p>The user does not have sufficient access to perform this action.</p>
|
|
69
69
|
*
|
|
70
|
+
* @throws {@link BadRequestException} (client fault)
|
|
71
|
+
* <p>The request is invalid or malformed.</p>
|
|
72
|
+
*
|
|
70
73
|
* @throws {@link ConflictException} (client fault)
|
|
71
74
|
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
72
75
|
*
|
|
73
76
|
* @throws {@link InternalServerException} (server fault)
|
|
74
77
|
* <p>An unexpected error occurred during processing of the request.</p>
|
|
75
78
|
*
|
|
79
|
+
* @throws {@link NotAcceptableException} (client fault)
|
|
80
|
+
* <p>The request content type or accept header is not supported.</p>
|
|
81
|
+
*
|
|
76
82
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
83
|
* <p>The request references a resource which does not exist.</p>
|
|
78
84
|
*
|
|
@@ -48,7 +48,7 @@ declare const GetImageSetCommand_base: {
|
|
|
48
48
|
* // imageSetId: "STRING_VALUE", // required
|
|
49
49
|
* // versionId: "STRING_VALUE", // required
|
|
50
50
|
* // imageSetState: "ACTIVE" || "LOCKED" || "DELETED", // required
|
|
51
|
-
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
51
|
+
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATING_FOR_STUDY_CONSISTENCY" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
52
52
|
* // createdAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
54
|
* // deletedAt: new Date("TIMESTAMP"),
|
|
@@ -50,7 +50,7 @@ declare const ListImageSetVersionsCommand_base: {
|
|
|
50
50
|
* // imageSetId: "STRING_VALUE", // required
|
|
51
51
|
* // versionId: "STRING_VALUE", // required
|
|
52
52
|
* // imageSetState: "ACTIVE" || "LOCKED" || "DELETED", // required
|
|
53
|
-
* // ImageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
53
|
+
* // ImageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATING_FOR_STUDY_CONSISTENCY" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
54
54
|
* // createdAt: new Date("TIMESTAMP"),
|
|
55
55
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
56
56
|
* // deletedAt: new Date("TIMESTAMP"),
|
|
@@ -41,6 +41,7 @@ declare const UpdateImageSetMetadataCommand_base: {
|
|
|
41
41
|
* imageSetId: "STRING_VALUE", // required
|
|
42
42
|
* latestVersionId: "STRING_VALUE", // required
|
|
43
43
|
* force: true || false,
|
|
44
|
+
* includeStudyImageSets: true || false,
|
|
44
45
|
* updateImageSetMetadataUpdates: { // MetadataUpdates Union: only one key present
|
|
45
46
|
* DICOMUpdates: { // DICOMUpdates
|
|
46
47
|
* removableAttributes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
@@ -56,7 +57,7 @@ declare const UpdateImageSetMetadataCommand_base: {
|
|
|
56
57
|
* // imageSetId: "STRING_VALUE", // required
|
|
57
58
|
* // latestVersionId: "STRING_VALUE", // required
|
|
58
59
|
* // imageSetState: "ACTIVE" || "LOCKED" || "DELETED", // required
|
|
59
|
-
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
60
|
+
* // imageSetWorkflowStatus: "CREATED" || "COPIED" || "COPYING" || "COPYING_WITH_READ_ONLY_ACCESS" || "COPY_FAILED" || "UPDATING" || "UPDATING_FOR_STUDY_CONSISTENCY" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "IMPORTING" || "IMPORTED" || "IMPORT_FAILED",
|
|
60
61
|
* // createdAt: new Date("TIMESTAMP"),
|
|
61
62
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
62
63
|
* // message: "STRING_VALUE",
|
|
@@ -84,3 +84,27 @@ export declare class ValidationException extends __BaseException {
|
|
|
84
84
|
*/
|
|
85
85
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
86
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* <p>The request is invalid or malformed.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class BadRequestException extends __BaseException {
|
|
92
|
+
readonly name: "BadRequestException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* <p>The request content type or accept header is not supported.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class NotAcceptableException extends __BaseException {
|
|
104
|
+
readonly name: "NotAcceptableException";
|
|
105
|
+
readonly $fault: "client";
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
constructor(opts: __ExceptionOptionType<NotAcceptableException, __BaseException>);
|
|
110
|
+
}
|
|
@@ -570,7 +570,7 @@ export interface GetImageFrameResponse {
|
|
|
570
570
|
*/
|
|
571
571
|
imageFrameBlob: StreamingBlobTypes | undefined;
|
|
572
572
|
/**
|
|
573
|
-
* <p>The format in which the image frame information is returned to the customer. Default is <code>application/octet-stream</code>.</p> <note> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.1</code>, the returned <code>contentType</code> is <code>application/octet-stream</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.50</code>, the returned <code>contentType</code> is <code>image/jpeg</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.91</code>, the returned <code>contentType</code> is <code>image/j2c</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is MPEG2, <code>1.2.840.10008.1.2.4.100</code>, <code>1.2.840.10008.1.2.4.100.1</code>, <code>1.2.840.10008.1.2.4.101</code>, or <code>1.2.840.10008.1.2.4.101.1</code>, the returned <code>contentType</code> is <code>video/mpeg</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is MPEG-4 AVC/H.264, UID <code>1.2.840.10008.1.2.4.102</code>, <code>1.2.840.10008.1.2.4.102.1</code>, <code>1.2.840.10008.1.2.4.103</code>, <code>1.2.840.10008.1.2.4.103.1</code>, <code>1.2.840.10008.1.2.4.104</code>, <code>1.2.840.10008.1.2.4.104.1</code>, <code>1.2.840.10008.1.2.4.105</code>, <code>1.2.840.10008.1.2.4.105.1</code>, <code>1.2.840.10008.1.2.4.106</code>, or <code>1.2.840.10008.1.2.4.106.1</code>, the returned <code>contentType</code> is <code>video/mp4</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is HEVC/H.265, UID <code>1.2.840.10008.1.2.4.107</code> or <code>1.2.840.10008.1.2.4.108</code>, the returned <code>contentType</code> is <code>video/H256</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.202</code> or if the stored transfer syntax is <i>missing</i>, the returned <code>contentType</code> is <code>image/jph</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.203</code>, the returned contentType is <code>image/jphc</code>.</p> </li> </ul> </note>
|
|
573
|
+
* <p>The format in which the image frame information is returned to the customer. Default is <code>application/octet-stream</code>.</p> <note> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.1</code>, the returned <code>contentType</code> is <code>application/octet-stream</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.50</code>, the returned <code>contentType</code> is <code>image/jpeg</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.91</code>, the returned <code>contentType</code> is <code>image/j2c</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is MPEG2, <code>1.2.840.10008.1.2.4.100</code>, <code>1.2.840.10008.1.2.4.100.1</code>, <code>1.2.840.10008.1.2.4.101</code>, or <code>1.2.840.10008.1.2.4.101.1</code>, the returned <code>contentType</code> is <code>video/mpeg</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is MPEG-4 AVC/H.264, UID <code>1.2.840.10008.1.2.4.102</code>, <code>1.2.840.10008.1.2.4.102.1</code>, <code>1.2.840.10008.1.2.4.103</code>, <code>1.2.840.10008.1.2.4.103.1</code>, <code>1.2.840.10008.1.2.4.104</code>, <code>1.2.840.10008.1.2.4.104.1</code>, <code>1.2.840.10008.1.2.4.105</code>, <code>1.2.840.10008.1.2.4.105.1</code>, <code>1.2.840.10008.1.2.4.106</code>, or <code>1.2.840.10008.1.2.4.106.1</code>, the returned <code>contentType</code> is <code>video/mp4</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is HEVC/H.265, UID <code>1.2.840.10008.1.2.4.107</code> or <code>1.2.840.10008.1.2.4.108</code>, the returned <code>contentType</code> is <code>video/H256</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.202</code> or if the stored transfer syntax is <i>missing</i>, the returned <code>contentType</code> is <code>image/jph</code>.</p> </li> </ul> <ul> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.203</code>, the returned contentType is <code>image/jphc</code>.</p> </li> <li> <p>If the stored transfer syntax is <code>1.2.840.10008.1.2.4.112</code> the returned <code>contentType</code> is <code>image/jxl</code>.</p> </li> </ul> </note>
|
|
574
574
|
* @public
|
|
575
575
|
*/
|
|
576
576
|
contentType?: string | undefined;
|
|
@@ -1539,6 +1539,11 @@ export interface UpdateImageSetMetadataRequest {
|
|
|
1539
1539
|
* @public
|
|
1540
1540
|
*/
|
|
1541
1541
|
force?: boolean | undefined;
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>Flag to apply the metadata updates to all image sets in the same Study as the requested image set ID.</p>
|
|
1544
|
+
* @public
|
|
1545
|
+
*/
|
|
1546
|
+
includeStudyImageSets?: boolean | undefined;
|
|
1542
1547
|
/**
|
|
1543
1548
|
* <p>Update image set metadata updates.</p>
|
|
1544
1549
|
* @public
|
|
@@ -2,8 +2,10 @@ import { TypeRegistry } from "@smithy/core/schema";
|
|
|
2
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
3
|
export declare var MedicalImagingServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
5
6
|
export declare var ConflictException$: StaticErrorSchema;
|
|
6
7
|
export declare var InternalServerException$: StaticErrorSchema;
|
|
8
|
+
export declare var NotAcceptableException$: StaticErrorSchema;
|
|
7
9
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
10
|
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
9
11
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
@@ -18,6 +18,7 @@ export declare const ImageSetWorkflowStatus: {
|
|
|
18
18
|
readonly UPDATED: "UPDATED";
|
|
19
19
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
20
20
|
readonly UPDATING: "UPDATING";
|
|
21
|
+
readonly UPDATING_FOR_STUDY_CONSISTENCY: "UPDATING_FOR_STUDY_CONSISTENCY";
|
|
21
22
|
};
|
|
22
23
|
export type ImageSetWorkflowStatus =
|
|
23
24
|
(typeof ImageSetWorkflowStatus)[keyof typeof ImageSetWorkflowStatus];
|
|
@@ -47,3 +47,17 @@ export declare class ValidationException extends __BaseException {
|
|
|
47
47
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
|
+
export declare class BadRequestException extends __BaseException {
|
|
51
|
+
readonly name: "BadRequestException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class NotAcceptableException extends __BaseException {
|
|
58
|
+
readonly name: "NotAcceptableException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
constructor(
|
|
61
|
+
opts: __ExceptionOptionType<NotAcceptableException, __BaseException>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
@@ -491,6 +491,7 @@ export interface UpdateImageSetMetadataRequest {
|
|
|
491
491
|
imageSetId: string | undefined;
|
|
492
492
|
latestVersionId: string | undefined;
|
|
493
493
|
force?: boolean | undefined;
|
|
494
|
+
includeStudyImageSets?: boolean | undefined;
|
|
494
495
|
updateImageSetMetadataUpdates: MetadataUpdates | undefined;
|
|
495
496
|
}
|
|
496
497
|
export interface UpdateImageSetMetadataResponse {
|
|
@@ -7,8 +7,10 @@ import {
|
|
|
7
7
|
} from "@smithy/types";
|
|
8
8
|
export declare var MedicalImagingServiceException$: StaticErrorSchema;
|
|
9
9
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
10
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
10
11
|
export declare var ConflictException$: StaticErrorSchema;
|
|
11
12
|
export declare var InternalServerException$: StaticErrorSchema;
|
|
13
|
+
export declare var NotAcceptableException$: StaticErrorSchema;
|
|
12
14
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
13
15
|
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
14
16
|
export declare var ThrottlingException$: StaticErrorSchema;
|
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.1022.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-medical-imaging",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "^3.973.26",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.29",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.28",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
31
31
|
"@aws-sdk/types": "^3.973.6",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.14",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.13",
|
|
36
36
|
"@smithy/core": "^3.23.13",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
41
41
|
"@smithy/middleware-endpoint": "^4.4.28",
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.46",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.16",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.12",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.12",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
56
56
|
"@smithy/util-endpoints": "^3.3.3",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.12",
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
58
|
+
"@smithy/util-retry": "^4.2.13",
|
|
59
59
|
"@smithy/util-stream": "^4.5.21",
|
|
60
60
|
"@smithy/util-utf8": "^4.2.2",
|
|
61
61
|
"tslib": "^2.6.2"
|