@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,25 @@
|
|
|
1
|
+
import { ListDICOMImportJobsCommand, } from "../commands/ListDICOMImportJobsCommand";
|
|
2
|
+
import { MedicalImagingClient } from "../MedicalImagingClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListDICOMImportJobsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListDICOMImportJobs(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MedicalImagingClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected MedicalImaging | MedicalImagingClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListDatastoresCommand, } from "../commands/ListDatastoresCommand";
|
|
2
|
+
import { MedicalImagingClient } from "../MedicalImagingClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListDatastoresCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListDatastores(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MedicalImagingClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected MedicalImaging | MedicalImagingClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListImageSetVersionsCommand, } from "../commands/ListImageSetVersionsCommand";
|
|
2
|
+
import { MedicalImagingClient } from "../MedicalImagingClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListImageSetVersionsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListImageSetVersions(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MedicalImagingClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected MedicalImaging | MedicalImagingClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SearchImageSetsCommand, } from "../commands/SearchImageSetsCommand";
|
|
2
|
+
import { MedicalImagingClient } from "../MedicalImagingClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new SearchImageSetsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateSearchImageSets(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MedicalImagingClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected MedicalImaging | MedicalImagingClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|