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
Modifier and TypeFieldDescriptionstatic final String
Value 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 MedicalImagingAsyncClient
create()
Create aMedicalImagingAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and 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 ListDatastoresPublisher
listDatastoresPaginator
(Consumer<ListDatastoresRequest.Builder> listDatastoresRequest) This is a variant oflistDatastores(software.amazon.awssdk.services.medicalimaging.model.ListDatastoresRequest)
operation.default ListDatastoresPublisher
listDatastoresPaginator
(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 ListDICOMImportJobsPublisher
listDICOMImportJobsPaginator
(Consumer<ListDicomImportJobsRequest.Builder> listDicomImportJobsRequest) This is a variant oflistDICOMImportJobs(software.amazon.awssdk.services.medicalimaging.model.ListDicomImportJobsRequest)
operation.default ListDICOMImportJobsPublisher
listDICOMImportJobsPaginator
(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 ListImageSetVersionsPublisher
listImageSetVersionsPaginator
(Consumer<ListImageSetVersionsRequest.Builder> listImageSetVersionsRequest) This is a variant oflistImageSetVersions(software.amazon.awssdk.services.medicalimaging.model.ListImageSetVersionsRequest)
operation.default ListImageSetVersionsPublisher
listImageSetVersionsPaginator
(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 SearchImageSetsPublisher
searchImageSetsPaginator
(Consumer<SearchImageSetsRequest.Builder> searchImageSetsRequest) This is a variant ofsearchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation.default SearchImageSetsPublisher
searchImageSetsPaginator
(SearchImageSetsRequest searchImageSetsRequest) This is a variant ofsearchImageSets(software.amazon.awssdk.services.medicalimaging.model.SearchImageSetsRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartDICOMImportJob
(Consumer<StartDicomImportJobRequest.Builder> startDicomImportJobRequest) Start importing bulk data into anACTIVE
data store.startDICOMImportJob
(StartDicomImportJobRequest startDicomImportJobRequest) Start importing bulk data into anACTIVE
data 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
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
copyImageSet
default 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.Builder
avoiding the need to create one manually viaCopyImageSetRequest.builder()
- Parameters:
copyImageSetRequest
- AConsumer
that will call methods onCopyImageSetRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateDatastoreRequest.builder()
- Parameters:
createDatastoreRequest
- AConsumer
that will call methods onCreateDatastoreRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteDatastoreRequest.builder()
- Parameters:
deleteDatastoreRequest
- AConsumer
that will call methods onDeleteDatastoreRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteImageSetRequest.builder()
- Parameters:
deleteImageSetRequest
- AConsumer
that will call methods onDeleteImageSetRequest.Builder
to 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
jobStatus
refers to the execution of the import job. Therefore, an import job can return ajobStatus
asCOMPLETED
even if validation issues are discovered during the import process. If ajobStatus
returns asCOMPLETED
, we still recommend you review the output manifests written to S3, as they provide details on the success or failure of individual P10 object imports.- Parameters:
getDicomImportJobRequest
-- Returns:
- 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
jobStatus
refers to the execution of the import job. Therefore, an import job can return ajobStatus
asCOMPLETED
even if validation issues are discovered during the import process. If ajobStatus
returns asCOMPLETED
, we still recommend you review the output manifests written to S3, as they provide details on the success or failure of individual P10 object imports.
This is a convenience which creates an instance of the
GetDicomImportJobRequest.Builder
avoiding the need to create one manually viaGetDicomImportJobRequest.builder()
- Parameters:
getDicomImportJobRequest
- AConsumer
that will call methods onGetDicomImportJobRequest.Builder
to create a request.- Returns:
- 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.Builder
avoiding the need to create one manually viaGetDatastoreRequest.builder()
- Parameters:
getDatastoreRequest
- AConsumer
that will call methods onGetDatastoreRequest.Builder
to 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. SeeAsyncResponseTransformer
for 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.Builder
avoiding the need to create one manually viaGetImageFrameRequest.builder()
- Parameters:
getImageFrameRequest
- AConsumer
that will call methods onGetImageFrameRequest.Builder
to create a request.asyncResponseTransformer
- The response transformer for processing the streaming response in a non-blocking manner. SeeAsyncResponseTransformer
for 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
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'.- Returns:
- 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.Builder
avoiding the need to create one manually viaGetImageFrameRequest.builder()
- Parameters:
getImageFrameRequest
- AConsumer
that will call methods onGetImageFrameRequest.Builder
to create a request.destinationPath
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated image frame information.
'.- Returns:
- 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.Builder
avoiding the need to create one manually viaGetImageSetRequest.builder()
- Parameters:
getImageSetRequest
- AConsumer
that will call methods onGetImageSetRequest.Builder
to 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. SeeAsyncResponseTransformer
for 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.Builder
avoiding the need to create one manually viaGetImageSetMetadataRequest.builder()
- Parameters:
getImageSetMetadataRequest
- AConsumer
that will call methods onGetImageSetMetadataRequest.Builder
to create a request.asyncResponseTransformer
- The response transformer for processing the streaming response in a non-blocking manner. SeeAsyncResponseTransformer
for 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
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'.- Returns:
- 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.Builder
avoiding the need to create one manually viaGetImageSetMetadataRequest.builder()
- Parameters:
getImageSetMetadataRequest
- AConsumer
that will call methods onGetImageSetMetadataRequest.Builder
to create a request.destinationPath
-Path
to file that response contents will be written to. The file must not exist or this method will throw an exception. If the file is not writable by the current user then an exception will be thrown. The service documentation for the response content is as follows 'The blob containing the aggregated metadata information for the image set.
'.- Returns:
- 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.Builder
avoiding the need to create one manually viaListDicomImportJobsRequest.builder()
- Parameters:
listDicomImportJobsRequest
- AConsumer
that will call methods onListDicomImportJobsRequest.Builder
to create a request.- Returns:
- A 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsPublisher publisher = client.listDICOMImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDICOMImportJobsPublisher publisher = client.listDICOMImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListDicomImportJobsRequest.builder()
- Parameters:
listDicomImportJobsRequest
- AConsumer
that will call methods onListDicomImportJobsRequest.Builder
to create a request.- Returns:
- A custom 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.Builder
avoiding the need to create one manually viaListDatastoresRequest.builder()
- Parameters:
listDatastoresRequest
- AConsumer
that will call methods onListDatastoresRequest.Builder
to create a request.- Returns:
- A 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresPublisher publisher = client.listDatastoresPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.ListDatastoresPublisher publisher = client.listDatastoresPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListDatastoresRequest.builder()
- Parameters:
listDatastoresRequest
- AConsumer
that will call methods onListDatastoresRequest.Builder
to create a request.- Returns:
- A custom 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.Builder
avoiding the need to create one manually viaListImageSetVersionsRequest.builder()
- Parameters:
listImageSetVersionsRequest
- AConsumer
that will call methods onListImageSetVersionsRequest.Builder
to create a request.- Returns:
- A 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsPublisher publisher = client.listImageSetVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.ListImageSetVersionsPublisher publisher = client.listImageSetVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListImageSetVersionsRequest.builder()
- Parameters:
listImageSetVersionsRequest
- AConsumer
that will call methods onListImageSetVersionsRequest.Builder
to create a request.- Returns:
- A custom 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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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.
SearchImageSets
accepts a single search query parameter and returns a paginated response of all image sets that have the matching criteria. All date range queries must be input as(lowerBound, upperBound)
.By default,
SearchImageSets
uses theupdatedAt
field for sorting in descending order from newest to oldest.- Parameters:
searchImageSetsRequest
-- Returns:
- 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.
SearchImageSets
accepts a single search query parameter and returns a paginated response of all image sets that have the matching criteria. All date range queries must be input as(lowerBound, upperBound)
.By default,
SearchImageSets
uses theupdatedAt
field for sorting in descending order from newest to oldest.
This is a convenience which creates an instance of the
SearchImageSetsRequest.Builder
avoiding the need to create one manually viaSearchImageSetsRequest.builder()
- Parameters:
searchImageSetsRequest
- AConsumer
that will call methods onSearchImageSetsRequest.Builder
to create a request.- Returns:
- 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsPublisher publisher = client.searchImageSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.medicalimaging.paginators.SearchImageSetsPublisher publisher = client.searchImageSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaSearchImageSetsRequest.builder()
- Parameters:
searchImageSetsRequest
- AConsumer
that will call methods onSearchImageSetsRequest.Builder
to create a request.- Returns:
- A custom 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
ACTIVE
data store. The import job imports DICOM P10 files found in the S3 prefix specified by theinputS3Uri
parameter. The import job stores processing results in the file specified by theoutputS3Uri
parameter.- Parameters:
startDicomImportJobRequest
-- Returns:
- 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
ACTIVE
data store. The import job imports DICOM P10 files found in the S3 prefix specified by theinputS3Uri
parameter. The import job stores processing results in the file specified by theoutputS3Uri
parameter.
This is a convenience which creates an instance of the
StartDicomImportJobRequest.Builder
avoiding the need to create one manually viaStartDicomImportJobRequest.builder()
- Parameters:
startDicomImportJobRequest
- AConsumer
that will call methods onStartDicomImportJobRequest.Builder
to create a request.- Returns:
- 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateImageSetMetadataRequest.builder()
- Parameters:
updateImageSetMetadataRequest
- AConsumer
that will call methods onUpdateImageSetMetadataRequest.Builder
to 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:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aMedicalImagingAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMedicalImagingAsyncClient
.
-