/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
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();
#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
#if 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 Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
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
internal virtual CreateFHIRDatastoreResponse CreateFHIRDatastore(CreateFHIRDatastoreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFHIRDatastoreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a data store that can ingest and export FHIR formatted data.
///
/// Container for the necessary parameters to execute the CreateFHIRDatastore service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateFHIRDatastoreAsync(CreateFHIRDatastoreRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFHIRDatastoreResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFHIRDatastore
internal virtual DeleteFHIRDatastoreResponse DeleteFHIRDatastore(DeleteFHIRDatastoreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFHIRDatastoreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a data store.
///
/// Container for the necessary parameters to execute the DeleteFHIRDatastore service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteFHIRDatastoreAsync(DeleteFHIRDatastoreRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFHIRDatastoreResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFHIRDatastore
internal virtual DescribeFHIRDatastoreResponse DescribeFHIRDatastore(DescribeFHIRDatastoreRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRDatastoreResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeFHIRDatastoreAsync(DescribeFHIRDatastoreRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRDatastoreRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRDatastoreResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFHIRExportJob
internal virtual DescribeFHIRExportJobResponse DescribeFHIRExportJob(DescribeFHIRExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeFHIRExportJobAsync(DescribeFHIRExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFHIRImportJob
internal virtual DescribeFHIRImportJobResponse DescribeFHIRImportJob(DescribeFHIRImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeFHIRImportJobAsync(DescribeFHIRImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFHIRImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFHIRDatastores
internal virtual ListFHIRDatastoresResponse ListFHIRDatastores(ListFHIRDatastoresRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRDatastoresRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRDatastoresResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFHIRDatastoresAsync(ListFHIRDatastoresRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRDatastoresRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRDatastoresResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFHIRExportJobs
internal virtual ListFHIRExportJobsResponse ListFHIRExportJobs(ListFHIRExportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRExportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all FHIR export jobs associated with an account and their statuses.
///
/// Container for the necessary parameters to execute the ListFHIRExportJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFHIRExportJobsAsync(ListFHIRExportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRExportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRExportJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFHIRImportJobs
internal virtual ListFHIRImportJobsResponse ListFHIRImportJobs(ListFHIRImportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRImportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all FHIR import jobs associated with an account and their statuses.
///
/// Container for the necessary parameters to execute the ListFHIRImportJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFHIRImportJobsAsync(ListFHIRImportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFHIRImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFHIRImportJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of all existing tags associated with a data store.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartFHIRExportJob
internal virtual StartFHIRExportJobResponse StartFHIRExportJob(StartFHIRExportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRExportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Begins a FHIR export job.
///
/// Container for the necessary parameters to execute the StartFHIRExportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartFHIRExportJobAsync(StartFHIRExportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRExportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRExportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartFHIRImportJob
internal virtual StartFHIRImportJobResponse StartFHIRImportJob(StartFHIRImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Begins a FHIR Import job.
///
/// Container for the necessary parameters to execute the StartFHIRImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartFHIRImportJobAsync(StartFHIRImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFHIRImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFHIRImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds a user specified key and value tag to a data store.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes tags from a data store.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}