aws-sdk-medicalimaging 1.44.0 → 1.45.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98dd2b55ac0a0cc179e779c7f410273853d661329af6d97a45b4d34481959593
4
- data.tar.gz: fa5d299e86f79d6295e180c0a4fd8eae0c685afd23eaf5ccaa00b87344618e00
3
+ metadata.gz: 3cd3b465bd60f30e0eadaf72cf1469b80fa027eb2217e2c3650dc2c3605424e0
4
+ data.tar.gz: a2f3a156d17fdef68de2112026c0e8ff2dfb1f3efda704ce9bb23cbaa0d40acb
5
5
  SHA512:
6
- metadata.gz: e7e67cfecdea441541dccc2176a3ccc79582e48708b8b66b4363aa5c153a25c29528c35a08a7904628ab58f63a3db2b0fe9114a5f714d5b14bc7c20b3f796bf7
7
- data.tar.gz: 781e2a4af1fb785dc596398a811ac0799e3e31fa1c35cfe5bb19f186c7cfef2e7a5097206ca5bfd145744cad256c2825652edad3c57c37b69416c44ba87c1636
6
+ metadata.gz: 97a4e90d105b23773027f7f0bcac0c229313afcac8d3bda14812ced1c1382ddcf0d7145e0e52376ad1f615851467b930028f2b351e92587cc44e265292cead4c
7
+ data.tar.gz: 8efd29cbe444b58bdeb10e5ec7efb5cc0da5df44241d572e1e8b879e1fe5103f04360c78d050dd69a424fb20b51fa7edbbd88757bcf61180f59176fcbe39675f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2026-05-05)
5
+ ------------------
6
+
7
+ * Feature - Add support for DICOM Json Metadata Override features in startDICOMImportJob API
8
+
4
9
  1.44.0 (2026-04-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.45.0
@@ -723,6 +723,10 @@ module Aws::MedicalImaging
723
723
  # resp.job_properties.input_s3_uri #=> String
724
724
  # resp.job_properties.output_s3_uri #=> String
725
725
  # resp.job_properties.message #=> String
726
+ # resp.job_properties.import_configuration.dicom_json_metadata_import_configuration.dicom_metadata_mappings #=> Array
727
+ # resp.job_properties.import_configuration.dicom_json_metadata_import_configuration.dicom_metadata_mappings[0].study_instance_uid #=> String
728
+ # resp.job_properties.import_configuration.dicom_json_metadata_import_configuration.dicom_metadata_mappings[0].series_instance_uid #=> String
729
+ # resp.job_properties.import_configuration.dicom_json_metadata_import_configuration.dicom_metadata_mappings[0].metadata_file_path #=> String
726
730
  #
727
731
  # @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/GetDICOMImportJob AWS API Documentation
728
732
  #
@@ -1206,9 +1210,11 @@ module Aws::MedicalImaging
1206
1210
  end
1207
1211
 
1208
1212
  # Start importing bulk data into an `ACTIVE` data store. The import job
1209
- # imports DICOM P10 files found in the S3 prefix specified by the
1210
- # `inputS3Uri` parameter. The import job stores processing results in
1211
- # the file specified by the `outputS3Uri` parameter.
1213
+ # imports DICOM P10 files or enhances existing DICOM files with JSON
1214
+ # metadata. The `importConfiguration` parameter specifies the import
1215
+ # type. The data is found in the S3 prefix specified by the `inputS3Uri`
1216
+ # parameter. The import job stores processing results in the file
1217
+ # specified by the `outputS3Uri` parameter.
1212
1218
  #
1213
1219
  # @option params [String] :job_name
1214
1220
  # The import job name.
@@ -1237,6 +1243,9 @@ module Aws::MedicalImaging
1237
1243
  # @option params [String] :input_owner_account_id
1238
1244
  # The account ID of the source S3 bucket owner.
1239
1245
  #
1246
+ # @option params [Types::ImportConfiguration] :import_configuration
1247
+ # The import configuration for the import job.
1248
+ #
1240
1249
  # @return [Types::StartDICOMImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1241
1250
  #
1242
1251
  # * {Types::StartDICOMImportJobResponse#datastore_id #datastore_id} => String
@@ -1254,6 +1263,17 @@ module Aws::MedicalImaging
1254
1263
  # input_s3_uri: "S3Uri", # required
1255
1264
  # output_s3_uri: "S3Uri", # required
1256
1265
  # input_owner_account_id: "AwsAccountId",
1266
+ # import_configuration: {
1267
+ # dicom_json_metadata_import_configuration: {
1268
+ # dicom_metadata_mappings: [ # required
1269
+ # {
1270
+ # study_instance_uid: "DICOMStudyInstanceUID", # required
1271
+ # series_instance_uid: "DICOMSeriesInstanceUID",
1272
+ # metadata_file_path: "MetadataFilePath", # required
1273
+ # },
1274
+ # ],
1275
+ # },
1276
+ # },
1257
1277
  # })
1258
1278
  #
1259
1279
  # @example Response structure
@@ -1423,7 +1443,7 @@ module Aws::MedicalImaging
1423
1443
  tracer: tracer
1424
1444
  )
