Skip to content

Commit 1ac3a3d

Browse files
author
awstools
committed
feat(client-medical-imaging): Added support for importing medical imaging data from Amazon S3 buckets across accounts and regions.
1 parent 511c677 commit 1ac3a3d

File tree

5 files changed

+30
-7
lines changed

5 files changed

+30
-7
lines changed

clients/client-medical-imaging/src/commands/SearchImageSetsCommand.ts

+5-6
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ export interface SearchImageSetsCommandOutput extends SearchImageSetsResponse, _
3535
* <p>Search image sets based on defined input attributes.</p>
3636
* <note>
3737
* <p>
38-
* <code>SearchImageSets</code> accepts a single search
39-
* query parameter and returns a paginated response of all image sets that have the
40-
* matching criteria. All range queries must be input as <code>(lowerBound, upperBound)</code>.</p>
41-
* <p>
42-
* <code>SearchImageSets</code> uses the <code>updatedAt</code> field for sorting
43-
* in decreasing order from latest to oldest.</p>
38+
* <code>SearchImageSets</code> accepts a single search query parameter and returns a paginated
39+
* response of all image sets that have the matching criteria. All date range queries must be input
40+
* as <code>(lowerBound, upperBound)</code>.</p>
41+
* <p>By default, <code>SearchImageSets</code> uses the <code>updatedAt</code> field for sorting
42+
* in descending order from newest to oldest.</p>
4443
* </note>
4544
* @example
4645
* Use a bare-bones client and the command you need to make an API call.

clients/client-medical-imaging/src/commands/StartDICOMImportJobCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface StartDICOMImportJobCommandOutput extends StartDICOMImportJobRes
4343
* datastoreId: "STRING_VALUE", // required
4444
* inputS3Uri: "STRING_VALUE", // required
4545
* outputS3Uri: "STRING_VALUE", // required
46+
* inputOwnerAccountId: "STRING_VALUE",
4647
* };
4748
* const command = new StartDICOMImportJobCommand(input);
4849
* const response = await client.send(command);

clients/client-medical-imaging/src/models/models_0.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1714,6 +1714,12 @@ export interface StartDICOMImportJobRequest {
17141714
* @public
17151715
*/
17161716
outputS3Uri: string | undefined;
1717+
1718+
/**
1719+
* <p>The account ID of the source S3 bucket owner.</p>
1720+
* @public
1721+
*/
1722+
inputOwnerAccountId?: string;
17171723
}
17181724

17191725
/**

clients/client-medical-imaging/src/protocols/Aws_restJson1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ export const se_StartDICOMImportJobCommand = async (
460460
take(input, {
461461
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
462462
dataAccessRoleArn: [],
463+
inputOwnerAccountId: [],
463464
inputS3Uri: [],
464465
jobName: [],
465466
outputS3Uri: [],

codegen/sdk-codegen/aws-models/medical-imaging.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,16 @@
770770
"smithy.api#pattern": "^arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:medical-imaging:[a-z0-9-]+:[0-9]{12}:datastore/[0-9a-z]{32}(/imageset/[0-9a-z]{32})?$"
771771
}
772772
},
773+
"com.amazonaws.medicalimaging#AwsAccountId": {
774+
"type": "string",
775+
"traits": {
776+
"smithy.api#length": {
777+
"min": 12,
778+
"max": 12
779+
},
780+
"smithy.api#pattern": "^\\d+$"
781+
}
782+
},
773783
"com.amazonaws.medicalimaging#ClientToken": {
774784
"type": "string",
775785
"traits": {
@@ -3402,7 +3412,7 @@
34023412
}
34033413
],
34043414
"traits": {
3405-
"smithy.api#documentation": "<p>Search image sets based on defined input attributes.</p>\n <note>\n <p>\n <code>SearchImageSets</code> accepts a single search \n query parameter and returns a paginated response of all image sets that have the \n matching criteria. All range queries must be input as <code>(lowerBound, upperBound)</code>.</p>\n <p>\n <code>SearchImageSets</code> uses the <code>updatedAt</code> field for sorting \n in decreasing order from latest to oldest.</p>\n </note>",
3415+
"smithy.api#documentation": "<p>Search image sets based on defined input attributes.</p>\n <note>\n <p>\n <code>SearchImageSets</code> accepts a single search query parameter and returns a paginated\n response of all image sets that have the matching criteria. All date range queries must be input\n as <code>(lowerBound, upperBound)</code>.</p>\n <p>By default, <code>SearchImageSets</code> uses the <code>updatedAt</code> field for sorting \n in descending order from newest to oldest.</p>\n </note>",
34063416
"smithy.api#endpoint": {
34073417
"hostPrefix": "runtime-"
34083418
},
@@ -3649,6 +3659,12 @@
36493659
"smithy.api#documentation": "<p>The output prefix of the S3 bucket to upload the results of the DICOM import job.</p>",
36503660
"smithy.api#required": {}
36513661
}
3662+
},
3663+
"inputOwnerAccountId": {
3664+
"target": "com.amazonaws.medicalimaging#AwsAccountId",
3665+
"traits": {
3666+
"smithy.api#documentation": "<p>The account ID of the source S3 bucket owner.</p>"
3667+
}
36523668
}
36533669
},
36543670
"traits": {

0 commit comments

Comments
 (0)