/*
* 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 transcribe-2017-10-26.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.TranscribeService.Model;
using Amazon.TranscribeService.Model.Internal.MarshallTransformations;
using Amazon.TranscribeService.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.TranscribeService
{
///
/// Implementation for accessing TranscribeService
///
/// Amazon Transcribe offers three main types of batch transcription: Standard,
/// Medical, and Call Analytics.
///
/// -
///
/// Standard transcriptions are the most common option. Refer to for details.
///
///
-
///
/// Medical transcriptions are tailored to medical professionals and incorporate
/// medical terms. A common use case for this service is transcribing doctor-patient dialogue
/// into after-visit notes. Refer to for details.
///
///
-
///
/// Call Analytics transcriptions are designed for use with call center audio
/// on two different channels; if you're looking for insight into customer service calls,
/// use this option. Refer to for details.
///
///
///
public partial class AmazonTranscribeServiceClient : AmazonServiceClient, IAmazonTranscribeService
{
private static IServiceMetadata serviceMetadata = new AmazonTranscribeServiceMetadata();
#region Constructors
///
/// Constructs AmazonTranscribeServiceClient 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 AmazonTranscribeServiceClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonTranscribeServiceConfig()) { }
///
/// Constructs AmazonTranscribeServiceClient 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 AmazonTranscribeServiceClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonTranscribeServiceConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonTranscribeServiceClient 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 AmazonTranscribeServiceClient Configuration Object
public AmazonTranscribeServiceClient(AmazonTranscribeServiceConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonTranscribeServiceClient with AWS Credentials
///
/// AWS Credentials
public AmazonTranscribeServiceClient(AWSCredentials credentials)
: this(credentials, new AmazonTranscribeServiceConfig())
{
}
///
/// Constructs AmazonTranscribeServiceClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonTranscribeServiceClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonTranscribeServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonTranscribeServiceClient with AWS Credentials and an
/// AmazonTranscribeServiceClient Configuration object.
///
/// AWS Credentials
/// The AmazonTranscribeServiceClient Configuration Object
public AmazonTranscribeServiceClient(AWSCredentials credentials, AmazonTranscribeServiceConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonTranscribeServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonTranscribeServiceClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonTranscribeServiceConfig())
{
}
///
/// Constructs AmazonTranscribeServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonTranscribeServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonTranscribeServiceConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonTranscribeServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonTranscribeServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonTranscribeServiceClient Configuration Object
public AmazonTranscribeServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonTranscribeServiceConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonTranscribeServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonTranscribeServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonTranscribeServiceConfig())
{
}
///
/// Constructs AmazonTranscribeServiceClient 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 AmazonTranscribeServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonTranscribeServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonTranscribeServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonTranscribeServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonTranscribeServiceClient Configuration Object
public AmazonTranscribeServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonTranscribeServiceConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private ITranscribeServicePaginatorFactory _paginators;
///
/// Paginators for the service
///
public ITranscribeServicePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new TranscribeServicePaginatorFactory(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 AmazonTranscribeServiceEndpointResolver());
}
///
/// 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 CreateCallAnalyticsCategory
internal virtual CreateCallAnalyticsCategoryResponse CreateCallAnalyticsCategory(CreateCallAnalyticsCategoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCallAnalyticsCategoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new Call Analytics category.
///
///
///
/// All categories are automatically applied to your Call Analytics transcriptions. Note
/// that in order to apply categories to your transcriptions, you must create them before
/// submitting your transcription request, as categories cannot be applied retroactively.
///
///
///
/// When creating a new category, you can use the InputType
parameter to
/// label the category as a POST_CALL
or a REAL_TIME
category.
/// POST_CALL
categories can only be applied to post-call transcriptions
/// and REAL_TIME
categories can only be applied to real-time transcriptions.
/// If you do not include InputType
, your category is created as a POST_CALL
/// category by default.
///
///
///
/// Call Analytics categories are composed of rules. For each category, you must create
/// between 1 and 20 rules. Rules can include these parameters: , , , and .
///
///
///
/// To update an existing category, see .
///
///
///
/// To learn more about Call Analytics categories, see Creating
/// categories for post-call transcriptions and Creating
/// categories for real-time transcriptions.
///
///
/// Container for the necessary parameters to execute the CreateCallAnalyticsCategory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateCallAnalyticsCategory service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for CreateCallAnalyticsCategory Operation
public virtual Task CreateCallAnalyticsCategoryAsync(CreateCallAnalyticsCategoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCallAnalyticsCategoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLanguageModel
internal virtual CreateLanguageModelResponse CreateLanguageModel(CreateLanguageModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLanguageModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLanguageModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new custom language model.
///
///
///
/// When creating a new custom language model, you must specify:
///
/// -
///
/// If you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample
/// rates under 16,000 Hz) base model
///
///
-
///
/// The location of your training and tuning files (this must be an Amazon S3 URI)
///
///
-
///
/// The language of your model
///
///
-
///
/// A unique name for your model
///
///
///
/// Container for the necessary parameters to execute the CreateLanguageModel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLanguageModel service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for CreateLanguageModel Operation
public virtual Task CreateLanguageModelAsync(CreateLanguageModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLanguageModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLanguageModelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateMedicalVocabulary
internal virtual CreateMedicalVocabularyResponse CreateMedicalVocabulary(CreateMedicalVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMedicalVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new custom medical vocabulary.
///
///
///
/// Before creating a new custom medical vocabulary, you must first upload a text file
/// that contains your vocabulary table into an Amazon S3 bucket. Note that this differs
/// from , where you can include a list of terms within your request using the Phrases
/// flag; CreateMedicalVocabulary
does not support the Phrases
/// flag and only accepts vocabularies in table format.
///
///
///
/// Each language has a character set that contains all allowed characters for that specific
/// language. If you use unsupported characters, your custom vocabulary request fails.
/// Refer to Character
/// Sets for Custom Vocabularies to get the character set for your language.
///
///
///
/// For more information, see Custom
/// vocabularies.
///
///
/// Container for the necessary parameters to execute the CreateMedicalVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateMedicalVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for CreateMedicalVocabulary Operation
public virtual Task CreateMedicalVocabularyAsync(CreateMedicalVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMedicalVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVocabulary
internal virtual CreateVocabularyResponse CreateVocabulary(CreateVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new custom vocabulary.
///
///
///
/// When creating a new custom vocabulary, you can either upload a text file that contains
/// your new entries, phrases, and terms into an Amazon S3 bucket and include the URI
/// in your request. Or you can include a list of terms directly in your request using
/// the Phrases
flag.
///
///
///
/// Each language has a character set that contains all allowed characters for that specific
/// language. If you use unsupported characters, your custom vocabulary request fails.
/// Refer to Character
/// Sets for Custom Vocabularies to get the character set for your language.
///
///
///
/// For more information, see Custom
/// vocabularies.
///
///
/// Container for the necessary parameters to execute the CreateVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for CreateVocabulary Operation
public virtual Task CreateVocabularyAsync(CreateVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVocabularyFilter
internal virtual CreateVocabularyFilterResponse CreateVocabularyFilter(CreateVocabularyFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVocabularyFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new custom vocabulary filter.
///
///
///
/// You can use custom vocabulary filters to mask, delete, or flag specific words from
/// your transcript. Custom vocabulary filters are commonly used to mask profanity in
/// transcripts.
///
///
///
/// Each language has a character set that contains all allowed characters for that specific
/// language. If you use unsupported characters, your custom vocabulary filter request
/// fails. Refer to Character
/// Sets for Custom Vocabularies to get the character set for your language.
///
///
///
/// For more information, see Vocabulary
/// filtering.
///
///
/// Container for the necessary parameters to execute the CreateVocabularyFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVocabularyFilter service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for CreateVocabularyFilter Operation
public virtual Task CreateVocabularyFilterAsync(CreateVocabularyFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVocabularyFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteCallAnalyticsCategory
internal virtual DeleteCallAnalyticsCategoryResponse DeleteCallAnalyticsCategory(DeleteCallAnalyticsCategoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCallAnalyticsCategoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a Call Analytics category. To use this operation, specify the name of the
/// category you want to delete using CategoryName
. Category names are case
/// sensitive.
///
/// Container for the necessary parameters to execute the DeleteCallAnalyticsCategory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCallAnalyticsCategory service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for DeleteCallAnalyticsCategory Operation
public virtual Task DeleteCallAnalyticsCategoryAsync(DeleteCallAnalyticsCategoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCallAnalyticsCategoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteCallAnalyticsJob
internal virtual DeleteCallAnalyticsJobResponse DeleteCallAnalyticsJob(DeleteCallAnalyticsJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCallAnalyticsJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCallAnalyticsJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a Call Analytics job. To use this operation, specify the name of the job you
/// want to delete using CallAnalyticsJobName
. Job names are case sensitive.
///
/// Container for the necessary parameters to execute the DeleteCallAnalyticsJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCallAnalyticsJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for DeleteCallAnalyticsJob Operation
public virtual Task DeleteCallAnalyticsJobAsync(DeleteCallAnalyticsJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCallAnalyticsJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCallAnalyticsJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteLanguageModel
internal virtual DeleteLanguageModelResponse DeleteLanguageModel(DeleteLanguageModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLanguageModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLanguageModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a custom language model. To use this operation, specify the name of the language
/// model you want to delete using ModelName
. custom language model names
/// are case sensitive.
///
/// Container for the necessary parameters to execute the DeleteLanguageModel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteLanguageModel service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for DeleteLanguageModel Operation
public virtual Task DeleteLanguageModelAsync(DeleteLanguageModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLanguageModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLanguageModelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteMedicalTranscriptionJob
internal virtual DeleteMedicalTranscriptionJobResponse DeleteMedicalTranscriptionJob(DeleteMedicalTranscriptionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMedicalTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMedicalTranscriptionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a medical transcription job. To use this operation, specify the name of the
/// job you want to delete using MedicalTranscriptionJobName
. Job names are
/// case sensitive.
///
/// Container for the necessary parameters to execute the DeleteMedicalTranscriptionJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteMedicalTranscriptionJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for DeleteMedicalTranscriptionJob Operation
public virtual Task DeleteMedicalTranscriptionJobAsync(DeleteMedicalTranscriptionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMedicalTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMedicalTranscriptionJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteMedicalVocabulary
internal virtual DeleteMedicalVocabularyResponse DeleteMedicalVocabulary(DeleteMedicalVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMedicalVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a custom medical vocabulary. To use this operation, specify the name of the
/// custom vocabulary you want to delete using VocabularyName
. Custom vocabulary
/// names are case sensitive.
///
/// Container for the necessary parameters to execute the DeleteMedicalVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteMedicalVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for DeleteMedicalVocabulary Operation
public virtual Task DeleteMedicalVocabularyAsync(DeleteMedicalVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMedicalVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteTranscriptionJob
internal virtual DeleteTranscriptionJobResponse DeleteTranscriptionJob(DeleteTranscriptionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTranscriptionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a transcription job. To use this operation, specify the name of the job you
/// want to delete using TranscriptionJobName
. Job names are case sensitive.
///
/// Container for the necessary parameters to execute the DeleteTranscriptionJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteTranscriptionJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for DeleteTranscriptionJob Operation
public virtual Task DeleteTranscriptionJobAsync(DeleteTranscriptionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTranscriptionJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVocabulary
internal virtual DeleteVocabularyResponse DeleteVocabulary(DeleteVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a custom vocabulary. To use this operation, specify the name of the custom
/// vocabulary you want to delete using VocabularyName
. Custom vocabulary
/// names are case sensitive.
///
/// Container for the necessary parameters to execute the DeleteVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for DeleteVocabulary Operation
public virtual Task DeleteVocabularyAsync(DeleteVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVocabularyFilter
internal virtual DeleteVocabularyFilterResponse DeleteVocabularyFilter(DeleteVocabularyFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVocabularyFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a custom vocabulary filter. To use this operation, specify the name of the
/// custom vocabulary filter you want to delete using VocabularyFilterName
.
/// Custom vocabulary filter names are case sensitive.
///
/// Container for the necessary parameters to execute the DeleteVocabularyFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVocabularyFilter service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for DeleteVocabularyFilter Operation
public virtual Task DeleteVocabularyFilterAsync(DeleteVocabularyFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVocabularyFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeLanguageModel
internal virtual DescribeLanguageModelResponse DescribeLanguageModel(DescribeLanguageModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLanguageModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLanguageModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified custom language model.
///
///
///
/// This operation also shows if the base language model that you used to create your
/// custom language model has been updated. If Amazon Transcribe has updated the base
/// model, you can create a new custom language model using the updated base model.
///
///
///
/// If you tried to create a new custom language model and the request wasn't successful,
/// you can use DescribeLanguageModel
to help identify the reason for this
/// failure.
///
///
/// Container for the necessary parameters to execute the DescribeLanguageModel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeLanguageModel service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for DescribeLanguageModel Operation
public virtual Task DescribeLanguageModelAsync(DescribeLanguageModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLanguageModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLanguageModelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetCallAnalyticsCategory
internal virtual GetCallAnalyticsCategoryResponse GetCallAnalyticsCategory(GetCallAnalyticsCategoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCallAnalyticsCategoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified Call Analytics category.
///
///
///
/// To get a list of your Call Analytics categories, use the operation.
///
///
/// Container for the necessary parameters to execute the GetCallAnalyticsCategory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCallAnalyticsCategory service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for GetCallAnalyticsCategory Operation
public virtual Task GetCallAnalyticsCategoryAsync(GetCallAnalyticsCategoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCallAnalyticsCategoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetCallAnalyticsJob
internal virtual GetCallAnalyticsJobResponse GetCallAnalyticsJob(GetCallAnalyticsJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCallAnalyticsJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCallAnalyticsJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified Call Analytics job.
///
///
///
/// To view the job's status, refer to CallAnalyticsJobStatus
. If the status
/// is COMPLETED
, the job is finished. You can find your completed transcript
/// at the URI specified in TranscriptFileUri
. If the status is FAILED
,
/// FailureReason
provides details on why your transcription job failed.
///
///
///
/// If you enabled personally identifiable information (PII) redaction, the redacted transcript
/// appears at the location specified in RedactedTranscriptFileUri
.
///
///
///
/// If you chose to redact the audio in your media file, you can find your redacted media
/// file at the location specified in RedactedMediaFileUri
.
///
///
///
/// To get a list of your Call Analytics jobs, use the operation.
///
///
/// Container for the necessary parameters to execute the GetCallAnalyticsJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCallAnalyticsJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for GetCallAnalyticsJob Operation
public virtual Task GetCallAnalyticsJobAsync(GetCallAnalyticsJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCallAnalyticsJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCallAnalyticsJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetMedicalTranscriptionJob
internal virtual GetMedicalTranscriptionJobResponse GetMedicalTranscriptionJob(GetMedicalTranscriptionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMedicalTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMedicalTranscriptionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified medical transcription job.
///
///
///
/// To view the status of the specified medical transcription job, check the TranscriptionJobStatus
/// field. If the status is COMPLETED
, the job is finished. You can find
/// the results at the location specified in TranscriptFileUri
. If the status
/// is FAILED
, FailureReason
provides details on why your transcription
/// job failed.
///
///
///
/// To get a list of your medical transcription jobs, use the operation.
///
///
/// Container for the necessary parameters to execute the GetMedicalTranscriptionJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetMedicalTranscriptionJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for GetMedicalTranscriptionJob Operation
public virtual Task GetMedicalTranscriptionJobAsync(GetMedicalTranscriptionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMedicalTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMedicalTranscriptionJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetMedicalVocabulary
internal virtual GetMedicalVocabularyResponse GetMedicalVocabulary(GetMedicalVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMedicalVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified custom medical vocabulary.
///
///
///
/// To view the status of the specified custom medical vocabulary, check the VocabularyState
/// field. If the status is READY
, your custom vocabulary is available to
/// use. If the status is FAILED
, FailureReason
provides details
/// on why your vocabulary failed.
///
///
///
/// To get a list of your custom medical vocabularies, use the operation.
///
///
/// Container for the necessary parameters to execute the GetMedicalVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetMedicalVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for GetMedicalVocabulary Operation
public virtual Task GetMedicalVocabularyAsync(GetMedicalVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMedicalVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTranscriptionJob
internal virtual GetTranscriptionJobResponse GetTranscriptionJob(GetTranscriptionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTranscriptionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified transcription job.
///
///
///
/// To view the status of the specified transcription job, check the TranscriptionJobStatus
/// field. If the status is COMPLETED
, the job is finished. You can find
/// the results at the location specified in TranscriptFileUri
. If the status
/// is FAILED
, FailureReason
provides details on why your transcription
/// job failed.
///
///
///
/// If you enabled content redaction, the redacted transcript can be found at the location
/// specified in RedactedTranscriptFileUri
.
///
///
///
/// To get a list of your transcription jobs, use the operation.
///
///
/// Container for the necessary parameters to execute the GetTranscriptionJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTranscriptionJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for GetTranscriptionJob Operation
public virtual Task GetTranscriptionJobAsync(GetTranscriptionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTranscriptionJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetVocabulary
internal virtual GetVocabularyResponse GetVocabulary(GetVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified custom vocabulary.
///
///
///
/// To view the status of the specified custom vocabulary, check the VocabularyState
/// field. If the status is READY
, your custom vocabulary is available to
/// use. If the status is FAILED
, FailureReason
provides details
/// on why your custom vocabulary failed.
///
///
///
/// To get a list of your custom vocabularies, use the operation.
///
///
/// Container for the necessary parameters to execute the GetVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for GetVocabulary Operation
public virtual Task GetVocabularyAsync(GetVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetVocabularyFilter
internal virtual GetVocabularyFilterResponse GetVocabularyFilter(GetVocabularyFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVocabularyFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides information about the specified custom vocabulary filter.
///
///
///
/// To get a list of your custom vocabulary filters, use the operation.
///
///
/// Container for the necessary parameters to execute the GetVocabularyFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetVocabularyFilter service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for GetVocabularyFilter Operation
public virtual Task GetVocabularyFilterAsync(GetVocabularyFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVocabularyFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCallAnalyticsCategories
internal virtual ListCallAnalyticsCategoriesResponse ListCallAnalyticsCategories(ListCallAnalyticsCategoriesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCallAnalyticsCategoriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCallAnalyticsCategoriesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of Call Analytics categories, including all rules that make up each
/// category.
///
///
///
/// To get detailed information about a specific Call Analytics category, use the operation.
///
///
/// Container for the necessary parameters to execute the ListCallAnalyticsCategories service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCallAnalyticsCategories service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListCallAnalyticsCategories Operation
public virtual Task ListCallAnalyticsCategoriesAsync(ListCallAnalyticsCategoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCallAnalyticsCategoriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCallAnalyticsCategoriesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCallAnalyticsJobs
internal virtual ListCallAnalyticsJobsResponse ListCallAnalyticsJobs(ListCallAnalyticsJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCallAnalyticsJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCallAnalyticsJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of Call Analytics jobs that match the specified criteria. If no criteria
/// are specified, all Call Analytics jobs are returned.
///
///
///
/// To get detailed information about a specific Call Analytics job, use the operation.
///
///
/// Container for the necessary parameters to execute the ListCallAnalyticsJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCallAnalyticsJobs service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListCallAnalyticsJobs Operation
public virtual Task ListCallAnalyticsJobsAsync(ListCallAnalyticsJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCallAnalyticsJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCallAnalyticsJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLanguageModels
internal virtual ListLanguageModelsResponse ListLanguageModels(ListLanguageModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLanguageModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLanguageModelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of custom language models that match the specified criteria. If no
/// criteria are specified, all custom language models are returned.
///
///
///
/// To get detailed information about a specific custom language model, use the operation.
///
///
/// Container for the necessary parameters to execute the ListLanguageModels service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLanguageModels service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListLanguageModels Operation
public virtual Task ListLanguageModelsAsync(ListLanguageModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLanguageModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLanguageModelsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMedicalTranscriptionJobs
internal virtual ListMedicalTranscriptionJobsResponse ListMedicalTranscriptionJobs(ListMedicalTranscriptionJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMedicalTranscriptionJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMedicalTranscriptionJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of medical transcription jobs that match the specified criteria. If
/// no criteria are specified, all medical transcription jobs are returned.
///
///
///
/// To get detailed information about a specific medical transcription job, use the operation.
///
///
/// Container for the necessary parameters to execute the ListMedicalTranscriptionJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMedicalTranscriptionJobs service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListMedicalTranscriptionJobs Operation
public virtual Task ListMedicalTranscriptionJobsAsync(ListMedicalTranscriptionJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMedicalTranscriptionJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMedicalTranscriptionJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMedicalVocabularies
internal virtual ListMedicalVocabulariesResponse ListMedicalVocabularies(ListMedicalVocabulariesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMedicalVocabulariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMedicalVocabulariesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of custom medical vocabularies that match the specified criteria.
/// If no criteria are specified, all custom medical vocabularies are returned.
///
///
///
/// To get detailed information about a specific custom medical vocabulary, use the operation.
///
///
/// Container for the necessary parameters to execute the ListMedicalVocabularies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMedicalVocabularies service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListMedicalVocabularies Operation
public virtual Task ListMedicalVocabulariesAsync(ListMedicalVocabulariesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMedicalVocabulariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMedicalVocabulariesResponseUnmarshaller.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 the specified transcription job, vocabulary, model,
/// or resource.
///
///
///
/// To learn more about using tags with Amazon Transcribe, refer to Tagging
/// resources.
///
///
/// 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 TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// 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 ListTranscriptionJobs
internal virtual ListTranscriptionJobsResponse ListTranscriptionJobs(ListTranscriptionJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTranscriptionJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTranscriptionJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of transcription jobs that match the specified criteria. If no criteria
/// are specified, all transcription jobs are returned.
///
///
///
/// To get detailed information about a specific transcription job, use the operation.
///
///
/// Container for the necessary parameters to execute the ListTranscriptionJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTranscriptionJobs service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListTranscriptionJobs Operation
public virtual Task ListTranscriptionJobsAsync(ListTranscriptionJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTranscriptionJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTranscriptionJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVocabularies
internal virtual ListVocabulariesResponse ListVocabularies(ListVocabulariesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVocabulariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVocabulariesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of custom vocabularies that match the specified criteria. If no criteria
/// are specified, all custom vocabularies are returned.
///
///
///
/// To get detailed information about a specific custom vocabulary, use the operation.
///
///
/// Container for the necessary parameters to execute the ListVocabularies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVocabularies service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListVocabularies Operation
public virtual Task ListVocabulariesAsync(ListVocabulariesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVocabulariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVocabulariesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVocabularyFilters
internal virtual ListVocabularyFiltersResponse ListVocabularyFilters(ListVocabularyFiltersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVocabularyFiltersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVocabularyFiltersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of custom vocabulary filters that match the specified criteria. If
/// no criteria are specified, all custom vocabularies are returned.
///
///
///
/// To get detailed information about a specific custom vocabulary filter, use the operation.
///
///
/// Container for the necessary parameters to execute the ListVocabularyFilters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVocabularyFilters service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for ListVocabularyFilters Operation
public virtual Task ListVocabularyFiltersAsync(ListVocabularyFiltersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVocabularyFiltersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVocabularyFiltersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartCallAnalyticsJob
internal virtual StartCallAnalyticsJobResponse StartCallAnalyticsJob(StartCallAnalyticsJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartCallAnalyticsJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartCallAnalyticsJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Transcribes the audio from a customer service call and applies any additional Request
/// Parameters you choose to include in your request.
///
///
///
/// In addition to many standard transcription features, Call Analytics provides you with
/// call characteristics, call summarization, speaker sentiment, and optional redaction
/// of your text transcript and your audio file. You can also apply custom categories
/// to flag specified conditions. To learn more about these features and insights, refer
/// to Analyzing
/// call center audio with Call Analytics.
///
///
///
/// If you want to apply categories to your Call Analytics job, you must create them before
/// submitting your job request. Categories cannot be retroactively applied to a job.
/// To create a new category, use the operation. To learn more about Call Analytics categories,
/// see Creating
/// categories for post-call transcriptions and Creating
/// categories for real-time transcriptions.
///
///
///
/// To make a StartCallAnalyticsJob
request, you must first upload your media
/// file into an Amazon S3 bucket; you can then specify the Amazon S3 location of the
/// file using the Media
parameter.
///
///
///
/// Note that job queuing is enabled by default for Call Analytics jobs.
///
///
///
/// You must include the following parameters in your StartCallAnalyticsJob
/// request:
///
/// -
///
///
region
: The Amazon Web Services Region where you are making your request.
/// For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer
/// to Amazon
/// Transcribe endpoints and quotas.
///
/// -
///
///
CallAnalyticsJobName
: A custom name that you create for your transcription
/// job that's unique within your Amazon Web Services account.
///
/// -
///
///
DataAccessRoleArn
: The Amazon Resource Name (ARN) of an IAM role that
/// has permissions to access the Amazon S3 bucket that contains your input files.
///
/// -
///
///
Media
(MediaFileUri
or RedactedMediaFileUri
):
/// The Amazon S3 location of your media file.
///
///
///
/// With Call Analytics, you can redact the audio contained in your media file by including
/// RedactedMediaFileUri
, instead of MediaFileUri
, to specify
/// the location of your input audio. If you choose to redact your audio, you can find
/// your redacted media at the location specified in the RedactedMediaFileUri
/// field of your response.
///
///
///
/// Container for the necessary parameters to execute the StartCallAnalyticsJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartCallAnalyticsJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for StartCallAnalyticsJob Operation
public virtual Task StartCallAnalyticsJobAsync(StartCallAnalyticsJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartCallAnalyticsJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartCallAnalyticsJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartMedicalTranscriptionJob
internal virtual StartMedicalTranscriptionJobResponse StartMedicalTranscriptionJob(StartMedicalTranscriptionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartMedicalTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartMedicalTranscriptionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Transcribes the audio from a medical dictation or conversation and applies any additional
/// Request Parameters you choose to include in your request.
///
///
///
/// In addition to many standard transcription features, Amazon Transcribe Medical provides
/// you with a robust medical vocabulary and, optionally, content identification, which
/// adds flags to personal health information (PHI). To learn more about these features,
/// refer to How
/// Amazon Transcribe Medical works.
///
///
///
/// To make a StartMedicalTranscriptionJob
request, you must first upload
/// your media file into an Amazon S3 bucket; you can then specify the S3 location of
/// the file using the Media
parameter.
///
///
///
/// You must include the following parameters in your StartMedicalTranscriptionJob
/// request:
///
/// -
///
///
region
: The Amazon Web Services Region where you are making your request.
/// For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer
/// to Amazon
/// Transcribe endpoints and quotas.
///
/// -
///
///
MedicalTranscriptionJobName
: A custom name you create for your transcription
/// job that is unique within your Amazon Web Services account.
///
/// -
///
///
Media
(MediaFileUri
): The Amazon S3 location of your media
/// file.
///
/// -
///
///
LanguageCode
: This must be en-US
.
///
/// -
///
///
OutputBucketName
: The Amazon S3 bucket where you want your transcript
/// stored. If you want your output stored in a sub-folder of this bucket, you must also
/// include OutputKey
.
///
/// -
///
///
Specialty
: This must be PRIMARYCARE
.
///
/// -
///
///
Type
: Choose whether your audio is a conversation or a dictation.
///
///
///
/// Container for the necessary parameters to execute the StartMedicalTranscriptionJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartMedicalTranscriptionJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for StartMedicalTranscriptionJob Operation
public virtual Task StartMedicalTranscriptionJobAsync(StartMedicalTranscriptionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartMedicalTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartMedicalTranscriptionJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartTranscriptionJob
internal virtual StartTranscriptionJobResponse StartTranscriptionJob(StartTranscriptionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTranscriptionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Transcribes the audio from a media file and applies any additional Request Parameters
/// you choose to include in your request.
///
///
///
/// To make a StartTranscriptionJob
request, you must first upload your media
/// file into an Amazon S3 bucket; you can then specify the Amazon S3 location of the
/// file using the Media
parameter.
///
///
///
/// You must include the following parameters in your StartTranscriptionJob
/// request:
///
/// -
///
///
region
: The Amazon Web Services Region where you are making your request.
/// For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer
/// to Amazon
/// Transcribe endpoints and quotas.
///
/// -
///
///
TranscriptionJobName
: A custom name you create for your transcription
/// job that is unique within your Amazon Web Services account.
///
/// -
///
///
Media
(MediaFileUri
): The Amazon S3 location of your media
/// file.
///
/// -
///
/// One of
LanguageCode
, IdentifyLanguage
, or IdentifyMultipleLanguages
:
/// If you know the language of your media file, specify it using the LanguageCode
/// parameter; you can find all valid language codes in the Supported
/// languages table. If you don't know the languages spoken in your media, use either
/// IdentifyLanguage
or IdentifyMultipleLanguages
and let Amazon
/// Transcribe identify the languages for you.
///
///
///
/// Container for the necessary parameters to execute the StartTranscriptionJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartTranscriptionJob service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
/// REST API Reference for StartTranscriptionJob Operation
public virtual Task StartTranscriptionJobAsync(StartTranscriptionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTranscriptionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTranscriptionJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds one or more custom tags, each in the form of a key:value pair, to the specified
/// resource.
///
///
///
/// To learn more about using tags with Amazon Transcribe, refer to Tagging
/// resources.
///
///
/// 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 TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// 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 the specified tags from the specified Amazon Transcribe resource.
///
///
///
/// If you include UntagResource
in your request, you must also include ResourceArn
/// and TagKeys
.
///
///
/// 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 TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// 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 UpdateCallAnalyticsCategory
internal virtual UpdateCallAnalyticsCategoryResponse UpdateCallAnalyticsCategory(UpdateCallAnalyticsCategoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCallAnalyticsCategoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified Call Analytics category with new rules. Note that the UpdateCallAnalyticsCategory
/// operation overwrites all existing rules contained in the specified category. You cannot
/// append additional rules onto an existing category.
///
///
///
/// To create a new category, see .
///
///
/// Container for the necessary parameters to execute the UpdateCallAnalyticsCategory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateCallAnalyticsCategory service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for UpdateCallAnalyticsCategory Operation
public virtual Task UpdateCallAnalyticsCategoryAsync(UpdateCallAnalyticsCategoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCallAnalyticsCategoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCallAnalyticsCategoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateMedicalVocabulary
internal virtual UpdateMedicalVocabularyResponse UpdateMedicalVocabulary(UpdateMedicalVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMedicalVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing custom medical vocabulary with new values. This operation overwrites
/// all existing information with your new values; you cannot append new terms onto an
/// existing custom vocabulary.
///
/// Container for the necessary parameters to execute the UpdateMedicalVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateMedicalVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for UpdateMedicalVocabulary Operation
public virtual Task UpdateMedicalVocabularyAsync(UpdateMedicalVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMedicalVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMedicalVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVocabulary
internal virtual UpdateVocabularyResponse UpdateVocabulary(UpdateVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing custom vocabulary with new values. This operation overwrites all
/// existing information with your new values; you cannot append new terms onto an existing
/// custom vocabulary.
///
/// Container for the necessary parameters to execute the UpdateVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVocabulary service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// A resource already exists with this name. Resource names must be unique within an
/// Amazon Web Services account.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for UpdateVocabulary Operation
public virtual Task UpdateVocabularyAsync(UpdateVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVocabularyFilter
internal virtual UpdateVocabularyFilterResponse UpdateVocabularyFilter(UpdateVocabularyFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVocabularyFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing custom vocabulary filter with a new list of words. The new list
/// you provide overwrites all previous entries; you cannot append new terms onto an existing
/// custom vocabulary filter.
///
/// Container for the necessary parameters to execute the UpdateVocabularyFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVocabularyFilter service method, as returned by TranscribeService.
///
/// Your request didn't pass one or more validation tests. This can occur when the entity
/// you're trying to delete doesn't exist or if it's in a non-terminal state (such as
/// IN PROGRESS
). See the exception message field for more information.
///
///
/// There was an internal error. Check the error message, correct the issue, and try your
/// request again.
///
///
/// You've either sent too many requests or your input file is too long. Wait before retrying
/// your request, or use a smaller file and try your request again.
///
///
/// We can't find the requested resource. Check that the specified name is correct and
/// try your request again.
///
/// REST API Reference for UpdateVocabularyFilter Operation
public virtual Task UpdateVocabularyFilterAsync(UpdateVocabularyFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVocabularyFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVocabularyFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}