1425
1445
  context[:gem_name] = 'aws-sdk-medicalimaging'
1426
- context[:gem_version] = '1.44.0'
1446
+ context[:gem_version] = '1.45.0'
1427
1447
  Seahorse::Client::Request.new(handlers, context)
1428
1448
  end
1429
1449
 
@@ -65,6 +65,9 @@ module Aws::MedicalImaging
65
65
  DeleteDatastoreResponse = Shapes::StructureShape.new(name: 'DeleteDatastoreResponse')
66
66
  DeleteImageSetRequest = Shapes::StructureShape.new(name: 'DeleteImageSetRequest')
67
67
  DeleteImageSetResponse = Shapes::StructureShape.new(name: 'DeleteImageSetResponse')
68
+ DicomJsonMetadataImportConfiguration = Shapes::StructureShape.new(name: 'DicomJsonMetadataImportConfiguration')
69
+ DicomMetadataMapping = Shapes::StructureShape.new(name: 'DicomMetadataMapping')
70
+ DicomMetadataMappings = Shapes::ListShape.new(name: 'DicomMetadataMappings')
68
71
  GetDICOMImportJobRequest = Shapes::StructureShape.new(name: 'GetDICOMImportJobRequest')
69
72
  GetDICOMImportJobResponse = Shapes::StructureShape.new(name: 'GetDICOMImportJobResponse')
70
73
  GetDatastoreRequest = Shapes::StructureShape.new(name: 'GetDatastoreRequest')
@@ -86,6 +89,7 @@ module Aws::MedicalImaging
86
89
  ImageSetWorkflowStatus = Shapes::StringShape.new(name: 'ImageSetWorkflowStatus')
87
90
  ImageSetsMetadataSummaries = Shapes::ListShape.new(name: 'ImageSetsMetadataSummaries')
88
91
  ImageSetsMetadataSummary = Shapes::StructureShape.new(name: 'ImageSetsMetadataSummary')
92
+ ImportConfiguration = Shapes::UnionShape.new(name: 'ImportConfiguration')
89
93
  Integer = Shapes::IntegerShape.new(name: 'Integer')
90
94
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
91
95
  JobId = Shapes::StringShape.new(name: 'JobId')
@@ -107,6 +111,7 @@ module Aws::MedicalImaging
107
111
  LosslessStorageFormat = Shapes::StringShape.new(name: 'LosslessStorageFormat')
108
112
  Message = Shapes::StringShape.new(name: 'Message')
109
113
  MetadataCopies = Shapes::StructureShape.new(name: 'MetadataCopies')
114
+ MetadataFilePath = Shapes::StringShape.new(name: 'MetadataFilePath')
110
115
  MetadataUpdates = Shapes::UnionShape.new(name: 'MetadataUpdates')
111
116
  NextToken = Shapes::StringShape.new(name: 'NextToken')
112
117
  NotAcceptableException = Shapes::StructureShape.new(name: 'NotAcceptableException')
@@ -220,6 +225,7 @@ module Aws::MedicalImaging
220
225
  DICOMImportJobProperties.add_member(:input_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "inputS3Uri"))
