Skip to content

Commit

Permalink
feat(client-medical-imaging): Added support for importing medical ima…
Browse files Browse the repository at this point in the history
…ging data from Amazon S3 buckets across accounts and regions.
  • Loading branch information
awstools committed May 15, 2024
1 parent 511c677 commit 1ac3a3d
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ export interface SearchImageSetsCommandOutput extends SearchImageSetsResponse, _
* <p>Search image sets based on defined input attributes.</p>
* <note>
* <p>
* <code>SearchImageSets</code> accepts a single search
* query parameter and returns a paginated response of all image sets that have the
* matching criteria. All range queries must be input as <code>(lowerBound, upperBound)</code>.</p>
* <p>
* <code>SearchImageSets</code> uses the <code>updatedAt</code> field for sorting
* in decreasing order from latest to oldest.</p>
* <code>SearchImageSets</code> accepts a single search query parameter and returns a paginated
* response of all image sets that have the matching criteria. All date range queries must be input
* as <code>(lowerBound, upperBound)</code>.</p>
* <p>By default, <code>SearchImageSets</code> uses the <code>updatedAt</code> field for sorting
* in descending order from newest to oldest.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export interface StartDICOMImportJobCommandOutput extends StartDICOMImportJobRes
* datastoreId: "STRING_VALUE", // required
* inputS3Uri: "STRING_VALUE", // required
* outputS3Uri: "STRING_VALUE", // required
* inputOwnerAccountId: "STRING_VALUE",
* };
* const command = new StartDICOMImportJobCommand(input);
* const response = await client.send(command);
Expand Down
6 changes: 6 additions & 0 deletions clients/client-medical-imaging/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,12 @@ export interface StartDICOMImportJobRequest {
* @public
*/
outputS3Uri: string | undefined;

/**
* <p>The account ID of the source S3 bucket owner.</p>
* @public
*/
inputOwnerAccountId?: string;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ export const se_StartDICOMImportJobCommand = async (
take(input, {
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
dataAccessRoleArn: [],
inputOwnerAccountId: [],
inputS3Uri: [],
jobName: [],
outputS3Uri: [],
Expand Down
18 changes: 17 additions & 1 deletion codegen/sdk-codegen/aws-models/medical-imaging.json
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,16 @@
"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})?$"
}
},
"com.amazonaws.medicalimaging#AwsAccountId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 12,
"max": 12
},
"smithy.api#pattern": "^\\d+$"
}
},
"com.amazonaws.medicalimaging#ClientToken": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -3402,7 +3412,7 @@
}
],
"traits": {
"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>",
"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>",
"smithy.api#endpoint": {
"hostPrefix": "runtime-"
},
Expand Down Expand Up @@ -3649,6 +3659,12 @@
"smithy.api#documentation": "<p>The output prefix of the S3 bucket to upload the results of the DICOM import job.</p>",
"smithy.api#required": {}
}
},
"inputOwnerAccountId": {
"target": "com.amazonaws.medicalimaging#AwsAccountId",
"traits": {
"smithy.api#documentation": "<p>The account ID of the source S3 bucket owner.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit 1ac3a3d

Please sign in to comment.