Interface MedicalImagingAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
This is the AWS HealthImaging API Reference. AWS HealthImaging is a HIPAA eligible service that empowers healthcare providers, life science organizations, and their software partners to store, analyze, and share medical images in the cloud at petabyte scale. For an introduction to the service, see the AWS HealthImaging Developer Guide .
We recommend using one of the AWS Software Development Kits (SDKs) for your programming language, as they take care of request authentication, serialization, and connection management. For more information, see Tools to build on AWS.
The following sections list AWS HealthImaging API actions categorized according to functionality. Links are provided to actions within this Reference, along with links back to corresponding sections in the AWS HealthImaging Developer Guide where you can view tested code examples.
Data store actions
Import job actions
Image set access actions
Image set modification actions
-
CopyImageSet – See Copying an image set.
Tagging actions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aMedicalImagingAsyncClient.default CompletableFuture<CopyImageSetResponse> copyImageSet(Consumer<CopyImageSetRequest.Builder> copyImageSetRequest) Copy an image set.default CompletableFuture<CopyImageSetResponse> copyImageSet(CopyImageSetRequest copyImageSetRequest) Copy an image set.static MedicalImagingAsyncClientcreate()Create aMedicalImagingAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateDatastoreResponse> createDatastore(Consumer<CreateDatastoreRequest.Builder> createDatastoreRequest) Create a data store.default CompletableFuture<CreateDatastoreResponse> createDatastore(CreateDatastoreRequest createDatastoreRequest) Create a data store.default CompletableFuture<DeleteDatastoreResponse> deleteDatastore(Consumer<DeleteDatastoreRequest.Builder> deleteDatastoreRequest) Delete a data store.default CompletableFuture<DeleteDatastoreResponse> deleteDatastore(DeleteDatastoreRequest deleteDatastoreRequest) Delete a data store.default CompletableFuture<DeleteImageSetResponse> deleteImageSet(Consumer<DeleteImageSetRequest.Builder> deleteImageSetRequest) Delete an image set.default CompletableFuture<DeleteImageSetResponse> deleteImageSet(DeleteImageSetRequest deleteImageSetRequest) Delete an image set.default CompletableFuture<GetDatastoreResponse> getDatastore(Consumer<GetDatastoreRequest.Builder> getDatastoreRequest) Get data store properties.default CompletableFuture<GetDatastoreResponse> getDatastore(GetDatastoreRequest getDatastoreRequest) Get data store properties.getDICOMImportJob(Consumer<GetDicomImportJobRequest.Builder> getDicomImportJobRequest) Get the import job properties to learn more about the job or job progress.getDICOMImportJob(GetDicomImportJobRequest getDicomImportJobRequest) Get the import job properties to learn more about the job or job progress.default CompletableFuture<GetImageFrameResponse> getImageFrame(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, Path destinationPath) Get an image frame (pixel data) for an image set.default <ReturnT> CompletableFuture<ReturnT> getImageFrame(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, AsyncResponseTransformer<GetImageFrameResponse, ReturnT> asyncResponseTransformer) Get an image frame (pixel data) for an image set.default CompletableFuture<GetImageFrameResponse> getImageFrame(GetImageFrameRequest getImageFrameRequest, Path destinationPath) Get an image frame (pixel data) for an image set.default <ReturnT> CompletableFuture<ReturnT> getImageFrame(GetImageFrameRequest getImageFrameRequest, AsyncResponseTransformer<GetImageFrameResponse, ReturnT> asyncResponseTransformer) Get an image frame (pixel data) for an image set.default CompletableFuture<GetImageSetResponse> getImageSet(Consumer<GetImageSetRequest.Builder> getImageSetRequest) Get image set properties.default CompletableFuture<GetImageSetResponse> getImageSet(GetImageSetRequest getImageSetRequest) Get image set properties.getImageSetMetadata(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, Path destinationPath) Get metadata attributes for an image set.default <ReturnT> CompletableFuture<ReturnT> getImageSetMetadata(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, AsyncResponseTransformer<GetImageSetMetadataResponse, ReturnT> asyncResponseTransformer) Get metadata attributes for an image set.getImageSetMetadata(GetImageSetMetadataRequest getImageSetMetadataRequest, Path destinationPath) Get metadata attributes for an image set.default <ReturnT> CompletableFuture<ReturnT> getImageSetMetadata(GetImageSetMetadataRequest getImageSetMetadataRequest, AsyncResponseTransformer<GetImageSetMetadataResponse, ReturnT> asyncResponseTransformer) Get metadata attributes for an image set.default CompletableFuture<ListDatastoresResponse> listDatastores(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) List data stores.default CompletableFuture<ListDatastoresResponse> listDatastores(ListDatastoresRequest listDatastoresRequest) List data stores.default ListDatastoresPublisherlistDatastoresPaginator(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) This is a variant oflistDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)operation.default ListDatastoresPublisherlistDatastoresPaginator(ListDatastoresRequest listDatastoresRequest) This is a variant oflistDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)operation.listDICOMImportJobs(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) List import jobs created for a specific data store.listDICOMImportJobs(ListDicomImportJobsRequest listDicomImportJobsRequest) List import jobs created for a specific data store.default ListDICOMImportJobsPublisherlistDICOMImportJobsPaginator(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) This is a variant oflistDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)operation.default ListDICOMImportJobsPublisherlistDICOMImportJobsPaginator(ListDicomImportJobsRequest listDicomImportJobsRequest) This is a variant oflistDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)operation.listImageSetVersions(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) List image set versions.listImageSetVersions(ListImageSetVersionsRequest listImageSetVersionsRequest) List image set versions.default ListImageSetVersionsPublisherlistImageSetVersionsPaginator(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) This is a variant oflistImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)operation.default ListImageSetVersionsPublisherlistImageSetVersionsPaginator(ListImageSetVersionsRequest listImageSetVersionsRequest) This is a variant oflistImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags associated with a medical imaging resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a medical imaging resource.default CompletableFuture<SearchImageSetsResponse> searchImageSets(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) Search image sets based on defined input attributes.default CompletableFuture<SearchImageSetsResponse> searchImageSets(SearchImageSetsRequest searchImageSetsRequest) Search image sets based on defined input attributes.default SearchImageSetsPublishersearchImageSetsPaginator(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) This is a variant ofsearchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)operation.default SearchImageSetsPublishersearchImageSetsPaginator(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., ClientOverrideConfigurationstartDICOMImportJob(Consumer<StartDicomImportJobRequest.Builder> startDicomImportJobRequest) Start importing bulk data into anACTIVEdata store.startDICOMImportJob(StartDicomImportJobRequest startDicomImportJobRequest) Start importing bulk data into anACTIVEdata store.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a user-specifed key and value tag to a medical imaging resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds a user-specifed key and value tag to a medical imaging resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a medical imaging resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a medical imaging resource.updateImageSetMetadata(Consumer<UpdateImageSetMetadataRequest.Builder> updateImageSetMetadataRequest) Update image set metadata attributes.updateImageSetMetadata(UpdateImageSetMetadataRequest updateImageSetMetadataRequest) Update image set metadata attributes.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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 CompletableFuture<CopyImageSetResponse> copyImageSet(CopyImageSetRequest copyImageSetRequest) Copy an image set.
- Parameters:
copyImageSetRequest-- Returns:
- A Java Future containing the result of the CopyImageSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
copyImageSet
default CompletableFuture<CopyImageSetResponse> copyImageSet(Consumer<CopyImageSetRequest.Builder> copyImageSetRequest) Copy an image set.
This is a convenience which creates an instance of the
CopyImageSetRequest.Builderavoiding the need to create one manually viaCopyImageSetRequest.builder()- Parameters:
copyImageSetRequest- AConsumerthat will call methods onCopyImageSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CopyImageSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDatastore
default CompletableFuture<CreateDatastoreResponse> createDatastore(CreateDatastoreRequest createDatastoreRequest) Create a data store.
- Parameters:
createDatastoreRequest-- Returns:
- A Java Future containing the result of the CreateDatastore operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDatastore
default CompletableFuture<CreateDatastoreResponse> createDatastore(Consumer<CreateDatastoreRequest.Builder> createDatastoreRequest) Create a data store.
This is a convenience which creates an instance of the
CreateDatastoreRequest.Builderavoiding the need to create one manually viaCreateDatastoreRequest.builder()- Parameters:
createDatastoreRequest- AConsumerthat will call methods onCreateDatastoreRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDatastore operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDatastore
default CompletableFuture<DeleteDatastoreResponse> deleteDatastore(DeleteDatastoreRequest deleteDatastoreRequest) Delete a data store.
Before a data store can be deleted, you must first delete all image sets within it.
- Parameters:
deleteDatastoreRequest-- Returns:
- A Java Future containing the result of the DeleteDatastore operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDatastore
default CompletableFuture<DeleteDatastoreResponse> deleteDatastore(Consumer<DeleteDatastoreRequest.Builder> deleteDatastoreRequest) 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.Builderavoiding the need to create one manually viaDeleteDatastoreRequest.builder()- Parameters:
deleteDatastoreRequest- AConsumerthat will call methods onDeleteDatastoreRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDatastore operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteImageSet
default CompletableFuture<DeleteImageSetResponse> deleteImageSet(DeleteImageSetRequest deleteImageSetRequest) Delete an image set.
- Parameters:
deleteImageSetRequest-- Returns:
- A Java Future containing the result of the DeleteImageSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteImageSet
default CompletableFuture<DeleteImageSetResponse> deleteImageSet(Consumer<DeleteImageSetRequest.Builder> deleteImageSetRequest) Delete an image set.
This is a convenience which creates an instance of the
DeleteImageSetRequest.Builderavoiding the need to create one manually viaDeleteImageSetRequest.builder()- Parameters:
deleteImageSetRequest- AConsumerthat will call methods onDeleteImageSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteImageSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDICOMImportJob
default CompletableFuture<GetDicomImportJobResponse> getDICOMImportJob(GetDicomImportJobRequest getDicomImportJobRequest) Get the import job properties to learn more about the job or job progress.
The
jobStatusrefers to the execution of the import job. Therefore, an import job can return ajobStatusasCOMPLETEDeven if validation issues are discovered during the import process. If ajobStatusreturns 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:
- A Java Future containing the result of the GetDICOMImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDICOMImportJob
default CompletableFuture<GetDicomImportJobResponse> getDICOMImportJob(Consumer<GetDicomImportJobRequest.Builder> getDicomImportJobRequest) Get the import job properties to learn more about the job or job progress.
The
jobStatusrefers to the execution of the import job. Therefore, an import job can return ajobStatusasCOMPLETEDeven if validation issues are discovered during the import process. If ajobStatusreturns 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.Builderavoiding the need to create one manually viaGetDicomImportJobRequest.builder()- Parameters:
getDicomImportJobRequest- AConsumerthat will call methods onGetDicomImportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDICOMImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDatastore
default CompletableFuture<GetDatastoreResponse> getDatastore(GetDatastoreRequest getDatastoreRequest) Get data store properties.
- Parameters:
getDatastoreRequest-- Returns:
- A Java Future containing the result of the GetDatastore operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDatastore
default CompletableFuture<GetDatastoreResponse> getDatastore(Consumer<GetDatastoreRequest.Builder> getDatastoreRequest) Get data store properties.
This is a convenience which creates an instance of the
GetDatastoreRequest.Builderavoiding the need to create one manually viaGetDatastoreRequest.builder()- Parameters:
getDatastoreRequest- AConsumerthat will call methods onGetDatastoreRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDatastore operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageFrame
default <ReturnT> CompletableFuture<ReturnT> getImageFrame(GetImageFrameRequest getImageFrameRequest, AsyncResponseTransformer<GetImageFrameResponse, ReturnT> asyncResponseTransformer) Get an image frame (pixel data) for an image set.
- Parameters:
getImageFrameRequest-asyncResponseTransformer- The response transformer for processing the streaming response in a non-blocking manner. SeeAsyncResponseTransformerfor details on how this callback should be implemented and for links to precanned 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageFrame
default <ReturnT> CompletableFuture<ReturnT> getImageFrame(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, AsyncResponseTransformer<GetImageFrameResponse, ReturnT> asyncResponseTransformer) Get an image frame (pixel data) for an image set.
This is a convenience which creates an instance of the
GetImageFrameRequest.Builderavoiding the need to create one manually viaGetImageFrameRequest.builder()- Parameters:
getImageFrameRequest- AConsumerthat will call methods onGetImageFrameRequest.Builderto create a request.asyncResponseTransformer- The response transformer for processing the streaming response in a non-blocking manner. SeeAsyncResponseTransformerfor details on how this callback should be implemented and for links to precanned 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageFrame
default CompletableFuture<GetImageFrameResponse> getImageFrame(GetImageFrameRequest getImageFrameRequest, Path destinationPath) Get an image frame (pixel data) for an image set.
- Parameters:
getImageFrameRequest-destinationPath-Pathto 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageFrame
default CompletableFuture<GetImageFrameResponse> getImageFrame(Consumer<GetImageFrameRequest.Builder> getImageFrameRequest, Path destinationPath) Get an image frame (pixel data) for an image set.
This is a convenience which creates an instance of the
GetImageFrameRequest.Builderavoiding the need to create one manually viaGetImageFrameRequest.builder()- Parameters:
getImageFrameRequest- AConsumerthat will call methods onGetImageFrameRequest.Builderto create a request.destinationPath-Pathto 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageSet
Get image set properties.
- Parameters:
getImageSetRequest-- Returns:
- A Java Future containing the result of the GetImageSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageSet
default CompletableFuture<GetImageSetResponse> getImageSet(Consumer<GetImageSetRequest.Builder> getImageSetRequest) Get image set properties.
This is a convenience which creates an instance of the
GetImageSetRequest.Builderavoiding the need to create one manually viaGetImageSetRequest.builder()- Parameters:
getImageSetRequest- AConsumerthat will call methods onGetImageSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetImageSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageSetMetadata
default <ReturnT> CompletableFuture<ReturnT> getImageSetMetadata(GetImageSetMetadataRequest getImageSetMetadataRequest, AsyncResponseTransformer<GetImageSetMetadataResponse, ReturnT> asyncResponseTransformer) Get metadata attributes for an image set.
- Parameters:
getImageSetMetadataRequest-asyncResponseTransformer- The response transformer for processing the streaming response in a non-blocking manner. SeeAsyncResponseTransformerfor details on how this callback should be implemented and for links to precanned 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageSetMetadata
default <ReturnT> CompletableFuture<ReturnT> getImageSetMetadata(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, AsyncResponseTransformer<GetImageSetMetadataResponse, ReturnT> asyncResponseTransformer) Get metadata attributes for an image set.
This is a convenience which creates an instance of the
GetImageSetMetadataRequest.Builderavoiding the need to create one manually viaGetImageSetMetadataRequest.builder()- Parameters:
getImageSetMetadataRequest- AConsumerthat will call methods onGetImageSetMetadataRequest.Builderto create a request.asyncResponseTransformer- The response transformer for processing the streaming response in a non-blocking manner. SeeAsyncResponseTransformerfor details on how this callback should be implemented and for links to precanned 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageSetMetadata
default CompletableFuture<GetImageSetMetadataResponse> getImageSetMetadata(GetImageSetMetadataRequest getImageSetMetadataRequest, Path destinationPath) Get metadata attributes for an image set.
- Parameters:
getImageSetMetadataRequest-destinationPath-Pathto 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImageSetMetadata
default CompletableFuture<GetImageSetMetadataResponse> getImageSetMetadata(Consumer<GetImageSetMetadataRequest.Builder> getImageSetMetadataRequest, Path destinationPath) Get metadata attributes for an image set.
This is a convenience which creates an instance of the
GetImageSetMetadataRequest.Builderavoiding the need to create one manually viaGetImageSetMetadataRequest.builder()- Parameters:
getImageSetMetadataRequest- AConsumerthat will call methods onGetImageSetMetadataRequest.Builderto create a request.destinationPath-Pathto 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:
- A future to the transformed result of the AsyncResponseTransformer.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDICOMImportJobs
default CompletableFuture<ListDicomImportJobsResponse> listDICOMImportJobs(ListDicomImportJobsRequest listDicomImportJobsRequest) List import jobs created for a specific data store.
- Parameters:
listDicomImportJobsRequest-- Returns:
- A Java Future containing the result of the ListDICOMImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDICOMImportJobs
default CompletableFuture<ListDicomImportJobsResponse> listDICOMImportJobs(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) List import jobs created for a specific data store.
This is a convenience which creates an instance of the
ListDicomImportJobsRequest.Builderavoiding the need to create one manually viaListDicomImportJobsRequest.builder()- Parameters:
listDicomImportJobsRequest- AConsumerthat will call methods onListDicomImportJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDICOMImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDICOMImportJobsPaginator
default ListDICOMImportJobsPublisher listDICOMImportJobsPaginator(ListDicomImportJobsRequest listDicomImportJobsRequest) This is a variant of
listDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsPublisher publisher = client.listDICOMImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsPublisher publisher = client.listDICOMImportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDICOMImportJobsPaginator
default ListDICOMImportJobsPublisher listDICOMImportJobsPaginator(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) This is a variant of
listDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsPublisher publisher = client.listDICOMImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsPublisher publisher = client.listDICOMImportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListDicomImportJobsRequest.builder()- Parameters:
listDicomImportJobsRequest- AConsumerthat will call methods onListDicomImportJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatastores
default CompletableFuture<ListDatastoresResponse> listDatastores(ListDatastoresRequest listDatastoresRequest) List data stores.
- Parameters:
listDatastoresRequest-- Returns:
- A Java Future containing the result of the ListDatastores operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatastores
default CompletableFuture<ListDatastoresResponse> listDatastores(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) List data stores.
This is a convenience which creates an instance of the
ListDatastoresRequest.Builderavoiding the need to create one manually viaListDatastoresRequest.builder()- Parameters:
listDatastoresRequest- AConsumerthat will call methods onListDatastoresRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDatastores operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatastoresPaginator
default ListDatastoresPublisher listDatastoresPaginator(ListDatastoresRequest listDatastoresRequest) This is a variant of
listDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresPublisher publisher = client.listDatastoresPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresPublisher publisher = client.listDatastoresPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.ListDatastoresResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDatastoresPaginator
default ListDatastoresPublisher listDatastoresPaginator(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) This is a variant of
listDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresPublisher publisher = client.listDatastoresPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresPublisher publisher = client.listDatastoresPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.ListDatastoresResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListDatastoresRequest.builder()- Parameters:
listDatastoresRequest- AConsumerthat will call methods onListDatastoresRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageSetVersions
default CompletableFuture<ListImageSetVersionsResponse> listImageSetVersions(ListImageSetVersionsRequest listImageSetVersionsRequest) List image set versions.
- Parameters:
listImageSetVersionsRequest-- Returns:
- A Java Future containing the result of the ListImageSetVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageSetVersions
default CompletableFuture<ListImageSetVersionsResponse> listImageSetVersions(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) List image set versions.
This is a convenience which creates an instance of the
ListImageSetVersionsRequest.Builderavoiding the need to create one manually viaListImageSetVersionsRequest.builder()- Parameters:
listImageSetVersionsRequest- AConsumerthat will call methods onListImageSetVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListImageSetVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageSetVersionsPaginator
default ListImageSetVersionsPublisher listImageSetVersionsPaginator(ListImageSetVersionsRequest listImageSetVersionsRequest) This is a variant of
listImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsPublisher publisher = client.listImageSetVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsPublisher publisher = client.listImageSetVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImageSetVersionsPaginator
default ListImageSetVersionsPublisher listImageSetVersionsPaginator(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) This is a variant of
listImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsPublisher publisher = client.listImageSetVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsPublisher publisher = client.listImageSetVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListImageSetVersionsRequest.builder()- Parameters:
listImageSetVersionsRequest- AConsumerthat will call methods onListImageSetVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a medical imaging resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags associated with a medical imaging resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchImageSets
default CompletableFuture<SearchImageSetsResponse> searchImageSets(SearchImageSetsRequest searchImageSetsRequest) Search image sets based on defined input attributes.
SearchImageSetsaccepts 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,
SearchImageSetsuses theupdatedAtfield for sorting in descending order from newest to oldest.- Parameters:
searchImageSetsRequest-- Returns:
- A Java Future containing the result of the SearchImageSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchImageSets
default CompletableFuture<SearchImageSetsResponse> searchImageSets(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) Search image sets based on defined input attributes.
SearchImageSetsaccepts 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,
SearchImageSetsuses theupdatedAtfield for sorting in descending order from newest to oldest.
This is a convenience which creates an instance of the
SearchImageSetsRequest.Builderavoiding the need to create one manually viaSearchImageSetsRequest.builder()- Parameters:
searchImageSetsRequest- AConsumerthat will call methods onSearchImageSetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchImageSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchImageSetsPaginator
default SearchImageSetsPublisher searchImageSetsPaginator(SearchImageSetsRequest searchImageSetsRequest) This is a variant of
searchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsPublisher publisher = client.searchImageSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsPublisher publisher = client.searchImageSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchImageSetsPaginator
default SearchImageSetsPublisher searchImageSetsPaginator(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) This is a variant of
searchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsPublisher publisher = client.searchImageSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsPublisher publisher = client.searchImageSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaSearchImageSetsRequest.builder()- Parameters:
searchImageSetsRequest- AConsumerthat will call methods onSearchImageSetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDICOMImportJob
default CompletableFuture<StartDicomImportJobResponse> startDICOMImportJob(StartDicomImportJobRequest startDicomImportJobRequest) Start importing bulk data into an
ACTIVEdata store. The import job imports DICOM P10 files found in the S3 prefix specified by theinputS3Uriparameter. The import job stores processing results in the file specified by theoutputS3Uriparameter.- Parameters:
startDicomImportJobRequest-- Returns:
- A Java Future containing the result of the StartDICOMImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDICOMImportJob
default CompletableFuture<StartDicomImportJobResponse> startDICOMImportJob(Consumer<StartDicomImportJobRequest.Builder> startDicomImportJobRequest) Start importing bulk data into an
ACTIVEdata store. The import job imports DICOM P10 files found in the S3 prefix specified by theinputS3Uriparameter. The import job stores processing results in the file specified by theoutputS3Uriparameter.
This is a convenience which creates an instance of the
StartDicomImportJobRequest.Builderavoiding the need to create one manually viaStartDicomImportJobRequest.builder()- Parameters:
startDicomImportJobRequest- AConsumerthat will call methods onStartDicomImportJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartDICOMImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds a user-specifed key and value tag to a medical imaging resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a user-specifed key and value tag to a medical imaging resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a medical imaging resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a medical imaging resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateImageSetMetadata
default CompletableFuture<UpdateImageSetMetadataResponse> updateImageSetMetadata(UpdateImageSetMetadataRequest updateImageSetMetadataRequest) Update image set metadata attributes.
- Parameters:
updateImageSetMetadataRequest-- Returns:
- A Java Future containing the result of the UpdateImageSetMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateImageSetMetadata
default CompletableFuture<UpdateImageSetMetadataResponse> updateImageSetMetadata(Consumer<UpdateImageSetMetadataRequest.Builder> updateImageSetMetadataRequest) Update image set metadata attributes.
This is a convenience which creates an instance of the
UpdateImageSetMetadataRequest.Builderavoiding the need to create one manually viaUpdateImageSetMetadataRequest.builder()- Parameters:
updateImageSetMetadataRequest- AConsumerthat will call methods onUpdateImageSetMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateImageSetMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to throttling.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints set by the service.
- InternalServerException An unexpected error occurred during processing of the request.
- ResourceNotFoundException The request references a resource which does not exist.
- ServiceQuotaExceededException The request caused a service quota to be exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MedicalImagingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aMedicalImagingAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMedicalImagingAsyncClient.
-