/*
* 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 entityresolution-2018-05-10.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.EntityResolution.Model;
using Amazon.EntityResolution.Model.Internal.MarshallTransformations;
using Amazon.EntityResolution.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.EntityResolution
{
///
/// Implementation for accessing EntityResolution
///
/// Welcome to the AWS Entity Resolution API Reference.
///
///
///
/// AWS Entity Resolution is an AWS service that provides pre-configured entity resolution
/// capabilities that enable developers and analysts at advertising and marketing companies
/// to build an accurate and complete view of their consumers.
///
///
///
/// With AWS Entity Resolution, you have the ability to match source records containing
/// consumer identifiers, such as name, email address, and phone number. This holds true
/// even when these records have incomplete or conflicting identifiers. For example, AWS
/// Entity Resolution can effectively match a source record from a customer relationship
/// management (CRM) system, which includes account information like first name, last
/// name, postal address, phone number, and email address, with a source record from a
/// marketing system containing campaign information, such as username and email address.
///
///
///
/// To learn more about AWS Entity Resolution concepts, procedures, and best practices,
/// see the AWS
/// Entity Resolution User Guide.
///
///
public partial class AmazonEntityResolutionClient : AmazonServiceClient, IAmazonEntityResolution
{
private static IServiceMetadata serviceMetadata = new AmazonEntityResolutionMetadata();
#region Constructors
///
/// Constructs AmazonEntityResolutionClient 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 AmazonEntityResolutionClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonEntityResolutionConfig()) { }
///
/// Constructs AmazonEntityResolutionClient 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 AmazonEntityResolutionClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonEntityResolutionConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonEntityResolutionClient 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 AmazonEntityResolutionClient Configuration Object
public AmazonEntityResolutionClient(AmazonEntityResolutionConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonEntityResolutionClient with AWS Credentials
///
/// AWS Credentials
public AmazonEntityResolutionClient(AWSCredentials credentials)
: this(credentials, new AmazonEntityResolutionConfig())
{
}
///
/// Constructs AmazonEntityResolutionClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonEntityResolutionClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonEntityResolutionConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonEntityResolutionClient with AWS Credentials and an
/// AmazonEntityResolutionClient Configuration object.
///
/// AWS Credentials
/// The AmazonEntityResolutionClient Configuration Object
public AmazonEntityResolutionClient(AWSCredentials credentials, AmazonEntityResolutionConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonEntityResolutionClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonEntityResolutionClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonEntityResolutionConfig())
{
}
///
/// Constructs AmazonEntityResolutionClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonEntityResolutionClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonEntityResolutionConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonEntityResolutionClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonEntityResolutionClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonEntityResolutionClient Configuration Object
public AmazonEntityResolutionClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonEntityResolutionConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonEntityResolutionClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonEntityResolutionClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonEntityResolutionConfig())
{
}
///
/// Constructs AmazonEntityResolutionClient 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 AmazonEntityResolutionClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonEntityResolutionConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonEntityResolutionClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonEntityResolutionClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonEntityResolutionClient Configuration Object
public AmazonEntityResolutionClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonEntityResolutionConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IEntityResolutionPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IEntityResolutionPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new EntityResolutionPaginatorFactory(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 AmazonEntityResolutionEndpointResolver());
}
///
/// 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 CreateMatchingWorkflow
internal virtual CreateMatchingWorkflowResponse CreateMatchingWorkflow(CreateMatchingWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMatchingWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a MatchingWorkflow
object which stores the configuration of the
/// data processing job to be run. It is important to note that there should not be a
/// pre-existing MatchingWorkflow
with the same name. To modify an existing
/// workflow, utilize the UpdateMatchingWorkflow
API.
///
/// Container for the necessary parameters to execute the CreateMatchingWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateMatchingWorkflow service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource. Example: Workflow already exists, Schema already exists, Workflow is currently
/// running, etc. HTTP Status Code: 400
///
///
/// The request was rejected because it attempted to create resources beyond the current
/// AWS Entity Resolution account limits. The error message describes the limit exceeded.
/// HTTP Status Code: 402
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for CreateMatchingWorkflow Operation
public virtual Task CreateMatchingWorkflowAsync(CreateMatchingWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMatchingWorkflowResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateSchemaMapping
internal virtual CreateSchemaMappingResponse CreateSchemaMapping(CreateSchemaMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSchemaMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSchemaMappingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a schema mapping, which defines the schema of the input customer records table.
/// The SchemaMapping
also provides Entity Resolution with some metadata
/// about the table, such as the attribute types of the columns and which columns to match
/// on.
///
/// Container for the necessary parameters to execute the CreateSchemaMapping service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSchemaMapping service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource. Example: Workflow already exists, Schema already exists, Workflow is currently
/// running, etc. HTTP Status Code: 400
///
///
/// The request was rejected because it attempted to create resources beyond the current
/// AWS Entity Resolution account limits. The error message describes the limit exceeded.
/// HTTP Status Code: 402
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for CreateSchemaMapping Operation
public virtual Task CreateSchemaMappingAsync(CreateSchemaMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSchemaMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSchemaMappingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteMatchingWorkflow
internal virtual DeleteMatchingWorkflowResponse DeleteMatchingWorkflow(DeleteMatchingWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMatchingWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the MatchingWorkflow
with a given name. This operation will succeed
/// even if a workflow with the given name does not exist.
///
/// Container for the necessary parameters to execute the DeleteMatchingWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteMatchingWorkflow service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for DeleteMatchingWorkflow Operation
public virtual Task DeleteMatchingWorkflowAsync(DeleteMatchingWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMatchingWorkflowResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSchemaMapping
internal virtual DeleteSchemaMappingResponse DeleteSchemaMapping(DeleteSchemaMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaMappingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the SchemaMapping
with a given name. This operation will succeed
/// even if a schema with the given name does not exist. This operation will fail if there
/// is a DataIntegrationWorkflow
object that references the SchemaMapping
/// in the workflow's InputSourceConfig
.
///
/// Container for the necessary parameters to execute the DeleteSchemaMapping service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSchemaMapping service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource. Example: Workflow already exists, Schema already exists, Workflow is currently
/// running, etc. HTTP Status Code: 400
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for DeleteSchemaMapping Operation
public virtual Task DeleteSchemaMappingAsync(DeleteSchemaMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaMappingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetMatchId
internal virtual GetMatchIdResponse GetMatchId(GetMatchIdRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMatchIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMatchIdResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the corresponding Match ID of a customer record if the record has been processed.
///
/// Container for the necessary parameters to execute the GetMatchId service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetMatchId service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for GetMatchId Operation
public virtual Task GetMatchIdAsync(GetMatchIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMatchIdRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMatchIdResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetMatchingJob
internal virtual GetMatchingJobResponse GetMatchingJob(GetMatchingJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMatchingJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMatchingJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the status, metrics, and errors (if there are any) that are associated with a
/// job.
///
/// Container for the necessary parameters to execute the GetMatchingJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetMatchingJob service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for GetMatchingJob Operation
public virtual Task GetMatchingJobAsync(GetMatchingJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMatchingJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMatchingJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetMatchingWorkflow
internal virtual GetMatchingWorkflowResponse GetMatchingWorkflow(GetMatchingWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMatchingWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the MatchingWorkflow
with a given name, if it exists.
///
/// Container for the necessary parameters to execute the GetMatchingWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetMatchingWorkflow service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for GetMatchingWorkflow Operation
public virtual Task GetMatchingWorkflowAsync(GetMatchingWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMatchingWorkflowResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSchemaMapping
internal virtual GetSchemaMappingResponse GetSchemaMapping(GetSchemaMappingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaMappingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the SchemaMapping of a given name.
///
/// Container for the necessary parameters to execute the GetSchemaMapping service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSchemaMapping service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for GetSchemaMapping Operation
public virtual Task GetSchemaMappingAsync(GetSchemaMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaMappingRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaMappingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMatchingJobs
internal virtual ListMatchingJobsResponse ListMatchingJobs(ListMatchingJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMatchingJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMatchingJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all jobs for a given workflow.
///
/// Container for the necessary parameters to execute the ListMatchingJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMatchingJobs service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for ListMatchingJobs Operation
public virtual Task ListMatchingJobsAsync(ListMatchingJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMatchingJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMatchingJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMatchingWorkflows
internal virtual ListMatchingWorkflowsResponse ListMatchingWorkflows(ListMatchingWorkflowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMatchingWorkflowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMatchingWorkflowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of all the MatchingWorkflows
that have been created for
/// an AWS account.
///
/// Container for the necessary parameters to execute the ListMatchingWorkflows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMatchingWorkflows service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for ListMatchingWorkflows Operation
public virtual Task ListMatchingWorkflowsAsync(ListMatchingWorkflowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMatchingWorkflowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMatchingWorkflowsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSchemaMappings
internal virtual ListSchemaMappingsResponse ListSchemaMappings(ListSchemaMappingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemaMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemaMappingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of all the SchemaMappings
that have been created for an
/// AWS account.
///
/// Container for the necessary parameters to execute the ListSchemaMappings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSchemaMappings service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for ListSchemaMappings Operation
public virtual Task ListSchemaMappingsAsync(ListSchemaMappingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemaMappingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemaMappingsResponseUnmarshaller.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);
}
///
/// Displays the tags associated with an AWS Entity Resolution resource. In Entity Resolution,
/// SchemaMapping
, and MatchingWorkflow
can be tagged.
///
/// 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 EntityResolution.
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// 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 StartMatchingJob
internal virtual StartMatchingJobResponse StartMatchingJob(StartMatchingJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartMatchingJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartMatchingJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts the MatchingJob
of a workflow. The workflow must have previously
/// been created using the CreateMatchingWorkflow
endpoint.
///
/// Container for the necessary parameters to execute the StartMatchingJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartMatchingJob service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// The request could not be processed because of conflict in the current state of the
/// resource. Example: Workflow already exists, Schema already exists, Workflow is currently
/// running, etc. HTTP Status Code: 400
///
///
/// The request was rejected because it attempted to create resources beyond the current
/// AWS Entity Resolution account limits. The error message describes the limit exceeded.
/// HTTP Status Code: 402
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for StartMatchingJob Operation
public virtual Task StartMatchingJobAsync(StartMatchingJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartMatchingJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartMatchingJobResponseUnmarshaller.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);
}
///
/// Assigns one or more tags (key-value pairs) to the specified AWS Entity Resolution
/// resource. Tags can help you organize and categorize your resources. You can also use
/// them to scope user permissions by granting a user permission to access or change only
/// resources with certain tag values. In Entity Resolution, SchemaMapping
,
/// and MatchingWorkflow
can be tagged. Tags don't have any semantic meaning
/// to AWS and are interpreted strictly as strings of characters. You can use the TagResource
/// action with a resource that already has tags. If you specify a new tag key, this tag
/// is appended to the list of tags associated with the resource. If you specify a tag
/// key that is already associated with the resource, the new tag value that you specify
/// replaces the previous value for that tag.
///
/// 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 EntityResolution.
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// 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 one or more tags from the specified AWS Entity Resolution resource. In Entity
/// Resolution, SchemaMapping
, and MatchingWorkflow
can be tagged.
///
/// 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 EntityResolution.
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
/// 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
#region UpdateMatchingWorkflow
internal virtual UpdateMatchingWorkflowResponse UpdateMatchingWorkflow(UpdateMatchingWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMatchingWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing MatchingWorkflow
. This method is identical to CreateMatchingWorkflow
,
/// except it uses an HTTP PUT
request instead of a POST
request,
/// and the MatchingWorkflow
must already exist for the method to succeed.
///
/// Container for the necessary parameters to execute the UpdateMatchingWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateMatchingWorkflow service method, as returned by EntityResolution.
///
/// You do not have sufficient access to perform this action. HTTP Status Code:
/// 403
///
///
/// This exception occurs when there is an internal failure in the AWS Entity Resolution
/// service. HTTP Status Code: 500
///
///
/// The resource could not be found. HTTP Status Code: 404
///
///
/// The request was denied due to request throttling. HTTP Status Code: 429
///
///
/// The input fails to satisfy the constraints specified by AWS Entity Resolution. HTTP
/// Status Code: 400
///
/// REST API Reference for UpdateMatchingWorkflow Operation
public virtual Task UpdateMatchingWorkflowAsync(UpdateMatchingWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMatchingWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMatchingWorkflowResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}