221
226
  DICOMImportJobProperties.add_member(:output_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "outputS3Uri"))
222
227
  DICOMImportJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
228
+ DICOMImportJobProperties.add_member(:import_configuration, Shapes::ShapeRef.new(shape: ImportConfiguration, location_name: "importConfiguration"))
223
229
  DICOMImportJobProperties.struct_class = Types::DICOMImportJobProperties
224
230
 
225
231
  DICOMImportJobSummaries.member = Shapes::ShapeRef.new(shape: DICOMImportJobSummary)
@@ -298,6 +304,16 @@ module Aws::MedicalImaging
298
304
  DeleteImageSetResponse.add_member(:image_set_workflow_status, Shapes::ShapeRef.new(shape: ImageSetWorkflowStatus, required: true, location_name: "imageSetWorkflowStatus"))
299
305
  DeleteImageSetResponse.struct_class = Types::DeleteImageSetResponse
300
306
 
307
+ DicomJsonMetadataImportConfiguration.add_member(:dicom_metadata_mappings, Shapes::ShapeRef.new(shape: DicomMetadataMappings, required: true, location_name: "dicomMetadataMappings"))
308
+ DicomJsonMetadataImportConfiguration.struct_class = Types::DicomJsonMetadataImportConfiguration
309
+
310
+ DicomMetadataMapping.add_member(:study_instance_uid, Shapes::ShapeRef.new(shape: DICOMStudyInstanceUID, required: true, location_name: "studyInstanceUID"))
311
+ DicomMetadataMapping.add_member(:series_instance_uid, Shapes::ShapeRef.new(shape: DICOMSeriesInstanceUID, location_name: "seriesInstanceUID"))
312
+ DicomMetadataMapping.add_member(:metadata_file_path, Shapes::ShapeRef.new(shape: MetadataFilePath, required: true, location_name: "metadataFilePath"))
313
+ DicomMetadataMapping.struct_class = Types::DicomMetadataMapping
314
+
315
+ DicomMetadataMappings.member = Shapes::ShapeRef.new(shape: DicomMetadataMapping)
316
+
301
317
  GetDICOMImportJobRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location: "uri", location_name: "datastoreId"))
302
318
  GetDICOMImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
303
319
  GetDICOMImportJobRequest.struct_class = Types::GetDICOMImportJobRequest
@@ -386,6 +402,12 @@ module Aws::MedicalImaging
386
402
  ImageSetsMetadataSummary.add_member(:is_primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPrimary"))
387
403
  ImageSetsMetadataSummary.struct_class = Types::ImageSetsMetadataSummary
388
404
 
405
+ ImportConfiguration.add_member(:dicom_json_metadata_import_configuration, Shapes::ShapeRef.new(shape: DicomJsonMetadataImportConfiguration, location_name: "dicomJsonMetadataImportConfiguration"))
406
+ ImportConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
407
+ ImportConfiguration.add_member_subclass(:dicom_json_metadata_import_configuration, Types::ImportConfiguration::DicomJsonMetadataImportConfiguration)
408
+ ImportConfiguration.add_member_subclass(:unknown, Types::ImportConfiguration::Unknown)
409
+ ImportConfiguration.struct_class = Types::ImportConfiguration
410
+
389
411
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
390
412
  InternalServerException.struct_class = Types::InternalServerException
391
413
 
@@ -505,6 +527,7 @@ module Aws::MedicalImaging
505
527
  StartDICOMImportJobRequest.add_member(:input_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "inputS3Uri"))
506
528
  StartDICOMImportJobRequest.add_member(:output_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "outputS3Uri"))
507
529
  StartDICOMImportJobRequest.add_member(:input_owner_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "inputOwnerAccountId"))
530
+ StartDICOMImportJobRequest.add_member(:import_configuration, Shapes::ShapeRef.new(shape: ImportConfiguration, location_name: "importConfiguration"))
508
531
  StartDICOMImportJobRequest.struct_class = Types::StartDICOMImportJobRequest
509
532
 
510
533
  StartDICOMImportJobResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "datastoreId"))
@@ -363,6 +363,10 @@ module Aws::MedicalImaging
363
363
  # The error message thrown if an import job fails.
