Interface HealthLakeClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
AWS HealthLake is a HIPAA eligibile service that allows customers to store, transform, query, and analyze their FHIR-formatted data in a consistent fashion in the cloud.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic HealthLakeClientBuilder
builder()
Create a builder that can be used to configure and create aHealthLakeClient
.static HealthLakeClient
create()
Create aHealthLakeClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateFhirDatastoreResponse
createFHIRDatastore
(Consumer<CreateFhirDatastoreRequest.Builder> createFhirDatastoreRequest) Creates a data store that can ingest and export FHIR formatted data.default CreateFhirDatastoreResponse
createFHIRDatastore
(CreateFhirDatastoreRequest createFhirDatastoreRequest) Creates a data store that can ingest and export FHIR formatted data.default DeleteFhirDatastoreResponse
deleteFHIRDatastore
(Consumer<DeleteFhirDatastoreRequest.Builder> deleteFhirDatastoreRequest) Deletes a data store.default DeleteFhirDatastoreResponse
deleteFHIRDatastore
(DeleteFhirDatastoreRequest deleteFhirDatastoreRequest) Deletes a data store.default DescribeFhirDatastoreResponse
describeFHIRDatastore
(Consumer<DescribeFhirDatastoreRequest.Builder> describeFhirDatastoreRequest) Gets the properties associated with the FHIR data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint.default DescribeFhirDatastoreResponse
describeFHIRDatastore
(DescribeFhirDatastoreRequest describeFhirDatastoreRequest) Gets the properties associated with the FHIR data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint.default DescribeFhirExportJobResponse
describeFHIRExportJob
(Consumer<DescribeFhirExportJobRequest.Builder> describeFhirExportJobRequest) Displays the properties of a FHIR export job, including the ID, ARN, name, and the status of the job.default DescribeFhirExportJobResponse
describeFHIRExportJob
(DescribeFhirExportJobRequest describeFhirExportJobRequest) Displays the properties of a FHIR export job, including the ID, ARN, name, and the status of the job.default DescribeFhirImportJobResponse
describeFHIRImportJob
(Consumer<DescribeFhirImportJobRequest.Builder> describeFhirImportJobRequest) Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.default DescribeFhirImportJobResponse
describeFHIRImportJob
(DescribeFhirImportJobRequest describeFhirImportJobRequest) Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.default ListFhirDatastoresResponse
listFHIRDatastores
(Consumer<ListFhirDatastoresRequest.Builder> listFhirDatastoresRequest) Lists all FHIR data stores that are in the user’s account, regardless of data store status.default ListFhirDatastoresResponse
listFHIRDatastores
(ListFhirDatastoresRequest listFhirDatastoresRequest) Lists all FHIR data stores that are in the user’s account, regardless of data store status.default ListFHIRDatastoresIterable
listFHIRDatastoresPaginator
(Consumer<ListFhirDatastoresRequest.Builder> listFhirDatastoresRequest) This is a variant oflistFHIRDatastores(software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresRequest)
operation.default ListFHIRDatastoresIterable
listFHIRDatastoresPaginator
(ListFhirDatastoresRequest listFhirDatastoresRequest) This is a variant oflistFHIRDatastores(software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresRequest)
operation.default ListFhirExportJobsResponse
listFHIRExportJobs
(Consumer<ListFhirExportJobsRequest.Builder> listFhirExportJobsRequest) Lists all FHIR export jobs associated with an account and their statuses.default ListFhirExportJobsResponse
listFHIRExportJobs
(ListFhirExportJobsRequest listFhirExportJobsRequest) Lists all FHIR export jobs associated with an account and their statuses.default ListFHIRExportJobsIterable
listFHIRExportJobsPaginator
(Consumer<ListFhirExportJobsRequest.Builder> listFhirExportJobsRequest) This is a variant oflistFHIRExportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsRequest)
operation.default ListFHIRExportJobsIterable
listFHIRExportJobsPaginator
(ListFhirExportJobsRequest listFhirExportJobsRequest) This is a variant oflistFHIRExportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsRequest)
operation.default ListFhirImportJobsResponse
listFHIRImportJobs
(Consumer<ListFhirImportJobsRequest.Builder> listFhirImportJobsRequest) Lists all FHIR import jobs associated with an account and their statuses.default ListFhirImportJobsResponse
listFHIRImportJobs
(ListFhirImportJobsRequest listFhirImportJobsRequest) Lists all FHIR import jobs associated with an account and their statuses.default ListFHIRImportJobsIterable
listFHIRImportJobsPaginator
(Consumer<ListFhirImportJobsRequest.Builder> listFhirImportJobsRequest) This is a variant oflistFHIRImportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsRequest)
operation.default ListFHIRImportJobsIterable
listFHIRImportJobsPaginator
(ListFhirImportJobsRequest listFhirImportJobsRequest) This is a variant oflistFHIRImportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of all existing tags associated with a data store.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of all existing tags associated with a data store.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartFhirExportJobResponse
startFHIRExportJob
(Consumer<StartFhirExportJobRequest.Builder> startFhirExportJobRequest) Begins a FHIR export job.default StartFhirExportJobResponse
startFHIRExportJob
(StartFhirExportJobRequest startFhirExportJobRequest) Begins a FHIR export job.default StartFhirImportJobResponse
startFHIRImportJob
(Consumer<StartFhirImportJobRequest.Builder> startFhirImportJobRequest) Begins a FHIR Import job.default StartFhirImportJobResponse
startFHIRImportJob
(StartFhirImportJobRequest startFhirImportJobRequest) Begins a FHIR Import job.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a user specified key and value tag to a data store.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds a user specified key and value tag to a data store.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a data store.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a data store.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
-
createFHIRDatastore
default CreateFhirDatastoreResponse createFHIRDatastore(CreateFhirDatastoreRequest createFhirDatastoreRequest) throws ValidationException, ThrottlingException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Creates a data store that can ingest and export FHIR formatted data.
- Parameters:
createFhirDatastoreRequest
-- Returns:
- Result of the CreateFHIRDatastore operation returned by the service.
- See Also:
-
createFHIRDatastore
default CreateFhirDatastoreResponse createFHIRDatastore(Consumer<CreateFhirDatastoreRequest.Builder> createFhirDatastoreRequest) throws ValidationException, ThrottlingException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Creates a data store that can ingest and export FHIR formatted data.
This is a convenience which creates an instance of the
CreateFhirDatastoreRequest.Builder
avoiding the need to create one manually viaCreateFhirDatastoreRequest.builder()
- Parameters:
createFhirDatastoreRequest
- AConsumer
that will call methods onCreateFhirDatastoreRequest.Builder
to create a request.- Returns:
- Result of the CreateFHIRDatastore operation returned by the service.
- See Also:
-
deleteFHIRDatastore
default DeleteFhirDatastoreResponse deleteFHIRDatastore(DeleteFhirDatastoreRequest deleteFhirDatastoreRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Deletes a data store.
- Parameters:
deleteFhirDatastoreRequest
-- Returns:
- Result of the DeleteFHIRDatastore operation returned by the service.
- See Also:
-
deleteFHIRDatastore
default DeleteFhirDatastoreResponse deleteFHIRDatastore(Consumer<DeleteFhirDatastoreRequest.Builder> deleteFhirDatastoreRequest) throws AccessDeniedException, ConflictException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Deletes a data store.
This is a convenience which creates an instance of the
DeleteFhirDatastoreRequest.Builder
avoiding the need to create one manually viaDeleteFhirDatastoreRequest.builder()
- Parameters:
deleteFhirDatastoreRequest
- AConsumer
that will call methods onDeleteFhirDatastoreRequest.Builder
to create a request.- Returns:
- Result of the DeleteFHIRDatastore operation returned by the service.
- See Also:
-
describeFHIRDatastore
default DescribeFhirDatastoreResponse describeFHIRDatastore(DescribeFhirDatastoreRequest describeFhirDatastoreRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Gets the properties associated with the FHIR data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint.
- Parameters:
describeFhirDatastoreRequest
-- Returns:
- Result of the DescribeFHIRDatastore operation returned by the service.
- See Also:
-
describeFHIRDatastore
default DescribeFhirDatastoreResponse describeFHIRDatastore(Consumer<DescribeFhirDatastoreRequest.Builder> describeFhirDatastoreRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Gets the properties associated with the FHIR data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint.
This is a convenience which creates an instance of the
DescribeFhirDatastoreRequest.Builder
avoiding the need to create one manually viaDescribeFhirDatastoreRequest.builder()
- Parameters:
describeFhirDatastoreRequest
- AConsumer
that will call methods onDescribeFhirDatastoreRequest.Builder
to create a request.- Returns:
- Result of the DescribeFHIRDatastore operation returned by the service.
- See Also:
-
describeFHIRExportJob
default DescribeFhirExportJobResponse describeFHIRExportJob(DescribeFhirExportJobRequest describeFhirExportJobRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Displays the properties of a FHIR export job, including the ID, ARN, name, and the status of the job.
- Parameters:
describeFhirExportJobRequest
-- Returns:
- Result of the DescribeFHIRExportJob operation returned by the service.
- See Also:
-
describeFHIRExportJob
default DescribeFhirExportJobResponse describeFHIRExportJob(Consumer<DescribeFhirExportJobRequest.Builder> describeFhirExportJobRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Displays the properties of a FHIR export job, including the ID, ARN, name, and the status of the job.
This is a convenience which creates an instance of the
DescribeFhirExportJobRequest.Builder
avoiding the need to create one manually viaDescribeFhirExportJobRequest.builder()
- Parameters:
describeFhirExportJobRequest
- AConsumer
that will call methods onDescribeFhirExportJobRequest.Builder
to create a request.- Returns:
- Result of the DescribeFHIRExportJob operation returned by the service.
- See Also:
-
describeFHIRImportJob
default DescribeFhirImportJobResponse describeFHIRImportJob(DescribeFhirImportJobRequest describeFhirImportJobRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.
- Parameters:
describeFhirImportJobRequest
-- Returns:
- Result of the DescribeFHIRImportJob operation returned by the service.
- See Also:
-
describeFHIRImportJob
default DescribeFhirImportJobResponse describeFHIRImportJob(Consumer<DescribeFhirImportJobRequest.Builder> describeFhirImportJobRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.
This is a convenience which creates an instance of the
DescribeFhirImportJobRequest.Builder
avoiding the need to create one manually viaDescribeFhirImportJobRequest.builder()
- Parameters:
describeFhirImportJobRequest
- AConsumer
that will call methods onDescribeFhirImportJobRequest.Builder
to create a request.- Returns:
- Result of the DescribeFHIRImportJob operation returned by the service.
- See Also:
-
listFHIRDatastores
default ListFhirDatastoresResponse listFHIRDatastores(ListFhirDatastoresRequest listFhirDatastoresRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Lists all FHIR data stores that are in the user’s account, regardless of data store status.
- Parameters:
listFhirDatastoresRequest
-- Returns:
- Result of the ListFHIRDatastores operation returned by the service.
- See Also:
-
listFHIRDatastores
default ListFhirDatastoresResponse listFHIRDatastores(Consumer<ListFhirDatastoresRequest.Builder> listFhirDatastoresRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Lists all FHIR data stores that are in the user’s account, regardless of data store status.
This is a convenience which creates an instance of the
ListFhirDatastoresRequest.Builder
avoiding the need to create one manually viaListFhirDatastoresRequest.builder()
- Parameters:
listFhirDatastoresRequest
- AConsumer
that will call methods onListFhirDatastoresRequest.Builder
to create a request.- Returns:
- Result of the ListFHIRDatastores operation returned by the service.
- See Also:
-
listFHIRDatastoresPaginator
default ListFHIRDatastoresIterable listFHIRDatastoresPaginator(ListFhirDatastoresRequest listFhirDatastoresRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException This is a variant of
listFHIRDatastores(software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRDatastoresIterable responses = client.listFHIRDatastoresPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.healthlake.paginators.ListFHIRDatastoresIterable responses = client .listFHIRDatastoresPaginator(request); for (software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRDatastoresIterable responses = client.listFHIRDatastoresPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFHIRDatastores(software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresRequest)
operation.- Parameters:
listFhirDatastoresRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFHIRDatastoresPaginator
default ListFHIRDatastoresIterable listFHIRDatastoresPaginator(Consumer<ListFhirDatastoresRequest.Builder> listFhirDatastoresRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException This is a variant of
listFHIRDatastores(software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRDatastoresIterable responses = client.listFHIRDatastoresPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.healthlake.paginators.ListFHIRDatastoresIterable responses = client .listFHIRDatastoresPaginator(request); for (software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRDatastoresIterable responses = client.listFHIRDatastoresPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFHIRDatastores(software.amazon.awssdk.services.healthlake.model.ListFhirDatastoresRequest)
operation.
This is a convenience which creates an instance of the
ListFhirDatastoresRequest.Builder
avoiding the need to create one manually viaListFhirDatastoresRequest.builder()
- Parameters:
listFhirDatastoresRequest
- AConsumer
that will call methods onListFhirDatastoresRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFHIRExportJobs
default ListFhirExportJobsResponse listFHIRExportJobs(ListFhirExportJobsRequest listFhirExportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Lists all FHIR export jobs associated with an account and their statuses.
- Parameters:
listFhirExportJobsRequest
-- Returns:
- Result of the ListFHIRExportJobs operation returned by the service.
- See Also:
-
listFHIRExportJobs
default ListFhirExportJobsResponse listFHIRExportJobs(Consumer<ListFhirExportJobsRequest.Builder> listFhirExportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Lists all FHIR export jobs associated with an account and their statuses.
This is a convenience which creates an instance of the
ListFhirExportJobsRequest.Builder
avoiding the need to create one manually viaListFhirExportJobsRequest.builder()
- Parameters:
listFhirExportJobsRequest
- AConsumer
that will call methods onListFhirExportJobsRequest.Builder
to create a request.- Returns:
- Result of the ListFHIRExportJobs operation returned by the service.
- See Also:
-
listFHIRExportJobsPaginator
default ListFHIRExportJobsIterable listFHIRExportJobsPaginator(ListFhirExportJobsRequest listFhirExportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException This is a variant of
listFHIRExportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRExportJobsIterable responses = client.listFHIRExportJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.healthlake.paginators.ListFHIRExportJobsIterable responses = client .listFHIRExportJobsPaginator(request); for (software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRExportJobsIterable responses = client.listFHIRExportJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFHIRExportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsRequest)
operation.- Parameters:
listFhirExportJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFHIRExportJobsPaginator
default ListFHIRExportJobsIterable listFHIRExportJobsPaginator(Consumer<ListFhirExportJobsRequest.Builder> listFhirExportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException This is a variant of
listFHIRExportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRExportJobsIterable responses = client.listFHIRExportJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.healthlake.paginators.ListFHIRExportJobsIterable responses = client .listFHIRExportJobsPaginator(request); for (software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRExportJobsIterable responses = client.listFHIRExportJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFHIRExportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirExportJobsRequest)
operation.
This is a convenience which creates an instance of the
ListFhirExportJobsRequest.Builder
avoiding the need to create one manually viaListFhirExportJobsRequest.builder()
- Parameters:
listFhirExportJobsRequest
- AConsumer
that will call methods onListFhirExportJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFHIRImportJobs
default ListFhirImportJobsResponse listFHIRImportJobs(ListFhirImportJobsRequest listFhirImportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Lists all FHIR import jobs associated with an account and their statuses.
- Parameters:
listFhirImportJobsRequest
-- Returns:
- Result of the ListFHIRImportJobs operation returned by the service.
- See Also:
-
listFHIRImportJobs
default ListFhirImportJobsResponse listFHIRImportJobs(Consumer<ListFhirImportJobsRequest.Builder> listFhirImportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Lists all FHIR import jobs associated with an account and their statuses.
This is a convenience which creates an instance of the
ListFhirImportJobsRequest.Builder
avoiding the need to create one manually viaListFhirImportJobsRequest.builder()
- Parameters:
listFhirImportJobsRequest
- AConsumer
that will call methods onListFhirImportJobsRequest.Builder
to create a request.- Returns:
- Result of the ListFHIRImportJobs operation returned by the service.
- See Also:
-
listFHIRImportJobsPaginator
default ListFHIRImportJobsIterable listFHIRImportJobsPaginator(ListFhirImportJobsRequest listFhirImportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException This is a variant of
listFHIRImportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRImportJobsIterable responses = client.listFHIRImportJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.healthlake.paginators.ListFHIRImportJobsIterable responses = client .listFHIRImportJobsPaginator(request); for (software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRImportJobsIterable responses = client.listFHIRImportJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFHIRImportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsRequest)
operation.- Parameters:
listFhirImportJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFHIRImportJobsPaginator
default ListFHIRImportJobsIterable listFHIRImportJobsPaginator(Consumer<ListFhirImportJobsRequest.Builder> listFhirImportJobsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException This is a variant of
listFHIRImportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRImportJobsIterable responses = client.listFHIRImportJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.healthlake.paginators.ListFHIRImportJobsIterable responses = client .listFHIRImportJobsPaginator(request); for (software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.healthlake.paginators.ListFHIRImportJobsIterable responses = client.listFHIRImportJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFHIRImportJobs(software.amazon.awssdk.services.healthlake.model.ListFhirImportJobsRequest)
operation.
This is a convenience which creates an instance of the
ListFhirImportJobsRequest.Builder
avoiding the need to create one manually viaListFhirImportJobsRequest.builder()
- Parameters:
listFhirImportJobsRequest
- AConsumer
that will call methods onListFhirImportJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, HealthLakeException Returns a list of all existing tags associated with a data store.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, HealthLakeException Returns a list of all existing tags associated with a data store.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
startFHIRExportJob
default StartFhirExportJobResponse startFHIRExportJob(StartFhirExportJobRequest startFhirExportJobRequest) throws ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Begins a FHIR export job.
- Parameters:
startFhirExportJobRequest
-- Returns:
- Result of the StartFHIRExportJob operation returned by the service.
- See Also:
-
startFHIRExportJob
default StartFhirExportJobResponse startFHIRExportJob(Consumer<StartFhirExportJobRequest.Builder> startFhirExportJobRequest) throws ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Begins a FHIR export job.
This is a convenience which creates an instance of the
StartFhirExportJobRequest.Builder
avoiding the need to create one manually viaStartFhirExportJobRequest.builder()
- Parameters:
startFhirExportJobRequest
- AConsumer
that will call methods onStartFhirExportJobRequest.Builder
to create a request.- Returns:
- Result of the StartFHIRExportJob operation returned by the service.
- See Also:
-
startFHIRImportJob
default StartFhirImportJobResponse startFHIRImportJob(StartFhirImportJobRequest startFhirImportJobRequest) throws ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Begins a FHIR Import job.
- Parameters:
startFhirImportJobRequest
-- Returns:
- Result of the StartFHIRImportJob operation returned by the service.
- See Also:
-
startFHIRImportJob
default StartFhirImportJobResponse startFHIRImportJob(Consumer<StartFhirImportJobRequest.Builder> startFhirImportJobRequest) throws ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, HealthLakeException Begins a FHIR Import job.
This is a convenience which creates an instance of the
StartFhirImportJobRequest.Builder
avoiding the need to create one manually viaStartFhirImportJobRequest.builder()
- Parameters:
startFhirImportJobRequest
- AConsumer
that will call methods onStartFhirImportJobRequest.Builder
to create a request.- Returns:
- Result of the StartFHIRImportJob operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, HealthLakeException Adds a user specified key and value tag to a data store.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, HealthLakeException Adds a user specified key and value tag to a data store.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, HealthLakeException Removes tags from a data store.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, HealthLakeException Removes tags from a data store.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
create
Create aHealthLakeClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aHealthLakeClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-