import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SearchImageSetsRequest, SearchImageSetsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SearchImageSetsCommand}. */ export interface SearchImageSetsCommandInput extends SearchImageSetsRequest { } /** * @public * * The output of {@link SearchImageSetsCommand}. */ export interface SearchImageSetsCommandOutput extends SearchImageSetsResponse, __MetadataBearer { } declare const SearchImageSetsCommand_base: { new (input: SearchImageSetsCommandInput): import("@smithy/core/client").CommandImpl; new (input: SearchImageSetsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Search image sets based on defined input attributes.

SearchImageSets 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 (lowerBound, upperBound).

By default, SearchImageSets uses the updatedAt field for sorting in descending order from newest to oldest.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MedicalImagingClient, SearchImageSetsCommand } from "@aws-sdk/client-medical-imaging"; // ES Modules import * // const { MedicalImagingClient, SearchImageSetsCommand } = require("@aws-sdk/client-medical-imaging"); // CommonJS import * // import type { MedicalImagingClientConfig } from "@aws-sdk/client-medical-imaging"; * const config = {}; // type is MedicalImagingClientConfig * const client = new MedicalImagingClient(config); * const input = { // SearchImageSetsRequest * datastoreId: "STRING_VALUE", // required * searchCriteria: { // SearchCriteria * filters: [ // SearchFilters * { // SearchFilter * values: [ // SearchByAttributeValues // required * { // SearchByAttributeValue Union: only one key present * DICOMPatientId: "STRING_VALUE", * DICOMAccessionNumber: "STRING_VALUE", * DICOMStudyId: "STRING_VALUE", * DICOMStudyInstanceUID: "STRING_VALUE", * DICOMSeriesInstanceUID: "STRING_VALUE", * createdAt: new Date("TIMESTAMP"), * updatedAt: new Date("TIMESTAMP"), * DICOMStudyDateAndTime: { // DICOMStudyDateAndTime * DICOMStudyDate: "STRING_VALUE", // required * DICOMStudyTime: "STRING_VALUE", * }, * isPrimary: true || false, * }, * ], * operator: "EQUAL" || "BETWEEN", // required * }, * ], * sort: { // Sort * sortOrder: "ASC" || "DESC", // required * sortField: "updatedAt" || "createdAt" || "DICOMStudyDateAndTime", // required * }, * }, * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new SearchImageSetsCommand(input); * const response = await client.send(command); * // { // SearchImageSetsResponse * // imageSetsMetadataSummaries: [ // ImageSetsMetadataSummaries // required * // { // ImageSetsMetadataSummary * // imageSetId: "STRING_VALUE", // required * // version: Number("int"), * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // lastAccessedAt: new Date("TIMESTAMP"), * // storageTier: "FREQUENT_ACCESS" || "ARCHIVE_INSTANT_ACCESS", * // DICOMTags: { // DICOMTags * // DICOMPatientId: "STRING_VALUE", * // DICOMPatientName: "STRING_VALUE", * // DICOMPatientBirthDate: "STRING_VALUE", * // DICOMPatientSex: "STRING_VALUE", * // DICOMStudyInstanceUID: "STRING_VALUE", * // DICOMStudyId: "STRING_VALUE", * // DICOMStudyDescription: "STRING_VALUE", * // DICOMNumberOfStudyRelatedSeries: Number("int"), * // DICOMNumberOfStudyRelatedInstances: Number("int"), * // DICOMAccessionNumber: "STRING_VALUE", * // DICOMSeriesInstanceUID: "STRING_VALUE", * // DICOMSeriesModality: "STRING_VALUE", * // DICOMSeriesBodyPart: "STRING_VALUE", * // DICOMSeriesNumber: Number("int"), * // DICOMStudyDate: "STRING_VALUE", * // DICOMStudyTime: "STRING_VALUE", * // }, * // isPrimary: true || false, * // }, * // ], * // sort: { // Sort * // sortOrder: "ASC" || "DESC", // required * // sortField: "updatedAt" || "createdAt" || "DICOMStudyDateAndTime", // required * // }, * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param SearchImageSetsCommandInput - {@link SearchImageSetsCommandInput} * @returns {@link SearchImageSetsCommandOutput} * @see {@link SearchImageSetsCommandInput} for command's `input` shape. * @see {@link SearchImageSetsCommandOutput} for command's `response` shape. * @see {@link MedicalImagingClientResolvedConfig | config} for MedicalImagingClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user does not have sufficient access to perform this action.

* * @throws {@link ConflictException} (client fault) *

Updating or deleting a resource can cause an inconsistent state.

* * @throws {@link InternalServerException} (server fault) *

An unexpected error occurred during processing of the request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The request references a resource which does not exist.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints set by the service.

* * @throws {@link MedicalImagingServiceException} *

Base exception class for all service exceptions from MedicalImaging service.

* * * @public */ export declare class SearchImageSetsCommand extends SearchImageSetsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SearchImageSetsRequest; output: SearchImageSetsResponse; }; sdk: { input: SearchImageSetsCommandInput; output: SearchImageSetsCommandOutput; }; }; }