364
364
  # @return [String]
365
365
  #
366
+ # @!attribute [rw] import_configuration
367
+ # The object containing `DicomJsonMetadataImportConfiguration`.
368
+ # @return [Types::ImportConfiguration]
369
+ #
366
370
  # @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/DICOMImportJobProperties AWS API Documentation
367
371
  #
368
372
  class DICOMImportJobProperties < Struct.new(
@@ -375,7 +379,8 @@ module Aws::MedicalImaging
375
379
  :submitted_at,
376
380
  :input_s3_uri,
377
381
  :output_s3_uri,
378
- :message)
382
+ :message,
383
+ :import_configuration)
379
384
  SENSITIVE = []
380
385
  include Aws::Structure
381
386
  end
@@ -726,6 +731,46 @@ module Aws::MedicalImaging
726
731
  include Aws::Structure
727
732
  end
728
733
 
734
+ # The configuration parameters that are specific to DICOM JSON metadata
735
+ # import operations.
736
+ #
737
+ # @!attribute [rw] dicom_metadata_mappings
738
+ # Maps DCM files to their metadata.
739
+ # @return [Array<Types::DicomMetadataMapping>]
740
+ #
741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/DicomJsonMetadataImportConfiguration AWS API Documentation
742
+ #
743
+ class DicomJsonMetadataImportConfiguration < Struct.new(
744
+ :dicom_metadata_mappings)
745
+ SENSITIVE = []
746
+ include Aws::Structure
747
+ end
748
+
749
+ # Maps DCM files to their metadata.
750
+ #
751
+ # @!attribute [rw] study_instance_uid
752
+ # The Study Instance UID that identifies the study.
753
+ # @return [String]
754
+ #
755
+ # @!attribute [rw] series_instance_uid
756
+ # The Series Instance UID that identifies the series. This parameter
757
+ # is optional because the mapping might be at the study level.
758
+ # @return [String]
759
+ #
760
+ # @!attribute [rw] metadata_file_path
761
+ # The path to the JSON metadata file relative to inputS3Uri.
762
+ # @return [String]
763
+ #
764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/DicomMetadataMapping AWS API Documentation
765
+ #
766
+ class DicomMetadataMapping < Struct.new(
767
+ :study_instance_uid,
768
+ :series_instance_uid,
769
+ :metadata_file_path)
770
+ SENSITIVE = [:study_instance_uid, :series_instance_uid]
771
+ include Aws::Structure
772
+ end
773
+
729
774
  # @!attribute [rw] datastore_id
730
775
  # The data store identifier.
731
776
  # @return [String]
@@ -1145,6 +1190,30 @@ module Aws::MedicalImaging
1145
1190
  include Aws::Structure
1146
1191
  end
1147
1192
 
1193
+ # The configuration options for different types of import operations.
1194
+ #
1195
+ # @note ImportConfiguration is a union - when making an API calls you must set exactly one of the members.
1196
+ #
1197
+ # @note ImportConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ImportConfiguration corresponding to the set member.
1198
+ #
1199
+ # @!attribute [rw] dicom_json_metadata_import_configuration
1200
+ # The configuration parameters that are specific to DICOM JSON
1201
+ # metadata import operations.
1202
+ # @return [Types::DicomJsonMetadataImportConfiguration]
1203
+ #
1204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/ImportConfiguration AWS API Documentation
1205
+ #
1206
+ class ImportConfiguration < Struct.new(
1207
+ :dicom_json_metadata_import_configuration,
1208
+ :unknown)
1209
+ SENSITIVE = []
1210
+ include Aws::Structure
1211
+ include Aws::Structure::Union
1212
+
1213
+ class DicomJsonMetadataImportConfiguration < ImportConfiguration; end
1214
+ class Unknown < ImportConfiguration; end
1215
+ end
1216
+
1148
1217
  # An unexpected error occurred during processing of the request.
1149
1218
  #
1150
1219
  # @!attribute [rw] message
@@ -1637,6 +1706,10 @@ module Aws::MedicalImaging
1637
1706
  # The account ID of the source S3 bucket owner.
1638
1707
  # @return [String]
