/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the healthlake-2017-07-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.HealthLake.Model;
using Amazon.HealthLake.Model.Internal.MarshallTransformations;
using Amazon.HealthLake.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.HealthLake
{
///
/// Implementation for accessing HealthLake
///
/// 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.
///
public partial class AmazonHealthLakeClient : AmazonServiceClient, IAmazonHealthLake
{
private static IServiceMetadata serviceMetadata = new AmazonHealthLakeMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IHealthLakePaginatorFactory _paginators;
///
/// Paginators for the service
///
public IHealthLakePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new HealthLakePaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonHealthLakeClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonHealthLakeClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonHealthLakeConfig()) { }
///
/// Constructs AmazonHealthLakeClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonHealthLakeClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonHealthLakeConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonHealthLakeClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonHealthLakeClient Configuration Object
public AmazonHealthLakeClient(AmazonHealthLakeConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonHealthLakeClient with AWS Credentials
///
/// AWS Credentials
public AmazonHealthLakeClient(AWSCredentials credentials)
: this(credentials, new AmazonHealthLakeConfig())
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonHealthLakeClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonHealthLakeConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Credentials and an
/// AmazonHealthLakeClient Configuration object.
///
/// AWS Credentials
/// The AmazonHealthLakeClient Configuration Object
public AmazonHealthLakeClient(AWSCredentials credentials, AmazonHealthLakeConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonHealthLakeClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonHealthLakeConfig())
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonHealthLakeClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonHealthLakeConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonHealthLakeClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonHealthLakeClient Configuration Object
public AmazonHealthLakeClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonHealthLakeConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonHealthLakeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonHealthLakeConfig())
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonHealthLakeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonHealthLakeConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonHealthLakeClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonHealthLakeClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonHealthLakeClient Configuration Object
public AmazonHealthLakeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonHealthLakeConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonHealthLakeEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateFHIRDatastore
///
/// Creates a data store that can ingest and export FHIR formatted data.
///
/// Container for the necessary parameters to execute the CreateFHIRDatastore service method.
///
/// The response from the CreateFHIRDatastore service method, as returned by HealthLake.
///
/// Access is denied. Your account is not authorized to perform this operation.
///
///
/// Unknown error occurs in the service.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for CreateFHIRDatastore Operation
public virtual CreateFHIRDatastoreResponse CreateFHIRDatastore(CreateFHIRDatastoreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFHIRDatastoreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateFHIRDatastore operation.
///
///
/// Container for the necessary parameters to execute the CreateFHIRDatastore operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFHIRDatastore
/// operation.
/// REST API Reference for CreateFHIRDatastore Operation
public virtual IAsyncResult BeginCreateFHIRDatastore(CreateFHIRDatastoreRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFHIRDatastoreResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFHIRDatastore operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFHIRDatastore.
///
/// Returns a CreateFHIRDatastoreResult from HealthLake.
/// REST API Reference for CreateFHIRDatastore Operation
public virtual CreateFHIRDatastoreResponse EndCreateFHIRDatastore(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteFHIRDatastore
///
/// Deletes a data store.
///
/// Container for the necessary parameters to execute the DeleteFHIRDatastore service method.
///
/// The response from the DeleteFHIRDatastore service method, as returned by HealthLake.
///
/// Access is denied. Your account is not authorized to perform this operation.
///
///
/// The data store is in a transition state and the user requested action can not be performed.
///
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for DeleteFHIRDatastore Operation
public virtual DeleteFHIRDatastoreResponse DeleteFHIRDatastore(DeleteFHIRDatastoreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFHIRDatastoreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteFHIRDatastore operation.
///
///
/// Container for the necessary parameters to execute the DeleteFHIRDatastore operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFHIRDatastore
/// operation.
/// REST API Reference for DeleteFHIRDatastore Operation
public virtual IAsyncResult BeginDeleteFHIRDatastore(DeleteFHIRDatastoreRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFHIRDatastoreResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFHIRDatastore operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFHIRDatastore.
///
/// Returns a DeleteFHIRDatastoreResult from HealthLake.
/// REST API Reference for DeleteFHIRDatastore Operation
public virtual DeleteFHIRDatastoreResponse EndDeleteFHIRDatastore(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeFHIRDatastore
///
/// 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.
///
/// Container for the necessary parameters to execute the DescribeFHIRDatastore service method.
///
/// The response from the DescribeFHIRDatastore service method, as returned by HealthLake.
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for DescribeFHIRDatastore Operation
public virtual DescribeFHIRDatastoreResponse DescribeFHIRDatastore(DescribeFHIRDatastoreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRDatastoreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeFHIRDatastore operation.
///
///
/// Container for the necessary parameters to execute the DescribeFHIRDatastore operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFHIRDatastore
/// operation.
/// REST API Reference for DescribeFHIRDatastore Operation
public virtual IAsyncResult BeginDescribeFHIRDatastore(DescribeFHIRDatastoreRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRDatastoreResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeFHIRDatastore operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeFHIRDatastore.
///
/// Returns a DescribeFHIRDatastoreResult from HealthLake.
/// REST API Reference for DescribeFHIRDatastore Operation
public virtual DescribeFHIRDatastoreResponse EndDescribeFHIRDatastore(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeFHIRExportJob
///
/// Displays the properties of a FHIR export job, including the ID, ARN, name, and the
/// status of the job.
///
/// Container for the necessary parameters to execute the DescribeFHIRExportJob service method.
///
/// The response from the DescribeFHIRExportJob service method, as returned by HealthLake.
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for DescribeFHIRExportJob Operation
public virtual DescribeFHIRExportJobResponse DescribeFHIRExportJob(DescribeFHIRExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeFHIRExportJob operation.
///
///
/// Container for the necessary parameters to execute the DescribeFHIRExportJob operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFHIRExportJob
/// operation.
/// REST API Reference for DescribeFHIRExportJob Operation
public virtual IAsyncResult BeginDescribeFHIRExportJob(DescribeFHIRExportJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRExportJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeFHIRExportJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeFHIRExportJob.
///
/// Returns a DescribeFHIRExportJobResult from HealthLake.
/// REST API Reference for DescribeFHIRExportJob Operation
public virtual DescribeFHIRExportJobResponse EndDescribeFHIRExportJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeFHIRImportJob
///
/// Displays the properties of a FHIR import job, including the ID, ARN, name, and the
/// status of the job.
///
/// Container for the necessary parameters to execute the DescribeFHIRImportJob service method.
///
/// The response from the DescribeFHIRImportJob service method, as returned by HealthLake.
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for DescribeFHIRImportJob Operation
public virtual DescribeFHIRImportJobResponse DescribeFHIRImportJob(DescribeFHIRImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeFHIRImportJob operation.
///
///
/// Container for the necessary parameters to execute the DescribeFHIRImportJob operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFHIRImportJob
/// operation.
/// REST API Reference for DescribeFHIRImportJob Operation
public virtual IAsyncResult BeginDescribeFHIRImportJob(DescribeFHIRImportJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRImportJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeFHIRImportJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeFHIRImportJob.
///
/// Returns a DescribeFHIRImportJobResult from HealthLake.
/// REST API Reference for DescribeFHIRImportJob Operation
public virtual DescribeFHIRImportJobResponse EndDescribeFHIRImportJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFHIRDatastores
///
/// Lists all FHIR data stores that are in the user’s account, regardless of data store
/// status.
///
/// Container for the necessary parameters to execute the ListFHIRDatastores service method.
///
/// The response from the ListFHIRDatastores service method, as returned by HealthLake.
///
/// Unknown error occurs in the service.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for ListFHIRDatastores Operation
public virtual ListFHIRDatastoresResponse ListFHIRDatastores(ListFHIRDatastoresRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRDatastoresRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRDatastoresResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFHIRDatastores operation.
///
///
/// Container for the necessary parameters to execute the ListFHIRDatastores operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFHIRDatastores
/// operation.
/// REST API Reference for ListFHIRDatastores Operation
public virtual IAsyncResult BeginListFHIRDatastores(ListFHIRDatastoresRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRDatastoresRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRDatastoresResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFHIRDatastores operation.
///
///
/// The IAsyncResult returned by the call to BeginListFHIRDatastores.
///
/// Returns a ListFHIRDatastoresResult from HealthLake.
/// REST API Reference for ListFHIRDatastores Operation
public virtual ListFHIRDatastoresResponse EndListFHIRDatastores(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFHIRExportJobs
///
/// Lists all FHIR export jobs associated with an account and their statuses.
///
/// Container for the necessary parameters to execute the ListFHIRExportJobs service method.
///
/// The response from the ListFHIRExportJobs service method, as returned by HealthLake.
///
/// Access is denied. Your account is not authorized to perform this operation.
///
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for ListFHIRExportJobs Operation
public virtual ListFHIRExportJobsResponse ListFHIRExportJobs(ListFHIRExportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRExportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFHIRExportJobs operation.
///
///
/// Container for the necessary parameters to execute the ListFHIRExportJobs operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFHIRExportJobs
/// operation.
/// REST API Reference for ListFHIRExportJobs Operation
public virtual IAsyncResult BeginListFHIRExportJobs(ListFHIRExportJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRExportJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFHIRExportJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginListFHIRExportJobs.
///
/// Returns a ListFHIRExportJobsResult from HealthLake.
/// REST API Reference for ListFHIRExportJobs Operation
public virtual ListFHIRExportJobsResponse EndListFHIRExportJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFHIRImportJobs
///
/// Lists all FHIR import jobs associated with an account and their statuses.
///
/// Container for the necessary parameters to execute the ListFHIRImportJobs service method.
///
/// The response from the ListFHIRImportJobs service method, as returned by HealthLake.
///
/// Access is denied. Your account is not authorized to perform this operation.
///
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for ListFHIRImportJobs Operation
public virtual ListFHIRImportJobsResponse ListFHIRImportJobs(ListFHIRImportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRImportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFHIRImportJobs operation.
///
///
/// Container for the necessary parameters to execute the ListFHIRImportJobs operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFHIRImportJobs
/// operation.
/// REST API Reference for ListFHIRImportJobs Operation
public virtual IAsyncResult BeginListFHIRImportJobs(ListFHIRImportJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRImportJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFHIRImportJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginListFHIRImportJobs.
///
/// Returns a ListFHIRImportJobsResult from HealthLake.
/// REST API Reference for ListFHIRImportJobs Operation
public virtual ListFHIRImportJobsResponse EndListFHIRImportJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Returns a list of all existing tags associated with a data store.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by HealthLake.
///
/// The requested data store was not found.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from HealthLake.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartFHIRExportJob
///
/// Begins a FHIR export job.
///
/// Container for the necessary parameters to execute the StartFHIRExportJob service method.
///
/// The response from the StartFHIRExportJob service method, as returned by HealthLake.
///
/// Access is denied. Your account is not authorized to perform this operation.
///
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for StartFHIRExportJob Operation
public virtual StartFHIRExportJobResponse StartFHIRExportJob(StartFHIRExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartFHIRExportJob operation.
///
///
/// Container for the necessary parameters to execute the StartFHIRExportJob operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartFHIRExportJob
/// operation.
/// REST API Reference for StartFHIRExportJob Operation
public virtual IAsyncResult BeginStartFHIRExportJob(StartFHIRExportJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRExportJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartFHIRExportJob operation.
///
///
/// The IAsyncResult returned by the call to BeginStartFHIRExportJob.
///
/// Returns a StartFHIRExportJobResult from HealthLake.
/// REST API Reference for StartFHIRExportJob Operation
public virtual StartFHIRExportJobResponse EndStartFHIRExportJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartFHIRImportJob
///
/// Begins a FHIR Import job.
///
/// Container for the necessary parameters to execute the StartFHIRImportJob service method.
///
/// The response from the StartFHIRImportJob service method, as returned by HealthLake.
///
/// Access is denied. Your account is not authorized to perform this operation.
///
///
/// Unknown error occurs in the service.
///
///
/// The requested data store was not found.
///
///
/// The user has exceeded their maximum number of allowed calls to the given API.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for StartFHIRImportJob Operation
public virtual StartFHIRImportJobResponse StartFHIRImportJob(StartFHIRImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartFHIRImportJob operation.
///
///
/// Container for the necessary parameters to execute the StartFHIRImportJob operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartFHIRImportJob
/// operation.
/// REST API Reference for StartFHIRImportJob Operation
public virtual IAsyncResult BeginStartFHIRImportJob(StartFHIRImportJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRImportJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartFHIRImportJob operation.
///
///
/// The IAsyncResult returned by the call to BeginStartFHIRImportJob.
///
/// Returns a StartFHIRImportJobResult from HealthLake.
/// REST API Reference for StartFHIRImportJob Operation
public virtual StartFHIRImportJobResponse EndStartFHIRImportJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Adds a user specified key and value tag to a data store.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by HealthLake.
///
/// The requested data store was not found.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from HealthLake.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes tags from a data store.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by HealthLake.
///
/// The requested data store was not found.
///
///
/// The user input parameter was invalid.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonHealthLakeClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from HealthLake.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}