Interface MedicalImagingClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
This is the AWS HealthImaging API Reference. For an introduction to the service, see What is AWS HealthImaging? in the AWS HealthImaging Developer Guide.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic MedicalImagingClientBuilder
builder()
Create a builder that can be used to configure and create aMedicalImagingClient
.default CopyImageSetResponse
copyImageSet
(Consumer<CopyImageSetRequest.Builder> copyImageSetRequest) Copy an image set.default CopyImageSetResponse
copyImageSet
(CopyImageSetRequest copyImageSetRequest) Copy an image set.static MedicalImagingClient
create()
Create aMedicalImagingClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateDatastoreResponse
createDatastore
(Consumer<CreateDatastoreRequest.Builder> createDatastoreRequest) Create a data store.default CreateDatastoreResponse
createDatastore
(CreateDatastoreRequest createDatastoreRequest) Create a data store.default DeleteDatastoreResponse
deleteDatastore
(Consumer<DeleteDatastoreRequest.Builder> deleteDatastoreRequest) Delete a data store.default DeleteDatastoreResponse
deleteDatastore
(DeleteDatastoreRequest deleteDatastoreRequest) Delete a data store.default DeleteImageSetResponse
deleteImageSet
(Consumer<DeleteImageSetRequest.Builder> deleteImageSetRequest) Delete an image set.default DeleteImageSetResponse
deleteImageSet
(DeleteImageSetRequest deleteImageSetRequest) Delete an image set.default GetDatastoreResponse
getDatastore
(Consumer<GetDatastoreRequest.Builder> getDatastoreRequest) Get data store properties.default GetDatastoreResponse
getDatastore
(GetDatastoreRequest getDatastoreRequest) Get data store properties.default GetDicomImportJobResponse
getDICOMImportJob
(Consumer<GetDicomImportJobRequest.Builder> getDicomImportJobRequest) Get the import job properties to learn more about the job or job progress.default GetDicomImportJobResponse
getDICOMImportJob
(GetDicomImportJobRequest getDicomImportJobRequest) Get the import job properties to learn more about the job or job progress.default ResponseInputStream
<GetImageFrameResponse> getImageFrame
(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest) Get an image frame (pixel data) for an image set.default GetImageFrameResponse
getImageFrame
(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, Path destinationPath) Get an image frame (pixel data) for an image set.default <ReturnT> ReturnT
getImageFrame
(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, ResponseTransformer<GetImageFrameResponse, ReturnT> responseTransformer) Get an image frame (pixel data) for an image set.default ResponseInputStream
<GetImageFrameResponse> getImageFrame
(GetImageFrameRequest getImageFrameRequest) Get an image frame (pixel data) for an image set.default GetImageFrameResponse
getImageFrame
(GetImageFrameRequest getImageFrameRequest, Path destinationPath) Get an image frame (pixel data) for an image set.default <ReturnT> ReturnT
getImageFrame
(GetImageFrameRequest getImageFrameRequest, ResponseTransformer<GetImageFrameResponse, ReturnT> responseTransformer) Get an image frame (pixel data) for an image set.default ResponseBytes
<GetImageFrameResponse> getImageFrameAsBytes
(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest) Get an image frame (pixel data) for an image set.default ResponseBytes
<GetImageFrameResponse> getImageFrameAsBytes
(GetImageFrameRequest getImageFrameRequest) Get an image frame (pixel data) for an image set.default GetImageSetResponse
getImageSet
(Consumer<GetImageSetRequest.Builder> getImageSetRequest) Get image set properties.default GetImageSetResponse
getImageSet
(GetImageSetRequest getImageSetRequest) Get image set properties.getImageSetMetadata
(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest) Get metadata attributes for an image set.default GetImageSetMetadataResponse
getImageSetMetadata
(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, Path destinationPath) Get metadata attributes for an image set.default <ReturnT> ReturnT
getImageSetMetadata
(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, ResponseTransformer<GetImageSetMetadataResponse, ReturnT> responseTransformer) Get metadata attributes for an image set.getImageSetMetadata
(GetImageSetMetadataRequest getImageSetMetadataRequest) Get metadata attributes for an image set.default GetImageSetMetadataResponse
getImageSetMetadata
(GetImageSetMetadataRequest getImageSetMetadataRequest, Path destinationPath) Get metadata attributes for an image set.default <ReturnT> ReturnT
getImageSetMetadata
(GetImageSetMetadataRequest getImageSetMetadataRequest, ResponseTransformer<GetImageSetMetadataResponse, ReturnT> responseTransformer) Get metadata attributes for an image set.default ResponseBytes
<GetImageSetMetadataResponse> getImageSetMetadataAsBytes
(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest) Get metadata attributes for an image set.default ResponseBytes
<GetImageSetMetadataResponse> getImageSetMetadataAsBytes
(GetImageSetMetadataRequest getImageSetMetadataRequest) Get metadata attributes for an image set.default ListDatastoresResponse
listDatastores
(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) List data stores.default ListDatastoresResponse
listDatastores
(ListDatastoresRequest listDatastoresRequest) List data stores.default ListDatastoresIterable
listDatastoresPaginator
(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) This is a variant oflistDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)
operation.default ListDatastoresIterable
listDatastoresPaginator
(ListDatastoresRequest listDatastoresRequest) This is a variant oflistDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)
operation.default ListDicomImportJobsResponse
listDICOMImportJobs
(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) List import jobs created for a specific data store.default ListDicomImportJobsResponse
listDICOMImportJobs
(ListDicomImportJobsRequest listDicomImportJobsRequest) List import jobs created for a specific data store.default ListDICOMImportJobsIterable
listDICOMImportJobsPaginator
(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) This is a variant oflistDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)
operation.default ListDICOMImportJobsIterable
listDICOMImportJobsPaginator
(ListDicomImportJobsRequest listDicomImportJobsRequest) This is a variant oflistDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)
operation.default ListImageSetVersionsResponse
listImageSetVersions
(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) List image set versions.default ListImageSetVersionsResponse
listImageSetVersions
(ListImageSetVersionsRequest listImageSetVersionsRequest) List image set versions.default ListImageSetVersionsIterable
listImageSetVersionsPaginator
(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) This is a variant oflistImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)
operation.default ListImageSetVersionsIterable
listImageSetVersionsPaginator
(ListImageSetVersionsRequest listImageSetVersionsRequest) This is a variant oflistImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags associated with a medical imaging resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a medical imaging resource.default SearchImageSetsResponse
searchImageSets
(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) Search image sets based on defined input attributes.default SearchImageSetsResponse
searchImageSets
(SearchImageSetsRequest searchImageSetsRequest) Search image sets based on defined input attributes.default SearchImageSetsIterable
searchImageSetsPaginator
(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) This is a variant ofsearchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation.default SearchImageSetsIterable
searchImageSetsPaginator
(SearchImageSetsRequest searchImageSetsRequest) This is a variant ofsearchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartDicomImportJobResponse
startDICOMImportJob
(Consumer<StartDicomImportJobRequest.Builder> startDicomImportJobRequest) Start importing bulk data into anACTIVE
data store.default StartDicomImportJobResponse
startDICOMImportJob
(StartDicomImportJobRequest startDicomImportJobRequest) Start importing bulk data into anACTIVE
data store.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a user-specifed key and value tag to a medical imaging resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds a user-specifed key and value tag to a medical imaging resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a medical imaging resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a medical imaging resource.default UpdateImageSetMetadataResponse
updateImageSetMetadata
(Consumer<UpdateImageSetMetadataRequest.Builder> updateImageSetMetadataRequest) Update image set metadata attributes.default UpdateImageSetMetadataResponse
updateImageSetMetadata
(UpdateImageSetMetadataRequest updateImageSetMetadataRequest) Update image set metadata attributes.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
copyImageSet
default CopyImageSetResponse copyImageSet(CopyImageSetRequest copyImageSetRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Copy an image set.
- Parameters:
copyImageSetRequest
-- Returns:
- Result of the CopyImageSet operation returned by the service.
- See Also:
-
copyImageSet
default CopyImageSetResponse copyImageSet(Consumer<CopyImageSetRequest.Builder> copyImageSetRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Copy an image set.
This is a convenience which creates an instance of the
CopyImageSetRequest.Builder
avoiding the need to create one manually viaCopyImageSetRequest.builder()
- Parameters:
copyImageSetRequest
- AConsumer
that will call methods onCopyImageSetRequest.Builder
to create a request.- Returns:
- Result of the CopyImageSet operation returned by the service.
- See Also:
-
createDatastore
default CreateDatastoreResponse createDatastore(CreateDatastoreRequest createDatastoreRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Create a data store.
- Parameters:
createDatastoreRequest
-- Returns:
- Result of the CreateDatastore operation returned by the service.
- See Also:
-
createDatastore
default CreateDatastoreResponse createDatastore(Consumer<CreateDatastoreRequest.Builder> createDatastoreRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Create a data store.
This is a convenience which creates an instance of the
CreateDatastoreRequest.Builder
avoiding the need to create one manually viaCreateDatastoreRequest.builder()
- Parameters:
createDatastoreRequest
- AConsumer
that will call methods onCreateDatastoreRequest.Builder
to create a request.- Returns:
- Result of the CreateDatastore operation returned by the service.
- See Also:
-
deleteDatastore
default DeleteDatastoreResponse deleteDatastore(DeleteDatastoreRequest deleteDatastoreRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Delete a data store.
Before a data store can be deleted, you must first delete all image sets within it.
- Parameters:
deleteDatastoreRequest
-- Returns:
- Result of the DeleteDatastore operation returned by the service.
- See Also:
-
deleteDatastore
default DeleteDatastoreResponse deleteDatastore(Consumer<DeleteDatastoreRequest.Builder> deleteDatastoreRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Delete a data store.
Before a data store can be deleted, you must first delete all image sets within it.
This is a convenience which creates an instance of the
DeleteDatastoreRequest.Builder
avoiding the need to create one manually viaDeleteDatastoreRequest.builder()
- Parameters:
deleteDatastoreRequest
- AConsumer
that will call methods onDeleteDatastoreRequest.Builder
to create a request.- Returns:
- Result of the DeleteDatastore operation returned by the service.
- See Also:
-
deleteImageSet
default DeleteImageSetResponse deleteImageSet(DeleteImageSetRequest deleteImageSetRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Delete an image set.
- Parameters:
deleteImageSetRequest
-- Returns:
- Result of the DeleteImageSet operation returned by the service.
- See Also:
-
deleteImageSet
default DeleteImageSetResponse deleteImageSet(Consumer<DeleteImageSetRequest.Builder> deleteImageSetRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Delete an image set.
This is a convenience which creates an instance of the
DeleteImageSetRequest.Builder
avoiding the need to create one manually viaDeleteImageSetRequest.builder()
- Parameters:
deleteImageSetRequest
- AConsumer
that will call methods onDeleteImageSetRequest.Builder
to create a request.- Returns:
- Result of the DeleteImageSet operation returned by the service.
- See Also:
-
getDICOMImportJob
default GetDicomImportJobResponse getDICOMImportJob(GetDicomImportJobRequest getDicomImportJobRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get the import job properties to learn more about the job or job progress.
The
jobStatus
refers to the execution of the import job. Therefore, an import job can return ajobStatus
asCOMPLETED
even if validation issues are discovered during the import process. If ajobStatus
returns asCOMPLETED
, we still recommend you review the output manifests written to S3, as they provide details on the success or failure of individual P10 object imports.- Parameters:
getDicomImportJobRequest
-- Returns:
- Result of the GetDICOMImportJob operation returned by the service.
- See Also:
-
getDICOMImportJob
default GetDicomImportJobResponse getDICOMImportJob(Consumer<GetDicomImportJobRequest.Builder> getDicomImportJobRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get the import job properties to learn more about the job or job progress.
The
jobStatus
refers to the execution of the import job. Therefore, an import job can return ajobStatus
asCOMPLETED
even if validation issues are discovered during the import process. If ajobStatus
returns asCOMPLETED
, we still recommend you review the output manifests written to S3, as they provide details on the success or failure of individual P10 object imports.
This is a convenience which creates an instance of the
GetDicomImportJobRequest.Builder
avoiding the need to create one manually viaGetDicomImportJobRequest.builder()
- Parameters:
getDicomImportJobRequest
- AConsumer
that will call methods onGetDicomImportJobRequest.Builder
to create a request.- Returns:
- Result of the GetDICOMImportJob operation returned by the service.
- See Also:
-
getDatastore
default GetDatastoreResponse getDatastore(GetDatastoreRequest getDatastoreRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get data store properties.
- Parameters:
getDatastoreRequest
-- Returns:
- Result of the GetDatastore operation returned by the service.
- See Also:
-
getDatastore
default GetDatastoreResponse getDatastore(Consumer<GetDatastoreRequest.Builder> getDatastoreRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get data store properties.
This is a convenience which creates an instance of the
GetDatastoreRequest.Builder
avoiding the need to create one manually viaGetDatastoreRequest.builder()
- Parameters:
getDatastoreRequest
- AConsumer
that will call methods onGetDatastoreRequest.Builder
to create a request.- Returns:
- Result of the GetDatastore operation returned by the service.
- See Also:
-
getImageFrame
default <ReturnT> ReturnT getImageFrame(GetImageFrameRequest getImageFrameRequest, ResponseTransformer<GetImageFrameResponse, ReturnT> responseTransformer) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingExceptionGet an image frame (pixel data) for an image set.
- Parameters:
getImageFrameRequest
-responseTransformer
- Functional interface for processing the streamed response content. The unmarshalled GetImageFrameResponse and an InputStream to the response content are provided as parameters to the callback. The callback may return a transformed type which will be the return value of this method. SeeResponseTransformer
for details on implementing this interface and for links to pre-canned implementations for common scenarios like downloading to a file. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageFrame
default <ReturnT> ReturnT getImageFrame(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, ResponseTransformer<GetImageFrameResponse, ReturnT> responseTransformer) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingExceptionGet an image frame (pixel data) for an image set.
This is a convenience which creates an instance of the
GetImageFrameRequest.Builder
avoiding the need to create one manually viaGetImageFrameRequest.builder()
- Parameters:
getImageFrameRequest
- AConsumer
that will call methods onGetImageFrameRequest.Builder
to create a request.responseTransformer
- Functional interface for processing the streamed response content. The unmarshalled GetImageFrameResponse and an InputStream to the response content are provided as parameters to the callback. The callback may return a transformed type which will be the return value of this method. SeeResponseTransformer
for details on implementing this interface and for links to pre-canned implementations for common scenarios like downloading to a file. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageFrame
default GetImageFrameResponse getImageFrame(GetImageFrameRequest getImageFrameRequest, Path destinationPath) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get an image frame (pixel data) for an image set.
- Parameters:
getImageFrameRequest
-destinationPath
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageFrame
default GetImageFrameResponse getImageFrame(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, Path destinationPath) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get an image frame (pixel data) for an image set.
This is a convenience which creates an instance of the
GetImageFrameRequest.Builder
avoiding the need to create one manually viaGetImageFrameRequest.builder()
- Parameters:
getImageFrameRequest
- AConsumer
that will call methods onGetImageFrameRequest.Builder
to create a request.destinationPath
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageFrame
default ResponseInputStream<GetImageFrameResponse> getImageFrame(GetImageFrameRequest getImageFrameRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get an image frame (pixel data) for an image set.
- Parameters:
getImageFrameRequest
-- Returns:
- A
ResponseInputStream
containing data streamed from service. Note that this is an unmanaged reference to the underlying HTTP connection so great care must be taken to ensure all data if fully read from the input stream and that it is properly closed. Failure to do so may result in sub-optimal behavior and exhausting connections in the connection pool. The unmarshalled response object can be obtained viaResponseInputStream.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'. - See Also:
-
getImageFrame
default ResponseInputStream<GetImageFrameResponse> getImageFrame(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get an image frame (pixel data) for an image set.
This is a convenience which creates an instance of the
GetImageFrameRequest.Builder
avoiding the need to create one manually viaGetImageFrameRequest.builder()
- Parameters:
getImageFrameRequest
- AConsumer
that will call methods onGetImageFrameRequest.Builder
to create a request.- Returns:
- A
ResponseInputStream
containing data streamed from service. Note that this is an unmanaged reference to the underlying HTTP connection so great care must be taken to ensure all data if fully read from the input stream and that it is properly closed. Failure to do so may result in sub-optimal behavior and exhausting connections in the connection pool. The unmarshalled response object can be obtained viaResponseInputStream.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'. - See Also:
-
getImageFrameAsBytes
default ResponseBytes<GetImageFrameResponse> getImageFrameAsBytes(GetImageFrameRequest getImageFrameRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get an image frame (pixel data) for an image set.
- Parameters:
getImageFrameRequest
-- Returns:
- A
ResponseBytes
that loads the data streamed from the service into memory and exposes it in convenient in-memory representations like a byte buffer or string. The unmarshalled response object can be obtained viaResponseBytes.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'. - See Also:
-
getImageFrameAsBytes
default ResponseBytes<GetImageFrameResponse> getImageFrameAsBytes(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get an image frame (pixel data) for an image set.
This is a convenience which creates an instance of the
GetImageFrameRequest.Builder
avoiding the need to create one manually viaGetImageFrameRequest.builder()
- Parameters:
getImageFrameRequest
- AConsumer
that will call methods onGetImageFrameRequest.Builder
to create a request.- Returns:
- A
ResponseBytes
that loads the data streamed from the service into memory and exposes it in convenient in-memory representations like a byte buffer or string. The unmarshalled response object can be obtained viaResponseBytes.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'. - See Also:
-
getImageSet
default GetImageSetResponse getImageSet(GetImageSetRequest getImageSetRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get image set properties.
- Parameters:
getImageSetRequest
-- Returns:
- Result of the GetImageSet operation returned by the service.
- See Also:
-
getImageSet
default GetImageSetResponse getImageSet(Consumer<GetImageSetRequest.Builder> getImageSetRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get image set properties.
This is a convenience which creates an instance of the
GetImageSetRequest.Builder
avoiding the need to create one manually viaGetImageSetRequest.builder()
- Parameters:
getImageSetRequest
- AConsumer
that will call methods onGetImageSetRequest.Builder
to create a request.- Returns:
- Result of the GetImageSet operation returned by the service.
- See Also:
-
getImageSetMetadata
default <ReturnT> ReturnT getImageSetMetadata(GetImageSetMetadataRequest getImageSetMetadataRequest, ResponseTransformer<GetImageSetMetadataResponse, ReturnT> responseTransformer) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingExceptionGet metadata attributes for an image set.
- Parameters:
getImageSetMetadataRequest
-responseTransformer
- Functional interface for processing the streamed response content. The unmarshalled GetImageSetMetadataResponse and an InputStream to the response content are provided as parameters to the callback. The callback may return a transformed type which will be the return value of this method. SeeResponseTransformer
for details on implementing this interface and for links to pre-canned implementations for common scenarios like downloading to a file. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageSetMetadata
default <ReturnT> ReturnT getImageSetMetadata(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, ResponseTransformer<GetImageSetMetadataResponse, ReturnT> responseTransformer) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingExceptionGet metadata attributes for an image set.
This is a convenience which creates an instance of the
GetImageSetMetadataRequest.Builder
avoiding the need to create one manually viaGetImageSetMetadataRequest.builder()
- Parameters:
getImageSetMetadataRequest
- AConsumer
that will call methods onGetImageSetMetadataRequest.Builder
to create a request.responseTransformer
- Functional interface for processing the streamed response content. The unmarshalled GetImageSetMetadataResponse and an InputStream to the response content are provided as parameters to the callback. The callback may return a transformed type which will be the return value of this method. SeeResponseTransformer
for details on implementing this interface and for links to pre-canned implementations for common scenarios like downloading to a file. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageSetMetadata
default GetImageSetMetadataResponse getImageSetMetadata(GetImageSetMetadataRequest getImageSetMetadataRequest, Path destinationPath) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get metadata attributes for an image set.
- Parameters:
getImageSetMetadataRequest
-destinationPath
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageSetMetadata
default GetImageSetMetadataResponse getImageSetMetadata(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, Path destinationPath) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get metadata attributes for an image set.
This is a convenience which creates an instance of the
GetImageSetMetadataRequest.Builder
avoiding the need to create one manually viaGetImageSetMetadataRequest.builder()
- Parameters:
getImageSetMetadataRequest
- AConsumer
that will call methods onGetImageSetMetadataRequest.Builder
to create a request.destinationPath
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'.- Returns:
- The transformed result of the ResponseTransformer.
- See Also:
-
getImageSetMetadata
default ResponseInputStream<GetImageSetMetadataResponse> getImageSetMetadata(GetImageSetMetadataRequest getImageSetMetadataRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get metadata attributes for an image set.
- Parameters:
getImageSetMetadataRequest
-- Returns:
- A
ResponseInputStream
containing data streamed from service. Note that this is an unmanaged reference to the underlying HTTP connection so great care must be taken to ensure all data if fully read from the input stream and that it is properly closed. Failure to do so may result in sub-optimal behavior and exhausting connections in the connection pool. The unmarshalled response object can be obtained viaResponseInputStream.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'. - See Also:
-
getImageSetMetadata
default ResponseInputStream<GetImageSetMetadataResponse> getImageSetMetadata(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get metadata attributes for an image set.
This is a convenience which creates an instance of the
GetImageSetMetadataRequest.Builder
avoiding the need to create one manually viaGetImageSetMetadataRequest.builder()
- Parameters:
getImageSetMetadataRequest
- AConsumer
that will call methods onGetImageSetMetadataRequest.Builder
to create a request.- Returns:
- A
ResponseInputStream
containing data streamed from service. Note that this is an unmanaged reference to the underlying HTTP connection so great care must be taken to ensure all data if fully read from the input stream and that it is properly closed. Failure to do so may result in sub-optimal behavior and exhausting connections in the connection pool. The unmarshalled response object can be obtained viaResponseInputStream.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'. - See Also:
-
getImageSetMetadataAsBytes
default ResponseBytes<GetImageSetMetadataResponse> getImageSetMetadataAsBytes(GetImageSetMetadataRequest getImageSetMetadataRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get metadata attributes for an image set.
- Parameters:
getImageSetMetadataRequest
-- Returns:
- A
ResponseBytes
that loads the data streamed from the service into memory and exposes it in convenient in-memory representations like a byte buffer or string. The unmarshalled response object can be obtained viaResponseBytes.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'. - See Also:
-
getImageSetMetadataAsBytes
default ResponseBytes<GetImageSetMetadataResponse> getImageSetMetadataAsBytes(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Get metadata attributes for an image set.
This is a convenience which creates an instance of the
GetImageSetMetadataRequest.Builder
avoiding the need to create one manually viaGetImageSetMetadataRequest.builder()
- Parameters:
getImageSetMetadataRequest
- AConsumer
that will call methods onGetImageSetMetadataRequest.Builder
to create a request.- Returns:
- A
ResponseBytes
that loads the data streamed from the service into memory and exposes it in convenient in-memory representations like a byte buffer or string. The unmarshalled response object can be obtained viaResponseBytes.response()
. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'. - See Also:
-
listDICOMImportJobs
default ListDicomImportJobsResponse listDICOMImportJobs(ListDicomImportJobsRequest listDicomImportJobsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException List import jobs created for a specific data store.
- Parameters:
listDicomImportJobsRequest
-- Returns:
- Result of the ListDICOMImportJobs operation returned by the service.
- See Also:
-
listDICOMImportJobs
default ListDicomImportJobsResponse listDICOMImportJobs(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException List import jobs created for a specific data store.
This is a convenience which creates an instance of the
ListDicomImportJobsRequest.Builder
avoiding the need to create one manually viaListDicomImportJobsRequest.builder()
- Parameters:
listDicomImportJobsRequest
- AConsumer
that will call methods onListDicomImportJobsRequest.Builder
to create a request.- Returns:
- Result of the ListDICOMImportJobs operation returned by the service.
- See Also:
-
listDICOMImportJobsPaginator
default ListDICOMImportJobsIterable listDICOMImportJobsPaginator(ListDicomImportJobsRequest listDicomImportJobsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
listDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsIterable responses = client.listDICOMImportJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsIterable responses = client .listDICOMImportJobsPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsIterable responses = client.listDICOMImportJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)
operation.- Parameters:
listDicomImportJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDICOMImportJobsPaginator
default ListDICOMImportJobsIterable listDICOMImportJobsPaginator(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
listDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsIterable responses = client.listDICOMImportJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsIterable responses = client .listDICOMImportJobsPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsIterable responses = client.listDICOMImportJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)
operation.
This is a convenience which creates an instance of the
ListDicomImportJobsRequest.Builder
avoiding the need to create one manually viaListDicomImportJobsRequest.builder()
- Parameters:
listDicomImportJobsRequest
- AConsumer
that will call methods onListDicomImportJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDatastores
default ListDatastoresResponse listDatastores(ListDatastoresRequest listDatastoresRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MedicalImagingException List data stores.
- Parameters:
listDatastoresRequest
-- Returns:
- Result of the ListDatastores operation returned by the service.
- See Also:
-
listDatastores
default ListDatastoresResponse listDatastores(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MedicalImagingException List data stores.
This is a convenience which creates an instance of the
ListDatastoresRequest.Builder
avoiding the need to create one manually viaListDatastoresRequest.builder()
- Parameters:
listDatastoresRequest
- AConsumer
that will call methods onListDatastoresRequest.Builder
to create a request.- Returns:
- Result of the ListDatastores operation returned by the service.
- See Also:
-
listDatastoresPaginator
default ListDatastoresIterable listDatastoresPaginator(ListDatastoresRequest listDatastoresRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
listDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresIterable responses = client .listDatastoresPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.ListDatastoresResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)
operation.- Parameters:
listDatastoresRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDatastoresPaginator
default ListDatastoresIterable listDatastoresPaginator(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
listDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresIterable responses = client .listDatastoresPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.ListDatastoresResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresIterable responses = client.listDatastoresPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)
operation.
This is a convenience which creates an instance of the
ListDatastoresRequest.Builder
avoiding the need to create one manually viaListDatastoresRequest.builder()
- Parameters:
listDatastoresRequest
- AConsumer
that will call methods onListDatastoresRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImageSetVersions
default ListImageSetVersionsResponse listImageSetVersions(ListImageSetVersionsRequest listImageSetVersionsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException List image set versions.
- Parameters:
listImageSetVersionsRequest
-- Returns:
- Result of the ListImageSetVersions operation returned by the service.
- See Also:
-
listImageSetVersions
default ListImageSetVersionsResponse listImageSetVersions(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException List image set versions.
This is a convenience which creates an instance of the
ListImageSetVersionsRequest.Builder
avoiding the need to create one manually viaListImageSetVersionsRequest.builder()
- Parameters:
listImageSetVersionsRequest
- AConsumer
that will call methods onListImageSetVersionsRequest.Builder
to create a request.- Returns:
- Result of the ListImageSetVersions operation returned by the service.
- See Also:
-
listImageSetVersionsPaginator
default ListImageSetVersionsIterable listImageSetVersionsPaginator(ListImageSetVersionsRequest listImageSetVersionsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
listImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsIterable responses = client.listImageSetVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsIterable responses = client .listImageSetVersionsPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsIterable responses = client.listImageSetVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)
operation.- Parameters:
listImageSetVersionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImageSetVersionsPaginator
default ListImageSetVersionsIterable listImageSetVersionsPaginator(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
listImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsIterable responses = client.listImageSetVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsIterable responses = client .listImageSetVersionsPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsIterable responses = client.listImageSetVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListImageSetVersionsRequest.Builder
avoiding the need to create one manually viaListImageSetVersionsRequest.builder()
- Parameters:
listImageSetVersionsRequest
- AConsumer
that will call methods onListImageSetVersionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Lists all tags associated with a medical imaging resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Lists all tags associated with a medical imaging resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
searchImageSets
default SearchImageSetsResponse searchImageSets(SearchImageSetsRequest searchImageSetsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException 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 theupdatedAt
field for sorting in descending order from newest to oldest.- Parameters:
searchImageSetsRequest
-- Returns:
- Result of the SearchImageSets operation returned by the service.
- See Also:
-
searchImageSets
default SearchImageSetsResponse searchImageSets(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException 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 theupdatedAt
field for sorting in descending order from newest to oldest.
This is a convenience which creates an instance of the
SearchImageSetsRequest.Builder
avoiding the need to create one manually viaSearchImageSetsRequest.builder()
- Parameters:
searchImageSetsRequest
- AConsumer
that will call methods onSearchImageSetsRequest.Builder
to create a request.- Returns:
- Result of the SearchImageSets operation returned by the service.
- See Also:
-
searchImageSetsPaginator
default SearchImageSetsIterable searchImageSetsPaginator(SearchImageSetsRequest searchImageSetsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
searchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsIterable responses = client.searchImageSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsIterable responses = client .searchImageSetsPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsIterable responses = client.searchImageSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation.- Parameters:
searchImageSetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
searchImageSetsPaginator
default SearchImageSetsIterable searchImageSetsPaginator(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException This is a variant of
searchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsIterable responses = client.searchImageSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsIterable responses = client .searchImageSetsPaginator(request); for (software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsIterable responses = client.searchImageSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation.
This is a convenience which creates an instance of the
SearchImageSetsRequest.Builder
avoiding the need to create one manually viaSearchImageSetsRequest.builder()
- Parameters:
searchImageSetsRequest
- AConsumer
that will call methods onSearchImageSetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
startDICOMImportJob
default StartDicomImportJobResponse startDICOMImportJob(StartDicomImportJobRequest startDicomImportJobRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Start importing bulk data into an
ACTIVE
data store. The import job imports DICOM P10 files found in the S3 prefix specified by theinputS3Uri
parameter. The import job stores processing results in the file specified by theoutputS3Uri
parameter.- Parameters:
startDicomImportJobRequest
-- Returns:
- Result of the StartDICOMImportJob operation returned by the service.
- See Also:
-
startDICOMImportJob
default StartDicomImportJobResponse startDICOMImportJob(Consumer<StartDicomImportJobRequest.Builder> startDicomImportJobRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Start importing bulk data into an
ACTIVE
data store. The import job imports DICOM P10 files found in the S3 prefix specified by theinputS3Uri
parameter. The import job stores processing results in the file specified by theoutputS3Uri
parameter.
This is a convenience which creates an instance of the
StartDicomImportJobRequest.Builder
avoiding the need to create one manually viaStartDicomImportJobRequest.builder()
- Parameters:
startDicomImportJobRequest
- AConsumer
that will call methods onStartDicomImportJobRequest.Builder
to create a request.- Returns:
- Result of the StartDICOMImportJob operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Adds a user-specifed key and value tag to a medical imaging resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Adds a user-specifed key and value tag to a medical imaging resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Removes tags from a medical imaging resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, MedicalImagingException Removes tags from a medical imaging resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateImageSetMetadata
default UpdateImageSetMetadataResponse updateImageSetMetadata(UpdateImageSetMetadataRequest updateImageSetMetadataRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Update image set metadata attributes.
- Parameters:
updateImageSetMetadataRequest
-- Returns:
- Result of the UpdateImageSetMetadata operation returned by the service.
- See Also:
-
updateImageSetMetadata
default UpdateImageSetMetadataResponse updateImageSetMetadata(Consumer<UpdateImageSetMetadataRequest.Builder> updateImageSetMetadataRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MedicalImagingException Update image set metadata attributes.
This is a convenience which creates an instance of the
UpdateImageSetMetadataRequest.Builder
avoiding the need to create one manually viaUpdateImageSetMetadataRequest.builder()
- Parameters:
updateImageSetMetadataRequest
- AConsumer
that will call methods onUpdateImageSetMetadataRequest.Builder
to create a request.- Returns:
- Result of the UpdateImageSetMetadata operation returned by the service.
- See Also:
-
create
Create aMedicalImagingClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMedicalImagingClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-