1639
1708
  #
1709
+ # @!attribute [rw] import_configuration
1710
+ # The import configuration for the import job.
1711
+ # @return [Types::ImportConfiguration]
1712
+ #
1640
1713
  # @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/StartDICOMImportJobRequest AWS API Documentation
1641
1714
  #
1642
1715
  class StartDICOMImportJobRequest < Struct.new(
@@ -1646,7 +1719,8 @@ module Aws::MedicalImaging
1646
1719
  :datastore_id,
1647
1720
  :input_s3_uri,
1648
1721
  :output_s3_uri,
1649
- :input_owner_account_id)
1722
+ :input_owner_account_id,
1723
+ :import_configuration)
1650
1724
  SENSITIVE = []
1651
1725
  include Aws::Structure
1652
1726
  end
@@ -55,7 +55,7 @@ module Aws::MedicalImaging
55
55
  autoload :EndpointProvider, 'aws-sdk-medicalimaging/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-medicalimaging/endpoints'
57
57
 
58
- GEM_VERSION = '1.44.0'
58
+ GEM_VERSION = '1.45.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -328,7 +328,18 @@ module Aws
328
328
  datastore_id: ::String,
329
329
  input_s3_uri: ::String,
330
330
  output_s3_uri: ::String,
331
- ?input_owner_account_id: ::String
331
+ ?input_owner_account_id: ::String,
332
+ ?import_configuration: {
333
+ dicom_json_metadata_import_configuration: {
334
+ dicom_metadata_mappings: Array[
335
+ {
336
+ study_instance_uid: ::String,
337
+ series_instance_uid: ::String?,
338
+ metadata_file_path: ::String
339
+ },
340
+ ]
341
+ }?
342
+ }
332
343
  ) -> _StartDICOMImportJobResponseSuccess
333
344
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDICOMImportJobResponseSuccess
334
345
 
data/sig/types.rbs CHANGED
@@ -106,6 +106,7 @@ module Aws::MedicalImaging
106
106
  attr_accessor input_s3_uri: ::String
107
107
  attr_accessor output_s3_uri: ::String
108
108
  attr_accessor message: ::String
109
+ attr_accessor import_configuration: Types::ImportConfiguration
109
110
  SENSITIVE: []
110
111
  end
111
112
 
@@ -201,6 +202,18 @@ module Aws::MedicalImaging
201
202
  SENSITIVE: []
202
203
  end
203
204
 
205
+ class DicomJsonMetadataImportConfiguration
206
+ attr_accessor dicom_metadata_mappings: ::Array[Types::DicomMetadataMapping]
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class DicomMetadataMapping
211
+ attr_accessor study_instance_uid: ::String
212
+ attr_accessor series_instance_uid: ::String
213
+ attr_accessor metadata_file_path: ::String
214
+ SENSITIVE: [:study_instance_uid, :series_instance_uid]
215
+ end
216
+
204
217
  class GetDICOMImportJobRequest
205
218
  attr_accessor datastore_id: ::String
206
219
  attr_accessor job_id: ::String
@@ -305,6 +318,17 @@ module Aws::MedicalImaging
305
318
  SENSITIVE: []
306
319
  end
307
320
 
321
+ class ImportConfiguration
322
+ attr_accessor dicom_json_metadata_import_configuration: Types::DicomJsonMetadataImportConfiguration
323
+ attr_accessor unknown: untyped
324
+ SENSITIVE: []
325
+
326
+ class DicomJsonMetadataImportConfiguration < ImportConfiguration
327
+ end
328
+ class Unknown < ImportConfiguration
329
+ end
330
+ end
331
+
308
332
  class InternalServerException
309
333
  attr_accessor message: ::String
310
334
  SENSITIVE: []
@@ -476,6 +500,7 @@ module Aws::MedicalImaging
476
500
  attr_accessor input_s3_uri: ::String
477
501
  attr_accessor output_s3_uri: ::String
478
502
  attr_accessor input_owner_account_id: ::String
503
+ attr_accessor import_configuration: Types::ImportConfiguration
479
504
  SENSITIVE: []
480
505
  end
481
506
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-medicalimaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.44.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services