/*
* 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 voice-id-2021-09-27.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.VoiceID.Model;
using Amazon.VoiceID.Model.Internal.MarshallTransformations;
using Amazon.VoiceID.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.VoiceID
{
///
/// Implementation for accessing VoiceID
///
/// Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection,
/// which make voice interactions in contact centers more secure and efficient.
///
public partial class AmazonVoiceIDClient : AmazonServiceClient, IAmazonVoiceID
{
private static IServiceMetadata serviceMetadata = new AmazonVoiceIDMetadata();
#region Constructors
///
/// Constructs AmazonVoiceIDClient 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 AmazonVoiceIDClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonVoiceIDConfig()) { }
///
/// Constructs AmazonVoiceIDClient 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 AmazonVoiceIDClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonVoiceIDConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonVoiceIDClient 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 AmazonVoiceIDClient Configuration Object
public AmazonVoiceIDClient(AmazonVoiceIDConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonVoiceIDClient with AWS Credentials
///
/// AWS Credentials
public AmazonVoiceIDClient(AWSCredentials credentials)
: this(credentials, new AmazonVoiceIDConfig())
{
}
///
/// Constructs AmazonVoiceIDClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonVoiceIDClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonVoiceIDConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonVoiceIDClient with AWS Credentials and an
/// AmazonVoiceIDClient Configuration object.
///
/// AWS Credentials
/// The AmazonVoiceIDClient Configuration Object
public AmazonVoiceIDClient(AWSCredentials credentials, AmazonVoiceIDConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonVoiceIDClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonVoiceIDClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonVoiceIDConfig())
{
}
///
/// Constructs AmazonVoiceIDClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonVoiceIDClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonVoiceIDConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonVoiceIDClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonVoiceIDClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonVoiceIDClient Configuration Object
public AmazonVoiceIDClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonVoiceIDConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonVoiceIDClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonVoiceIDClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonVoiceIDConfig())
{
}
///
/// Constructs AmazonVoiceIDClient 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 AmazonVoiceIDClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonVoiceIDConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonVoiceIDClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonVoiceIDClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonVoiceIDClient Configuration Object
public AmazonVoiceIDClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonVoiceIDConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IVoiceIDPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IVoiceIDPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new VoiceIDPaginatorFactory(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 AmazonVoiceIDEndpointResolver());
}
///
/// 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 AssociateFraudster
internal virtual AssociateFraudsterResponse AssociateFraudster(AssociateFraudsterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFraudsterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates the fraudsters with the watchlist specified in the same domain.
///
/// Container for the necessary parameters to execute the AssociateFraudster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateFraudster service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request exceeded the service quota. Refer to Voice
/// ID Service Quotas and try your request again.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for AssociateFraudster Operation
public virtual Task AssociateFraudsterAsync(AssociateFraudsterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFraudsterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDomain
internal virtual CreateDomainResponse CreateDomain(CreateDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a domain that contains all Amazon Connect Voice ID data, such as speakers,
/// fraudsters, customer audio, and voiceprints. Every domain is created with a default
/// watchlist that fraudsters can be a part of.
///
/// Container for the necessary parameters to execute the CreateDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDomain service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request exceeded the service quota. Refer to Voice
/// ID Service Quotas and try your request again.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for CreateDomain Operation
public virtual Task CreateDomainAsync(CreateDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateWatchlist
internal virtual CreateWatchlistResponse CreateWatchlist(CreateWatchlistRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWatchlistResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a watchlist that fraudsters can be a part of.
///
/// Container for the necessary parameters to execute the CreateWatchlist service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWatchlist service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request exceeded the service quota. Refer to Voice
/// ID Service Quotas and try your request again.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for CreateWatchlist Operation
public virtual Task CreateWatchlistAsync(CreateWatchlistRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWatchlistResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDomain
internal virtual DeleteDomainResponse DeleteDomain(DeleteDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified domain from Voice ID.
///
/// Container for the necessary parameters to execute the DeleteDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDomain service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DeleteDomain Operation
public virtual Task DeleteDomainAsync(DeleteDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFraudster
internal virtual DeleteFraudsterResponse DeleteFraudster(DeleteFraudsterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFraudsterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified fraudster from Voice ID. This action disassociates the fraudster
/// from any watchlists it is a part of.
///
/// Container for the necessary parameters to execute the DeleteFraudster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFraudster service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DeleteFraudster Operation
public virtual Task DeleteFraudsterAsync(DeleteFraudsterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFraudsterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSpeaker
internal virtual DeleteSpeakerResponse DeleteSpeaker(DeleteSpeakerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSpeakerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSpeakerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified speaker from Voice ID.
///
/// Container for the necessary parameters to execute the DeleteSpeaker service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSpeaker service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DeleteSpeaker Operation
public virtual Task DeleteSpeakerAsync(DeleteSpeakerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSpeakerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSpeakerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteWatchlist
internal virtual DeleteWatchlistResponse DeleteWatchlist(DeleteWatchlistRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWatchlistResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified watchlist from Voice ID. This API throws an exception when there
/// are fraudsters in the watchlist that you are trying to delete. You must delete the
/// fraudsters, and then delete the watchlist. Every domain has a default watchlist which
/// cannot be deleted.
///
/// Container for the necessary parameters to execute the DeleteWatchlist service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWatchlist service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DeleteWatchlist Operation
public virtual Task DeleteWatchlistAsync(DeleteWatchlistRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWatchlistResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomain
internal virtual DescribeDomainResponse DescribeDomain(DescribeDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the specified domain.
///
/// Container for the necessary parameters to execute the DescribeDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomain service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DescribeDomain Operation
public virtual Task DescribeDomainAsync(DescribeDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFraudster
internal virtual DescribeFraudsterResponse DescribeFraudster(DescribeFraudsterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFraudsterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the specified fraudster.
///
/// Container for the necessary parameters to execute the DescribeFraudster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFraudster service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DescribeFraudster Operation
public virtual Task DescribeFraudsterAsync(DescribeFraudsterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFraudsterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFraudsterRegistrationJob
internal virtual DescribeFraudsterRegistrationJobResponse DescribeFraudsterRegistrationJob(DescribeFraudsterRegistrationJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFraudsterRegistrationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFraudsterRegistrationJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the specified fraudster registration job.
///
/// Container for the necessary parameters to execute the DescribeFraudsterRegistrationJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFraudsterRegistrationJob service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DescribeFraudsterRegistrationJob Operation
public virtual Task DescribeFraudsterRegistrationJobAsync(DescribeFraudsterRegistrationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFraudsterRegistrationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFraudsterRegistrationJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSpeaker
internal virtual DescribeSpeakerResponse DescribeSpeaker(DescribeSpeakerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSpeakerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSpeakerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the specified speaker.
///
/// Container for the necessary parameters to execute the DescribeSpeaker service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSpeaker service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DescribeSpeaker Operation
public virtual Task DescribeSpeakerAsync(DescribeSpeakerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSpeakerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSpeakerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSpeakerEnrollmentJob
internal virtual DescribeSpeakerEnrollmentJobResponse DescribeSpeakerEnrollmentJob(DescribeSpeakerEnrollmentJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSpeakerEnrollmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSpeakerEnrollmentJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the specified speaker enrollment job.
///
/// Container for the necessary parameters to execute the DescribeSpeakerEnrollmentJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSpeakerEnrollmentJob service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DescribeSpeakerEnrollmentJob Operation
public virtual Task DescribeSpeakerEnrollmentJobAsync(DescribeSpeakerEnrollmentJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSpeakerEnrollmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSpeakerEnrollmentJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeWatchlist
internal virtual DescribeWatchlistResponse DescribeWatchlist(DescribeWatchlistRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWatchlistResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the specified watchlist.
///
/// Container for the necessary parameters to execute the DescribeWatchlist service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeWatchlist service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DescribeWatchlist Operation
public virtual Task DescribeWatchlistAsync(DescribeWatchlistRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWatchlistResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateFraudster
internal virtual DisassociateFraudsterResponse DisassociateFraudster(DisassociateFraudsterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateFraudsterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates the fraudsters from the watchlist specified. Voice ID always expects
/// a fraudster to be a part of at least one watchlist. If you try to disassociate a fraudster
/// from its only watchlist, a ValidationException
is thrown.
///
/// Container for the necessary parameters to execute the DisassociateFraudster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateFraudster service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for DisassociateFraudster Operation
public virtual Task DisassociateFraudsterAsync(DisassociateFraudsterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateFraudsterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateFraudsterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region EvaluateSession
internal virtual EvaluateSessionResponse EvaluateSession(EvaluateSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Evaluates a specified session based on audio data accumulated during a streaming Amazon
/// Connect Voice ID call.
///
/// Container for the necessary parameters to execute the EvaluateSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the EvaluateSession service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for EvaluateSession Operation
public virtual Task EvaluateSessionAsync(EvaluateSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EvaluateSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = EvaluateSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDomains
internal virtual ListDomainsResponse ListDomains(ListDomainsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the domains in the Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomains service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for ListDomains Operation
public virtual Task ListDomainsAsync(ListDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFraudsterRegistrationJobs
internal virtual ListFraudsterRegistrationJobsResponse ListFraudsterRegistrationJobs(ListFraudsterRegistrationJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFraudsterRegistrationJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFraudsterRegistrationJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the fraudster registration jobs in the domain with the given JobStatus
.
/// If JobStatus
is not provided, this lists all fraudster registration jobs
/// in the given domain.
///
/// Container for the necessary parameters to execute the ListFraudsterRegistrationJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFraudsterRegistrationJobs service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for ListFraudsterRegistrationJobs Operation
public virtual Task ListFraudsterRegistrationJobsAsync(ListFraudsterRegistrationJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFraudsterRegistrationJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFraudsterRegistrationJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFraudsters
internal virtual ListFraudstersResponse ListFraudsters(ListFraudstersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFraudstersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFraudstersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all fraudsters in a specified watchlist or domain.
///
/// Container for the necessary parameters to execute the ListFraudsters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFraudsters service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for ListFraudsters Operation
public virtual Task ListFraudstersAsync(ListFraudstersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFraudstersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFraudstersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSpeakerEnrollmentJobs
internal virtual ListSpeakerEnrollmentJobsResponse ListSpeakerEnrollmentJobs(ListSpeakerEnrollmentJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSpeakerEnrollmentJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSpeakerEnrollmentJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the speaker enrollment jobs in the domain with the specified JobStatus
.
/// If JobStatus
is not provided, this lists all jobs with all possible speaker
/// enrollment job statuses.
///
/// Container for the necessary parameters to execute the ListSpeakerEnrollmentJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSpeakerEnrollmentJobs service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for ListSpeakerEnrollmentJobs Operation
public virtual Task ListSpeakerEnrollmentJobsAsync(ListSpeakerEnrollmentJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSpeakerEnrollmentJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSpeakerEnrollmentJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSpeakers
internal virtual ListSpeakersResponse ListSpeakers(ListSpeakersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSpeakersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSpeakersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all speakers in a specified domain.
///
/// Container for the necessary parameters to execute the ListSpeakers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSpeakers service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for ListSpeakers Operation
public virtual Task ListSpeakersAsync(ListSpeakersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSpeakersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSpeakersResponseUnmarshaller.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);
}
///
/// Lists all tags associated with a specified Voice ID resource.
///
/// 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 VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// 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 ListWatchlists
internal virtual ListWatchlistsResponse ListWatchlists(ListWatchlistsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWatchlistsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWatchlistsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all watchlists in a specified domain.
///
/// Container for the necessary parameters to execute the ListWatchlists service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWatchlists service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for ListWatchlists Operation
public virtual Task ListWatchlistsAsync(ListWatchlistsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWatchlistsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWatchlistsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region OptOutSpeaker
internal virtual OptOutSpeakerResponse OptOutSpeaker(OptOutSpeakerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = OptOutSpeakerRequestMarshaller.Instance;
options.ResponseUnmarshaller = OptOutSpeakerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether
/// or not they already exist in Voice ID. If they don't yet exist, a new speaker is created
/// in an opted out state. If they already exist, their existing status is overridden
/// and they are opted out. Enrollment and evaluation authentication requests are rejected
/// for opted out speakers, and opted out speakers have no voice embeddings stored in
/// Voice ID.
///
/// Container for the necessary parameters to execute the OptOutSpeaker service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the OptOutSpeaker service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request exceeded the service quota. Refer to Voice
/// ID Service Quotas and try your request again.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for OptOutSpeaker Operation
public virtual Task OptOutSpeakerAsync(OptOutSpeakerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = OptOutSpeakerRequestMarshaller.Instance;
options.ResponseUnmarshaller = OptOutSpeakerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartFraudsterRegistrationJob
internal virtual StartFraudsterRegistrationJobResponse StartFraudsterRegistrationJob(StartFraudsterRegistrationJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFraudsterRegistrationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFraudsterRegistrationJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts a new batch fraudster registration job using provided details.
///
/// Container for the necessary parameters to execute the StartFraudsterRegistrationJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartFraudsterRegistrationJob service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request exceeded the service quota. Refer to Voice
/// ID Service Quotas and try your request again.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for StartFraudsterRegistrationJob Operation
public virtual Task StartFraudsterRegistrationJobAsync(StartFraudsterRegistrationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFraudsterRegistrationJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFraudsterRegistrationJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartSpeakerEnrollmentJob
internal virtual StartSpeakerEnrollmentJobResponse StartSpeakerEnrollmentJob(StartSpeakerEnrollmentJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSpeakerEnrollmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSpeakerEnrollmentJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts a new batch speaker enrollment job using specified details.
///
/// Container for the necessary parameters to execute the StartSpeakerEnrollmentJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartSpeakerEnrollmentJob service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request exceeded the service quota. Refer to Voice
/// ID Service Quotas and try your request again.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for StartSpeakerEnrollmentJob Operation
public virtual Task StartSpeakerEnrollmentJobAsync(StartSpeakerEnrollmentJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSpeakerEnrollmentJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSpeakerEnrollmentJobResponseUnmarshaller.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);
}
///
/// Tags a Voice ID resource with the provided list of tags.
///
/// 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 VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// 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 specified tags from a specified Amazon Connect Voice ID resource.
///
/// 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 VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// 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 UpdateDomain
internal virtual UpdateDomainResponse UpdateDomain(UpdateDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified domain. This API has clobber behavior, and clears and replaces
/// all attributes. If an optional field, such as 'Description' is not provided, it is
/// removed from the domain.
///
/// Container for the necessary parameters to execute the UpdateDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDomain service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for UpdateDomain Operation
public virtual Task UpdateDomainAsync(UpdateDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateWatchlist
internal virtual UpdateWatchlistResponse UpdateWatchlist(UpdateWatchlistRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWatchlistResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified watchlist. Every domain has a default watchlist which cannot
/// be updated.
///
/// Container for the necessary parameters to execute the UpdateWatchlist service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateWatchlist service method, as returned by VoiceID.
///
/// You do not have sufficient permissions to perform this action. Check the error message
/// and try again.
///
///
/// The request failed due to a conflict. Check the ConflictType
and error
/// message for more details.
///
///
/// The request failed due to an unknown error on the server side.
///
///
/// The specified resource cannot be found. Check the ResourceType
and error
/// message for more details.
///
///
/// The request was denied due to request throttling. Please slow down your request rate.
/// Refer to
/// Amazon Connect Voice ID Service API throttling quotas and try your request again.
///
///
/// The request failed one or more validations; check the error message for more details.
///
/// REST API Reference for UpdateWatchlist Operation
public virtual Task UpdateWatchlistAsync(UpdateWatchlistRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWatchlistRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWatchlistResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}