/*
* 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 models.lex.v2-2020-08-07.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.LexModelsV2.Model;
using Amazon.LexModelsV2.Model.Internal.MarshallTransformations;
using Amazon.LexModelsV2.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.LexModelsV2
{
///
/// Implementation for accessing LexModelsV2
///
///
///
public partial class AmazonLexModelsV2Client : AmazonServiceClient, IAmazonLexModelsV2
{
private static IServiceMetadata serviceMetadata = new AmazonLexModelsV2Metadata();
private ILexModelsV2PaginatorFactory _paginators;
///
/// Paginators for the service
///
public ILexModelsV2PaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new LexModelsV2PaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonLexModelsV2Client 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 AmazonLexModelsV2Client()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonLexModelsV2Config()) { }
///
/// Constructs AmazonLexModelsV2Client 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 AmazonLexModelsV2Client(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonLexModelsV2Config{RegionEndpoint = region}) { }
///
/// Constructs AmazonLexModelsV2Client 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 AmazonLexModelsV2Client Configuration Object
public AmazonLexModelsV2Client(AmazonLexModelsV2Config config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonLexModelsV2Client with AWS Credentials
///
/// AWS Credentials
public AmazonLexModelsV2Client(AWSCredentials credentials)
: this(credentials, new AmazonLexModelsV2Config())
{
}
///
/// Constructs AmazonLexModelsV2Client with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonLexModelsV2Client(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonLexModelsV2Config{RegionEndpoint = region})
{
}
///
/// Constructs AmazonLexModelsV2Client with AWS Credentials and an
/// AmazonLexModelsV2Client Configuration object.
///
/// AWS Credentials
/// The AmazonLexModelsV2Client Configuration Object
public AmazonLexModelsV2Client(AWSCredentials credentials, AmazonLexModelsV2Config clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonLexModelsV2Client with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonLexModelsV2Client(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonLexModelsV2Config())
{
}
///
/// Constructs AmazonLexModelsV2Client with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonLexModelsV2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonLexModelsV2Config() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonLexModelsV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonLexModelsV2Client Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonLexModelsV2Client Configuration Object
public AmazonLexModelsV2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonLexModelsV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonLexModelsV2Client with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonLexModelsV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLexModelsV2Config())
{
}
///
/// Constructs AmazonLexModelsV2Client 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 AmazonLexModelsV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLexModelsV2Config{RegionEndpoint = region})
{
}
///
/// Constructs AmazonLexModelsV2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonLexModelsV2Client Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonLexModelsV2Client Configuration Object
public AmazonLexModelsV2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonLexModelsV2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonLexModelsV2EndpointResolver());
}
///
/// 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 BatchCreateCustomVocabularyItem
///
/// Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the BatchCreateCustomVocabularyItem service method.
///
/// The response from the BatchCreateCustomVocabularyItem service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BatchCreateCustomVocabularyItem Operation
public virtual BatchCreateCustomVocabularyItemResponse BatchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateCustomVocabularyItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateCustomVocabularyItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the BatchCreateCustomVocabularyItem service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchCreateCustomVocabularyItem service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BatchCreateCustomVocabularyItem Operation
public virtual Task BatchCreateCustomVocabularyItemAsync(BatchCreateCustomVocabularyItemRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateCustomVocabularyItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateCustomVocabularyItemResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchDeleteCustomVocabularyItem
///
/// Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the BatchDeleteCustomVocabularyItem service method.
///
/// The response from the BatchDeleteCustomVocabularyItem service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BatchDeleteCustomVocabularyItem Operation
public virtual BatchDeleteCustomVocabularyItemResponse BatchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteCustomVocabularyItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteCustomVocabularyItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the BatchDeleteCustomVocabularyItem service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchDeleteCustomVocabularyItem service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BatchDeleteCustomVocabularyItem Operation
public virtual Task BatchDeleteCustomVocabularyItemAsync(BatchDeleteCustomVocabularyItemRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteCustomVocabularyItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteCustomVocabularyItemResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchUpdateCustomVocabularyItem
///
/// Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the BatchUpdateCustomVocabularyItem service method.
///
/// The response from the BatchUpdateCustomVocabularyItem service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BatchUpdateCustomVocabularyItem Operation
public virtual BatchUpdateCustomVocabularyItemResponse BatchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateCustomVocabularyItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateCustomVocabularyItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the BatchUpdateCustomVocabularyItem service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchUpdateCustomVocabularyItem service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BatchUpdateCustomVocabularyItem Operation
public virtual Task BatchUpdateCustomVocabularyItemAsync(BatchUpdateCustomVocabularyItemRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateCustomVocabularyItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateCustomVocabularyItemResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BuildBotLocale
///
/// Builds a bot, its intents, and its slot types into a specific locale. A bot can be
/// built into multiple locales. At runtime the locale is used to choose a specific build
/// of the bot.
///
/// Container for the necessary parameters to execute the BuildBotLocale service method.
///
/// The response from the BuildBotLocale service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BuildBotLocale Operation
public virtual BuildBotLocaleResponse BuildBotLocale(BuildBotLocaleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BuildBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = BuildBotLocaleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Builds a bot, its intents, and its slot types into a specific locale. A bot can be
/// built into multiple locales. At runtime the locale is used to choose a specific build
/// of the bot.
///
/// Container for the necessary parameters to execute the BuildBotLocale service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BuildBotLocale service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for BuildBotLocale Operation
public virtual Task BuildBotLocaleAsync(BuildBotLocaleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BuildBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = BuildBotLocaleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateBot
///
/// Creates an Amazon Lex conversational bot.
///
/// Container for the necessary parameters to execute the CreateBot service method.
///
/// The response from the CreateBot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBot Operation
public virtual CreateBotResponse CreateBot(CreateBotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an Amazon Lex conversational bot.
///
/// Container for the necessary parameters to execute the CreateBot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBot Operation
public virtual Task CreateBotAsync(CreateBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateBotAlias
///
/// Creates an alias for the specified version of a bot. Use an alias to enable you to
/// change the version of a bot without updating applications that use the bot.
///
///
///
/// For example, you can create an alias called "PROD" that your applications use to call
/// the Amazon Lex bot.
///
///
/// Container for the necessary parameters to execute the CreateBotAlias service method.
///
/// The response from the CreateBotAlias service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBotAlias Operation
public virtual CreateBotAliasResponse CreateBotAlias(CreateBotAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an alias for the specified version of a bot. Use an alias to enable you to
/// change the version of a bot without updating applications that use the bot.
///
///
///
/// For example, you can create an alias called "PROD" that your applications use to call
/// the Amazon Lex bot.
///
///
/// Container for the necessary parameters to execute the CreateBotAlias service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBotAlias service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBotAlias Operation
public virtual Task CreateBotAliasAsync(CreateBotAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotAliasResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateBotLocale
///
/// Creates a locale in the bot. The locale contains the intents and slot types that the
/// bot uses in conversations with users in the specified language and locale. You must
/// add a locale to a bot before you can add intents and slot types to the bot.
///
/// Container for the necessary parameters to execute the CreateBotLocale service method.
///
/// The response from the CreateBotLocale service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBotLocale Operation
public virtual CreateBotLocaleResponse CreateBotLocale(CreateBotLocaleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotLocaleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a locale in the bot. The locale contains the intents and slot types that the
/// bot uses in conversations with users in the specified language and locale. You must
/// add a locale to a bot before you can add intents and slot types to the bot.
///
/// Container for the necessary parameters to execute the CreateBotLocale service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBotLocale service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBotLocale Operation
public virtual Task CreateBotLocaleAsync(CreateBotLocaleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotLocaleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateBotVersion
///
/// Creates a new version of the bot based on the DRAFT
version. If the DRAFT
/// version of this resource hasn't changed since you created the last version, Amazon
/// Lex doesn't create a new version, it returns the last created version.
///
///
///
/// When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent
/// versions increment by 1.
///
///
/// Container for the necessary parameters to execute the CreateBotVersion service method.
///
/// The response from the CreateBotVersion service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBotVersion Operation
public virtual CreateBotVersionResponse CreateBotVersion(CreateBotVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new version of the bot based on the DRAFT
version. If the DRAFT
/// version of this resource hasn't changed since you created the last version, Amazon
/// Lex doesn't create a new version, it returns the last created version.
///
///
///
/// When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent
/// versions increment by 1.
///
///
/// Container for the necessary parameters to execute the CreateBotVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBotVersion service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateBotVersion Operation
public virtual Task CreateBotVersionAsync(CreateBotVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBotVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBotVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateExport
///
/// Creates a zip archive containing the contents of a bot or a bot locale. The archive
/// contains a directory structure that contains JSON files that define the bot.
///
///
///
/// You can create an archive that contains the complete definition of a bot, or you can
/// specify that the archive contain only the definition of a single bot locale.
///
///
///
/// For more information about exporting bots, and about the structure of the export archive,
/// see
/// Importing and exporting bots
///
///
/// Container for the necessary parameters to execute the CreateExport service method.
///
/// The response from the CreateExport service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateExport Operation
public virtual CreateExportResponse CreateExport(CreateExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a zip archive containing the contents of a bot or a bot locale. The archive
/// contains a directory structure that contains JSON files that define the bot.
///
///
///
/// You can create an archive that contains the complete definition of a bot, or you can
/// specify that the archive contain only the definition of a single bot locale.
///
///
///
/// For more information about exporting bots, and about the structure of the export archive,
/// see
/// Importing and exporting bots
///
///
/// Container for the necessary parameters to execute the CreateExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateExport service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateExport Operation
public virtual Task CreateExportAsync(CreateExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateIntent
///
/// Creates an intent.
///
///
///
/// To define the interaction between the user and your bot, you define one or more intents.
/// For example, for a pizza ordering bot you would create an OrderPizza
/// intent.
///
///
///
/// When you create an intent, you must provide a name. You can optionally provide the
/// following:
///
/// -
///
/// Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza."
/// You can't provide utterances for built-in intents.
///
///
-
///
/// Information to be gathered. You specify slots for the information that you bot requests
/// from the user. You can specify standard slot types, such as date and time, or custom
/// slot types for your application.
///
///
-
///
/// How the intent is fulfilled. You can provide a Lambda function or configure the intent
/// to return the intent information to your client application. If you use a Lambda function,
/// Amazon Lex invokes the function when all of the intent information is available.
///
///
-
///
/// A confirmation prompt to send to the user to confirm an intent. For example, "Shall
/// I order your pizza?"
///
///
-
///
/// A conclusion statement to send to the user after the intent is fulfilled. For example,
/// "I ordered your pizza."
///
///
-
///
/// A follow-up prompt that asks the user for additional activity. For example, "Do you
/// want a drink with your pizza?"
///
///
///
/// Container for the necessary parameters to execute the CreateIntent service method.
///
/// The response from the CreateIntent service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateIntent Operation
public virtual CreateIntentResponse CreateIntent(CreateIntentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an intent.
///
///
///
/// To define the interaction between the user and your bot, you define one or more intents.
/// For example, for a pizza ordering bot you would create an OrderPizza
/// intent.
///
///
///
/// When you create an intent, you must provide a name. You can optionally provide the
/// following:
///
/// -
///
/// Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza."
/// You can't provide utterances for built-in intents.
///
///
-
///
/// Information to be gathered. You specify slots for the information that you bot requests
/// from the user. You can specify standard slot types, such as date and time, or custom
/// slot types for your application.
///
///
-
///
/// How the intent is fulfilled. You can provide a Lambda function or configure the intent
/// to return the intent information to your client application. If you use a Lambda function,
/// Amazon Lex invokes the function when all of the intent information is available.
///
///
-
///
/// A confirmation prompt to send to the user to confirm an intent. For example, "Shall
/// I order your pizza?"
///
///
-
///
/// A conclusion statement to send to the user after the intent is fulfilled. For example,
/// "I ordered your pizza."
///
///
-
///
/// A follow-up prompt that asks the user for additional activity. For example, "Do you
/// want a drink with your pizza?"
///
///
///
/// Container for the necessary parameters to execute the CreateIntent service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateIntent service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateIntent Operation
public virtual Task CreateIntentAsync(CreateIntentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIntentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIntentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateResourcePolicy
///
/// Creates a new resource policy with the specified policy statements.
///
/// Container for the necessary parameters to execute the CreateResourcePolicy service method.
///
/// The response from the CreateResourcePolicy service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateResourcePolicy Operation
public virtual CreateResourcePolicyResponse CreateResourcePolicy(CreateResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new resource policy with the specified policy statements.
///
/// Container for the necessary parameters to execute the CreateResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateResourcePolicy service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateResourcePolicy Operation
public virtual Task CreateResourcePolicyAsync(CreateResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateResourcePolicyStatement
///
/// Adds a new resource policy statement to a bot or bot alias. If a resource policy exists,
/// the statement is added to the current resource policy. If a policy doesn't exist,
/// a new policy is created.
///
///
///
/// You can't create a resource policy statement that allows cross-account access.
///
///
/// Container for the necessary parameters to execute the CreateResourcePolicyStatement service method.
///
/// The response from the CreateResourcePolicyStatement service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateResourcePolicyStatement Operation
public virtual CreateResourcePolicyStatementResponse CreateResourcePolicyStatement(CreateResourcePolicyStatementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResourcePolicyStatementRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResourcePolicyStatementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds a new resource policy statement to a bot or bot alias. If a resource policy exists,
/// the statement is added to the current resource policy. If a policy doesn't exist,
/// a new policy is created.
///
///
///
/// You can't create a resource policy statement that allows cross-account access.
///
///
/// Container for the necessary parameters to execute the CreateResourcePolicyStatement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateResourcePolicyStatement service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateResourcePolicyStatement Operation
public virtual Task CreateResourcePolicyStatementAsync(CreateResourcePolicyStatementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResourcePolicyStatementRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResourcePolicyStatementResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateSlot
///
/// Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For
/// example, an OrderPizza
intent might need slots for size, crust, and number
/// of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to
/// elicit a response from the user.
///
/// Container for the necessary parameters to execute the CreateSlot service method.
///
/// The response from the CreateSlot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateSlot Operation
public virtual CreateSlotResponse CreateSlot(CreateSlotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSlotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSlotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For
/// example, an OrderPizza
intent might need slots for size, crust, and number
/// of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to
/// elicit a response from the user.
///
/// Container for the necessary parameters to execute the CreateSlot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSlot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateSlot Operation
public virtual Task CreateSlotAsync(CreateSlotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSlotRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSlotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateSlotType
///
/// Creates a custom slot type
///
///
///
/// To create a custom slot type, specify a name for the slot type and a set of enumeration
/// values, the values that a slot of this type can assume.
///
///
/// Container for the necessary parameters to execute the CreateSlotType service method.
///
/// The response from the CreateSlotType service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateSlotType Operation
public virtual CreateSlotTypeResponse CreateSlotType(CreateSlotTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSlotTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSlotTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a custom slot type
///
///
///
/// To create a custom slot type, specify a name for the slot type and a set of enumeration
/// values, the values that a slot of this type can assume.
///
///
/// Container for the necessary parameters to execute the CreateSlotType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSlotType service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateSlotType Operation
public virtual Task CreateSlotTypeAsync(CreateSlotTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSlotTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSlotTypeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateTestSetDiscrepancyReport
///
/// Create a report that describes the differences between the bot and the test set.
///
/// Container for the necessary parameters to execute the CreateTestSetDiscrepancyReport service method.
///
/// The response from the CreateTestSetDiscrepancyReport service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateTestSetDiscrepancyReport Operation
public virtual CreateTestSetDiscrepancyReportResponse CreateTestSetDiscrepancyReport(CreateTestSetDiscrepancyReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTestSetDiscrepancyReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTestSetDiscrepancyReportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a report that describes the differences between the bot and the test set.
///
/// Container for the necessary parameters to execute the CreateTestSetDiscrepancyReport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateTestSetDiscrepancyReport service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateTestSetDiscrepancyReport Operation
public virtual Task CreateTestSetDiscrepancyReportAsync(CreateTestSetDiscrepancyReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTestSetDiscrepancyReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTestSetDiscrepancyReportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateUploadUrl
///
/// Gets a pre-signed S3 write URL that you use to upload the zip archive when importing
/// a bot or a bot locale.
///
/// Container for the necessary parameters to execute the CreateUploadUrl service method.
///
/// The response from the CreateUploadUrl service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateUploadUrl Operation
public virtual CreateUploadUrlResponse CreateUploadUrl(CreateUploadUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUploadUrlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a pre-signed S3 write URL that you use to upload the zip archive when importing
/// a bot or a bot locale.
///
/// Container for the necessary parameters to execute the CreateUploadUrl service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUploadUrl service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for CreateUploadUrl Operation
public virtual Task CreateUploadUrlAsync(CreateUploadUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUploadUrlResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteBot
///
/// Deletes all versions of a bot, including the Draft
version. To delete
/// a specific version, use the DeleteBotVersion
operation.
///
///
///
/// When you delete a bot, all of the resources contained in the bot are also deleted.
/// Deleting a bot removes all locales, intents, slot, and slot types defined for the
/// bot.
///
///
///
/// If a bot has an alias, the DeleteBot
operation returns a ResourceInUseException
/// exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck
/// parameter to true
.
///
///
/// Container for the necessary parameters to execute the DeleteBot service method.
///
/// The response from the DeleteBot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBot Operation
public virtual DeleteBotResponse DeleteBot(DeleteBotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes all versions of a bot, including the Draft
version. To delete
/// a specific version, use the DeleteBotVersion
operation.
///
///
///
/// When you delete a bot, all of the resources contained in the bot are also deleted.
/// Deleting a bot removes all locales, intents, slot, and slot types defined for the
/// bot.
///
///
///
/// If a bot has an alias, the DeleteBot
operation returns a ResourceInUseException
/// exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck
/// parameter to true
.
///
///
/// Container for the necessary parameters to execute the DeleteBot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBot Operation
public virtual Task DeleteBotAsync(DeleteBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteBotAlias
///
/// Deletes the specified bot alias.
///
/// Container for the necessary parameters to execute the DeleteBotAlias service method.
///
/// The response from the DeleteBotAlias service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBotAlias Operation
public virtual DeleteBotAliasResponse DeleteBotAlias(DeleteBotAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified bot alias.
///
/// Container for the necessary parameters to execute the DeleteBotAlias service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBotAlias service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBotAlias Operation
public virtual Task DeleteBotAliasAsync(DeleteBotAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotAliasResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteBotLocale
///
/// Removes a locale from a bot.
///
///
///
/// When you delete a locale, all intents, slots, and slot types defined for the locale
/// are also deleted.
///
///
/// Container for the necessary parameters to execute the DeleteBotLocale service method.
///
/// The response from the DeleteBotLocale service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBotLocale Operation
public virtual DeleteBotLocaleResponse DeleteBotLocale(DeleteBotLocaleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotLocaleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a locale from a bot.
///
///
///
/// When you delete a locale, all intents, slots, and slot types defined for the locale
/// are also deleted.
///
///
/// Container for the necessary parameters to execute the DeleteBotLocale service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBotLocale service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBotLocale Operation
public virtual Task DeleteBotLocaleAsync(DeleteBotLocaleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotLocaleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteBotVersion
///
/// Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot
/// operation.
///
/// Container for the necessary parameters to execute the DeleteBotVersion service method.
///
/// The response from the DeleteBotVersion service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBotVersion Operation
public virtual DeleteBotVersionResponse DeleteBotVersion(DeleteBotVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot
/// operation.
///
/// Container for the necessary parameters to execute the DeleteBotVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBotVersion service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteBotVersion Operation
public virtual Task DeleteBotVersionAsync(DeleteBotVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBotVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBotVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteCustomVocabulary
///
/// Removes a custom vocabulary from the specified locale in the specified bot.
///
/// Container for the necessary parameters to execute the DeleteCustomVocabulary service method.
///
/// The response from the DeleteCustomVocabulary service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteCustomVocabulary Operation
public virtual DeleteCustomVocabularyResponse DeleteCustomVocabulary(DeleteCustomVocabularyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomVocabularyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a custom vocabulary from the specified locale in the specified bot.
///
/// Container for the necessary parameters to execute the DeleteCustomVocabulary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCustomVocabulary service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteCustomVocabulary Operation
public virtual Task DeleteCustomVocabularyAsync(DeleteCustomVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomVocabularyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomVocabularyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteExport
///
/// Removes a previous export and the associated files stored in an S3 bucket.
///
/// Container for the necessary parameters to execute the DeleteExport service method.
///
/// The response from the DeleteExport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteExport Operation
public virtual DeleteExportResponse DeleteExport(DeleteExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a previous export and the associated files stored in an S3 bucket.
///
/// Container for the necessary parameters to execute the DeleteExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteExport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteExport Operation
public virtual Task DeleteExportAsync(DeleteExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteImport
///
/// Removes a previous import and the associated file stored in an S3 bucket.
///
/// Container for the necessary parameters to execute the DeleteImport service method.
///
/// The response from the DeleteImport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteImport Operation
public virtual DeleteImportResponse DeleteImport(DeleteImportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a previous import and the associated file stored in an S3 bucket.
///
/// Container for the necessary parameters to execute the DeleteImport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteImport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteImport Operation
public virtual Task DeleteImportAsync(DeleteImportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteIntent
///
/// Removes the specified intent.
///
///
///
/// Deleting an intent also deletes the slots associated with the intent.
///
///
/// Container for the necessary parameters to execute the DeleteIntent service method.
///
/// The response from the DeleteIntent service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteIntent Operation
public virtual DeleteIntentResponse DeleteIntent(DeleteIntentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes the specified intent.
///
///
///
/// Deleting an intent also deletes the slots associated with the intent.
///
///
/// Container for the necessary parameters to execute the DeleteIntent service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteIntent service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteIntent Operation
public virtual Task DeleteIntentAsync(DeleteIntentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIntentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIntentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResourcePolicy
///
/// Removes an existing policy from a bot or bot alias. If the resource doesn't have a
/// policy attached, Amazon Lex returns an exception.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy service method.
///
/// The response from the DeleteResourcePolicy service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
/// REST API Reference for DeleteResourcePolicy Operation
public virtual DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes an existing policy from a bot or bot alias. If the resource doesn't have a
/// policy attached, Amazon Lex returns an exception.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResourcePolicy service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
/// REST API Reference for DeleteResourcePolicy Operation
public virtual Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResourcePolicyStatement
///
/// Deletes a policy statement from a resource policy. If you delete the last statement
/// from a policy, the policy is deleted. If you specify a statement ID that doesn't exist
/// in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex
/// returns an exception.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicyStatement service method.
///
/// The response from the DeleteResourcePolicyStatement service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
/// REST API Reference for DeleteResourcePolicyStatement Operation
public virtual DeleteResourcePolicyStatementResponse DeleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyStatementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyStatementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a policy statement from a resource policy. If you delete the last statement
/// from a policy, the policy is deleted. If you specify a statement ID that doesn't exist
/// in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex
/// returns an exception.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicyStatement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResourcePolicyStatement service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
/// REST API Reference for DeleteResourcePolicyStatement Operation
public virtual Task DeleteResourcePolicyStatementAsync(DeleteResourcePolicyStatementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyStatementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyStatementResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSlot
///
/// Deletes the specified slot from an intent.
///
/// Container for the necessary parameters to execute the DeleteSlot service method.
///
/// The response from the DeleteSlot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteSlot Operation
public virtual DeleteSlotResponse DeleteSlot(DeleteSlotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSlotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSlotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified slot from an intent.
///
/// Container for the necessary parameters to execute the DeleteSlot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSlot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteSlot Operation
public virtual Task DeleteSlotAsync(DeleteSlotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSlotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSlotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSlotType
///
/// Deletes a slot type from a bot locale.
///
///
///
/// If a slot is using the slot type, Amazon Lex throws a ResourceInUseException
/// exception. To avoid the exception, set the skipResourceInUseCheck
parameter
/// to true
.
///
///
/// Container for the necessary parameters to execute the DeleteSlotType service method.
///
/// The response from the DeleteSlotType service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteSlotType Operation
public virtual DeleteSlotTypeResponse DeleteSlotType(DeleteSlotTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSlotTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSlotTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a slot type from a bot locale.
///
///
///
/// If a slot is using the slot type, Amazon Lex throws a ResourceInUseException
/// exception. To avoid the exception, set the skipResourceInUseCheck
parameter
/// to true
.
///
///
/// Container for the necessary parameters to execute the DeleteSlotType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSlotType service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteSlotType Operation
public virtual Task DeleteSlotTypeAsync(DeleteSlotTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSlotTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSlotTypeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteTestSet
///
/// The action to delete the selected test set.
///
/// Container for the necessary parameters to execute the DeleteTestSet service method.
///
/// The response from the DeleteTestSet service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteTestSet Operation
public virtual DeleteTestSetResponse DeleteTestSet(DeleteTestSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTestSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTestSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The action to delete the selected test set.
///
/// Container for the necessary parameters to execute the DeleteTestSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteTestSet service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteTestSet Operation
public virtual Task DeleteTestSetAsync(DeleteTestSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTestSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTestSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteUtterances
///
/// Deletes stored utterances.
///
///
///
/// Amazon Lex stores the utterances that users send to your bot. Utterances are stored
/// for 15 days for use with the ListAggregatedUtterances
/// operation, and then stored indefinitely for use in improving the ability of your bot
/// to respond to user input..
///
///
///
/// Use the DeleteUtterances
operation to manually delete utterances for
/// a specific session. When you use the DeleteUtterances
operation, utterances
/// stored for improving your bot's ability to respond to user input are deleted immediately.
/// Utterances stored for use with the ListAggregatedUtterances
operation
/// are deleted after 15 days.
///
///
/// Container for the necessary parameters to execute the DeleteUtterances service method.
///
/// The response from the DeleteUtterances service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteUtterances Operation
public virtual DeleteUtterancesResponse DeleteUtterances(DeleteUtterancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUtterancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUtterancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes stored utterances.
///
///
///
/// Amazon Lex stores the utterances that users send to your bot. Utterances are stored
/// for 15 days for use with the ListAggregatedUtterances
/// operation, and then stored indefinitely for use in improving the ability of your bot
/// to respond to user input..
///
///
///
/// Use the DeleteUtterances
operation to manually delete utterances for
/// a specific session. When you use the DeleteUtterances
operation, utterances
/// stored for improving your bot's ability to respond to user input are deleted immediately.
/// Utterances stored for use with the ListAggregatedUtterances
operation
/// are deleted after 15 days.
///
///
/// Container for the necessary parameters to execute the DeleteUtterances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUtterances service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DeleteUtterances Operation
public virtual Task DeleteUtterancesAsync(DeleteUtterancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUtterancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUtterancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeBot
///
/// Provides metadata information about a bot.
///
/// Container for the necessary parameters to execute the DescribeBot service method.
///
/// The response from the DescribeBot service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBot Operation
public virtual DescribeBotResponse DescribeBot(DescribeBotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides metadata information about a bot.
///
/// Container for the necessary parameters to execute the DescribeBot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeBot service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBot Operation
public virtual Task DescribeBotAsync(DescribeBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeBotAlias
///
/// Get information about a specific bot alias.
///
/// Container for the necessary parameters to execute the DescribeBotAlias service method.
///
/// The response from the DescribeBotAlias service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotAlias Operation
public virtual DescribeBotAliasResponse DescribeBotAlias(DescribeBotAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Get information about a specific bot alias.
///
/// Container for the necessary parameters to execute the DescribeBotAlias service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeBotAlias service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotAlias Operation
public virtual Task DescribeBotAliasAsync(DescribeBotAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotAliasResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeBotLocale
///
/// Describes the settings that a bot has for a specific locale.
///
/// Container for the necessary parameters to execute the DescribeBotLocale service method.
///
/// The response from the DescribeBotLocale service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotLocale Operation
public virtual DescribeBotLocaleResponse DescribeBotLocale(DescribeBotLocaleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotLocaleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the settings that a bot has for a specific locale.
///
/// Container for the necessary parameters to execute the DescribeBotLocale service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeBotLocale service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotLocale Operation
public virtual Task DescribeBotLocaleAsync(DescribeBotLocaleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotLocaleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotLocaleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeBotRecommendation
///
/// Provides metadata information about a bot recommendation. This information will enable
/// you to get a description on the request inputs, to download associated transcripts
/// after processing is complete, and to download intents and slot-types generated by
/// the bot recommendation.
///
/// Container for the necessary parameters to execute the DescribeBotRecommendation service method.
///
/// The response from the DescribeBotRecommendation service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotRecommendation Operation
public virtual DescribeBotRecommendationResponse DescribeBotRecommendation(DescribeBotRecommendationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotRecommendationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotRecommendationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides metadata information about a bot recommendation. This information will enable
/// you to get a description on the request inputs, to download associated transcripts
/// after processing is complete, and to download intents and slot-types generated by
/// the bot recommendation.
///
/// Container for the necessary parameters to execute the DescribeBotRecommendation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeBotRecommendation service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotRecommendation Operation
public virtual Task DescribeBotRecommendationAsync(DescribeBotRecommendationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotRecommendationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotRecommendationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeBotVersion
///
/// Provides metadata about a version of a bot.
///
/// Container for the necessary parameters to execute the DescribeBotVersion service method.
///
/// The response from the DescribeBotVersion service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotVersion Operation
public virtual DescribeBotVersionResponse DescribeBotVersion(DescribeBotVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides metadata about a version of a bot.
///
/// Container for the necessary parameters to execute the DescribeBotVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeBotVersion service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeBotVersion Operation
public virtual Task DescribeBotVersionAsync(DescribeBotVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBotVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBotVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCustomVocabularyMetadata
///
/// Provides metadata information about a custom vocabulary.
///
/// Container for the necessary parameters to execute the DescribeCustomVocabularyMetadata service method.
///
/// The response from the DescribeCustomVocabularyMetadata service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeCustomVocabularyMetadata Operation
public virtual DescribeCustomVocabularyMetadataResponse DescribeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomVocabularyMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomVocabularyMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides metadata information about a custom vocabulary.
///
/// Container for the necessary parameters to execute the DescribeCustomVocabularyMetadata service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCustomVocabularyMetadata service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeCustomVocabularyMetadata Operation
public virtual Task DescribeCustomVocabularyMetadataAsync(DescribeCustomVocabularyMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomVocabularyMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomVocabularyMetadataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeExport
///
/// Gets information about a specific export.
///
/// Container for the necessary parameters to execute the DescribeExport service method.
///
/// The response from the DescribeExport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeExport Operation
public virtual DescribeExportResponse DescribeExport(DescribeExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a specific export.
///
/// Container for the necessary parameters to execute the DescribeExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeExport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeExport Operation
public virtual Task DescribeExportAsync(DescribeExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeImport
///
/// Gets information about a specific import.
///
/// Container for the necessary parameters to execute the DescribeImport service method.
///
/// The response from the DescribeImport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeImport Operation
public virtual DescribeImportResponse DescribeImport(DescribeImportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a specific import.
///
/// Container for the necessary parameters to execute the DescribeImport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeImport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeImport Operation
public virtual Task DescribeImportAsync(DescribeImportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeIntent
///
/// Returns metadata about an intent.
///
/// Container for the necessary parameters to execute the DescribeIntent service method.
///
/// The response from the DescribeIntent service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeIntent Operation
public virtual DescribeIntentResponse DescribeIntent(DescribeIntentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeIntentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeIntentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns metadata about an intent.
///
/// Container for the necessary parameters to execute the DescribeIntent service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeIntent service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeIntent Operation
public virtual Task DescribeIntentAsync(DescribeIntentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeIntentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeIntentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeResourcePolicy
///
/// Gets the resource policy and policy revision for a bot or bot alias.
///
/// Container for the necessary parameters to execute the DescribeResourcePolicy service method.
///
/// The response from the DescribeResourcePolicy service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
/// REST API Reference for DescribeResourcePolicy Operation
public virtual DescribeResourcePolicyResponse DescribeResourcePolicy(DescribeResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the resource policy and policy revision for a bot or bot alias.
///
/// Container for the necessary parameters to execute the DescribeResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeResourcePolicy service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
/// REST API Reference for DescribeResourcePolicy Operation
public virtual Task DescribeResourcePolicyAsync(DescribeResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSlot
///
/// Gets metadata information about a slot.
///
/// Container for the necessary parameters to execute the DescribeSlot service method.
///
/// The response from the DescribeSlot service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeSlot Operation
public virtual DescribeSlotResponse DescribeSlot(DescribeSlotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSlotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSlotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets metadata information about a slot.
///
/// Container for the necessary parameters to execute the DescribeSlot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSlot service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeSlot Operation
public virtual Task DescribeSlotAsync(DescribeSlotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSlotRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSlotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSlotType
///
/// Gets metadata information about a slot type.
///
/// Container for the necessary parameters to execute the DescribeSlotType service method.
///
/// The response from the DescribeSlotType service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeSlotType Operation
public virtual DescribeSlotTypeResponse DescribeSlotType(DescribeSlotTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSlotTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSlotTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets metadata information about a slot type.
///
/// Container for the necessary parameters to execute the DescribeSlotType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSlotType service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeSlotType Operation
public virtual Task DescribeSlotTypeAsync(DescribeSlotTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSlotTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSlotTypeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeTestExecution
///
/// Gets metadata information about the test execution.
///
/// Container for the necessary parameters to execute the DescribeTestExecution service method.
///
/// The response from the DescribeTestExecution service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestExecution Operation
public virtual DescribeTestExecutionResponse DescribeTestExecution(DescribeTestExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets metadata information about the test execution.
///
/// Container for the necessary parameters to execute the DescribeTestExecution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTestExecution service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestExecution Operation
public virtual Task DescribeTestExecutionAsync(DescribeTestExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestExecutionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeTestSet
///
/// Gets metadata information about the test set.
///
/// Container for the necessary parameters to execute the DescribeTestSet service method.
///
/// The response from the DescribeTestSet service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestSet Operation
public virtual DescribeTestSetResponse DescribeTestSet(DescribeTestSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets metadata information about the test set.
///
/// Container for the necessary parameters to execute the DescribeTestSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTestSet service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestSet Operation
public virtual Task DescribeTestSetAsync(DescribeTestSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeTestSetDiscrepancyReport
///
/// Gets metadata information about the test set discrepancy report.
///
/// Container for the necessary parameters to execute the DescribeTestSetDiscrepancyReport service method.
///
/// The response from the DescribeTestSetDiscrepancyReport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestSetDiscrepancyReport Operation
public virtual DescribeTestSetDiscrepancyReportResponse DescribeTestSetDiscrepancyReport(DescribeTestSetDiscrepancyReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestSetDiscrepancyReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestSetDiscrepancyReportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets metadata information about the test set discrepancy report.
///
/// Container for the necessary parameters to execute the DescribeTestSetDiscrepancyReport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTestSetDiscrepancyReport service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestSetDiscrepancyReport Operation
public virtual Task DescribeTestSetDiscrepancyReportAsync(DescribeTestSetDiscrepancyReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestSetDiscrepancyReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestSetDiscrepancyReportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeTestSetGeneration
///
/// Gets metadata information about the test set generation.
///
/// Container for the necessary parameters to execute the DescribeTestSetGeneration service method.
///
/// The response from the DescribeTestSetGeneration service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestSetGeneration Operation
public virtual DescribeTestSetGenerationResponse DescribeTestSetGeneration(DescribeTestSetGenerationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestSetGenerationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestSetGenerationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets metadata information about the test set generation.
///
/// Container for the necessary parameters to execute the DescribeTestSetGeneration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTestSetGeneration service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for DescribeTestSetGeneration Operation
public virtual Task DescribeTestSetGenerationAsync(DescribeTestSetGenerationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTestSetGenerationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTestSetGenerationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTestExecutionArtifactsUrl
///
/// The pre-signed Amazon S3 URL to download the test execution result artifacts.
///
/// Container for the necessary parameters to execute the GetTestExecutionArtifactsUrl service method.
///
/// The response from the GetTestExecutionArtifactsUrl service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for GetTestExecutionArtifactsUrl Operation
public virtual GetTestExecutionArtifactsUrlResponse GetTestExecutionArtifactsUrl(GetTestExecutionArtifactsUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestExecutionArtifactsUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestExecutionArtifactsUrlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The pre-signed Amazon S3 URL to download the test execution result artifacts.
///
/// Container for the necessary parameters to execute the GetTestExecutionArtifactsUrl service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTestExecutionArtifactsUrl service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for GetTestExecutionArtifactsUrl Operation
public virtual Task GetTestExecutionArtifactsUrlAsync(GetTestExecutionArtifactsUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestExecutionArtifactsUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestExecutionArtifactsUrlResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAggregatedUtterances
///
/// Provides a list of utterances that users have sent to the bot.
///
///
///
/// Utterances are aggregated by the text of the utterance. For example, all instances
/// where customers used the phrase "I want to order pizza" are aggregated into the same
/// line in the response.
///
///
///
/// You can see both detected utterances and missed utterances. A detected utterance is
/// where the bot properly recognized the utterance and activated the associated intent.
/// A missed utterance was not recognized by the bot and didn't activate an intent.
///
///
///
/// Utterances can be aggregated for a bot alias or for a bot version, but not both at
/// the same time.
///
///
///
/// Utterances statistics are not generated under the following conditions:
///
/// -
///
/// The
childDirected
field was set to true when the bot was created.
///
/// -
///
/// You are using slot obfuscation with one or more slots.
///
///
-
///
/// You opted out of participating in improving Amazon Lex.
///
///
///
/// Container for the necessary parameters to execute the ListAggregatedUtterances service method.
///
/// The response from the ListAggregatedUtterances service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListAggregatedUtterances Operation
public virtual ListAggregatedUtterancesResponse ListAggregatedUtterances(ListAggregatedUtterancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAggregatedUtterancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAggregatedUtterancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides a list of utterances that users have sent to the bot.
///
///
///
/// Utterances are aggregated by the text of the utterance. For example, all instances
/// where customers used the phrase "I want to order pizza" are aggregated into the same
/// line in the response.
///
///
///
/// You can see both detected utterances and missed utterances. A detected utterance is
/// where the bot properly recognized the utterance and activated the associated intent.
/// A missed utterance was not recognized by the bot and didn't activate an intent.
///
///
///
/// Utterances can be aggregated for a bot alias or for a bot version, but not both at
/// the same time.
///
///
///
/// Utterances statistics are not generated under the following conditions:
///
/// -
///
/// The
childDirected
field was set to true when the bot was created.
///
/// -
///
/// You are using slot obfuscation with one or more slots.
///
///
-
///
/// You opted out of participating in improving Amazon Lex.
///
///
///
/// Container for the necessary parameters to execute the ListAggregatedUtterances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAggregatedUtterances service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListAggregatedUtterances Operation
public virtual Task ListAggregatedUtterancesAsync(ListAggregatedUtterancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAggregatedUtterancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAggregatedUtterancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBotAliases
///
/// Gets a list of aliases for the specified bot.
///
/// Container for the necessary parameters to execute the ListBotAliases service method.
///
/// The response from the ListBotAliases service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotAliases Operation
public virtual ListBotAliasesResponse ListBotAliases(ListBotAliasesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotAliasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotAliasesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of aliases for the specified bot.
///
/// Container for the necessary parameters to execute the ListBotAliases service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBotAliases service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotAliases Operation
public virtual Task ListBotAliasesAsync(ListBotAliasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotAliasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotAliasesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBotLocales
///
/// Gets a list of locales for the specified bot.
///
/// Container for the necessary parameters to execute the ListBotLocales service method.
///
/// The response from the ListBotLocales service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotLocales Operation
public virtual ListBotLocalesResponse ListBotLocales(ListBotLocalesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotLocalesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotLocalesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of locales for the specified bot.
///
/// Container for the necessary parameters to execute the ListBotLocales service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBotLocales service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotLocales Operation
public virtual Task ListBotLocalesAsync(ListBotLocalesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotLocalesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotLocalesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBotRecommendations
///
/// Get a list of bot recommendations that meet the specified criteria.
///
/// Container for the necessary parameters to execute the ListBotRecommendations service method.
///
/// The response from the ListBotRecommendations service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotRecommendations Operation
public virtual ListBotRecommendationsResponse ListBotRecommendations(ListBotRecommendationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotRecommendationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Get a list of bot recommendations that meet the specified criteria.
///
/// Container for the necessary parameters to execute the ListBotRecommendations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBotRecommendations service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotRecommendations Operation
public virtual Task ListBotRecommendationsAsync(ListBotRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotRecommendationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotRecommendationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBots
///
/// Gets a list of available bots.
///
/// Container for the necessary parameters to execute the ListBots service method.
///
/// The response from the ListBots service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBots Operation
public virtual ListBotsResponse ListBots(ListBotsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of available bots.
///
/// Container for the necessary parameters to execute the ListBots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBots service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBots Operation
public virtual Task ListBotsAsync(ListBotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBotVersions
///
/// Gets information about all of the versions of a bot.
///
///
///
/// The ListBotVersions
operation returns a summary of each version of a
/// bot. For example, if a bot has three numbered versions, the ListBotVersions
/// operation returns for summaries, one for each numbered version and one for the DRAFT
/// version.
///
///
///
/// The ListBotVersions
operation always returns at least one version, the
/// DRAFT
version.
///
///
/// Container for the necessary parameters to execute the ListBotVersions service method.
///
/// The response from the ListBotVersions service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotVersions Operation
public virtual ListBotVersionsResponse ListBotVersions(ListBotVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about all of the versions of a bot.
///
///
///
/// The ListBotVersions
operation returns a summary of each version of a
/// bot. For example, if a bot has three numbered versions, the ListBotVersions
/// operation returns for summaries, one for each numbered version and one for the DRAFT
/// version.
///
///
///
/// The ListBotVersions
operation always returns at least one version, the
/// DRAFT
version.
///
///
/// Container for the necessary parameters to execute the ListBotVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBotVersions service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBotVersions Operation
public virtual Task ListBotVersionsAsync(ListBotVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBotVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBotVersionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBuiltInIntents
///
/// Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
///
///
///
///
/// To use a built-in intent as a the base for your own intent, include the built-in intent
/// signature in the parentIntentSignature
parameter when you call the CreateIntent
/// operation. For more information, see CreateIntent.
///
///
/// Container for the necessary parameters to execute the ListBuiltInIntents service method.
///
/// The response from the ListBuiltInIntents service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBuiltInIntents Operation
public virtual ListBuiltInIntentsResponse ListBuiltInIntents(ListBuiltInIntentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBuiltInIntentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBuiltInIntentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
///
///
///
///
/// To use a built-in intent as a the base for your own intent, include the built-in intent
/// signature in the parentIntentSignature
parameter when you call the CreateIntent
/// operation. For more information, see CreateIntent.
///
///
/// Container for the necessary parameters to execute the ListBuiltInIntents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBuiltInIntents service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBuiltInIntents Operation
public virtual Task ListBuiltInIntentsAsync(ListBuiltInIntentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBuiltInIntentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBuiltInIntentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListBuiltInSlotTypes
///
/// Gets a list of built-in slot types that meet the specified criteria.
///
/// Container for the necessary parameters to execute the ListBuiltInSlotTypes service method.
///
/// The response from the ListBuiltInSlotTypes service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBuiltInSlotTypes Operation
public virtual ListBuiltInSlotTypesResponse ListBuiltInSlotTypes(ListBuiltInSlotTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBuiltInSlotTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBuiltInSlotTypesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of built-in slot types that meet the specified criteria.
///
/// Container for the necessary parameters to execute the ListBuiltInSlotTypes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBuiltInSlotTypes service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListBuiltInSlotTypes Operation
public virtual Task ListBuiltInSlotTypesAsync(ListBuiltInSlotTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListBuiltInSlotTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListBuiltInSlotTypesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCustomVocabularyItems
///
/// Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the ListCustomVocabularyItems service method.
///
/// The response from the ListCustomVocabularyItems service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListCustomVocabularyItems Operation
public virtual ListCustomVocabularyItemsResponse ListCustomVocabularyItems(ListCustomVocabularyItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomVocabularyItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomVocabularyItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
///
/// Container for the necessary parameters to execute the ListCustomVocabularyItems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCustomVocabularyItems service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListCustomVocabularyItems Operation
public virtual Task ListCustomVocabularyItemsAsync(ListCustomVocabularyItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCustomVocabularyItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCustomVocabularyItemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListExports
///
/// Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in
/// the list for 7 days.
///
/// Container for the necessary parameters to execute the ListExports service method.
///
/// The response from the ListExports service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListExports Operation
public virtual ListExportsResponse ListExports(ListExportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in
/// the list for 7 days.
///
/// Container for the necessary parameters to execute the ListExports service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListExports service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListExports Operation
public virtual Task ListExportsAsync(ListExportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExportsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListImports
///
/// Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in
/// the list for 7 days.
///
/// Container for the necessary parameters to execute the ListImports service method.
///
/// The response from the ListImports service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListImports Operation
public virtual ListImportsResponse ListImports(ListImportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListImportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListImportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in
/// the list for 7 days.
///
/// Container for the necessary parameters to execute the ListImports service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListImports service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListImports Operation
public virtual Task ListImportsAsync(ListImportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListImportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListImportsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListIntentMetrics
///
/// Retrieves summary metrics for the intents in your bot. The following fields are required:
///
/// -
///
///
metrics
– A list of AnalyticsIntentMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// You can specify only one order
in a given request.
///
///
/// Container for the necessary parameters to execute the ListIntentMetrics service method.
///
/// The response from the ListIntentMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntentMetrics Operation
public virtual ListIntentMetricsResponse ListIntentMetrics(ListIntentMetricsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentMetricsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves summary metrics for the intents in your bot. The following fields are required:
///
/// -
///
///
metrics
– A list of AnalyticsIntentMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// You can specify only one order
in a given request.
///
///
/// Container for the necessary parameters to execute the ListIntentMetrics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListIntentMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntentMetrics Operation
public virtual Task ListIntentMetricsAsync(ListIntentMetricsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentMetricsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListIntentPaths
///
/// Retrieves summary statistics for a path of intents that users take over sessions with
/// your bot. The following fields are required:
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
/// -
///
///
intentPath
– Define an order of intents for which you want to retrieve
/// metrics. Separate intents in the path with a forward slash. For example, populate
/// the intentPath
field with /BookCar/BookHotel
to see details
/// about how many times users invoked the BookCar
and BookHotel
/// intents in that order.
///
///
///
/// Use the optional filters
field to filter the results.
///
///
/// Container for the necessary parameters to execute the ListIntentPaths service method.
///
/// The response from the ListIntentPaths service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntentPaths Operation
public virtual ListIntentPathsResponse ListIntentPaths(ListIntentPathsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentPathsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentPathsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves summary statistics for a path of intents that users take over sessions with
/// your bot. The following fields are required:
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
/// -
///
///
intentPath
– Define an order of intents for which you want to retrieve
/// metrics. Separate intents in the path with a forward slash. For example, populate
/// the intentPath
field with /BookCar/BookHotel
to see details
/// about how many times users invoked the BookCar
and BookHotel
/// intents in that order.
///
///
///
/// Use the optional filters
field to filter the results.
///
///
/// Container for the necessary parameters to execute the ListIntentPaths service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListIntentPaths service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntentPaths Operation
public virtual Task ListIntentPathsAsync(ListIntentPathsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentPathsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentPathsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListIntents
///
/// Get a list of intents that meet the specified criteria.
///
/// Container for the necessary parameters to execute the ListIntents service method.
///
/// The response from the ListIntents service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntents Operation
public virtual ListIntentsResponse ListIntents(ListIntentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Get a list of intents that meet the specified criteria.
///
/// Container for the necessary parameters to execute the ListIntents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListIntents service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntents Operation
public virtual Task ListIntentsAsync(ListIntentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListIntentStageMetrics
///
/// Retrieves summary metrics for the stages within intents in your bot. The following
/// fields are required:
///
/// -
///
///
metrics
– A list of AnalyticsIntentStageMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// You can only specify one order
in a given request.
///
///
/// Container for the necessary parameters to execute the ListIntentStageMetrics service method.
///
/// The response from the ListIntentStageMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntentStageMetrics Operation
public virtual ListIntentStageMetricsResponse ListIntentStageMetrics(ListIntentStageMetricsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentStageMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentStageMetricsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves summary metrics for the stages within intents in your bot. The following
/// fields are required:
///
/// -
///
///
metrics
– A list of AnalyticsIntentStageMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// You can only specify one order
in a given request.
///
///
/// Container for the necessary parameters to execute the ListIntentStageMetrics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListIntentStageMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListIntentStageMetrics Operation
public virtual Task ListIntentStageMetricsAsync(ListIntentStageMetricsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIntentStageMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIntentStageMetricsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListRecommendedIntents
///
/// Gets a list of recommended intents provided by the bot recommendation that you can
/// use in your bot. Intents in the response are ordered by relevance.
///
/// Container for the necessary parameters to execute the ListRecommendedIntents service method.
///
/// The response from the ListRecommendedIntents service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListRecommendedIntents Operation
public virtual ListRecommendedIntentsResponse ListRecommendedIntents(ListRecommendedIntentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRecommendedIntentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRecommendedIntentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of recommended intents provided by the bot recommendation that you can
/// use in your bot. Intents in the response are ordered by relevance.
///
/// Container for the necessary parameters to execute the ListRecommendedIntents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRecommendedIntents service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListRecommendedIntents Operation
public virtual Task ListRecommendedIntentsAsync(ListRecommendedIntentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRecommendedIntentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRecommendedIntentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSessionAnalyticsData
///
/// Retrieves a list of metadata for individual user sessions with your bot. The startDateTime
/// and endDateTime
fields are required. These fields define a time range
/// for which you want to retrieve results. Of the optional fields, you can organize the
/// results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results and the sortBy
/// field to specify the values by which to sort the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Container for the necessary parameters to execute the ListSessionAnalyticsData service method.
///
/// The response from the ListSessionAnalyticsData service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSessionAnalyticsData Operation
public virtual ListSessionAnalyticsDataResponse ListSessionAnalyticsData(ListSessionAnalyticsDataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSessionAnalyticsDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSessionAnalyticsDataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of metadata for individual user sessions with your bot. The startDateTime
/// and endDateTime
fields are required. These fields define a time range
/// for which you want to retrieve results. Of the optional fields, you can organize the
/// results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results and the sortBy
/// field to specify the values by which to sort the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Container for the necessary parameters to execute the ListSessionAnalyticsData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSessionAnalyticsData service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSessionAnalyticsData Operation
public virtual Task ListSessionAnalyticsDataAsync(ListSessionAnalyticsDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSessionAnalyticsDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSessionAnalyticsDataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSessionMetrics
///
/// Retrieves summary metrics for the user sessions with your bot. The following fields
/// are required:
///
/// -
///
///
metrics
– A list of AnalyticsSessionMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// Currently, you can specify it in either field, but not in both.
///
///
/// Container for the necessary parameters to execute the ListSessionMetrics service method.
///
/// The response from the ListSessionMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSessionMetrics Operation
public virtual ListSessionMetricsResponse ListSessionMetrics(ListSessionMetricsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSessionMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSessionMetricsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves summary metrics for the user sessions with your bot. The following fields
/// are required:
///
/// -
///
///
metrics
– A list of AnalyticsSessionMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// Currently, you can specify it in either field, but not in both.
///
///
/// Container for the necessary parameters to execute the ListSessionMetrics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSessionMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSessionMetrics Operation
public virtual Task ListSessionMetricsAsync(ListSessionMetricsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSessionMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSessionMetricsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSlots
///
/// Gets a list of slots that match the specified criteria.
///
/// Container for the necessary parameters to execute the ListSlots service method.
///
/// The response from the ListSlots service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSlots Operation
public virtual ListSlotsResponse ListSlots(ListSlotsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSlotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSlotsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of slots that match the specified criteria.
///
/// Container for the necessary parameters to execute the ListSlots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSlots service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSlots Operation
public virtual Task ListSlotsAsync(ListSlotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSlotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSlotsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSlotTypes
///
/// Gets a list of slot types that match the specified criteria.
///
/// Container for the necessary parameters to execute the ListSlotTypes service method.
///
/// The response from the ListSlotTypes service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSlotTypes Operation
public virtual ListSlotTypesResponse ListSlotTypes(ListSlotTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSlotTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSlotTypesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of slot types that match the specified criteria.
///
/// Container for the necessary parameters to execute the ListSlotTypes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSlotTypes service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListSlotTypes Operation
public virtual Task ListSlotTypesAsync(ListSlotTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSlotTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSlotTypesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels
/// can have tags associated with them.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels
/// can have tags associated with them.
///
/// 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 LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters 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 ListTestExecutionResultItems
///
/// Gets a list of test execution result items.
///
/// Container for the necessary parameters to execute the ListTestExecutionResultItems service method.
///
/// The response from the ListTestExecutionResultItems service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestExecutionResultItems Operation
public virtual ListTestExecutionResultItemsResponse ListTestExecutionResultItems(ListTestExecutionResultItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestExecutionResultItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestExecutionResultItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of test execution result items.
///
/// Container for the necessary parameters to execute the ListTestExecutionResultItems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestExecutionResultItems service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestExecutionResultItems Operation
public virtual Task ListTestExecutionResultItemsAsync(ListTestExecutionResultItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestExecutionResultItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestExecutionResultItemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTestExecutions
///
/// The list of test set executions.
///
/// Container for the necessary parameters to execute the ListTestExecutions service method.
///
/// The response from the ListTestExecutions service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestExecutions Operation
public virtual ListTestExecutionsResponse ListTestExecutions(ListTestExecutionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestExecutionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestExecutionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The list of test set executions.
///
/// Container for the necessary parameters to execute the ListTestExecutions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestExecutions service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestExecutions Operation
public virtual Task ListTestExecutionsAsync(ListTestExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestExecutionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestExecutionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTestSetRecords
///
/// The list of test set records.
///
/// Container for the necessary parameters to execute the ListTestSetRecords service method.
///
/// The response from the ListTestSetRecords service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestSetRecords Operation
public virtual ListTestSetRecordsResponse ListTestSetRecords(ListTestSetRecordsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestSetRecordsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestSetRecordsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The list of test set records.
///
/// Container for the necessary parameters to execute the ListTestSetRecords service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestSetRecords service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestSetRecords Operation
public virtual Task ListTestSetRecordsAsync(ListTestSetRecordsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestSetRecordsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestSetRecordsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTestSets
///
/// The list of the test sets
///
/// Container for the necessary parameters to execute the ListTestSets service method.
///
/// The response from the ListTestSets service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestSets Operation
public virtual ListTestSetsResponse ListTestSets(ListTestSetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestSetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestSetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The list of the test sets
///
/// Container for the necessary parameters to execute the ListTestSets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestSets service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListTestSets Operation
public virtual Task ListTestSetsAsync(ListTestSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestSetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestSetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUtteranceAnalyticsData
///
///
///
/// To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances
/// operation, which provides access to utterance-related analytics. See Viewing
/// utterance statistics for the IAM policy to apply to the IAM role.
///
///
///
/// Retrieves a list of metadata for individual user utterances to your bot. The following
/// fields are required:
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results and the sortBy
/// field to specify the values by which to sort the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Container for the necessary parameters to execute the ListUtteranceAnalyticsData service method.
///
/// The response from the ListUtteranceAnalyticsData service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListUtteranceAnalyticsData Operation
public virtual ListUtteranceAnalyticsDataResponse ListUtteranceAnalyticsData(ListUtteranceAnalyticsDataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUtteranceAnalyticsDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUtteranceAnalyticsDataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances
/// operation, which provides access to utterance-related analytics. See Viewing
/// utterance statistics for the IAM policy to apply to the IAM role.
///
///
///
/// Retrieves a list of metadata for individual user utterances to your bot. The following
/// fields are required:
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results and the sortBy
/// field to specify the values by which to sort the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Container for the necessary parameters to execute the ListUtteranceAnalyticsData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUtteranceAnalyticsData service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListUtteranceAnalyticsData Operation
public virtual Task ListUtteranceAnalyticsDataAsync(ListUtteranceAnalyticsDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUtteranceAnalyticsDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUtteranceAnalyticsDataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUtteranceMetrics
///
///
///
/// To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances
/// operation, which provides access to utterance-related analytics. See Viewing
/// utterance statistics for the IAM policy to apply to the IAM role.
///
///
///
/// Retrieves summary metrics for the utterances in your bot. The following fields are
/// required:
///
/// -
///
///
metrics
– A list of AnalyticsUtteranceMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// Currently, you can specify it in either field, but not in both.
///
///
/// Container for the necessary parameters to execute the ListUtteranceMetrics service method.
///
/// The response from the ListUtteranceMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListUtteranceMetrics Operation
public virtual ListUtteranceMetricsResponse ListUtteranceMetrics(ListUtteranceMetricsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUtteranceMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUtteranceMetricsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances
/// operation, which provides access to utterance-related analytics. See Viewing
/// utterance statistics for the IAM policy to apply to the IAM role.
///
///
///
/// Retrieves summary metrics for the utterances in your bot. The following fields are
/// required:
///
/// -
///
///
metrics
– A list of AnalyticsUtteranceMetric
/// objects. In each object, use the name
field to specify the metric to
/// calculate, the statistic
field to specify whether to calculate the Sum
,
/// Average
, or Max
number, and the order
field
/// to specify whether to sort the results in Ascending
or Descending
/// order.
///
/// -
///
///
startDateTime
and endDateTime
– Define a time range for
/// which you want to retrieve results.
///
///
///
/// Of the optional fields, you can organize the results in the following ways:
///
/// -
///
/// Use the
filters
field to filter the results, the groupBy
/// field to specify categories by which to group the results, and the binBy
/// field to specify time intervals by which to group the results.
///
/// -
///
/// Use the
maxResults
field to limit the number of results to return in
/// a single response and the nextToken
field to return the next batch of
/// results if the response does not return the full set of results.
///
///
///
/// Note that an order
field exists in both binBy
and metrics
.
/// Currently, you can specify it in either field, but not in both.
///
///
/// Container for the necessary parameters to execute the ListUtteranceMetrics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUtteranceMetrics service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for ListUtteranceMetrics Operation
public virtual Task ListUtteranceMetricsAsync(ListUtteranceMetricsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUtteranceMetricsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUtteranceMetricsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SearchAssociatedTranscripts
///
/// Search for associated transcripts that meet the specified criteria.
///
/// Container for the necessary parameters to execute the SearchAssociatedTranscripts service method.
///
/// The response from the SearchAssociatedTranscripts service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for SearchAssociatedTranscripts Operation
public virtual SearchAssociatedTranscriptsResponse SearchAssociatedTranscripts(SearchAssociatedTranscriptsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchAssociatedTranscriptsRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchAssociatedTranscriptsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Search for associated transcripts that meet the specified criteria.
///
/// Container for the necessary parameters to execute the SearchAssociatedTranscripts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SearchAssociatedTranscripts service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for SearchAssociatedTranscripts Operation
public virtual Task SearchAssociatedTranscriptsAsync(SearchAssociatedTranscriptsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchAssociatedTranscriptsRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchAssociatedTranscriptsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartBotRecommendation
///
/// Use this to provide your transcript data, and to start the bot recommendation process.
///
/// Container for the necessary parameters to execute the StartBotRecommendation service method.
///
/// The response from the StartBotRecommendation service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartBotRecommendation Operation
public virtual StartBotRecommendationResponse StartBotRecommendation(StartBotRecommendationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartBotRecommendationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartBotRecommendationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Use this to provide your transcript data, and to start the bot recommendation process.
///
/// Container for the necessary parameters to execute the StartBotRecommendation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartBotRecommendation service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartBotRecommendation Operation
public virtual Task StartBotRecommendationAsync(StartBotRecommendationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartBotRecommendationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartBotRecommendationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartImport
///
/// Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you
/// uploaded to an S3 bucket.
///
/// Container for the necessary parameters to execute the StartImport service method.
///
/// The response from the StartImport service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartImport Operation
public virtual StartImportResponse StartImport(StartImportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you
/// uploaded to an S3 bucket.
///
/// Container for the necessary parameters to execute the StartImport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartImport service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartImport Operation
public virtual Task StartImportAsync(StartImportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartTestExecution
///
/// The action to start test set execution.
///
/// Container for the necessary parameters to execute the StartTestExecution service method.
///
/// The response from the StartTestExecution service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartTestExecution Operation
public virtual StartTestExecutionResponse StartTestExecution(StartTestExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTestExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTestExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The action to start test set execution.
///
/// Container for the necessary parameters to execute the StartTestExecution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartTestExecution service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartTestExecution Operation
public virtual Task StartTestExecutionAsync(StartTestExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTestExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTestExecutionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartTestSetGeneration
///
/// The action to start the generation of test set.
///
/// Container for the necessary parameters to execute the StartTestSetGeneration service method.
///
/// The response from the StartTestSetGeneration service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartTestSetGeneration Operation
public virtual StartTestSetGenerationResponse StartTestSetGeneration(StartTestSetGenerationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTestSetGenerationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTestSetGenerationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// The action to start the generation of test set.
///
/// Container for the necessary parameters to execute the StartTestSetGeneration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartTestSetGeneration service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StartTestSetGeneration Operation
public virtual Task StartTestSetGenerationAsync(StartTestSetGenerationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTestSetGenerationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTestSetGenerationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopBotRecommendation
///
/// Stop an already running Bot Recommendation request.
///
/// Container for the necessary parameters to execute the StopBotRecommendation service method.
///
/// The response from the StopBotRecommendation service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StopBotRecommendation Operation
public virtual StopBotRecommendationResponse StopBotRecommendation(StopBotRecommendationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopBotRecommendationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopBotRecommendationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stop an already running Bot Recommendation request.
///
/// Container for the necessary parameters to execute the StopBotRecommendation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopBotRecommendation service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for StopBotRecommendation Operation
public virtual Task StopBotRecommendationAsync(StopBotRecommendationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopBotRecommendationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopBotRecommendationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Adds the specified tags to the specified resource. If a tag key already exists, the
/// existing value is replaced with the new value.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds the specified tags to the specified resource. If a tag key already exists, the
/// existing value is replaced with the new value.
///
/// 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 LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters 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
///
/// Removes tags from a bot, bot alias, or bot channel.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes tags from a bot, bot alias, or bot channel.
///
/// 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 LexModelsV2.
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// You asked to describe a resource that doesn't exist. Check the resource that you are
/// requesting and try again.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters 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 UpdateBot
///
/// Updates the configuration of an existing bot.
///
/// Container for the necessary parameters to execute the UpdateBot service method.
///
/// The response from the UpdateBot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for UpdateBot Operation
public virtual UpdateBotResponse UpdateBot(UpdateBotRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBotResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the configuration of an existing bot.
///
/// Container for the necessary parameters to execute the UpdateBot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateBot service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for UpdateBot Operation
public virtual Task UpdateBotAsync(UpdateBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBotRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBotResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateBotAlias
///
/// Updates the configuration of an existing bot alias.
///
/// Container for the necessary parameters to execute the UpdateBotAlias service method.
///
/// The response from the UpdateBotAlias service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for UpdateBotAlias Operation
public virtual UpdateBotAliasResponse UpdateBotAlias(UpdateBotAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBotAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the configuration of an existing bot alias.
///
/// Container for the necessary parameters to execute the UpdateBotAlias service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateBotAlias service method, as returned by LexModelsV2.
///
/// The action that you tried to perform couldn't be completed because the resource is
/// in a conflicting state. For example, deleting a bot that is in the CREATING state.
/// Try your request again.
///
///
/// The service encountered an unexpected condition. Try your request again.
///
///
/// Your request couldn't be completed because one or more request fields aren't valid.
/// Check the fields in your request and try again.
///
///
/// You have reached a quota for your bot.
///
///
/// Your request rate is too high. Reduce the frequency of requests.
///
///
/// One of the input parameters in your request isn't valid. Check the parameters and
/// try your request again.
///
/// REST API Reference for UpdateBotAlias Operation
public virtual Task UpdateBotAliasAsync(UpdateBotAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateBotAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateBotAliasResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateBotLocale
///