@aws-sdk/client-medical-imaging 3.373.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +498 -0
- package/dist-cjs/MedicalImaging.js +47 -0
- package/dist-cjs/MedicalImagingClient.js +41 -0
- package/dist-cjs/commands/CopyImageSetCommand.js +46 -0
- package/dist-cjs/commands/CreateDatastoreCommand.js +46 -0
- package/dist-cjs/commands/DeleteDatastoreCommand.js +46 -0
- package/dist-cjs/commands/DeleteImageSetCommand.js +46 -0
- package/dist-cjs/commands/GetDICOMImportJobCommand.js +46 -0
- package/dist-cjs/commands/GetDatastoreCommand.js +46 -0
- package/dist-cjs/commands/GetImageFrameCommand.js +47 -0
- package/dist-cjs/commands/GetImageSetCommand.js +46 -0
- package/dist-cjs/commands/GetImageSetMetadataCommand.js +47 -0
- package/dist-cjs/commands/ListDICOMImportJobsCommand.js +46 -0
- package/dist-cjs/commands/ListDatastoresCommand.js +46 -0
- package/dist-cjs/commands/ListImageSetVersionsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/SearchImageSetsCommand.js +47 -0
- package/dist-cjs/commands/StartDICOMImportJobCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateImageSetMetadataCommand.js +47 -0
- package/dist-cjs/commands/index.js +21 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/MedicalImagingServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +248 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListDICOMImportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDatastoresPaginator.js +29 -0
- package/dist-cjs/pagination/ListImageSetVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/SearchImageSetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1693 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +23 -0
- package/dist-es/MedicalImaging.js +43 -0
- package/dist-es/MedicalImagingClient.js +37 -0
- package/dist-es/commands/CopyImageSetCommand.js +42 -0
- package/dist-es/commands/CreateDatastoreCommand.js +42 -0
- package/dist-es/commands/DeleteDatastoreCommand.js +42 -0
- package/dist-es/commands/DeleteImageSetCommand.js +42 -0
- package/dist-es/commands/GetDICOMImportJobCommand.js +42 -0
- package/dist-es/commands/GetDatastoreCommand.js +42 -0
- package/dist-es/commands/GetImageFrameCommand.js +43 -0
- package/dist-es/commands/GetImageSetCommand.js +42 -0
- package/dist-es/commands/GetImageSetMetadataCommand.js +43 -0
- package/dist-es/commands/ListDICOMImportJobsCommand.js +42 -0
- package/dist-es/commands/ListDatastoresCommand.js +42 -0
- package/dist-es/commands/ListImageSetVersionsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/SearchImageSetsCommand.js +43 -0
- package/dist-es/commands/StartDICOMImportJobCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateImageSetMetadataCommand.js +43 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MedicalImagingServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +225 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDICOMImportJobsPaginator.js +25 -0
- package/dist-es/pagination/ListDatastoresPaginator.js +25 -0
- package/dist-es/pagination/ListImageSetVersionsPaginator.js +25 -0
- package/dist-es/pagination/SearchImageSetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +1654 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +19 -0
- package/dist-types/MedicalImaging.d.ts +285 -0
- package/dist-types/MedicalImagingClient.d.ts +334 -0
- package/dist-types/commands/CopyImageSetCommand.d.ts +122 -0
- package/dist-types/commands/CreateDatastoreCommand.d.ts +97 -0
- package/dist-types/commands/DeleteDatastoreCommand.d.ts +95 -0
- package/dist-types/commands/DeleteImageSetCommand.d.ts +95 -0
- package/dist-types/commands/GetDICOMImportJobCommand.d.ts +103 -0
- package/dist-types/commands/GetDatastoreCommand.d.ts +96 -0
- package/dist-types/commands/GetImageFrameCommand.d.ts +96 -0
- package/dist-types/commands/GetImageSetCommand.d.ts +102 -0
- package/dist-types/commands/GetImageSetMetadataCommand.d.ts +95 -0
- package/dist-types/commands/ListDICOMImportJobsCommand.d.ts +106 -0
- package/dist-types/commands/ListDatastoresCommand.d.ts +97 -0
- package/dist-types/commands/ListImageSetVersionsCommand.d.ts +106 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
- package/dist-types/commands/SearchImageSetsCommand.d.ts +135 -0
- package/dist-types/commands/StartDICOMImportJobCommand.d.ts +104 -0
- package/dist-types/commands/TagResourceCommand.d.ts +89 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +89 -0
- package/dist-types/commands/UpdateImageSetMetadataCommand.d.ts +109 -0
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +160 -0
- package/dist-types/models/MedicalImagingServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1363 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDICOMImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDatastoresPaginator.d.ts +7 -0
- package/dist-types/pagination/ListImageSetVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchImageSetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +164 -0
- package/dist-types/runtimeConfig.browser.d.ts +43 -0
- package/dist-types/runtimeConfig.d.ts +43 -0
- package/dist-types/runtimeConfig.native.d.ts +42 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/MedicalImaging.d.ts +313 -0
- package/dist-types/ts3.4/MedicalImagingClient.d.ts +223 -0
- package/dist-types/ts3.4/commands/CopyImageSetCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateDatastoreCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDatastoreCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteImageSetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDICOMImportJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetDatastoreCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetImageFrameCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetImageSetCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetImageSetMetadataCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListDICOMImportJobsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListDatastoresCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListImageSetVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchImageSetsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartDICOMImportJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateImageSetMetadataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/MedicalImagingServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +513 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDICOMImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDatastoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImageSetVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchImageSetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +224 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/package.json +102 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListDatastoresCommand, se_ListDatastoresCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListDatastoresCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDatastoresCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MedicalImagingClient";
|
|
25
|
+
const commandName = "ListDatastoresCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListDatastoresCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListDatastoresCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListImageSetVersionsCommand, se_ListImageSetVersionsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListImageSetVersionsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListImageSetVersionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MedicalImagingClient";
|
|
25
|
+
const commandName = "ListImageSetVersionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListImageSetVersionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListImageSetVersionsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTagsForResourceCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MedicalImagingClient";
|
|
25
|
+
const commandName = "ListTagsForResourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListTagsForResourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListTagsForResourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SearchImageSetsRequestFilterSensitiveLog, SearchImageSetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_SearchImageSetsCommand, se_SearchImageSetsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class SearchImageSetsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchImageSetsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "MedicalImagingClient";
|
|
26
|
+
const commandName = "SearchImageSetsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: SearchImageSetsRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: SearchImageSetsResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_SearchImageSetsCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_SearchImageSetsCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartDICOMImportJobCommand, se_StartDICOMImportJobCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartDICOMImportJobCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartDICOMImportJobCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MedicalImagingClient";
|
|
25
|
+
const commandName = "StartDICOMImportJobCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartDICOMImportJobCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartDICOMImportJobCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class TagResourceCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MedicalImagingClient";
|
|
25
|
+
const commandName = "TagResourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_TagResourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_TagResourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UntagResourceCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MedicalImagingClient";
|
|
25
|
+
const commandName = "UntagResourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UntagResourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UntagResourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { UpdateImageSetMetadataRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_UpdateImageSetMetadataCommand, se_UpdateImageSetMetadataCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateImageSetMetadataCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateImageSetMetadataCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "MedicalImagingClient";
|
|
26
|
+
const commandName = "UpdateImageSetMetadataCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: UpdateImageSetMetadataRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_UpdateImageSetMetadataCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_UpdateImageSetMetadataCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./CopyImageSetCommand";
|
|
2
|
+
export * from "./CreateDatastoreCommand";
|
|
3
|
+
export * from "./DeleteDatastoreCommand";
|
|
4
|
+
export * from "./DeleteImageSetCommand";
|
|
5
|
+
export * from "./GetDICOMImportJobCommand";
|
|
6
|
+
export * from "./GetDatastoreCommand";
|
|
7
|
+
export * from "./GetImageFrameCommand";
|
|
8
|
+
export * from "./GetImageSetCommand";
|
|
9
|
+
export * from "./GetImageSetMetadataCommand";
|
|
10
|
+
export * from "./ListDICOMImportJobsCommand";
|
|
11
|
+
export * from "./ListDatastoresCommand";
|
|
12
|
+
export * from "./ListImageSetVersionsCommand";
|
|
13
|
+
export * from "./ListTagsForResourceCommand";
|
|
14
|
+
export * from "./SearchImageSetsCommand";
|
|
15
|
+
export * from "./StartDICOMImportJobCommand";
|
|
16
|
+
export * from "./TagResourceCommand";
|
|
17
|
+
export * from "./UntagResourceCommand";
|
|
18
|
+
export * from "./UpdateImageSetMetadataCommand";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://medical-imaging-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://medical-imaging-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://medical-imaging.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://medical-imaging.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
|
+
export const ruleSet = _data;
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class MedicalImagingServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, MedicalImagingServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { MedicalImagingServiceException as __BaseException } from "./MedicalImagingServiceException";
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export class ConflictException extends __BaseException {
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "ConflictException",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts,
|
|
21
|
+
});
|
|
22
|
+
this.name = "ConflictException";
|
|
23
|
+
this.$fault = "client";
|
|
24
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export const ImageSetState = {
|
|
28
|
+
ACTIVE: "ACTIVE",
|
|
29
|
+
DELETED: "DELETED",
|
|
30
|
+
LOCKED: "LOCKED",
|
|
31
|
+
};
|
|
32
|
+
export const ImageSetWorkflowStatus = {
|
|
33
|
+
COPIED: "COPIED",
|
|
34
|
+
COPYING: "COPYING",
|
|
35
|
+
COPYING_WITH_READ_ONLY_ACCESS: "COPYING_WITH_READ_ONLY_ACCESS",
|
|
36
|
+
COPY_FAILED: "COPY_FAILED",
|
|
37
|
+
CREATED: "CREATED",
|
|
38
|
+
DELETED: "DELETED",
|
|
39
|
+
DELETING: "DELETING",
|
|
40
|
+
UPDATED: "UPDATED",
|
|
41
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
42
|
+
UPDATING: "UPDATING",
|
|
43
|
+
};
|
|
44
|
+
export class InternalServerException extends __BaseException {
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "InternalServerException",
|
|
48
|
+
$fault: "server",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
this.name = "InternalServerException";
|
|
52
|
+
this.$fault = "server";
|
|
53
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ResourceNotFoundException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
this.name = "ResourceNotFoundException";
|
|
64
|
+
this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ServiceQuotaExceededException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
this.name = "ServiceQuotaExceededException";
|
|
76
|
+
this.$fault = "client";
|
|
77
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export class ThrottlingException extends __BaseException {
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "ThrottlingException",
|
|
84
|
+
$fault: "client",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
this.name = "ThrottlingException";
|
|
88
|
+
this.$fault = "client";
|
|
89
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export class ValidationException extends __BaseException {
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ValidationException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
this.name = "ValidationException";
|
|
100
|
+
this.$fault = "client";
|
|
101
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export const DatastoreStatus = {
|
|
105
|
+
ACTIVE: "ACTIVE",
|
|
106
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
107
|
+
CREATING: "CREATING",
|
|
108
|
+
DELETED: "DELETED",
|
|
109
|
+
DELETING: "DELETING",
|
|
110
|
+
};
|
|
111
|
+
export const JobStatus = {
|
|
112
|
+
COMPLETED: "COMPLETED",
|
|
113
|
+
FAILED: "FAILED",
|
|
114
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
115
|
+
SUBMITTED: "SUBMITTED",
|
|
116
|
+
};
|
|
117
|
+
export const Operator = {
|
|
118
|
+
BETWEEN: "BETWEEN",
|
|
119
|
+
EQUAL: "EQUAL",
|
|
120
|
+
};
|
|
121
|
+
export var SearchByAttributeValue;
|
|
122
|
+
(function (SearchByAttributeValue) {
|
|
123
|
+
SearchByAttributeValue.visit = (value, visitor) => {
|
|
124
|
+
if (value.DICOMPatientId !== undefined)
|
|
125
|
+
return visitor.DICOMPatientId(value.DICOMPatientId);
|
|
126
|
+
if (value.DICOMAccessionNumber !== undefined)
|
|
127
|
+
return visitor.DICOMAccessionNumber(value.DICOMAccessionNumber);
|
|
128
|
+
if (value.DICOMStudyId !== undefined)
|
|
129
|
+
return visitor.DICOMStudyId(value.DICOMStudyId);
|
|
130
|
+
if (value.DICOMStudyInstanceUID !== undefined)
|
|
131
|
+
return visitor.DICOMStudyInstanceUID(value.DICOMStudyInstanceUID);
|
|
132
|
+
if (value.createdAt !== undefined)
|
|
133
|
+
return visitor.createdAt(value.createdAt);
|
|
134
|
+
if (value.DICOMStudyDateAndTime !== undefined)
|
|
135
|
+
return visitor.DICOMStudyDateAndTime(value.DICOMStudyDateAndTime);
|
|
136
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
137
|
+
};
|
|
138
|
+
})(SearchByAttributeValue || (SearchByAttributeValue = {}));
|
|
139
|
+
export var MetadataUpdates;
|
|
140
|
+
(function (MetadataUpdates) {
|
|
141
|
+
MetadataUpdates.visit = (value, visitor) => {
|
|
142
|
+
if (value.DICOMUpdates !== undefined)
|
|
143
|
+
return visitor.DICOMUpdates(value.DICOMUpdates);
|
|
144
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
145
|
+
};
|
|
146
|
+
})(MetadataUpdates || (MetadataUpdates = {}));
|
|
147
|
+
export const GetImageFrameResponseFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
export const GetImageSetMetadataResponseFilterSensitiveLog = (obj) => ({
|
|
151
|
+
...obj,
|
|
152
|
+
});
|
|
153
|
+
export const DICOMStudyDateAndTimeFilterSensitiveLog = (obj) => ({
|
|
154
|
+
...obj,
|
|
155
|
+
...(obj.DICOMStudyDate && { DICOMStudyDate: SENSITIVE_STRING }),
|
|
156
|
+
...(obj.DICOMStudyTime && { DICOMStudyTime: SENSITIVE_STRING }),
|
|
157
|
+
});
|
|
158
|
+
export const SearchByAttributeValueFilterSensitiveLog = (obj) => {
|
|
159
|
+
if (obj.DICOMPatientId !== undefined)
|
|
160
|
+
return { DICOMPatientId: SENSITIVE_STRING };
|
|
161
|
+
if (obj.DICOMAccessionNumber !== undefined)
|
|
162
|
+
return { DICOMAccessionNumber: SENSITIVE_STRING };
|
|
163
|
+
if (obj.DICOMStudyId !== undefined)
|
|
164
|
+
return { DICOMStudyId: SENSITIVE_STRING };
|
|
165
|
+
if (obj.DICOMStudyInstanceUID !== undefined)
|
|
166
|
+
return { DICOMStudyInstanceUID: SENSITIVE_STRING };
|
|
167
|
+
if (obj.createdAt !== undefined)
|
|
168
|
+
return { createdAt: obj.createdAt };
|
|
169
|
+
if (obj.DICOMStudyDateAndTime !== undefined)
|
|
170
|
+
return { DICOMStudyDateAndTime: DICOMStudyDateAndTimeFilterSensitiveLog(obj.DICOMStudyDateAndTime) };
|
|
171
|
+
if (obj.$unknown !== undefined)
|
|
172
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
173
|
+
};
|
|
174
|
+
export const SearchFilterFilterSensitiveLog = (obj) => ({
|
|
175
|
+
...obj,
|
|
176
|
+
...(obj.values && { values: obj.values.map((item) => SearchByAttributeValueFilterSensitiveLog(item)) }),
|
|
177
|
+
});
|
|
178
|
+
export const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
179
|
+
...obj,
|
|
180
|
+
...(obj.filters && { filters: obj.filters.map((item) => SearchFilterFilterSensitiveLog(item)) }),
|
|
181
|
+
});
|
|
182
|
+
export const SearchImageSetsRequestFilterSensitiveLog = (obj) => ({
|
|
183
|
+
...obj,
|
|
184
|
+
...(obj.searchCriteria && { searchCriteria: SENSITIVE_STRING }),
|
|
185
|
+
});
|
|
186
|
+
export const DICOMTagsFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
...(obj.DICOMPatientId && { DICOMPatientId: SENSITIVE_STRING }),
|
|
189
|
+
...(obj.DICOMPatientName && { DICOMPatientName: SENSITIVE_STRING }),
|
|
190
|
+
...(obj.DICOMPatientBirthDate && { DICOMPatientBirthDate: SENSITIVE_STRING }),
|
|
191
|
+
...(obj.DICOMPatientSex && { DICOMPatientSex: SENSITIVE_STRING }),
|
|
192
|
+
...(obj.DICOMStudyInstanceUID && { DICOMStudyInstanceUID: SENSITIVE_STRING }),
|
|
193
|
+
...(obj.DICOMStudyId && { DICOMStudyId: SENSITIVE_STRING }),
|
|
194
|
+
...(obj.DICOMStudyDescription && { DICOMStudyDescription: SENSITIVE_STRING }),
|
|
195
|
+
...(obj.DICOMAccessionNumber && { DICOMAccessionNumber: SENSITIVE_STRING }),
|
|
196
|
+
...(obj.DICOMStudyDate && { DICOMStudyDate: SENSITIVE_STRING }),
|
|
197
|
+
...(obj.DICOMStudyTime && { DICOMStudyTime: SENSITIVE_STRING }),
|
|
198
|
+
});
|
|
199
|
+
export const ImageSetsMetadataSummaryFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
...(obj.DICOMTags && { DICOMTags: DICOMTagsFilterSensitiveLog(obj.DICOMTags) }),
|
|
202
|
+
});
|
|
203
|
+
export const SearchImageSetsResponseFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
...(obj.imageSetsMetadataSummaries && {
|
|
206
|
+
imageSetsMetadataSummaries: obj.imageSetsMetadataSummaries.map((item) => ImageSetsMetadataSummaryFilterSensitiveLog(item)),
|
|
207
|
+
}),
|
|
208
|
+
});
|
|
209
|
+
export const DICOMUpdatesFilterSensitiveLog = (obj) => ({
|
|
210
|
+
...obj,
|
|
211
|
+
...(obj.removableAttributes && { removableAttributes: SENSITIVE_STRING }),
|
|
212
|
+
...(obj.updatableAttributes && { updatableAttributes: SENSITIVE_STRING }),
|
|
213
|
+
});
|
|
214
|
+
export const MetadataUpdatesFilterSensitiveLog = (obj) => {
|
|
215
|
+
if (obj.DICOMUpdates !== undefined)
|
|
216
|
+
return { DICOMUpdates: DICOMUpdatesFilterSensitiveLog(obj.DICOMUpdates) };
|
|
217
|
+
if (obj.$unknown !== undefined)
|
|
218
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
219
|
+
};
|
|
220
|
+
export const UpdateImageSetMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
...(obj.updateImageSetMetadataUpdates && {
|
|
223
|
+
updateImageSetMetadataUpdates: MetadataUpdatesFilterSensitiveLog(obj.updateImageSetMetadataUpdates),
|
|
224
|
+
}),
|
|
225
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|