/* * 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.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(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ILexModelsV2PaginatorFactory _paginators; /// /// Paginators for the service /// public ILexModelsV2PaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new LexModelsV2PaginatorFactory(this); } return this._paginators; } } #endif #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); } /// /// Initiates the asynchronous execution of the BatchCreateCustomVocabularyItem operation. /// /// /// Container for the necessary parameters to execute the BatchCreateCustomVocabularyItem operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchCreateCustomVocabularyItem /// operation. /// REST API Reference for BatchCreateCustomVocabularyItem Operation public virtual IAsyncResult BeginBatchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateCustomVocabularyItemRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateCustomVocabularyItemResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchCreateCustomVocabularyItem operation. /// /// /// The IAsyncResult returned by the call to BeginBatchCreateCustomVocabularyItem. /// /// Returns a BatchCreateCustomVocabularyItemResult from LexModelsV2. /// REST API Reference for BatchCreateCustomVocabularyItem Operation public virtual BatchCreateCustomVocabularyItemResponse EndBatchCreateCustomVocabularyItem(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the BatchDeleteCustomVocabularyItem operation. /// /// /// Container for the necessary parameters to execute the BatchDeleteCustomVocabularyItem operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchDeleteCustomVocabularyItem /// operation. /// REST API Reference for BatchDeleteCustomVocabularyItem Operation public virtual IAsyncResult BeginBatchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteCustomVocabularyItemRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteCustomVocabularyItemResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchDeleteCustomVocabularyItem operation. /// /// /// The IAsyncResult returned by the call to BeginBatchDeleteCustomVocabularyItem. /// /// Returns a BatchDeleteCustomVocabularyItemResult from LexModelsV2. /// REST API Reference for BatchDeleteCustomVocabularyItem Operation public virtual BatchDeleteCustomVocabularyItemResponse EndBatchDeleteCustomVocabularyItem(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the BatchUpdateCustomVocabularyItem operation. /// /// /// Container for the necessary parameters to execute the BatchUpdateCustomVocabularyItem operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchUpdateCustomVocabularyItem /// operation. /// REST API Reference for BatchUpdateCustomVocabularyItem Operation public virtual IAsyncResult BeginBatchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchUpdateCustomVocabularyItemRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchUpdateCustomVocabularyItemResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchUpdateCustomVocabularyItem operation. /// /// /// The IAsyncResult returned by the call to BeginBatchUpdateCustomVocabularyItem. /// /// Returns a BatchUpdateCustomVocabularyItemResult from LexModelsV2. /// REST API Reference for BatchUpdateCustomVocabularyItem Operation public virtual BatchUpdateCustomVocabularyItemResponse EndBatchUpdateCustomVocabularyItem(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the BuildBotLocale operation. /// /// /// Container for the necessary parameters to execute the BuildBotLocale operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBuildBotLocale /// operation. /// REST API Reference for BuildBotLocale Operation public virtual IAsyncResult BeginBuildBotLocale(BuildBotLocaleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BuildBotLocaleRequestMarshaller.Instance; options.ResponseUnmarshaller = BuildBotLocaleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BuildBotLocale operation. /// /// /// The IAsyncResult returned by the call to BeginBuildBotLocale. /// /// Returns a BuildBotLocaleResult from LexModelsV2. /// REST API Reference for BuildBotLocale Operation public virtual BuildBotLocaleResponse EndBuildBotLocale(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateBot operation. /// /// /// Container for the necessary parameters to execute the CreateBot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBot /// operation. /// REST API Reference for CreateBot Operation public virtual IAsyncResult BeginCreateBot(CreateBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBot operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBot. /// /// Returns a CreateBotResult from LexModelsV2. /// REST API Reference for CreateBot Operation public virtual CreateBotResponse EndCreateBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateBotAlias operation. /// /// /// Container for the necessary parameters to execute the CreateBotAlias operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBotAlias /// operation. /// REST API Reference for CreateBotAlias Operation public virtual IAsyncResult BeginCreateBotAlias(CreateBotAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBotAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBotAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBotAlias operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBotAlias. /// /// Returns a CreateBotAliasResult from LexModelsV2. /// REST API Reference for CreateBotAlias Operation public virtual CreateBotAliasResponse EndCreateBotAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateBotLocale operation. /// /// /// Container for the necessary parameters to execute the CreateBotLocale operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBotLocale /// operation. /// REST API Reference for CreateBotLocale Operation public virtual IAsyncResult BeginCreateBotLocale(CreateBotLocaleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBotLocaleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBotLocaleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBotLocale operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBotLocale. /// /// Returns a CreateBotLocaleResult from LexModelsV2. /// REST API Reference for CreateBotLocale Operation public virtual CreateBotLocaleResponse EndCreateBotLocale(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateBotVersion operation. /// /// /// Container for the necessary parameters to execute the CreateBotVersion operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBotVersion /// operation. /// REST API Reference for CreateBotVersion Operation public virtual IAsyncResult BeginCreateBotVersion(CreateBotVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBotVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBotVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBotVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBotVersion. /// /// Returns a CreateBotVersionResult from LexModelsV2. /// REST API Reference for CreateBotVersion Operation public virtual CreateBotVersionResponse EndCreateBotVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateExport operation. /// /// /// Container for the necessary parameters to execute the CreateExport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateExport /// operation. /// REST API Reference for CreateExport Operation public virtual IAsyncResult BeginCreateExport(CreateExportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExportRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateExport operation. /// /// /// The IAsyncResult returned by the call to BeginCreateExport. /// /// Returns a CreateExportResult from LexModelsV2. /// REST API Reference for CreateExport Operation public virtual CreateExportResponse EndCreateExport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateIntent operation. /// /// /// Container for the necessary parameters to execute the CreateIntent operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateIntent /// operation. /// REST API Reference for CreateIntent Operation public virtual IAsyncResult BeginCreateIntent(CreateIntentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIntentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIntentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateIntent operation. /// /// /// The IAsyncResult returned by the call to BeginCreateIntent. /// /// Returns a CreateIntentResult from LexModelsV2. /// REST API Reference for CreateIntent Operation public virtual CreateIntentResponse EndCreateIntent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the CreateResourcePolicy operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResourcePolicy /// operation. /// REST API Reference for CreateResourcePolicy Operation public virtual IAsyncResult BeginCreateResourcePolicy(CreateResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginCreateResourcePolicy. /// /// Returns a CreateResourcePolicyResult from LexModelsV2. /// REST API Reference for CreateResourcePolicy Operation public virtual CreateResourcePolicyResponse EndCreateResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateResourcePolicyStatement operation. /// /// /// Container for the necessary parameters to execute the CreateResourcePolicyStatement operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResourcePolicyStatement /// operation. /// REST API Reference for CreateResourcePolicyStatement Operation public virtual IAsyncResult BeginCreateResourcePolicyStatement(CreateResourcePolicyStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourcePolicyStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourcePolicyStatementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateResourcePolicyStatement operation. /// /// /// The IAsyncResult returned by the call to BeginCreateResourcePolicyStatement. /// /// Returns a CreateResourcePolicyStatementResult from LexModelsV2. /// REST API Reference for CreateResourcePolicyStatement Operation public virtual CreateResourcePolicyStatementResponse EndCreateResourcePolicyStatement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateSlot operation. /// /// /// Container for the necessary parameters to execute the CreateSlot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSlot /// operation. /// REST API Reference for CreateSlot Operation public virtual IAsyncResult BeginCreateSlot(CreateSlotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSlotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSlotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSlot operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSlot. /// /// Returns a CreateSlotResult from LexModelsV2. /// REST API Reference for CreateSlot Operation public virtual CreateSlotResponse EndCreateSlot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateSlotType operation. /// /// /// Container for the necessary parameters to execute the CreateSlotType operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSlotType /// operation. /// REST API Reference for CreateSlotType Operation public virtual IAsyncResult BeginCreateSlotType(CreateSlotTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSlotTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSlotTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSlotType operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSlotType. /// /// Returns a CreateSlotTypeResult from LexModelsV2. /// REST API Reference for CreateSlotType Operation public virtual CreateSlotTypeResponse EndCreateSlotType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateTestSetDiscrepancyReport operation. /// /// /// Container for the necessary parameters to execute the CreateTestSetDiscrepancyReport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTestSetDiscrepancyReport /// operation. /// REST API Reference for CreateTestSetDiscrepancyReport Operation public virtual IAsyncResult BeginCreateTestSetDiscrepancyReport(CreateTestSetDiscrepancyReportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTestSetDiscrepancyReportRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTestSetDiscrepancyReportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateTestSetDiscrepancyReport operation. /// /// /// The IAsyncResult returned by the call to BeginCreateTestSetDiscrepancyReport. /// /// Returns a CreateTestSetDiscrepancyReportResult from LexModelsV2. /// REST API Reference for CreateTestSetDiscrepancyReport Operation public virtual CreateTestSetDiscrepancyReportResponse EndCreateTestSetDiscrepancyReport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateUploadUrl operation. /// /// /// Container for the necessary parameters to execute the CreateUploadUrl operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUploadUrl /// operation. /// REST API Reference for CreateUploadUrl Operation public virtual IAsyncResult BeginCreateUploadUrl(CreateUploadUrlRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUploadUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUploadUrlResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateUploadUrl operation. /// /// /// The IAsyncResult returned by the call to BeginCreateUploadUrl. /// /// Returns a CreateUploadUrlResult from LexModelsV2. /// REST API Reference for CreateUploadUrl Operation public virtual CreateUploadUrlResponse EndCreateUploadUrl(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteBot operation. /// /// /// Container for the necessary parameters to execute the DeleteBot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBot /// operation. /// REST API Reference for DeleteBot Operation public virtual IAsyncResult BeginDeleteBot(DeleteBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBot operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBot. /// /// Returns a DeleteBotResult from LexModelsV2. /// REST API Reference for DeleteBot Operation public virtual DeleteBotResponse EndDeleteBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteBotAlias operation. /// /// /// Container for the necessary parameters to execute the DeleteBotAlias operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBotAlias /// operation. /// REST API Reference for DeleteBotAlias Operation public virtual IAsyncResult BeginDeleteBotAlias(DeleteBotAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBotAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBotAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBotAlias operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBotAlias. /// /// Returns a DeleteBotAliasResult from LexModelsV2. /// REST API Reference for DeleteBotAlias Operation public virtual DeleteBotAliasResponse EndDeleteBotAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteBotLocale operation. /// /// /// Container for the necessary parameters to execute the DeleteBotLocale operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBotLocale /// operation. /// REST API Reference for DeleteBotLocale Operation public virtual IAsyncResult BeginDeleteBotLocale(DeleteBotLocaleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBotLocaleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBotLocaleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBotLocale operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBotLocale. /// /// Returns a DeleteBotLocaleResult from LexModelsV2. /// REST API Reference for DeleteBotLocale Operation public virtual DeleteBotLocaleResponse EndDeleteBotLocale(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteBotVersion operation. /// /// /// Container for the necessary parameters to execute the DeleteBotVersion operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBotVersion /// operation. /// REST API Reference for DeleteBotVersion Operation public virtual IAsyncResult BeginDeleteBotVersion(DeleteBotVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBotVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBotVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBotVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBotVersion. /// /// Returns a DeleteBotVersionResult from LexModelsV2. /// REST API Reference for DeleteBotVersion Operation public virtual DeleteBotVersionResponse EndDeleteBotVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteCustomVocabulary operation. /// /// /// Container for the necessary parameters to execute the DeleteCustomVocabulary operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCustomVocabulary /// operation. /// REST API Reference for DeleteCustomVocabulary Operation public virtual IAsyncResult BeginDeleteCustomVocabulary(DeleteCustomVocabularyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomVocabularyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCustomVocabulary operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCustomVocabulary. /// /// Returns a DeleteCustomVocabularyResult from LexModelsV2. /// REST API Reference for DeleteCustomVocabulary Operation public virtual DeleteCustomVocabularyResponse EndDeleteCustomVocabulary(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteExport operation. /// /// /// Container for the necessary parameters to execute the DeleteExport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExport /// operation. /// REST API Reference for DeleteExport Operation public virtual IAsyncResult BeginDeleteExport(DeleteExportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExportRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteExport operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteExport. /// /// Returns a DeleteExportResult from LexModelsV2. /// REST API Reference for DeleteExport Operation public virtual DeleteExportResponse EndDeleteExport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteImport operation. /// /// /// Container for the necessary parameters to execute the DeleteImport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImport /// operation. /// REST API Reference for DeleteImport Operation public virtual IAsyncResult BeginDeleteImport(DeleteImportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImportRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteImport operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteImport. /// /// Returns a DeleteImportResult from LexModelsV2. /// REST API Reference for DeleteImport Operation public virtual DeleteImportResponse EndDeleteImport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteIntent operation. /// /// /// Container for the necessary parameters to execute the DeleteIntent operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteIntent /// operation. /// REST API Reference for DeleteIntent Operation public virtual IAsyncResult BeginDeleteIntent(DeleteIntentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteIntent operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteIntent. /// /// Returns a DeleteIntentResult from LexModelsV2. /// REST API Reference for DeleteIntent Operation public virtual DeleteIntentResponse EndDeleteIntent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteResourcePolicy operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResourcePolicy /// operation. /// REST API Reference for DeleteResourcePolicy Operation public virtual IAsyncResult BeginDeleteResourcePolicy(DeleteResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourcePolicy. /// /// Returns a DeleteResourcePolicyResult from LexModelsV2. /// REST API Reference for DeleteResourcePolicy Operation public virtual DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteResourcePolicyStatement operation. /// /// /// Container for the necessary parameters to execute the DeleteResourcePolicyStatement operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResourcePolicyStatement /// operation. /// REST API Reference for DeleteResourcePolicyStatement Operation public virtual IAsyncResult BeginDeleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyStatementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteResourcePolicyStatement operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourcePolicyStatement. /// /// Returns a DeleteResourcePolicyStatementResult from LexModelsV2. /// REST API Reference for DeleteResourcePolicyStatement Operation public virtual DeleteResourcePolicyStatementResponse EndDeleteResourcePolicyStatement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteSlot operation. /// /// /// Container for the necessary parameters to execute the DeleteSlot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSlot /// operation. /// REST API Reference for DeleteSlot Operation public virtual IAsyncResult BeginDeleteSlot(DeleteSlotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSlotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSlotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSlot operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSlot. /// /// Returns a DeleteSlotResult from LexModelsV2. /// REST API Reference for DeleteSlot Operation public virtual DeleteSlotResponse EndDeleteSlot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteSlotType operation. /// /// /// Container for the necessary parameters to execute the DeleteSlotType operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSlotType /// operation. /// REST API Reference for DeleteSlotType Operation public virtual IAsyncResult BeginDeleteSlotType(DeleteSlotTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSlotTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSlotTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSlotType operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSlotType. /// /// Returns a DeleteSlotTypeResult from LexModelsV2. /// REST API Reference for DeleteSlotType Operation public virtual DeleteSlotTypeResponse EndDeleteSlotType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteTestSet operation. /// /// /// Container for the necessary parameters to execute the DeleteTestSet operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTestSet /// operation. /// REST API Reference for DeleteTestSet Operation public virtual IAsyncResult BeginDeleteTestSet(DeleteTestSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTestSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTestSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteTestSet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteTestSet. /// /// Returns a DeleteTestSetResult from LexModelsV2. /// REST API Reference for DeleteTestSet Operation public virtual DeleteTestSetResponse EndDeleteTestSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteUtterances operation. /// /// /// Container for the necessary parameters to execute the DeleteUtterances operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUtterances /// operation. /// REST API Reference for DeleteUtterances Operation public virtual IAsyncResult BeginDeleteUtterances(DeleteUtterancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUtterancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUtterancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteUtterances operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteUtterances. /// /// Returns a DeleteUtterancesResult from LexModelsV2. /// REST API Reference for DeleteUtterances Operation public virtual DeleteUtterancesResponse EndDeleteUtterances(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeBot operation. /// /// /// Container for the necessary parameters to execute the DescribeBot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBot /// operation. /// REST API Reference for DescribeBot Operation public virtual IAsyncResult BeginDescribeBot(DescribeBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBot operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBot. /// /// Returns a DescribeBotResult from LexModelsV2. /// REST API Reference for DescribeBot Operation public virtual DescribeBotResponse EndDescribeBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeBotAlias operation. /// /// /// Container for the necessary parameters to execute the DescribeBotAlias operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBotAlias /// operation. /// REST API Reference for DescribeBotAlias Operation public virtual IAsyncResult BeginDescribeBotAlias(DescribeBotAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBotAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBotAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBotAlias operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBotAlias. /// /// Returns a DescribeBotAliasResult from LexModelsV2. /// REST API Reference for DescribeBotAlias Operation public virtual DescribeBotAliasResponse EndDescribeBotAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeBotLocale operation. /// /// /// Container for the necessary parameters to execute the DescribeBotLocale operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBotLocale /// operation. /// REST API Reference for DescribeBotLocale Operation public virtual IAsyncResult BeginDescribeBotLocale(DescribeBotLocaleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBotLocaleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBotLocaleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBotLocale operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBotLocale. /// /// Returns a DescribeBotLocaleResult from LexModelsV2. /// REST API Reference for DescribeBotLocale Operation public virtual DescribeBotLocaleResponse EndDescribeBotLocale(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeBotRecommendation operation. /// /// /// Container for the necessary parameters to execute the DescribeBotRecommendation operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBotRecommendation /// operation. /// REST API Reference for DescribeBotRecommendation Operation public virtual IAsyncResult BeginDescribeBotRecommendation(DescribeBotRecommendationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBotRecommendationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBotRecommendationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBotRecommendation operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBotRecommendation. /// /// Returns a DescribeBotRecommendationResult from LexModelsV2. /// REST API Reference for DescribeBotRecommendation Operation public virtual DescribeBotRecommendationResponse EndDescribeBotRecommendation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeBotVersion operation. /// /// /// Container for the necessary parameters to execute the DescribeBotVersion operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBotVersion /// operation. /// REST API Reference for DescribeBotVersion Operation public virtual IAsyncResult BeginDescribeBotVersion(DescribeBotVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBotVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBotVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBotVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBotVersion. /// /// Returns a DescribeBotVersionResult from LexModelsV2. /// REST API Reference for DescribeBotVersion Operation public virtual DescribeBotVersionResponse EndDescribeBotVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeCustomVocabularyMetadata operation. /// /// /// Container for the necessary parameters to execute the DescribeCustomVocabularyMetadata operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCustomVocabularyMetadata /// operation. /// REST API Reference for DescribeCustomVocabularyMetadata Operation public virtual IAsyncResult BeginDescribeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCustomVocabularyMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCustomVocabularyMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCustomVocabularyMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCustomVocabularyMetadata. /// /// Returns a DescribeCustomVocabularyMetadataResult from LexModelsV2. /// REST API Reference for DescribeCustomVocabularyMetadata Operation public virtual DescribeCustomVocabularyMetadataResponse EndDescribeCustomVocabularyMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeExport operation. /// /// /// Container for the necessary parameters to execute the DescribeExport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeExport /// operation. /// REST API Reference for DescribeExport Operation public virtual IAsyncResult BeginDescribeExport(DescribeExportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeExportRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeExportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeExport operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeExport. /// /// Returns a DescribeExportResult from LexModelsV2. /// REST API Reference for DescribeExport Operation public virtual DescribeExportResponse EndDescribeExport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeImport operation. /// /// /// Container for the necessary parameters to execute the DescribeImport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeImport /// operation. /// REST API Reference for DescribeImport Operation public virtual IAsyncResult BeginDescribeImport(DescribeImportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImportRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeImport operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeImport. /// /// Returns a DescribeImportResult from LexModelsV2. /// REST API Reference for DescribeImport Operation public virtual DescribeImportResponse EndDescribeImport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeIntent operation. /// /// /// Container for the necessary parameters to execute the DescribeIntent operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeIntent /// operation. /// REST API Reference for DescribeIntent Operation public virtual IAsyncResult BeginDescribeIntent(DescribeIntentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIntentRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIntentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeIntent operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeIntent. /// /// Returns a DescribeIntentResult from LexModelsV2. /// REST API Reference for DescribeIntent Operation public virtual DescribeIntentResponse EndDescribeIntent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the DescribeResourcePolicy operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeResourcePolicy /// operation. /// REST API Reference for DescribeResourcePolicy Operation public virtual IAsyncResult BeginDescribeResourcePolicy(DescribeResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeResourcePolicy. /// /// Returns a DescribeResourcePolicyResult from LexModelsV2. /// REST API Reference for DescribeResourcePolicy Operation public virtual DescribeResourcePolicyResponse EndDescribeResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeSlot operation. /// /// /// Container for the necessary parameters to execute the DescribeSlot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSlot /// operation. /// REST API Reference for DescribeSlot Operation public virtual IAsyncResult BeginDescribeSlot(DescribeSlotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSlotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSlotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSlot operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSlot. /// /// Returns a DescribeSlotResult from LexModelsV2. /// REST API Reference for DescribeSlot Operation public virtual DescribeSlotResponse EndDescribeSlot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeSlotType operation. /// /// /// Container for the necessary parameters to execute the DescribeSlotType operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSlotType /// operation. /// REST API Reference for DescribeSlotType Operation public virtual IAsyncResult BeginDescribeSlotType(DescribeSlotTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSlotTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSlotTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSlotType operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSlotType. /// /// Returns a DescribeSlotTypeResult from LexModelsV2. /// REST API Reference for DescribeSlotType Operation public virtual DescribeSlotTypeResponse EndDescribeSlotType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeTestExecution operation. /// /// /// Container for the necessary parameters to execute the DescribeTestExecution operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeTestExecution /// operation. /// REST API Reference for DescribeTestExecution Operation public virtual IAsyncResult BeginDescribeTestExecution(DescribeTestExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTestExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTestExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeTestExecution operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeTestExecution. /// /// Returns a DescribeTestExecutionResult from LexModelsV2. /// REST API Reference for DescribeTestExecution Operation public virtual DescribeTestExecutionResponse EndDescribeTestExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeTestSet operation. /// /// /// Container for the necessary parameters to execute the DescribeTestSet operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeTestSet /// operation. /// REST API Reference for DescribeTestSet Operation public virtual IAsyncResult BeginDescribeTestSet(DescribeTestSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTestSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTestSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeTestSet operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeTestSet. /// /// Returns a DescribeTestSetResult from LexModelsV2. /// REST API Reference for DescribeTestSet Operation public virtual DescribeTestSetResponse EndDescribeTestSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeTestSetDiscrepancyReport operation. /// /// /// Container for the necessary parameters to execute the DescribeTestSetDiscrepancyReport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeTestSetDiscrepancyReport /// operation. /// REST API Reference for DescribeTestSetDiscrepancyReport Operation public virtual IAsyncResult BeginDescribeTestSetDiscrepancyReport(DescribeTestSetDiscrepancyReportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTestSetDiscrepancyReportRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTestSetDiscrepancyReportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeTestSetDiscrepancyReport operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeTestSetDiscrepancyReport. /// /// Returns a DescribeTestSetDiscrepancyReportResult from LexModelsV2. /// REST API Reference for DescribeTestSetDiscrepancyReport Operation public virtual DescribeTestSetDiscrepancyReportResponse EndDescribeTestSetDiscrepancyReport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeTestSetGeneration operation. /// /// /// Container for the necessary parameters to execute the DescribeTestSetGeneration operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeTestSetGeneration /// operation. /// REST API Reference for DescribeTestSetGeneration Operation public virtual IAsyncResult BeginDescribeTestSetGeneration(DescribeTestSetGenerationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTestSetGenerationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTestSetGenerationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeTestSetGeneration operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeTestSetGeneration. /// /// Returns a DescribeTestSetGenerationResult from LexModelsV2. /// REST API Reference for DescribeTestSetGeneration Operation public virtual DescribeTestSetGenerationResponse EndDescribeTestSetGeneration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetTestExecutionArtifactsUrl operation. /// /// /// Container for the necessary parameters to execute the GetTestExecutionArtifactsUrl operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTestExecutionArtifactsUrl /// operation. /// REST API Reference for GetTestExecutionArtifactsUrl Operation public virtual IAsyncResult BeginGetTestExecutionArtifactsUrl(GetTestExecutionArtifactsUrlRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTestExecutionArtifactsUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTestExecutionArtifactsUrlResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTestExecutionArtifactsUrl operation. /// /// /// The IAsyncResult returned by the call to BeginGetTestExecutionArtifactsUrl. /// /// Returns a GetTestExecutionArtifactsUrlResult from LexModelsV2. /// REST API Reference for GetTestExecutionArtifactsUrl Operation public virtual GetTestExecutionArtifactsUrlResponse EndGetTestExecutionArtifactsUrl(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListAggregatedUtterances operation. /// /// /// Container for the necessary parameters to execute the ListAggregatedUtterances operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAggregatedUtterances /// operation. /// REST API Reference for ListAggregatedUtterances Operation public virtual IAsyncResult BeginListAggregatedUtterances(ListAggregatedUtterancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAggregatedUtterancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAggregatedUtterancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAggregatedUtterances operation. /// /// /// The IAsyncResult returned by the call to BeginListAggregatedUtterances. /// /// Returns a ListAggregatedUtterancesResult from LexModelsV2. /// REST API Reference for ListAggregatedUtterances Operation public virtual ListAggregatedUtterancesResponse EndListAggregatedUtterances(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListBotAliases operation. /// /// /// Container for the necessary parameters to execute the ListBotAliases operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBotAliases /// operation. /// REST API Reference for ListBotAliases Operation public virtual IAsyncResult BeginListBotAliases(ListBotAliasesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBotAliasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBotAliasesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBotAliases operation. /// /// /// The IAsyncResult returned by the call to BeginListBotAliases. /// /// Returns a ListBotAliasesResult from LexModelsV2. /// REST API Reference for ListBotAliases Operation public virtual ListBotAliasesResponse EndListBotAliases(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListBotLocales operation. /// /// /// Container for the necessary parameters to execute the ListBotLocales operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBotLocales /// operation. /// REST API Reference for ListBotLocales Operation public virtual IAsyncResult BeginListBotLocales(ListBotLocalesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBotLocalesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBotLocalesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBotLocales operation. /// /// /// The IAsyncResult returned by the call to BeginListBotLocales. /// /// Returns a ListBotLocalesResult from LexModelsV2. /// REST API Reference for ListBotLocales Operation public virtual ListBotLocalesResponse EndListBotLocales(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListBotRecommendations operation. /// /// /// Container for the necessary parameters to execute the ListBotRecommendations operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBotRecommendations /// operation. /// REST API Reference for ListBotRecommendations Operation public virtual IAsyncResult BeginListBotRecommendations(ListBotRecommendationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBotRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBotRecommendationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBotRecommendations operation. /// /// /// The IAsyncResult returned by the call to BeginListBotRecommendations. /// /// Returns a ListBotRecommendationsResult from LexModelsV2. /// REST API Reference for ListBotRecommendations Operation public virtual ListBotRecommendationsResponse EndListBotRecommendations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListBots operation. /// /// /// Container for the necessary parameters to execute the ListBots operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBots /// operation. /// REST API Reference for ListBots Operation public virtual IAsyncResult BeginListBots(ListBotsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBotsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBots operation. /// /// /// The IAsyncResult returned by the call to BeginListBots. /// /// Returns a ListBotsResult from LexModelsV2. /// REST API Reference for ListBots Operation public virtual ListBotsResponse EndListBots(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListBotVersions operation. /// /// /// Container for the necessary parameters to execute the ListBotVersions operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBotVersions /// operation. /// REST API Reference for ListBotVersions Operation public virtual IAsyncResult BeginListBotVersions(ListBotVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBotVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBotVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBotVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListBotVersions. /// /// Returns a ListBotVersionsResult from LexModelsV2. /// REST API Reference for ListBotVersions Operation public virtual ListBotVersionsResponse EndListBotVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListBuiltInIntents operation. /// /// /// Container for the necessary parameters to execute the ListBuiltInIntents operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBuiltInIntents /// operation. /// REST API Reference for ListBuiltInIntents Operation public virtual IAsyncResult BeginListBuiltInIntents(ListBuiltInIntentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuiltInIntentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuiltInIntentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBuiltInIntents operation. /// /// /// The IAsyncResult returned by the call to BeginListBuiltInIntents. /// /// Returns a ListBuiltInIntentsResult from LexModelsV2. /// REST API Reference for ListBuiltInIntents Operation public virtual ListBuiltInIntentsResponse EndListBuiltInIntents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListBuiltInSlotTypes operation. /// /// /// Container for the necessary parameters to execute the ListBuiltInSlotTypes operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBuiltInSlotTypes /// operation. /// REST API Reference for ListBuiltInSlotTypes Operation public virtual IAsyncResult BeginListBuiltInSlotTypes(ListBuiltInSlotTypesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBuiltInSlotTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBuiltInSlotTypesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBuiltInSlotTypes operation. /// /// /// The IAsyncResult returned by the call to BeginListBuiltInSlotTypes. /// /// Returns a ListBuiltInSlotTypesResult from LexModelsV2. /// REST API Reference for ListBuiltInSlotTypes Operation public virtual ListBuiltInSlotTypesResponse EndListBuiltInSlotTypes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListCustomVocabularyItems operation. /// /// /// Container for the necessary parameters to execute the ListCustomVocabularyItems operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCustomVocabularyItems /// operation. /// REST API Reference for ListCustomVocabularyItems Operation public virtual IAsyncResult BeginListCustomVocabularyItems(ListCustomVocabularyItemsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomVocabularyItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomVocabularyItemsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCustomVocabularyItems operation. /// /// /// The IAsyncResult returned by the call to BeginListCustomVocabularyItems. /// /// Returns a ListCustomVocabularyItemsResult from LexModelsV2. /// REST API Reference for ListCustomVocabularyItems Operation public virtual ListCustomVocabularyItemsResponse EndListCustomVocabularyItems(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListExports operation. /// /// /// Container for the necessary parameters to execute the ListExports operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExports /// operation. /// REST API Reference for ListExports Operation public virtual IAsyncResult BeginListExports(ListExportsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListExportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExportsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListExports operation. /// /// /// The IAsyncResult returned by the call to BeginListExports. /// /// Returns a ListExportsResult from LexModelsV2. /// REST API Reference for ListExports Operation public virtual ListExportsResponse EndListExports(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListImports operation. /// /// /// Container for the necessary parameters to execute the ListImports operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListImports /// operation. /// REST API Reference for ListImports Operation public virtual IAsyncResult BeginListImports(ListImportsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListImportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImportsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListImports operation. /// /// /// The IAsyncResult returned by the call to BeginListImports. /// /// Returns a ListImportsResult from LexModelsV2. /// REST API Reference for ListImports Operation public virtual ListImportsResponse EndListImports(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListIntentMetrics operation. /// /// /// Container for the necessary parameters to execute the ListIntentMetrics operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListIntentMetrics /// operation. /// REST API Reference for ListIntentMetrics Operation public virtual IAsyncResult BeginListIntentMetrics(ListIntentMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIntentMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIntentMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIntentMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginListIntentMetrics. /// /// Returns a ListIntentMetricsResult from LexModelsV2. /// REST API Reference for ListIntentMetrics Operation public virtual ListIntentMetricsResponse EndListIntentMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListIntentPaths operation. /// /// /// Container for the necessary parameters to execute the ListIntentPaths operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListIntentPaths /// operation. /// REST API Reference for ListIntentPaths Operation public virtual IAsyncResult BeginListIntentPaths(ListIntentPathsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIntentPathsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIntentPathsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIntentPaths operation. /// /// /// The IAsyncResult returned by the call to BeginListIntentPaths. /// /// Returns a ListIntentPathsResult from LexModelsV2. /// REST API Reference for ListIntentPaths Operation public virtual ListIntentPathsResponse EndListIntentPaths(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListIntents operation. /// /// /// Container for the necessary parameters to execute the ListIntents operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListIntents /// operation. /// REST API Reference for ListIntents Operation public virtual IAsyncResult BeginListIntents(ListIntentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIntentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIntentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIntents operation. /// /// /// The IAsyncResult returned by the call to BeginListIntents. /// /// Returns a ListIntentsResult from LexModelsV2. /// REST API Reference for ListIntents Operation public virtual ListIntentsResponse EndListIntents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListIntentStageMetrics operation. /// /// /// Container for the necessary parameters to execute the ListIntentStageMetrics operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListIntentStageMetrics /// operation. /// REST API Reference for ListIntentStageMetrics Operation public virtual IAsyncResult BeginListIntentStageMetrics(ListIntentStageMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIntentStageMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIntentStageMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIntentStageMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginListIntentStageMetrics. /// /// Returns a ListIntentStageMetricsResult from LexModelsV2. /// REST API Reference for ListIntentStageMetrics Operation public virtual ListIntentStageMetricsResponse EndListIntentStageMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListRecommendedIntents operation. /// /// /// Container for the necessary parameters to execute the ListRecommendedIntents operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRecommendedIntents /// operation. /// REST API Reference for ListRecommendedIntents Operation public virtual IAsyncResult BeginListRecommendedIntents(ListRecommendedIntentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecommendedIntentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecommendedIntentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRecommendedIntents operation. /// /// /// The IAsyncResult returned by the call to BeginListRecommendedIntents. /// /// Returns a ListRecommendedIntentsResult from LexModelsV2. /// REST API Reference for ListRecommendedIntents Operation public virtual ListRecommendedIntentsResponse EndListRecommendedIntents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSessionAnalyticsData operation. /// /// /// Container for the necessary parameters to execute the ListSessionAnalyticsData operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSessionAnalyticsData /// operation. /// REST API Reference for ListSessionAnalyticsData Operation public virtual IAsyncResult BeginListSessionAnalyticsData(ListSessionAnalyticsDataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSessionAnalyticsDataRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSessionAnalyticsDataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSessionAnalyticsData operation. /// /// /// The IAsyncResult returned by the call to BeginListSessionAnalyticsData. /// /// Returns a ListSessionAnalyticsDataResult from LexModelsV2. /// REST API Reference for ListSessionAnalyticsData Operation public virtual ListSessionAnalyticsDataResponse EndListSessionAnalyticsData(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSessionMetrics operation. /// /// /// Container for the necessary parameters to execute the ListSessionMetrics operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSessionMetrics /// operation. /// REST API Reference for ListSessionMetrics Operation public virtual IAsyncResult BeginListSessionMetrics(ListSessionMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSessionMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSessionMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSessionMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginListSessionMetrics. /// /// Returns a ListSessionMetricsResult from LexModelsV2. /// REST API Reference for ListSessionMetrics Operation public virtual ListSessionMetricsResponse EndListSessionMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSlots operation. /// /// /// Container for the necessary parameters to execute the ListSlots operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSlots /// operation. /// REST API Reference for ListSlots Operation public virtual IAsyncResult BeginListSlots(ListSlotsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSlotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSlotsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSlots operation. /// /// /// The IAsyncResult returned by the call to BeginListSlots. /// /// Returns a ListSlotsResult from LexModelsV2. /// REST API Reference for ListSlots Operation public virtual ListSlotsResponse EndListSlots(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSlotTypes operation. /// /// /// Container for the necessary parameters to execute the ListSlotTypes operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSlotTypes /// operation. /// REST API Reference for ListSlotTypes Operation public virtual IAsyncResult BeginListSlotTypes(ListSlotTypesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSlotTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSlotTypesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSlotTypes operation. /// /// /// The IAsyncResult returned by the call to BeginListSlotTypes. /// /// Returns a ListSlotTypesResult from LexModelsV2. /// REST API Reference for ListSlotTypes Operation public virtual ListSlotTypesResponse EndListSlotTypes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from LexModelsV2. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTestExecutionResultItems operation. /// /// /// Container for the necessary parameters to execute the ListTestExecutionResultItems operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTestExecutionResultItems /// operation. /// REST API Reference for ListTestExecutionResultItems Operation public virtual IAsyncResult BeginListTestExecutionResultItems(ListTestExecutionResultItemsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTestExecutionResultItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTestExecutionResultItemsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTestExecutionResultItems operation. /// /// /// The IAsyncResult returned by the call to BeginListTestExecutionResultItems. /// /// Returns a ListTestExecutionResultItemsResult from LexModelsV2. /// REST API Reference for ListTestExecutionResultItems Operation public virtual ListTestExecutionResultItemsResponse EndListTestExecutionResultItems(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTestExecutions operation. /// /// /// Container for the necessary parameters to execute the ListTestExecutions operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTestExecutions /// operation. /// REST API Reference for ListTestExecutions Operation public virtual IAsyncResult BeginListTestExecutions(ListTestExecutionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTestExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTestExecutionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTestExecutions operation. /// /// /// The IAsyncResult returned by the call to BeginListTestExecutions. /// /// Returns a ListTestExecutionsResult from LexModelsV2. /// REST API Reference for ListTestExecutions Operation public virtual ListTestExecutionsResponse EndListTestExecutions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTestSetRecords operation. /// /// /// Container for the necessary parameters to execute the ListTestSetRecords operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTestSetRecords /// operation. /// REST API Reference for ListTestSetRecords Operation public virtual IAsyncResult BeginListTestSetRecords(ListTestSetRecordsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTestSetRecordsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTestSetRecordsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTestSetRecords operation. /// /// /// The IAsyncResult returned by the call to BeginListTestSetRecords. /// /// Returns a ListTestSetRecordsResult from LexModelsV2. /// REST API Reference for ListTestSetRecords Operation public virtual ListTestSetRecordsResponse EndListTestSetRecords(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTestSets operation. /// /// /// Container for the necessary parameters to execute the ListTestSets operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTestSets /// operation. /// REST API Reference for ListTestSets Operation public virtual IAsyncResult BeginListTestSets(ListTestSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTestSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTestSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTestSets operation. /// /// /// The IAsyncResult returned by the call to BeginListTestSets. /// /// Returns a ListTestSetsResult from LexModelsV2. /// REST API Reference for ListTestSets Operation public virtual ListTestSetsResponse EndListTestSets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListUtteranceAnalyticsData operation. /// /// /// Container for the necessary parameters to execute the ListUtteranceAnalyticsData operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListUtteranceAnalyticsData /// operation. /// REST API Reference for ListUtteranceAnalyticsData Operation public virtual IAsyncResult BeginListUtteranceAnalyticsData(ListUtteranceAnalyticsDataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListUtteranceAnalyticsDataRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUtteranceAnalyticsDataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListUtteranceAnalyticsData operation. /// /// /// The IAsyncResult returned by the call to BeginListUtteranceAnalyticsData. /// /// Returns a ListUtteranceAnalyticsDataResult from LexModelsV2. /// REST API Reference for ListUtteranceAnalyticsData Operation public virtual ListUtteranceAnalyticsDataResponse EndListUtteranceAnalyticsData(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListUtteranceMetrics operation. /// /// /// Container for the necessary parameters to execute the ListUtteranceMetrics operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListUtteranceMetrics /// operation. /// REST API Reference for ListUtteranceMetrics Operation public virtual IAsyncResult BeginListUtteranceMetrics(ListUtteranceMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListUtteranceMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUtteranceMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListUtteranceMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginListUtteranceMetrics. /// /// Returns a ListUtteranceMetricsResult from LexModelsV2. /// REST API Reference for ListUtteranceMetrics Operation public virtual ListUtteranceMetricsResponse EndListUtteranceMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the SearchAssociatedTranscripts operation. /// /// /// Container for the necessary parameters to execute the SearchAssociatedTranscripts operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchAssociatedTranscripts /// operation. /// REST API Reference for SearchAssociatedTranscripts Operation public virtual IAsyncResult BeginSearchAssociatedTranscripts(SearchAssociatedTranscriptsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchAssociatedTranscriptsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchAssociatedTranscriptsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SearchAssociatedTranscripts operation. /// /// /// The IAsyncResult returned by the call to BeginSearchAssociatedTranscripts. /// /// Returns a SearchAssociatedTranscriptsResult from LexModelsV2. /// REST API Reference for SearchAssociatedTranscripts Operation public virtual SearchAssociatedTranscriptsResponse EndSearchAssociatedTranscripts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartBotRecommendation operation. /// /// /// Container for the necessary parameters to execute the StartBotRecommendation operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartBotRecommendation /// operation. /// REST API Reference for StartBotRecommendation Operation public virtual IAsyncResult BeginStartBotRecommendation(StartBotRecommendationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartBotRecommendationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBotRecommendationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartBotRecommendation operation. /// /// /// The IAsyncResult returned by the call to BeginStartBotRecommendation. /// /// Returns a StartBotRecommendationResult from LexModelsV2. /// REST API Reference for StartBotRecommendation Operation public virtual StartBotRecommendationResponse EndStartBotRecommendation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartImport operation. /// /// /// Container for the necessary parameters to execute the StartImport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartImport /// operation. /// REST API Reference for StartImport Operation public virtual IAsyncResult BeginStartImport(StartImportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartImportRequestMarshaller.Instance; options.ResponseUnmarshaller = StartImportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartImport operation. /// /// /// The IAsyncResult returned by the call to BeginStartImport. /// /// Returns a StartImportResult from LexModelsV2. /// REST API Reference for StartImport Operation public virtual StartImportResponse EndStartImport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartTestExecution operation. /// /// /// Container for the necessary parameters to execute the StartTestExecution operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartTestExecution /// operation. /// REST API Reference for StartTestExecution Operation public virtual IAsyncResult BeginStartTestExecution(StartTestExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartTestExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartTestExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartTestExecution operation. /// /// /// The IAsyncResult returned by the call to BeginStartTestExecution. /// /// Returns a StartTestExecutionResult from LexModelsV2. /// REST API Reference for StartTestExecution Operation public virtual StartTestExecutionResponse EndStartTestExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartTestSetGeneration operation. /// /// /// Container for the necessary parameters to execute the StartTestSetGeneration operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartTestSetGeneration /// operation. /// REST API Reference for StartTestSetGeneration Operation public virtual IAsyncResult BeginStartTestSetGeneration(StartTestSetGenerationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartTestSetGenerationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartTestSetGenerationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartTestSetGeneration operation. /// /// /// The IAsyncResult returned by the call to BeginStartTestSetGeneration. /// /// Returns a StartTestSetGenerationResult from LexModelsV2. /// REST API Reference for StartTestSetGeneration Operation public virtual StartTestSetGenerationResponse EndStartTestSetGeneration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StopBotRecommendation operation. /// /// /// Container for the necessary parameters to execute the StopBotRecommendation operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopBotRecommendation /// operation. /// REST API Reference for StopBotRecommendation Operation public virtual IAsyncResult BeginStopBotRecommendation(StopBotRecommendationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopBotRecommendationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBotRecommendationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopBotRecommendation operation. /// /// /// The IAsyncResult returned by the call to BeginStopBotRecommendation. /// /// Returns a StopBotRecommendationResult from LexModelsV2. /// REST API Reference for StopBotRecommendation Operation public virtual StopBotRecommendationResponse EndStopBotRecommendation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from LexModelsV2. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from LexModelsV2. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateBot operation. /// /// /// Container for the necessary parameters to execute the UpdateBot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateBot /// operation. /// REST API Reference for UpdateBot Operation public virtual IAsyncResult BeginUpdateBot(UpdateBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateBot operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateBot. /// /// Returns a UpdateBotResult from LexModelsV2. /// REST API Reference for UpdateBot Operation public virtual UpdateBotResponse EndUpdateBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateBotAlias operation. /// /// /// Container for the necessary parameters to execute the UpdateBotAlias operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateBotAlias /// operation. /// REST API Reference for UpdateBotAlias Operation public virtual IAsyncResult BeginUpdateBotAlias(UpdateBotAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBotAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBotAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateBotAlias operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateBotAlias. /// /// Returns a UpdateBotAliasResult from LexModelsV2. /// REST API Reference for UpdateBotAlias Operation public virtual UpdateBotAliasResponse EndUpdateBotAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateBotLocale /// /// Updates the settings that a bot has for a specific locale. /// /// Container for the necessary parameters to execute the UpdateBotLocale service method. /// /// The response from the UpdateBotLocale 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 UpdateBotLocale Operation public virtual UpdateBotLocaleResponse UpdateBotLocale(UpdateBotLocaleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBotLocaleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBotLocaleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateBotLocale operation. /// /// /// Container for the necessary parameters to execute the UpdateBotLocale operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateBotLocale /// operation. /// REST API Reference for UpdateBotLocale Operation public virtual IAsyncResult BeginUpdateBotLocale(UpdateBotLocaleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBotLocaleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBotLocaleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateBotLocale operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateBotLocale. /// /// Returns a UpdateBotLocaleResult from LexModelsV2. /// REST API Reference for UpdateBotLocale Operation public virtual UpdateBotLocaleResponse EndUpdateBotLocale(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateBotRecommendation /// /// Updates an existing bot recommendation request. /// /// Container for the necessary parameters to execute the UpdateBotRecommendation service method. /// /// The response from the UpdateBotRecommendation 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 UpdateBotRecommendation Operation public virtual UpdateBotRecommendationResponse UpdateBotRecommendation(UpdateBotRecommendationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBotRecommendationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBotRecommendationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateBotRecommendation operation. /// /// /// Container for the necessary parameters to execute the UpdateBotRecommendation operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateBotRecommendation /// operation. /// REST API Reference for UpdateBotRecommendation Operation public virtual IAsyncResult BeginUpdateBotRecommendation(UpdateBotRecommendationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBotRecommendationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBotRecommendationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateBotRecommendation operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateBotRecommendation. /// /// Returns a UpdateBotRecommendationResult from LexModelsV2. /// REST API Reference for UpdateBotRecommendation Operation public virtual UpdateBotRecommendationResponse EndUpdateBotRecommendation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateExport /// /// Updates the password used to protect an export zip archive. /// /// /// /// The password is not required. If you don't supply a password, Amazon Lex generates /// a zip file that is not protected by a password. This is the archive that is available /// at the pre-signed S3 URL provided by the DescribeExport /// operation. /// /// /// Container for the necessary parameters to execute the UpdateExport service method. /// /// The response from the UpdateExport 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 UpdateExport Operation public virtual UpdateExportResponse UpdateExport(UpdateExportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExportRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateExport operation. /// /// /// Container for the necessary parameters to execute the UpdateExport operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateExport /// operation. /// REST API Reference for UpdateExport Operation public virtual IAsyncResult BeginUpdateExport(UpdateExportRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateExportRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateExportResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateExport operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateExport. /// /// Returns a UpdateExportResult from LexModelsV2. /// REST API Reference for UpdateExport Operation public virtual UpdateExportResponse EndUpdateExport(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateIntent /// /// Updates the settings for an intent. /// /// Container for the necessary parameters to execute the UpdateIntent service method. /// /// The response from the UpdateIntent 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 UpdateIntent Operation public virtual UpdateIntentResponse UpdateIntent(UpdateIntentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateIntent operation. /// /// /// Container for the necessary parameters to execute the UpdateIntent operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateIntent /// operation. /// REST API Reference for UpdateIntent Operation public virtual IAsyncResult BeginUpdateIntent(UpdateIntentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIntentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIntentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateIntent operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateIntent. /// /// Returns a UpdateIntentResult from LexModelsV2. /// REST API Reference for UpdateIntent Operation public virtual UpdateIntentResponse EndUpdateIntent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateResourcePolicy /// /// Replaces the existing resource policy for a bot or bot alias with a new one. If the /// policy doesn't exist, Amazon Lex returns an exception. /// /// Container for the necessary parameters to execute the UpdateResourcePolicy service method. /// /// The response from the UpdateResourcePolicy 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 UpdateResourcePolicy Operation public virtual UpdateResourcePolicyResponse UpdateResourcePolicy(UpdateResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the UpdateResourcePolicy operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResourcePolicy /// operation. /// REST API Reference for UpdateResourcePolicy Operation public virtual IAsyncResult BeginUpdateResourcePolicy(UpdateResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateResourcePolicy. /// /// Returns a UpdateResourcePolicyResult from LexModelsV2. /// REST API Reference for UpdateResourcePolicy Operation public virtual UpdateResourcePolicyResponse EndUpdateResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSlot /// /// Updates the settings for a slot. /// /// Container for the necessary parameters to execute the UpdateSlot service method. /// /// The response from the UpdateSlot 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 UpdateSlot Operation public virtual UpdateSlotResponse UpdateSlot(UpdateSlotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSlotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSlotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSlot operation. /// /// /// Container for the necessary parameters to execute the UpdateSlot operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSlot /// operation. /// REST API Reference for UpdateSlot Operation public virtual IAsyncResult BeginUpdateSlot(UpdateSlotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSlotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSlotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSlot operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSlot. /// /// Returns a UpdateSlotResult from LexModelsV2. /// REST API Reference for UpdateSlot Operation public virtual UpdateSlotResponse EndUpdateSlot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSlotType /// /// Updates the configuration of an existing slot type. /// /// Container for the necessary parameters to execute the UpdateSlotType service method. /// /// The response from the UpdateSlotType 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 UpdateSlotType Operation public virtual UpdateSlotTypeResponse UpdateSlotType(UpdateSlotTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSlotTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSlotTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSlotType operation. /// /// /// Container for the necessary parameters to execute the UpdateSlotType operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSlotType /// operation. /// REST API Reference for UpdateSlotType Operation public virtual IAsyncResult BeginUpdateSlotType(UpdateSlotTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSlotTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSlotTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSlotType operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSlotType. /// /// Returns a UpdateSlotTypeResult from LexModelsV2. /// REST API Reference for UpdateSlotType Operation public virtual UpdateSlotTypeResponse EndUpdateSlotType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateTestSet /// /// The action to update the test set. /// /// Container for the necessary parameters to execute the UpdateTestSet service method. /// /// The response from the UpdateTestSet 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 UpdateTestSet Operation public virtual UpdateTestSetResponse UpdateTestSet(UpdateTestSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTestSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTestSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateTestSet operation. /// /// /// Container for the necessary parameters to execute the UpdateTestSet operation on AmazonLexModelsV2Client. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateTestSet /// operation. /// REST API Reference for UpdateTestSet Operation public virtual IAsyncResult BeginUpdateTestSet(UpdateTestSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTestSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTestSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateTestSet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateTestSet. /// /// Returns a UpdateTestSetResult from LexModelsV2. /// REST API Reference for UpdateTestSet Operation public virtual UpdateTestSetResponse EndUpdateTestSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }