@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.
Files changed (159) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +498 -0
  3. package/dist-cjs/MedicalImaging.js +47 -0
  4. package/dist-cjs/MedicalImagingClient.js +41 -0
  5. package/dist-cjs/commands/CopyImageSetCommand.js +46 -0
  6. package/dist-cjs/commands/CreateDatastoreCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteDatastoreCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteImageSetCommand.js +46 -0
  9. package/dist-cjs/commands/GetDICOMImportJobCommand.js +46 -0
  10. package/dist-cjs/commands/GetDatastoreCommand.js +46 -0
  11. package/dist-cjs/commands/GetImageFrameCommand.js +47 -0
  12. package/dist-cjs/commands/GetImageSetCommand.js +46 -0
  13. package/dist-cjs/commands/GetImageSetMetadataCommand.js +47 -0
  14. package/dist-cjs/commands/ListDICOMImportJobsCommand.js +46 -0
  15. package/dist-cjs/commands/ListDatastoresCommand.js +46 -0
  16. package/dist-cjs/commands/ListImageSetVersionsCommand.js +46 -0
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  18. package/dist-cjs/commands/SearchImageSetsCommand.js +47 -0
  19. package/dist-cjs/commands/StartDICOMImportJobCommand.js +46 -0
  20. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  21. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  22. package/dist-cjs/commands/UpdateImageSetMetadataCommand.js +47 -0
  23. package/dist-cjs/commands/index.js +21 -0
  24. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  25. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  26. package/dist-cjs/endpoint/ruleset.js +7 -0
  27. package/dist-cjs/index.js +11 -0
  28. package/dist-cjs/models/MedicalImagingServiceException.js +12 -0
  29. package/dist-cjs/models/index.js +4 -0
  30. package/dist-cjs/models/models_0.js +248 -0
  31. package/dist-cjs/pagination/Interfaces.js +2 -0
  32. package/dist-cjs/pagination/ListDICOMImportJobsPaginator.js +29 -0
  33. package/dist-cjs/pagination/ListDatastoresPaginator.js +29 -0
  34. package/dist-cjs/pagination/ListImageSetVersionsPaginator.js +29 -0
  35. package/dist-cjs/pagination/SearchImageSetsPaginator.js +29 -0
  36. package/dist-cjs/pagination/index.js +8 -0
  37. package/dist-cjs/protocols/Aws_restJson1.js +1693 -0
  38. package/dist-cjs/runtimeConfig.browser.js +39 -0
  39. package/dist-cjs/runtimeConfig.js +48 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +23 -0
  42. package/dist-es/MedicalImaging.js +43 -0
  43. package/dist-es/MedicalImagingClient.js +37 -0
  44. package/dist-es/commands/CopyImageSetCommand.js +42 -0
  45. package/dist-es/commands/CreateDatastoreCommand.js +42 -0
  46. package/dist-es/commands/DeleteDatastoreCommand.js +42 -0
  47. package/dist-es/commands/DeleteImageSetCommand.js +42 -0
  48. package/dist-es/commands/GetDICOMImportJobCommand.js +42 -0
  49. package/dist-es/commands/GetDatastoreCommand.js +42 -0
  50. package/dist-es/commands/GetImageFrameCommand.js +43 -0
  51. package/dist-es/commands/GetImageSetCommand.js +42 -0
  52. package/dist-es/commands/GetImageSetMetadataCommand.js +43 -0
  53. package/dist-es/commands/ListDICOMImportJobsCommand.js +42 -0
  54. package/dist-es/commands/ListDatastoresCommand.js +42 -0
  55. package/dist-es/commands/ListImageSetVersionsCommand.js +42 -0
  56. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  57. package/dist-es/commands/SearchImageSetsCommand.js +43 -0
  58. package/dist-es/commands/StartDICOMImportJobCommand.js +42 -0
  59. package/dist-es/commands/TagResourceCommand.js +42 -0
  60. package/dist-es/commands/UntagResourceCommand.js +42 -0
  61. package/dist-es/commands/UpdateImageSetMetadataCommand.js +43 -0
  62. package/dist-es/commands/index.js +18 -0
  63. package/dist-es/endpoint/EndpointParameters.js +8 -0
  64. package/dist-es/endpoint/endpointResolver.js +8 -0
  65. package/dist-es/endpoint/ruleset.js +4 -0
  66. package/dist-es/index.js +6 -0
  67. package/dist-es/models/MedicalImagingServiceException.js +8 -0
  68. package/dist-es/models/index.js +1 -0
  69. package/dist-es/models/models_0.js +225 -0
  70. package/dist-es/pagination/Interfaces.js +1 -0
  71. package/dist-es/pagination/ListDICOMImportJobsPaginator.js +25 -0
  72. package/dist-es/pagination/ListDatastoresPaginator.js +25 -0
  73. package/dist-es/pagination/ListImageSetVersionsPaginator.js +25 -0
  74. package/dist-es/pagination/SearchImageSetsPaginator.js +25 -0
  75. package/dist-es/pagination/index.js +5 -0
  76. package/dist-es/protocols/Aws_restJson1.js +1654 -0
  77. package/dist-es/runtimeConfig.browser.js +34 -0
  78. package/dist-es/runtimeConfig.js +43 -0
  79. package/dist-es/runtimeConfig.native.js +11 -0
  80. package/dist-es/runtimeConfig.shared.js +19 -0
  81. package/dist-types/MedicalImaging.d.ts +285 -0
  82. package/dist-types/MedicalImagingClient.d.ts +334 -0
  83. package/dist-types/commands/CopyImageSetCommand.d.ts +122 -0
  84. package/dist-types/commands/CreateDatastoreCommand.d.ts +97 -0
  85. package/dist-types/commands/DeleteDatastoreCommand.d.ts +95 -0
  86. package/dist-types/commands/DeleteImageSetCommand.d.ts +95 -0
  87. package/dist-types/commands/GetDICOMImportJobCommand.d.ts +103 -0
  88. package/dist-types/commands/GetDatastoreCommand.d.ts +96 -0
  89. package/dist-types/commands/GetImageFrameCommand.d.ts +96 -0
  90. package/dist-types/commands/GetImageSetCommand.d.ts +102 -0
  91. package/dist-types/commands/GetImageSetMetadataCommand.d.ts +95 -0
  92. package/dist-types/commands/ListDICOMImportJobsCommand.d.ts +106 -0
  93. package/dist-types/commands/ListDatastoresCommand.d.ts +97 -0
  94. package/dist-types/commands/ListImageSetVersionsCommand.d.ts +106 -0
  95. package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
  96. package/dist-types/commands/SearchImageSetsCommand.d.ts +135 -0
  97. package/dist-types/commands/StartDICOMImportJobCommand.d.ts +104 -0
  98. package/dist-types/commands/TagResourceCommand.d.ts +89 -0
  99. package/dist-types/commands/UntagResourceCommand.d.ts +89 -0
  100. package/dist-types/commands/UpdateImageSetMetadataCommand.d.ts +109 -0
  101. package/dist-types/commands/index.d.ts +18 -0
  102. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  103. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  104. package/dist-types/endpoint/ruleset.d.ts +2 -0
  105. package/dist-types/index.d.ts +160 -0
  106. package/dist-types/models/MedicalImagingServiceException.d.ts +13 -0
  107. package/dist-types/models/index.d.ts +1 -0
  108. package/dist-types/models/models_0.d.ts +1363 -0
  109. package/dist-types/pagination/Interfaces.d.ts +8 -0
  110. package/dist-types/pagination/ListDICOMImportJobsPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListDatastoresPaginator.d.ts +7 -0
  112. package/dist-types/pagination/ListImageSetVersionsPaginator.d.ts +7 -0
  113. package/dist-types/pagination/SearchImageSetsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/index.d.ts +5 -0
  115. package/dist-types/protocols/Aws_restJson1.d.ts +164 -0
  116. package/dist-types/runtimeConfig.browser.d.ts +43 -0
  117. package/dist-types/runtimeConfig.d.ts +43 -0
  118. package/dist-types/runtimeConfig.native.d.ts +42 -0
  119. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  120. package/dist-types/ts3.4/MedicalImaging.d.ts +313 -0
  121. package/dist-types/ts3.4/MedicalImagingClient.d.ts +223 -0
  122. package/dist-types/ts3.4/commands/CopyImageSetCommand.d.ts +35 -0
  123. package/dist-types/ts3.4/commands/CreateDatastoreCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/DeleteDatastoreCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/DeleteImageSetCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/GetDICOMImportJobCommand.d.ts +39 -0
  127. package/dist-types/ts3.4/commands/GetDatastoreCommand.d.ts +35 -0
  128. package/dist-types/ts3.4/commands/GetImageFrameCommand.d.ts +39 -0
  129. package/dist-types/ts3.4/commands/GetImageSetCommand.d.ts +35 -0
  130. package/dist-types/ts3.4/commands/GetImageSetMetadataCommand.d.ts +43 -0
  131. package/dist-types/ts3.4/commands/ListDICOMImportJobsCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/ListDatastoresCommand.d.ts +38 -0
  133. package/dist-types/ts3.4/commands/ListImageSetVersionsCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/SearchImageSetsCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/StartDICOMImportJobCommand.d.ts +39 -0
  137. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  138. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  139. package/dist-types/ts3.4/commands/UpdateImageSetMetadataCommand.d.ts +42 -0
  140. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  141. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  142. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  143. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  144. package/dist-types/ts3.4/index.d.ts +6 -0
  145. package/dist-types/ts3.4/models/MedicalImagingServiceException.d.ts +8 -0
  146. package/dist-types/ts3.4/models/index.d.ts +1 -0
  147. package/dist-types/ts3.4/models/models_0.d.ts +513 -0
  148. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  149. package/dist-types/ts3.4/pagination/ListDICOMImportJobsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListDatastoresPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/ListImageSetVersionsPaginator.d.ts +11 -0
  152. package/dist-types/ts3.4/pagination/SearchImageSetsPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  154. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +224 -0
  155. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
  156. package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
  157. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  158. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  159. package/package.json +102 -0
package/README.md ADDED
@@ -0,0 +1,498 @@
1
+ <!-- generated file, do not edit directly -->
2
+
3
+ # @aws-sdk/client-medical-imaging
4
+
5
+ ## Description
6
+
7
+ AWS SDK for JavaScript MedicalImaging Client for Node.js, Browser and React Native.
8
+
9
+ <p>This is the <i>AWS HealthImaging API Reference</i>. AWS HealthImaging is an AWS service for storing, accessing,
10
+ and analyzing medical images. For an introduction to the service, see the <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide">
11
+ <i>AWS HealthImaging Developer Guide</i>
12
+ </a>.</p>
13
+ <note>
14
+ <p>We recommend using one of the AWS Software Development Kits (SDKs) for your programming language, as
15
+ they take care of request authentication, serialization, and connection management. For more information,
16
+ see <a href="http://aws.amazon.com/developer/tools">Tools to build on AWS</a>.</p>
17
+ <p>For information about using AWS HealthImaging API actions in one of the language-specific AWS SDKs, refer to the
18
+ <i>See Also</i> link at the end of each section that describes an API action or data type.</p>
19
+ </note>
20
+ <p>The following sections list AWS HealthImaging API actions categorized according to functionality. Links are
21
+ provided to actions within this Reference, along with links back to corresponding sections in the
22
+ <i>AWS HealthImaging Developer Guide</i> so you can view console procedures and CLI/SDK code examples.</p>
23
+ <p class="title">
24
+ <b>Data store actions</b>
25
+ </p>
26
+ <ul>
27
+ <li>
28
+ <p>
29
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_CreateDatastore.html">CreateDatastore</a>
30
+ – See
31
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/create-data-store.html">Creating a data store</a>.</p>
32
+ </li>
33
+ <li>
34
+ <p>
35
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetDatastore.html">GetDatastore</a>
36
+ – See
37
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-data-store.html">Getting data store properties</a>.</p>
38
+ </li>
39
+ <li>
40
+ <p>
41
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListDatastores.html">ListDatastores</a>
42
+ – See
43
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/list-data-stores.html">Listing data stores</a>.</p>
44
+ </li>
45
+ <li>
46
+ <p>
47
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_DeleteDatastore.html">DeleteDatastore</a>
48
+ – See
49
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/delete-data-store.html">Deleting a data store</a>.</p>
50
+ </li>
51
+ </ul>
52
+ <p class="title">
53
+ <b>Import job actions</b>
54
+ </p>
55
+ <ul>
56
+ <li>
57
+ <p>
58
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_StartDICOMImportJob.html">StartDICOMImportJob</a>
59
+ – See
60
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/start-dicom-import-job.html">Starting an import job</a>.</p>
61
+ </li>
62
+ <li>
63
+ <p>
64
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetDICOMImportJob.html">GetDICOMImportJob</a>
65
+ – See
66
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-dicom-import-job.html">Getting import job properties</a>.</p>
67
+ </li>
68
+ <li>
69
+ <p>
70
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListDICOMImportJobs.html">ListDICOMImportJobs</a>
71
+ – See
72
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/list-dicom-import-jobs.html">Listing import jobs</a>.</p>
73
+ </li>
74
+ </ul>
75
+ <p class="title">
76
+ <b>Image set access actions</b>
77
+ </p>
78
+ <ul>
79
+ <li>
80
+ <p>
81
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_SearchImageSets.html">SearchImageSets</a>
82
+ – See
83
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/search-image-sets.html">Searching image sets</a>.</p>
84
+ </li>
85
+ <li>
86
+ <p>
87
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetImageSet.html">GetImageSet</a>
88
+ – See
89
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-image-set-properties.html">Getting image set properties</a>.</p>
90
+ </li>
91
+ <li>
92
+ <p>
93
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetImageSetMetadata.html">GetImageSetMetadata</a>
94
+ – See
95
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-image-set-metadata.html">Getting image set metadata</a>.</p>
96
+ </li>
97
+ <li>
98
+ <p>
99
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetImageFrame.html">GetImageFrame</a>
100
+ – See
101
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-image-frame.html">Getting image set pixel data</a>.</p>
102
+ </li>
103
+ </ul>
104
+ <p class="title">
105
+ <b>Image set modification actions</b>
106
+ </p>
107
+ <ul>
108
+ <li>
109
+ <p>
110
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListImageSetVersions.html">ListImageSetVersions</a>
111
+ – See
112
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/list-image-set-versions.html">Listing image set versions</a>.</p>
113
+ </li>
114
+ <li>
115
+ <p>
116
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_UpdateImageSetMetadata.html">UpdateImageSetMetadata</a>
117
+ – See
118
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/update-image-set-metadata.html">Updating image set metadata</a>.</p>
119
+ </li>
120
+ <li>
121
+ <p>
122
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_CopyImageSet.html">CopyImageSet</a>
123
+ – See
124
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/copy-image-set.html">Copying an image set</a>.</p>
125
+ </li>
126
+ <li>
127
+ <p>
128
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_DeleteImageSet.html">DeleteImageSet</a>
129
+ – See
130
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/delete-image-set.html">Deleting an image set</a>.</p>
131
+ </li>
132
+ </ul>
133
+ <p class="title">
134
+ <b>Tagging actions</b>
135
+ </p>
136
+ <ul>
137
+ <li>
138
+ <p>
139
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_TagResource.html">TagResource</a>
140
+ – See
141
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-data-store.html">Tagging a data store</a> and
142
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-image-set.html">Tagging an image set</a>.</p>
143
+ </li>
144
+ <li>
145
+ <p>
146
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>
147
+ – See
148
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-data-store.html">Tagging a data store</a> and
149
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-image-set.html">Tagging an image set</a>.</p>
150
+ </li>
151
+ <li>
152
+ <p>
153
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_UntagResource.html">UntagResource</a>
154
+ – See
155
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-data-store.html">Tagging a data store</a> and
156
+ <a href="https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-image-set.html">Tagging an image set</a>.</p>
157
+ </li>
158
+ </ul>
159
+
160
+ ## Installing
161
+
162
+ To install the this package, simply type add or install @aws-sdk/client-medical-imaging
163
+ using your favorite package manager:
164
+
165
+ - `npm install @aws-sdk/client-medical-imaging`
166
+ - `yarn add @aws-sdk/client-medical-imaging`
167
+ - `pnpm add @aws-sdk/client-medical-imaging`
168
+
169
+ ## Getting Started
170
+
171
+ ### Import
172
+
173
+ The AWS SDK is modulized by clients and commands.
174
+ To send a request, you only need to import the `MedicalImagingClient` and
175
+ the commands you need, for example `CopyImageSetCommand`:
176
+
177
+ ```js
178
+ // ES5 example
179
+ const { MedicalImagingClient, CopyImageSetCommand } = require("@aws-sdk/client-medical-imaging");
180
+ ```
181
+
182
+ ```ts
183
+ // ES6+ example
184
+ import { MedicalImagingClient, CopyImageSetCommand } from "@aws-sdk/client-medical-imaging";
185
+ ```
186
+
187
+ ### Usage
188
+
189
+ To send a request, you:
190
+
191
+ - Initiate client with configuration (e.g. credentials, region).
192
+ - Initiate command with input parameters.
193
+ - Call `send` operation on client with command object as input.
194
+ - If you are using a custom http handler, you may call `destroy()` to close open connections.
195
+
196
+ ```js
197
+ // a client can be shared by different commands.
198
+ const client = new MedicalImagingClient({ region: "REGION" });
199
+
200
+ const params = {
201
+ /** input parameters */
202
+ };
203
+ const command = new CopyImageSetCommand(params);
204
+ ```
205
+
206
+ #### Async/await
207
+
208
+ We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
209
+ operator to wait for the promise returned by send operation as follows:
210
+
211
+ ```js
212
+ // async/await.
213
+ try {
214
+ const data = await client.send(command);
215
+ // process data.
216
+ } catch (error) {
217
+ // error handling.
218
+ } finally {
219
+ // finally.
220
+ }
221
+ ```
222
+
223
+ Async-await is clean, concise, intuitive, easy to debug and has better error handling
224
+ as compared to using Promise chains or callbacks.
225
+
226
+ #### Promises
227
+
228
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
229
+ to execute send operation.
230
+
231
+ ```js
232
+ client.send(command).then(
233
+ (data) => {
234
+ // process data.
235
+ },
236
+ (error) => {
237
+ // error handling.
238
+ }
239
+ );
240
+ ```
241
+
242
+ Promises can also be called using `.catch()` and `.finally()` as follows:
243
+
244
+ ```js
245
+ client
246
+ .send(command)
247
+ .then((data) => {
248
+ // process data.
249
+ })
250
+ .catch((error) => {
251
+ // error handling.
252
+ })
253
+ .finally(() => {
254
+ // finally.
255
+ });
256
+ ```
257
+
258
+ #### Callbacks
259
+
260
+ We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
261
+ but they are supported by the send operation.
262
+
263
+ ```js
264
+ // callbacks.
265
+ client.send(command, (err, data) => {
266
+ // process err and data.
267
+ });
268
+ ```
269
+
270
+ #### v2 compatible style
271
+
272
+ The client can also send requests using v2 compatible style.
273
+ However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
274
+ on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
275
+
276
+ ```ts
277
+ import * as AWS from "@aws-sdk/client-medical-imaging";
278
+ const client = new AWS.MedicalImaging({ region: "REGION" });
279
+
280
+ // async/await.
281
+ try {
282
+ const data = await client.copyImageSet(params);
283
+ // process data.
284
+ } catch (error) {
285
+ // error handling.
286
+ }
287
+
288
+ // Promises.
289
+ client
290
+ .copyImageSet(params)
291
+ .then((data) => {
292
+ // process data.
293
+ })
294
+ .catch((error) => {
295
+ // error handling.
296
+ });
297
+
298
+ // callbacks.
299
+ client.copyImageSet(params, (err, data) => {
300
+ // process err and data.
301
+ });
302
+ ```
303
+
304
+ ### Troubleshooting
305
+
306
+ When the service returns an exception, the error will include the exception information,
307
+ as well as response metadata (e.g. request id).
308
+
309
+ ```js
310
+ try {
311
+ const data = await client.send(command);
312
+ // process data.
313
+ } catch (error) {
314
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
315
+ console.log({ requestId, cfId, extendedRequestId });
316
+ /**
317
+ * The keys within exceptions are also parsed.
318
+ * You can access them by specifying exception names:
319
+ * if (error.name === 'SomeServiceException') {
320
+ * const value = error.specialKeyInException;
321
+ * }
322
+ */
323
+ }
324
+ ```
325
+
326
+ ## Getting Help
327
+
328
+ Please use these community resources for getting help.
329
+ We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
330
+
331
+ - Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
332
+ or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
333
+ - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
334
+ on AWS Developer Blog.
335
+ - Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
336
+ - Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
337
+ - If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
338
+
339
+ To test your universal JavaScript code in Node.js, browser and react-native environments,
340
+ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
341
+
342
+ ## Contributing
343
+
344
+ This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-medical-imaging` package is updated.
345
+ To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
346
+
347
+ ## License
348
+
349
+ This SDK is distributed under the
350
+ [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
351
+ see LICENSE for more information.
352
+
353
+ ## Client Commands (Operations List)
354
+
355
+ <details>
356
+ <summary>
357
+ CopyImageSet
358
+ </summary>
359
+
360
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/copyimagesetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/copyimagesetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/copyimagesetcommandoutput.html)
361
+
362
+ </details>
363
+ <details>
364
+ <summary>
365
+ CreateDatastore
366
+ </summary>
367
+
368
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/createdatastorecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/createdatastorecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/createdatastorecommandoutput.html)
369
+
370
+ </details>
371
+ <details>
372
+ <summary>
373
+ DeleteDatastore
374
+ </summary>
375
+
376
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/deletedatastorecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/deletedatastorecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/deletedatastorecommandoutput.html)
377
+
378
+ </details>
379
+ <details>
380
+ <summary>
381
+ DeleteImageSet
382
+ </summary>
383
+
384
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/deleteimagesetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/deleteimagesetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/deleteimagesetcommandoutput.html)
385
+
386
+ </details>
387
+ <details>
388
+ <summary>
389
+ GetDatastore
390
+ </summary>
391
+
392
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/getdatastorecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getdatastorecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getdatastorecommandoutput.html)
393
+
394
+ </details>
395
+ <details>
396
+ <summary>
397
+ GetDICOMImportJob
398
+ </summary>
399
+
400
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/getdicomimportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getdicomimportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getdicomimportjobcommandoutput.html)
401
+
402
+ </details>
403
+ <details>
404
+ <summary>
405
+ GetImageFrame
406
+ </summary>
407
+
408
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/getimageframecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getimageframecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getimageframecommandoutput.html)
409
+
410
+ </details>
411
+ <details>
412
+ <summary>
413
+ GetImageSet
414
+ </summary>
415
+
416
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/getimagesetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getimagesetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getimagesetcommandoutput.html)
417
+
418
+ </details>
419
+ <details>
420
+ <summary>
421
+ GetImageSetMetadata
422
+ </summary>
423
+
424
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/getimagesetmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getimagesetmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/getimagesetmetadatacommandoutput.html)
425
+
426
+ </details>
427
+ <details>
428
+ <summary>
429
+ ListDatastores
430
+ </summary>
431
+
432
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/listdatastorescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listdatastorescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listdatastorescommandoutput.html)
433
+
434
+ </details>
435
+ <details>
436
+ <summary>
437
+ ListDICOMImportJobs
438
+ </summary>
439
+
440
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/listdicomimportjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listdicomimportjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listdicomimportjobscommandoutput.html)
441
+
442
+ </details>
443
+ <details>
444
+ <summary>
445
+ ListImageSetVersions
446
+ </summary>
447
+
448
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/listimagesetversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listimagesetversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listimagesetversionscommandoutput.html)
449
+
450
+ </details>
451
+ <details>
452
+ <summary>
453
+ ListTagsForResource
454
+ </summary>
455
+
456
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/listtagsforresourcecommandoutput.html)
457
+
458
+ </details>
459
+ <details>
460
+ <summary>
461
+ SearchImageSets
462
+ </summary>
463
+
464
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/searchimagesetscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/searchimagesetscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/searchimagesetscommandoutput.html)
465
+
466
+ </details>
467
+ <details>
468
+ <summary>
469
+ StartDICOMImportJob
470
+ </summary>
471
+
472
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/startdicomimportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/startdicomimportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/startdicomimportjobcommandoutput.html)
473
+
474
+ </details>
475
+ <details>
476
+ <summary>
477
+ TagResource
478
+ </summary>
479
+
480
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/tagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/tagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/tagresourcecommandoutput.html)
481
+
482
+ </details>
483
+ <details>
484
+ <summary>
485
+ UntagResource
486
+ </summary>
487
+
488
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/untagresourcecommandoutput.html)
489
+
490
+ </details>
491
+ <details>
492
+ <summary>
493
+ UpdateImageSetMetadata
494
+ </summary>
495
+
496
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/classes/updateimagesetmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/updateimagesetmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medical-imaging/interfaces/updateimagesetmetadatacommandoutput.html)
497
+
498
+ </details>
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MedicalImaging = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const CopyImageSetCommand_1 = require("./commands/CopyImageSetCommand");
6
+ const CreateDatastoreCommand_1 = require("./commands/CreateDatastoreCommand");
7
+ const DeleteDatastoreCommand_1 = require("./commands/DeleteDatastoreCommand");
8
+ const DeleteImageSetCommand_1 = require("./commands/DeleteImageSetCommand");
9
+ const GetDatastoreCommand_1 = require("./commands/GetDatastoreCommand");
10
+ const GetDICOMImportJobCommand_1 = require("./commands/GetDICOMImportJobCommand");
11
+ const GetImageFrameCommand_1 = require("./commands/GetImageFrameCommand");
12
+ const GetImageSetCommand_1 = require("./commands/GetImageSetCommand");
13
+ const GetImageSetMetadataCommand_1 = require("./commands/GetImageSetMetadataCommand");
14
+ const ListDatastoresCommand_1 = require("./commands/ListDatastoresCommand");
15
+ const ListDICOMImportJobsCommand_1 = require("./commands/ListDICOMImportJobsCommand");
16
+ const ListImageSetVersionsCommand_1 = require("./commands/ListImageSetVersionsCommand");
17
+ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
18
+ const SearchImageSetsCommand_1 = require("./commands/SearchImageSetsCommand");
19
+ const StartDICOMImportJobCommand_1 = require("./commands/StartDICOMImportJobCommand");
20
+ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
21
+ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
22
+ const UpdateImageSetMetadataCommand_1 = require("./commands/UpdateImageSetMetadataCommand");
23
+ const MedicalImagingClient_1 = require("./MedicalImagingClient");
24
+ const commands = {
25
+ CopyImageSetCommand: CopyImageSetCommand_1.CopyImageSetCommand,
26
+ CreateDatastoreCommand: CreateDatastoreCommand_1.CreateDatastoreCommand,
27
+ DeleteDatastoreCommand: DeleteDatastoreCommand_1.DeleteDatastoreCommand,
28
+ DeleteImageSetCommand: DeleteImageSetCommand_1.DeleteImageSetCommand,
29
+ GetDatastoreCommand: GetDatastoreCommand_1.GetDatastoreCommand,
30
+ GetDICOMImportJobCommand: GetDICOMImportJobCommand_1.GetDICOMImportJobCommand,
31
+ GetImageFrameCommand: GetImageFrameCommand_1.GetImageFrameCommand,
32
+ GetImageSetCommand: GetImageSetCommand_1.GetImageSetCommand,
33
+ GetImageSetMetadataCommand: GetImageSetMetadataCommand_1.GetImageSetMetadataCommand,
34
+ ListDatastoresCommand: ListDatastoresCommand_1.ListDatastoresCommand,
35
+ ListDICOMImportJobsCommand: ListDICOMImportJobsCommand_1.ListDICOMImportJobsCommand,
36
+ ListImageSetVersionsCommand: ListImageSetVersionsCommand_1.ListImageSetVersionsCommand,
37
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
38
+ SearchImageSetsCommand: SearchImageSetsCommand_1.SearchImageSetsCommand,
39
+ StartDICOMImportJobCommand: StartDICOMImportJobCommand_1.StartDICOMImportJobCommand,
40
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
41
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
42
+ UpdateImageSetMetadataCommand: UpdateImageSetMetadataCommand_1.UpdateImageSetMetadataCommand,
43
+ };
44
+ class MedicalImaging extends MedicalImagingClient_1.MedicalImagingClient {
45
+ }
46
+ exports.MedicalImaging = MedicalImaging;
47
+ (0, smithy_client_1.createAggregatedClient)(commands, MedicalImaging);
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MedicalImagingClient = exports.__Client = void 0;
4
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
8
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
+ const middleware_retry_1 = require("@smithy/middleware-retry");
13
+ const smithy_client_1 = require("@smithy/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
+ const runtimeConfig_1 = require("./runtimeConfig");
17
+ class MedicalImagingClient extends smithy_client_1.Client {
18
+ constructor(configuration) {
19
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
20
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
21
+ const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
22
+ const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
23
+ const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
24
+ const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
25
+ const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
26
+ const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
27
+ super(_config_7);
28
+ this.config = _config_7;
29
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
30
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
31
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
32
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
33
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
34
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
35
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
36
+ }
37
+ destroy() {
38
+ super.destroy();
39
+ }
40
+ }
41
+ exports.MedicalImagingClient = MedicalImagingClient;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CopyImageSetCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class CopyImageSetCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CopyImageSetCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "MedicalImagingClient";
28
+ const commandName = "CopyImageSetCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_CopyImageSetCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_CopyImageSetCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CopyImageSetCommand = CopyImageSetCommand;