aws-sdk-medicalimaging 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-medicalimaging/client.rb +43 -2
- data/lib/aws-sdk-medicalimaging/client_api.rb +18 -0
- data/lib/aws-sdk-medicalimaging/types.rb +90 -4
- data/lib/aws-sdk-medicalimaging.rb +1 -1
- data/sig/client.rbs +11 -3
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +18 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dafdf8f8f85909f5fb389267cfcba361ab7bc12b0ffecc28401514468fd16a79
|
4
|
+
data.tar.gz: 71bf71645b7166d1be015d8f1478b0340d2ca10989da19d9c6ddb2932cc24e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcebdf073b185bab33f9890adc933c85f886abaa67c67d983f546b6abd592f850866ccb2494dd6ebd8645a5e1220b515b5a6f39d531f1ec9e43d817b67d90814
|
7
|
+
data.tar.gz: 49a20a4b19064007ed83be138b33fbc6fdeaac960e356312ce54d5fa976601ef450516af6f63c2169a8d3e68e41c7852895ad08ccd95379e8b66512965a6b4e1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.15.0 (2024-07-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - CopyImageSet API adds copying selected instances between image sets, and overriding inconsistent metadata with a force parameter. UpdateImageSetMetadata API enables reverting to prior versions; updates to Study, Series, and SOP Instance UIDs; and updates to private elements, with a force parameter.
|
13
|
+
|
4
14
|
1.14.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::MedicalImaging
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::MedicalImaging::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::MedicalImaging
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -436,6 +448,11 @@ module Aws::MedicalImaging
|
|
436
448
|
# @option params [required, Types::CopyImageSetInformation] :copy_image_set_information
|
437
449
|
# Copy image set information.
|
438
450
|
#
|
451
|
+
# @option params [Boolean] :force
|
452
|
+
# Setting this flag will force the `CopyImageSet` operation, even if
|
453
|
+
# Patient, Study, or Series level metadata are mismatched across the
|
454
|
+
# `sourceImageSet` and `destinationImageSet`.
|
455
|
+
#
|
439
456
|
# @return [Types::CopyImageSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
440
457
|
#
|
441
458
|
# * {Types::CopyImageSetResponse#datastore_id #datastore_id} => String
|
@@ -450,12 +467,16 @@ module Aws::MedicalImaging
|
|
450
467
|
# copy_image_set_information: { # required
|
451
468
|
# source_image_set: { # required
|
452
469
|
# latest_version_id: "ImageSetExternalVersionId", # required
|
470
|
+
# dicom_copies: {
|
471
|
+
# copiable_attributes: "CopiableAttributes", # required
|
472
|
+
# },
|
453
473
|
# },
|
454
474
|
# destination_image_set: {
|
455
475
|
# image_set_id: "ImageSetId", # required
|
456
476
|
# latest_version_id: "ImageSetExternalVersionId", # required
|
457
477
|
# },
|
458
478
|
# },
|
479
|
+
# force: false,
|
459
480
|
# })
|
460
481
|
#
|
461
482
|
# @example Response structure
|
@@ -754,6 +775,7 @@ module Aws::MedicalImaging
|
|
754
775
|
# * {Types::GetImageSetResponse#deleted_at #deleted_at} => Time
|
755
776
|
# * {Types::GetImageSetResponse#message #message} => String
|
756
777
|
# * {Types::GetImageSetResponse#image_set_arn #image_set_arn} => String
|
778
|
+
# * {Types::GetImageSetResponse#overrides #overrides} => Types::Overrides
|
757
779
|
#
|
758
780
|
# @example Request syntax with placeholder values
|
759
781
|
#
|
@@ -775,6 +797,7 @@ module Aws::MedicalImaging
|
|
775
797
|
# resp.deleted_at #=> Time
|
776
798
|
# resp.message #=> String
|
777
799
|
# resp.image_set_arn #=> String
|
800
|
+
# resp.overrides.forced #=> Boolean
|
778
801
|
#
|
779
802
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/GetImageSet AWS API Documentation
|
780
803
|
#
|
@@ -967,6 +990,7 @@ module Aws::MedicalImaging
|
|
967
990
|
# resp.image_set_properties_list[0].updated_at #=> Time
|
968
991
|
# resp.image_set_properties_list[0].deleted_at #=> Time
|
969
992
|
# resp.image_set_properties_list[0].message #=> String
|
993
|
+
# resp.image_set_properties_list[0].overrides.forced #=> Boolean
|
970
994
|
# resp.next_token #=> String
|
971
995
|
#
|
972
996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/ListImageSetVersions AWS API Documentation
|
@@ -1248,6 +1272,16 @@ module Aws::MedicalImaging
|
|
1248
1272
|
# @option params [required, String] :latest_version_id
|
1249
1273
|
# The latest image set version identifier.
|
1250
1274
|
#
|
1275
|
+
# @option params [Boolean] :force
|
1276
|
+
# Setting this flag will force the `UpdateImageSetMetadata` operation
|
1277
|
+
# for the following attributes:
|
1278
|
+
#
|
1279
|
+
# * `Tag.StudyInstanceUID`, `Tag.SeriesInstanceUID`,
|
1280
|
+
# `Tag.SOPInstanceUID`, and `Tag.StudyID`
|
1281
|
+
#
|
1282
|
+
# * Adding, removing, or updating private tags for an individual SOP
|
1283
|
+
# Instance
|
1284
|
+
#
|
1251
1285
|
# @option params [required, Types::MetadataUpdates] :update_image_set_metadata_updates
|
1252
1286
|
# Update image set metadata updates.
|
1253
1287
|
#
|
@@ -1268,11 +1302,13 @@ module Aws::MedicalImaging
|
|
1268
1302
|
# datastore_id: "DatastoreId", # required
|
1269
1303
|
# image_set_id: "ImageSetId", # required
|
1270
1304
|
# latest_version_id: "ImageSetExternalVersionId", # required
|
1305
|
+
# force: false,
|
1271
1306
|
# update_image_set_metadata_updates: { # required
|
1272
1307
|
# dicom_updates: {
|
1273
1308
|
# removable_attributes: "data",
|
1274
1309
|
# updatable_attributes: "data",
|
1275
1310
|
# },
|
1311
|
+
# revert_to_version_id: "ImageSetExternalVersionId",
|
1276
1312
|
# },
|
1277
1313
|
# })
|
1278
1314
|
#
|
@@ -1302,14 +1338,19 @@ module Aws::MedicalImaging
|
|
1302
1338
|
# @api private
|
1303
1339
|
def build_request(operation_name, params = {})
|
1304
1340
|
handlers = @handlers.for(operation_name)
|
1341
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
1342
|
+
Aws::Telemetry.module_to_tracer_name('Aws::MedicalImaging')
|
1343
|
+
)
|
1305
1344
|
context = Seahorse::Client::RequestContext.new(
|
1306
1345
|
operation_name: operation_name,
|
1307
1346
|
operation: config.api.operation(operation_name),
|
1308
1347
|
client: self,
|
1309
1348
|
params: params,
|
1310
|
-
config: config
|
1349
|
+
config: config,
|
1350
|
+
tracer: tracer
|
1351
|
+
)
|
1311
1352
|
context[:gem_name] = 'aws-sdk-medicalimaging'
|
1312
|
-
context[:gem_version] = '1.
|
1353
|
+
context[:gem_version] = '1.16.0'
|
1313
1354
|
Seahorse::Client::Request.new(handlers, context)
|
1314
1355
|
end
|
1315
1356
|
|
@@ -16,8 +16,10 @@ module Aws::MedicalImaging
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
18
|
AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
|
19
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
19
20
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
20
21
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
22
|
+
CopiableAttributes = Shapes::StringShape.new(name: 'CopiableAttributes')
|
21
23
|
CopyDestinationImageSet = Shapes::StructureShape.new(name: 'CopyDestinationImageSet')
|
22
24
|
CopyDestinationImageSetProperties = Shapes::StructureShape.new(name: 'CopyDestinationImageSetProperties')
|
23
25
|
CopyImageSetInformation = Shapes::StructureShape.new(name: 'CopyImageSetInformation')
|
@@ -100,9 +102,11 @@ module Aws::MedicalImaging
|
|
100
102
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
101
103
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
102
104
|
Message = Shapes::StringShape.new(name: 'Message')
|
105
|
+
MetadataCopies = Shapes::StructureShape.new(name: 'MetadataCopies')
|
103
106
|
MetadataUpdates = Shapes::UnionShape.new(name: 'MetadataUpdates')
|
104
107
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
105
108
|
Operator = Shapes::StringShape.new(name: 'Operator')
|
109
|
+
Overrides = Shapes::StructureShape.new(name: 'Overrides')
|
106
110
|
PayloadBlob = Shapes::BlobShape.new(name: 'PayloadBlob', streaming: true)
|
107
111
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
108
112
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
@@ -161,6 +165,7 @@ module Aws::MedicalImaging
|
|
161
165
|
CopyImageSetRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location: "uri", location_name: "datastoreId"))
|
162
166
|
CopyImageSetRequest.add_member(:source_image_set_id, Shapes::ShapeRef.new(shape: ImageSetId, required: true, location: "uri", location_name: "sourceImageSetId"))
|
163
167
|
CopyImageSetRequest.add_member(:copy_image_set_information, Shapes::ShapeRef.new(shape: CopyImageSetInformation, required: true, location_name: "copyImageSetInformation"))
|
168
|
+
CopyImageSetRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "force"))
|
164
169
|
CopyImageSetRequest.struct_class = Types::CopyImageSetRequest
|
165
170
|
CopyImageSetRequest[:payload] = :copy_image_set_information
|
166
171
|
CopyImageSetRequest[:payload_member] = CopyImageSetRequest.member(:copy_image_set_information)
|
@@ -171,6 +176,7 @@ module Aws::MedicalImaging
|
|
171
176
|
CopyImageSetResponse.struct_class = Types::CopyImageSetResponse
|
172
177
|
|
173
178
|
CopySourceImageSetInformation.add_member(:latest_version_id, Shapes::ShapeRef.new(shape: ImageSetExternalVersionId, required: true, location_name: "latestVersionId"))
|
179
|
+
CopySourceImageSetInformation.add_member(:dicom_copies, Shapes::ShapeRef.new(shape: MetadataCopies, location_name: "DICOMCopies"))
|
174
180
|
CopySourceImageSetInformation.struct_class = Types::CopySourceImageSetInformation
|
175
181
|
|
176
182
|
CopySourceImageSetProperties.add_member(:image_set_id, Shapes::ShapeRef.new(shape: ImageSetId, required: true, location_name: "imageSetId"))
|
@@ -331,6 +337,7 @@ module Aws::MedicalImaging
|
|
331
337
|
GetImageSetResponse.add_member(:deleted_at, Shapes::ShapeRef.new(shape: Date, location_name: "deletedAt"))
|
332
338
|
GetImageSetResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
333
339
|
GetImageSetResponse.add_member(:image_set_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "imageSetArn"))
|
340
|
+
GetImageSetResponse.add_member(:overrides, Shapes::ShapeRef.new(shape: Overrides, location_name: "overrides"))
|
334
341
|
GetImageSetResponse.struct_class = Types::GetImageSetResponse
|
335
342
|
|
336
343
|
ImageFrameInformation.add_member(:image_frame_id, Shapes::ShapeRef.new(shape: ImageFrameId, required: true, location_name: "imageFrameId"))
|
@@ -344,6 +351,7 @@ module Aws::MedicalImaging
|
|
344
351
|
ImageSetProperties.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "updatedAt"))
|
345
352
|
ImageSetProperties.add_member(:deleted_at, Shapes::ShapeRef.new(shape: Date, location_name: "deletedAt"))
|
346
353
|
ImageSetProperties.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
354
|
+
ImageSetProperties.add_member(:overrides, Shapes::ShapeRef.new(shape: Overrides, location_name: "overrides"))
|
347
355
|
ImageSetProperties.struct_class = Types::ImageSetProperties
|
348
356
|
|
349
357
|
ImageSetPropertiesList.member = Shapes::ShapeRef.new(shape: ImageSetProperties)
|
@@ -395,12 +403,20 @@ module Aws::MedicalImaging
|
|
395
403
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
396
404
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
397
405
|
|
406
|
+
MetadataCopies.add_member(:copiable_attributes, Shapes::ShapeRef.new(shape: CopiableAttributes, required: true, location_name: "copiableAttributes"))
|
407
|
+
MetadataCopies.struct_class = Types::MetadataCopies
|
408
|
+
|
398
409
|
MetadataUpdates.add_member(:dicom_updates, Shapes::ShapeRef.new(shape: DICOMUpdates, location_name: "DICOMUpdates"))
|
410
|
+
MetadataUpdates.add_member(:revert_to_version_id, Shapes::ShapeRef.new(shape: ImageSetExternalVersionId, location_name: "revertToVersionId"))
|
399
411
|
MetadataUpdates.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
400
412
|
MetadataUpdates.add_member_subclass(:dicom_updates, Types::MetadataUpdates::DicomUpdates)
|
413
|
+
MetadataUpdates.add_member_subclass(:revert_to_version_id, Types::MetadataUpdates::RevertToVersionId)
|
401
414
|
MetadataUpdates.add_member_subclass(:unknown, Types::MetadataUpdates::Unknown)
|
402
415
|
MetadataUpdates.struct_class = Types::MetadataUpdates
|
403
416
|
|
417
|
+
Overrides.add_member(:forced, Shapes::ShapeRef.new(shape: Boolean, location_name: "forced"))
|
418
|
+
Overrides.struct_class = Types::Overrides
|
419
|
+
|
404
420
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
405
421
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
406
422
|
|
@@ -494,6 +510,7 @@ module Aws::MedicalImaging
|
|
494
510
|
UpdateImageSetMetadataRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location: "uri", location_name: "datastoreId"))
|
495
511
|
UpdateImageSetMetadataRequest.add_member(:image_set_id, Shapes::ShapeRef.new(shape: ImageSetId, required: true, location: "uri", location_name: "imageSetId"))
|
496
512
|
UpdateImageSetMetadataRequest.add_member(:latest_version_id, Shapes::ShapeRef.new(shape: ImageSetExternalVersionId, required: true, location: "querystring", location_name: "latestVersion"))
|
513
|
+
UpdateImageSetMetadataRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "force"))
|
497
514
|
UpdateImageSetMetadataRequest.add_member(:update_image_set_metadata_updates, Shapes::ShapeRef.new(shape: MetadataUpdates, required: true, location_name: "updateImageSetMetadataUpdates"))
|
498
515
|
UpdateImageSetMetadataRequest.struct_class = Types::UpdateImageSetMetadataRequest
|
499
516
|
UpdateImageSetMetadataRequest[:payload] = :update_image_set_metadata_updates
|
@@ -520,6 +537,7 @@ module Aws::MedicalImaging
|
|
520
537
|
|
521
538
|
api.metadata = {
|
522
539
|
"apiVersion" => "2023-07-19",
|
540
|
+
"auth" => ["aws.auth#sigv4"],
|
523
541
|
"endpointPrefix" => "medical-imaging",
|
524
542
|
"protocol" => "rest-json",
|
525
543
|
"protocols" => ["rest-json"],
|
@@ -135,12 +135,19 @@ module Aws::MedicalImaging
|
|
135
135
|
# Copy image set information.
|
136
136
|
# @return [Types::CopyImageSetInformation]
|
137
137
|
#
|
138
|
+
# @!attribute [rw] force
|
139
|
+
# Setting this flag will force the `CopyImageSet` operation, even if
|
140
|
+
# Patient, Study, or Series level metadata are mismatched across the
|
141
|
+
# `sourceImageSet` and `destinationImageSet`.
|
142
|
+
# @return [Boolean]
|
143
|
+
#
|
138
144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/CopyImageSetRequest AWS API Documentation
|
139
145
|
#
|
140
146
|
class CopyImageSetRequest < Struct.new(
|
141
147
|
:datastore_id,
|
142
148
|
:source_image_set_id,
|
143
|
-
:copy_image_set_information
|
149
|
+
:copy_image_set_information,
|
150
|
+
:force)
|
144
151
|
SENSITIVE = []
|
145
152
|
include Aws::Structure
|
146
153
|
end
|
@@ -173,10 +180,16 @@ module Aws::MedicalImaging
|
|
173
180
|
# The latest version identifier for the source image set.
|
174
181
|
# @return [String]
|
175
182
|
#
|
183
|
+
# @!attribute [rw] dicom_copies
|
184
|
+
# Contains `MetadataCopies` structure and wraps information related to
|
185
|
+
# specific copy use cases. For example, when copying subsets.
|
186
|
+
# @return [Types::MetadataCopies]
|
187
|
+
#
|
176
188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/CopySourceImageSetInformation AWS API Documentation
|
177
189
|
#
|
178
190
|
class CopySourceImageSetInformation < Struct.new(
|
179
|
-
:latest_version_id
|
191
|
+
:latest_version_id,
|
192
|
+
:dicom_copies)
|
180
193
|
SENSITIVE = []
|
181
194
|
include Aws::Structure
|
182
195
|
end
|
@@ -873,6 +886,13 @@ module Aws::MedicalImaging
|
|
873
886
|
# The Amazon Resource Name (ARN) assigned to the image set.
|
874
887
|
# @return [String]
|
875
888
|
#
|
889
|
+
# @!attribute [rw] overrides
|
890
|
+
# This object contains the details of any overrides used while
|
891
|
+
# creating a specific image set version. If an image set was copied or
|
892
|
+
# updated using the `force` flag, this object will contain the
|
893
|
+
# `forced` flag.
|
894
|
+
# @return [Types::Overrides]
|
895
|
+
#
|
876
896
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/GetImageSetResponse AWS API Documentation
|
877
897
|
#
|
878
898
|
class GetImageSetResponse < Struct.new(
|
@@ -885,7 +905,8 @@ module Aws::MedicalImaging
|
|
885
905
|
:updated_at,
|
886
906
|
:deleted_at,
|
887
907
|
:message,
|
888
|
-
:image_set_arn
|
908
|
+
:image_set_arn,
|
909
|
+
:overrides)
|
889
910
|
SENSITIVE = []
|
890
911
|
include Aws::Structure
|
891
912
|
end
|
@@ -938,6 +959,12 @@ module Aws::MedicalImaging
|
|
938
959
|
# The error message thrown if an image set action fails.
|
939
960
|
# @return [String]
|
940
961
|
#
|
962
|
+
# @!attribute [rw] overrides
|
963
|
+
# Contains details on overrides used when creating the returned
|
964
|
+
# version of an image set. For example, if `forced` exists, the
|
965
|
+
# `forced` flag was used when creating the image set.
|
966
|
+
# @return [Types::Overrides]
|
967
|
+
#
|
941
968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/ImageSetProperties AWS API Documentation
|
942
969
|
#
|
943
970
|
class ImageSetProperties < Struct.new(
|
@@ -948,7 +975,8 @@ module Aws::MedicalImaging
|
|
948
975
|
:created_at,
|
949
976
|
:updated_at,
|
950
977
|
:deleted_at,
|
951
|
-
:message
|
978
|
+
:message,
|
979
|
+
:overrides)
|
952
980
|
SENSITIVE = []
|
953
981
|
include Aws::Structure
|
954
982
|
end
|
@@ -1160,6 +1188,22 @@ module Aws::MedicalImaging
|
|
1160
1188
|
include Aws::Structure
|
1161
1189
|
end
|
1162
1190
|
|
1191
|
+
# Contains copiable `Attributes` structure and wraps information related
|
1192
|
+
# to specific copy use cases. For example, when copying subsets.
|
1193
|
+
#
|
1194
|
+
# @!attribute [rw] copiable_attributes
|
1195
|
+
# The JSON string used to specify a subset of SOP Instances to copy
|
1196
|
+
# from source to destination image set.
|
1197
|
+
# @return [String]
|
1198
|
+
#
|
1199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/MetadataCopies AWS API Documentation
|
1200
|
+
#
|
1201
|
+
class MetadataCopies < Struct.new(
|
1202
|
+
:copiable_attributes)
|
1203
|
+
SENSITIVE = [:copiable_attributes]
|
1204
|
+
include Aws::Structure
|
1205
|
+
end
|
1206
|
+
|
1163
1207
|
# Contains DICOMUpdates.
|
1164
1208
|
#
|
1165
1209
|
# @note MetadataUpdates is a union - when making an API calls you must set exactly one of the members.
|
@@ -1169,19 +1213,49 @@ module Aws::MedicalImaging
|
|
1169
1213
|
# `updatableAttributes`.
|
1170
1214
|
# @return [Types::DICOMUpdates]
|
1171
1215
|
#
|
1216
|
+
# @!attribute [rw] revert_to_version_id
|
1217
|
+
# Specifies the previous image set version ID to revert the current
|
1218
|
+
# image set back to.
|
1219
|
+
#
|
1220
|
+
# <note markdown="1"> You must provide either `revertToVersionId` or `DICOMUpdates` in
|
1221
|
+
# your request. A `ValidationException` error is thrown if both
|
1222
|
+
# parameters are provided at the same time.
|
1223
|
+
#
|
1224
|
+
# </note>
|
1225
|
+
# @return [String]
|
1226
|
+
#
|
1172
1227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/MetadataUpdates AWS API Documentation
|
1173
1228
|
#
|
1174
1229
|
class MetadataUpdates < Struct.new(
|
1175
1230
|
:dicom_updates,
|
1231
|
+
:revert_to_version_id,
|
1176
1232
|
:unknown)
|
1177
1233
|
SENSITIVE = []
|
1178
1234
|
include Aws::Structure
|
1179
1235
|
include Aws::Structure::Union
|
1180
1236
|
|
1181
1237
|
class DicomUpdates < MetadataUpdates; end
|
1238
|
+
class RevertToVersionId < MetadataUpdates; end
|
1182
1239
|
class Unknown < MetadataUpdates; end
|
1183
1240
|
end
|
1184
1241
|
|
1242
|
+
# Specifies the overrides used in image set modification calls to
|
1243
|
+
# `CopyImageSet` and `UpdateImageSetMetadata`.
|
1244
|
+
#
|
1245
|
+
# @!attribute [rw] forced
|
1246
|
+
# Setting this flag will force the `CopyImageSet` and
|
1247
|
+
# `UpdateImageSetMetadata` operations, even if Patient, Study, or
|
1248
|
+
# Series level metadata are mismatched.
|
1249
|
+
# @return [Boolean]
|
1250
|
+
#
|
1251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/Overrides AWS API Documentation
|
1252
|
+
#
|
1253
|
+
class Overrides < Struct.new(
|
1254
|
+
:forced)
|
1255
|
+
SENSITIVE = []
|
1256
|
+
include Aws::Structure
|
1257
|
+
end
|
1258
|
+
|
1185
1259
|
# The request references a resource which does not exist.
|
1186
1260
|
#
|
1187
1261
|
# @!attribute [rw] message
|
@@ -1527,6 +1601,17 @@ module Aws::MedicalImaging
|
|
1527
1601
|
# The latest image set version identifier.
|
1528
1602
|
# @return [String]
|
1529
1603
|
#
|
1604
|
+
# @!attribute [rw] force
|
1605
|
+
# Setting this flag will force the `UpdateImageSetMetadata` operation
|
1606
|
+
# for the following attributes:
|
1607
|
+
#
|
1608
|
+
# * `Tag.StudyInstanceUID`, `Tag.SeriesInstanceUID`,
|
1609
|
+
# `Tag.SOPInstanceUID`, and `Tag.StudyID`
|
1610
|
+
#
|
1611
|
+
# * Adding, removing, or updating private tags for an individual SOP
|
1612
|
+
# Instance
|
1613
|
+
# @return [Boolean]
|
1614
|
+
#
|
1530
1615
|
# @!attribute [rw] update_image_set_metadata_updates
|
1531
1616
|
# Update image set metadata updates.
|
1532
1617
|
# @return [Types::MetadataUpdates]
|
@@ -1537,6 +1622,7 @@ module Aws::MedicalImaging
|
|
1537
1622
|
:datastore_id,
|
1538
1623
|
:image_set_id,
|
1539
1624
|
:latest_version_id,
|
1625
|
+
:force,
|
1540
1626
|
:update_image_set_metadata_updates)
|
1541
1627
|
SENSITIVE = []
|
1542
1628
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
@@ -85,13 +86,17 @@ module Aws
|
|
85
86
|
source_image_set_id: ::String,
|
86
87
|
copy_image_set_information: {
|
87
88
|
source_image_set: {
|
88
|
-
latest_version_id: ::String
|
89
|
+
latest_version_id: ::String,
|
90
|
+
dicom_copies: {
|
91
|
+
copiable_attributes: ::String
|
92
|
+
}?
|
89
93
|
},
|
90
94
|
destination_image_set: {
|
91
95
|
image_set_id: ::String,
|
92
96
|
latest_version_id: ::String
|
93
97
|
}?
|
94
|
-
}
|
98
|
+
},
|
99
|
+
?force: bool
|
95
100
|
) -> _CopyImageSetResponseSuccess
|
96
101
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyImageSetResponseSuccess
|
97
102
|
|
@@ -182,6 +187,7 @@ module Aws
|
|
182
187
|
def deleted_at: () -> ::Time
|
183
188
|
def message: () -> ::String
|
184
189
|
def image_set_arn: () -> ::String
|
190
|
+
def overrides: () -> Types::Overrides
|
185
191
|
end
|
186
192
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MedicalImaging/Client.html#get_image_set-instance_method
|
187
193
|
def get_image_set: (
|
@@ -351,11 +357,13 @@ module Aws
|
|
351
357
|
datastore_id: ::String,
|
352
358
|
image_set_id: ::String,
|
353
359
|
latest_version_id: ::String,
|
360
|
+
?force: bool,
|
354
361
|
update_image_set_metadata_updates: {
|
355
362
|
dicom_updates: {
|
356
363
|
removable_attributes: ::String?,
|
357
364
|
updatable_attributes: ::String?
|
358
|
-
}
|
365
|
+
}?,
|
366
|
+
revert_to_version_id: ::String?
|
359
367
|
}
|
360
368
|
) -> _UpdateImageSetMetadataResponseSuccess
|
361
369
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateImageSetMetadataResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -45,6 +45,7 @@ module Aws::MedicalImaging
|
|
45
45
|
attr_accessor datastore_id: ::String
|
46
46
|
attr_accessor source_image_set_id: ::String
|
47
47
|
attr_accessor copy_image_set_information: Types::CopyImageSetInformation
|
48
|
+
attr_accessor force: bool
|
48
49
|
SENSITIVE: []
|
49
50
|
end
|
50
51
|
|
@@ -57,6 +58,7 @@ module Aws::MedicalImaging
|
|
57
58
|
|
58
59
|
class CopySourceImageSetInformation
|
59
60
|
attr_accessor latest_version_id: ::String
|
61
|
+
attr_accessor dicom_copies: Types::MetadataCopies
|
60
62
|
SENSITIVE: []
|
61
63
|
end
|
62
64
|
|
@@ -255,6 +257,7 @@ module Aws::MedicalImaging
|
|
255
257
|
attr_accessor deleted_at: ::Time
|
256
258
|
attr_accessor message: ::String
|
257
259
|
attr_accessor image_set_arn: ::String
|
260
|
+
attr_accessor overrides: Types::Overrides
|
258
261
|
SENSITIVE: []
|
259
262
|
end
|
260
263
|
|
@@ -272,6 +275,7 @@ module Aws::MedicalImaging
|
|
272
275
|
attr_accessor updated_at: ::Time
|
273
276
|
attr_accessor deleted_at: ::Time
|
274
277
|
attr_accessor message: ::String
|
278
|
+
attr_accessor overrides: Types::Overrides
|
275
279
|
SENSITIVE: []
|
276
280
|
end
|
277
281
|
|
@@ -340,17 +344,30 @@ module Aws::MedicalImaging
|
|
340
344
|
SENSITIVE: []
|
341
345
|
end
|
342
346
|
|
347
|
+
class MetadataCopies
|
348
|
+
attr_accessor copiable_attributes: ::String
|
349
|
+
SENSITIVE: [:copiable_attributes]
|
350
|
+
end
|
351
|
+
|
343
352
|
class MetadataUpdates
|
344
353
|
attr_accessor dicom_updates: Types::DICOMUpdates
|
354
|
+
attr_accessor revert_to_version_id: ::String
|
345
355
|
attr_accessor unknown: untyped
|
346
356
|
SENSITIVE: []
|
347
357
|
|
348
358
|
class DicomUpdates < MetadataUpdates
|
349
359
|
end
|
360
|
+
class RevertToVersionId < MetadataUpdates
|
361
|
+
end
|
350
362
|
class Unknown < MetadataUpdates
|
351
363
|
end
|
352
364
|
end
|
353
365
|
|
366
|
+
class Overrides
|
367
|
+
attr_accessor forced: bool
|
368
|
+
SENSITIVE: []
|
369
|
+
end
|
370
|
+
|
354
371
|
class ResourceNotFoundException
|
355
372
|
attr_accessor message: ::String
|
356
373
|
SENSITIVE: []
|
@@ -472,6 +489,7 @@ module Aws::MedicalImaging
|
|
472
489
|
attr_accessor datastore_id: ::String
|
473
490
|
attr_accessor image_set_id: ::String
|
474
491
|
attr_accessor latest_version_id: ::String
|
492
|
+
attr_accessor force: bool
|
475
493
|
attr_accessor update_image_set_metadata_updates: Types::MetadataUpdates
|
476
494
|
SENSITIVE: []
|
477
495
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-medicalimaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWS Health Imaging. This gem is part of the
|
48
48
|
AWS SDK for Ruby.
|
49
49
|
email:
|