@aws-sdk/client-medical-imaging 3.975.0 → 3.980.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1041,6 +1041,14 @@ class UpdateImageSetMetadataCommand extends smithyClient.Command
1041
1041
  .build() {
1042
1042
  }
1043
1043
 
1044
+ const paginateListDatastores = core.createPaginator(MedicalImagingClient, ListDatastoresCommand, "nextToken", "nextToken", "maxResults");
1045
+
1046
+ const paginateListDICOMImportJobs = core.createPaginator(MedicalImagingClient, ListDICOMImportJobsCommand, "nextToken", "nextToken", "maxResults");
1047
+
1048
+ const paginateListImageSetVersions = core.createPaginator(MedicalImagingClient, ListImageSetVersionsCommand, "nextToken", "nextToken", "maxResults");
1049
+
1050
+ const paginateSearchImageSets = core.createPaginator(MedicalImagingClient, SearchImageSetsCommand, "nextToken", "nextToken", "maxResults");
1051
+
1044
1052
  const commands = {
1045
1053
  CopyImageSetCommand,
1046
1054
  CreateDatastoreCommand,
@@ -1061,17 +1069,15 @@ const commands = {
1061
1069
  UntagResourceCommand,
1062
1070
  UpdateImageSetMetadataCommand,
1063
1071
  };
1072
+ const paginators = {
1073
+ paginateListDatastores,
1074
+ paginateListDICOMImportJobs,
1075
+ paginateListImageSetVersions,
1076
+ paginateSearchImageSets,
1077
+ };
1064
1078
  class MedicalImaging extends MedicalImagingClient {
1065
1079
  }
1066
- smithyClient.createAggregatedClient(commands, MedicalImaging);
1067
-
1068
- const paginateListDatastores = core.createPaginator(MedicalImagingClient, ListDatastoresCommand, "nextToken", "nextToken", "maxResults");
1069
-
1070
- const paginateListDICOMImportJobs = core.createPaginator(MedicalImagingClient, ListDICOMImportJobsCommand, "nextToken", "nextToken", "maxResults");
1071
-
1072
- const paginateListImageSetVersions = core.createPaginator(MedicalImagingClient, ListImageSetVersionsCommand, "nextToken", "nextToken", "maxResults");
1073
-
1074
- const paginateSearchImageSets = core.createPaginator(MedicalImagingClient, SearchImageSetsCommand, "nextToken", "nextToken", "maxResults");
1080
+ smithyClient.createAggregatedClient(commands, MedicalImaging, { paginators });
1075
1081
 
1076
1082
  const ImageSetState = {
1077
1083
  ACTIVE: "ACTIVE",
@@ -18,6 +18,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
18
18
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
19
19
  import { UpdateImageSetMetadataCommand, } from "./commands/UpdateImageSetMetadataCommand";
20
20
  import { MedicalImagingClient } from "./MedicalImagingClient";
21
+ import { paginateListDatastores } from "./pagination/ListDatastoresPaginator";
22
+ import { paginateListDICOMImportJobs } from "./pagination/ListDICOMImportJobsPaginator";
23
+ import { paginateListImageSetVersions } from "./pagination/ListImageSetVersionsPaginator";
24
+ import { paginateSearchImageSets } from "./pagination/SearchImageSetsPaginator";
21
25
  const commands = {
22
26
  CopyImageSetCommand,
23
27
  CreateDatastoreCommand,
@@ -38,6 +42,12 @@ const commands = {
38
42
  UntagResourceCommand,
39
43
  UpdateImageSetMetadataCommand,
40
44
  };
45
+ const paginators = {
46
+ paginateListDatastores,
47
+ paginateListDICOMImportJobs,
48
+ paginateListImageSetVersions,
49
+ paginateSearchImageSets,
50
+ };
41
51
  export class MedicalImaging extends MedicalImagingClient {
42
52
  }
43
- createAggregatedClient(commands, MedicalImaging);
53
+ createAggregatedClient(commands, MedicalImaging, { paginators });
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { CopyImageSetCommandInput, CopyImageSetCommandOutput } from "./commands/CopyImageSetCommand";
3
3
  import { CreateDatastoreCommandInput, CreateDatastoreCommandOutput } from "./commands/CreateDatastoreCommand";
4
4
  import { DeleteDatastoreCommandInput, DeleteDatastoreCommandOutput } from "./commands/DeleteDatastoreCommand";
@@ -128,6 +128,34 @@ export interface MedicalImaging {
128
128
  updateImageSetMetadata(args: UpdateImageSetMetadataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateImageSetMetadataCommandOutput>;
129
129
  updateImageSetMetadata(args: UpdateImageSetMetadataCommandInput, cb: (err: any, data?: UpdateImageSetMetadataCommandOutput) => void): void;
130
130
  updateImageSetMetadata(args: UpdateImageSetMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateImageSetMetadataCommandOutput) => void): void;
131
+ /**
132
+ * @see {@link ListDatastoresCommand}
133
+ * @param args - command input.
134
+ * @param paginationConfig - optional pagination config.
135
+ * @returns AsyncIterable of {@link ListDatastoresCommandOutput}.
136
+ */
137
+ paginateListDatastores(args?: ListDatastoresCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatastoresCommandOutput>;
138
+ /**
139
+ * @see {@link ListDICOMImportJobsCommand}
140
+ * @param args - command input.
141
+ * @param paginationConfig - optional pagination config.
142
+ * @returns AsyncIterable of {@link ListDICOMImportJobsCommandOutput}.
143
+ */
144
+ paginateListDICOMImportJobs(args: ListDICOMImportJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDICOMImportJobsCommandOutput>;
145
+ /**
146
+ * @see {@link ListImageSetVersionsCommand}
147
+ * @param args - command input.
148
+ * @param paginationConfig - optional pagination config.
149
+ * @returns AsyncIterable of {@link ListImageSetVersionsCommandOutput}.
150
+ */
151
+ paginateListImageSetVersions(args: ListImageSetVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListImageSetVersionsCommandOutput>;
152
+ /**
153
+ * @see {@link SearchImageSetsCommand}
154
+ * @param args - command input.
155
+ * @param paginationConfig - optional pagination config.
156
+ * @returns AsyncIterable of {@link SearchImageSetsCommandOutput}.
157
+ */
158
+ paginateSearchImageSets(args: SearchImageSetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchImageSetsCommandOutput>;
131
159
  }
132
160
  /**
133
161
  * <p>This is the <i>AWS HealthImaging API Reference</i>. For an introduction to the service, see <a href="https://docs.aws.amazon.com/healthimaging/latest/devguide/what-is.html">What is AWS HealthImaging?</a> in the <i>AWS HealthImaging Developer Guide</i>.</p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  CopyImageSetCommandInput,
4
8
  CopyImageSetCommandOutput,
@@ -308,6 +312,34 @@ export interface MedicalImaging {
308
312
  options: __HttpHandlerOptions,
309
313
  cb: (err: any, data?: UpdateImageSetMetadataCommandOutput) => void
310
314
  ): void;
315
+ paginateListDatastores(
316
+ args?: ListDatastoresCommandInput,
317
+ paginationConfig?: Pick<
318
+ PaginationConfiguration,
319
+ Exclude<keyof PaginationConfiguration, "client">
320
+ >
321
+ ): Paginator<ListDatastoresCommandOutput>;
322
+ paginateListDICOMImportJobs(
323
+ args: ListDICOMImportJobsCommandInput,
324
+ paginationConfig?: Pick<
325
+ PaginationConfiguration,
326
+ Exclude<keyof PaginationConfiguration, "client">
327
+ >
328
+ ): Paginator<ListDICOMImportJobsCommandOutput>;
329
+ paginateListImageSetVersions(
330
+ args: ListImageSetVersionsCommandInput,
331
+ paginationConfig?: Pick<
332
+ PaginationConfiguration,
333
+ Exclude<keyof PaginationConfiguration, "client">
334
+ >
335
+ ): Paginator<ListImageSetVersionsCommandOutput>;
336
+ paginateSearchImageSets(
337
+ args: SearchImageSetsCommandInput,
338
+ paginationConfig?: Pick<
339
+ PaginationConfiguration,
340
+ Exclude<keyof PaginationConfiguration, "client">
341
+ >
342
+ ): Paginator<SearchImageSetsCommandOutput>;
311
343
  }
312
344
  export declare class MedicalImaging
313
345
  extends MedicalImagingClient
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.975.0",
4
+ "version": "3.980.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",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
32
- "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
24
+ "@aws-sdk/core": "^3.973.5",
25
+ "@aws-sdk/credential-provider-node": "^3.972.4",
26
+ "@aws-sdk/middleware-host-header": "^3.972.3",
27
+ "@aws-sdk/middleware-logger": "^3.972.3",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
30
+ "@aws-sdk/region-config-resolver": "^3.972.3",
31
+ "@aws-sdk/types": "^3.973.1",
32
+ "@aws-sdk/util-endpoints": "3.980.0",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.11",
42
- "@smithy/middleware-retry": "^4.4.27",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.12",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",