/* * 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 wisdom-2020-10-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.ConnectWisdomService.Model; using Amazon.ConnectWisdomService.Model.Internal.MarshallTransformations; using Amazon.ConnectWisdomService.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ConnectWisdomService { /// /// Implementation for accessing ConnectWisdomService /// /// Amazon Connect Wisdom delivers agents the information they need to solve customer /// issues as they're actively speaking with customers. Agents can search across connected /// repositories from within their agent desktop to find answers quickly. Use Amazon Connect /// Wisdom to create an assistant and a knowledge base, for example, or manage content /// by uploading custom files. /// public partial class AmazonConnectWisdomServiceClient : AmazonServiceClient, IAmazonConnectWisdomService { private static IServiceMetadata serviceMetadata = new AmazonConnectWisdomServiceMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IConnectWisdomServicePaginatorFactory _paginators; /// /// Paginators for the service /// public IConnectWisdomServicePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ConnectWisdomServicePaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonConnectWisdomServiceClient 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 AmazonConnectWisdomServiceClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectWisdomServiceConfig()) { } /// /// Constructs AmazonConnectWisdomServiceClient 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 AmazonConnectWisdomServiceClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectWisdomServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectWisdomServiceClient 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 AmazonConnectWisdomServiceClient Configuration Object public AmazonConnectWisdomServiceClient(AmazonConnectWisdomServiceConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonConnectWisdomServiceClient with AWS Credentials /// /// AWS Credentials public AmazonConnectWisdomServiceClient(AWSCredentials credentials) : this(credentials, new AmazonConnectWisdomServiceConfig()) { } /// /// Constructs AmazonConnectWisdomServiceClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonConnectWisdomServiceClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonConnectWisdomServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectWisdomServiceClient with AWS Credentials and an /// AmazonConnectWisdomServiceClient Configuration object. /// /// AWS Credentials /// The AmazonConnectWisdomServiceClient Configuration Object public AmazonConnectWisdomServiceClient(AWSCredentials credentials, AmazonConnectWisdomServiceConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonConnectWisdomServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonConnectWisdomServiceClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectWisdomServiceConfig()) { } /// /// Constructs AmazonConnectWisdomServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonConnectWisdomServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectWisdomServiceConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonConnectWisdomServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectWisdomServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonConnectWisdomServiceClient Configuration Object public AmazonConnectWisdomServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonConnectWisdomServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonConnectWisdomServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonConnectWisdomServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectWisdomServiceConfig()) { } /// /// Constructs AmazonConnectWisdomServiceClient 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 AmazonConnectWisdomServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectWisdomServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectWisdomServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectWisdomServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonConnectWisdomServiceClient Configuration Object public AmazonConnectWisdomServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonConnectWisdomServiceConfig 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 AmazonConnectWisdomServiceEndpointResolver()); } /// /// 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 CreateAssistant /// /// Creates an Amazon Connect Wisdom assistant. /// /// Container for the necessary parameters to execute the CreateAssistant service method. /// /// The response from the CreateAssistant service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. For example, if you're using a Create API (such as CreateAssistant) /// that accepts name, a conflicting resource (usually with the same name) is being created /// or mutated. /// /// /// You've exceeded your service quota. To perform the requested action, remove some of /// the relevant resources, or use service quotas to request a service quota increase. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for CreateAssistant Operation public virtual CreateAssistantResponse CreateAssistant(CreateAssistantRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssistantResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAssistant operation. /// /// /// Container for the necessary parameters to execute the CreateAssistant operation on AmazonConnectWisdomServiceClient. /// 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 EndCreateAssistant /// operation. /// REST API Reference for CreateAssistant Operation public virtual IAsyncResult BeginCreateAssistant(CreateAssistantRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssistantResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAssistant operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAssistant. /// /// Returns a CreateAssistantResult from ConnectWisdomService. /// REST API Reference for CreateAssistant Operation public virtual CreateAssistantResponse EndCreateAssistant(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateAssistantAssociation /// /// Creates an association between an Amazon Connect Wisdom assistant and another resource. /// Currently, the only supported association is with a knowledge base. An assistant can /// have only a single association. /// /// Container for the necessary parameters to execute the CreateAssistantAssociation service method. /// /// The response from the CreateAssistantAssociation service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. For example, if you're using a Create API (such as CreateAssistant) /// that accepts name, a conflicting resource (usually with the same name) is being created /// or mutated. /// /// /// The specified resource does not exist. /// /// /// You've exceeded your service quota. To perform the requested action, remove some of /// the relevant resources, or use service quotas to request a service quota increase. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for CreateAssistantAssociation Operation public virtual CreateAssistantAssociationResponse CreateAssistantAssociation(CreateAssistantAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssistantAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssistantAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAssistantAssociation operation. /// /// /// Container for the necessary parameters to execute the CreateAssistantAssociation operation on AmazonConnectWisdomServiceClient. /// 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 EndCreateAssistantAssociation /// operation. /// REST API Reference for CreateAssistantAssociation Operation public virtual IAsyncResult BeginCreateAssistantAssociation(CreateAssistantAssociationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssistantAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssistantAssociationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAssistantAssociation operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAssistantAssociation. /// /// Returns a CreateAssistantAssociationResult from ConnectWisdomService. /// REST API Reference for CreateAssistantAssociation Operation public virtual CreateAssistantAssociationResponse EndCreateAssistantAssociation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateContent /// /// Creates Wisdom content. Before to calling this API, use StartContentUpload /// to upload an asset. /// /// Container for the necessary parameters to execute the CreateContent service method. /// /// The response from the CreateContent service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. For example, if you're using a Create API (such as CreateAssistant) /// that accepts name, a conflicting resource (usually with the same name) is being created /// or mutated. /// /// /// The specified resource does not exist. /// /// /// You've exceeded your service quota. To perform the requested action, remove some of /// the relevant resources, or use service quotas to request a service quota increase. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for CreateContent Operation public virtual CreateContentResponse CreateContent(CreateContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateContent operation. /// /// /// Container for the necessary parameters to execute the CreateContent operation on AmazonConnectWisdomServiceClient. /// 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 EndCreateContent /// operation. /// REST API Reference for CreateContent Operation public virtual IAsyncResult BeginCreateContent(CreateContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateContent operation. /// /// /// The IAsyncResult returned by the call to BeginCreateContent. /// /// Returns a CreateContentResult from ConnectWisdomService. /// REST API Reference for CreateContent Operation public virtual CreateContentResponse EndCreateContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateKnowledgeBase /// /// Creates a knowledge base. /// /// /// /// When using this API, you cannot reuse Amazon /// AppIntegrations DataIntegrations with external knowledge bases such as Salesforce /// and ServiceNow. If you do, you'll get an InvalidRequestException error. /// /// /// /// /// For example, you're programmatically managing your external knowledge base, and you /// want to add or remove one of the fields that is being ingested from Salesforce. Do /// the following: /// ///
  1. /// /// Call DeleteKnowledgeBase. /// ///
  2. /// /// Call DeleteDataIntegration. /// ///
  3. /// /// Call CreateDataIntegration /// to recreate the DataIntegration or a create different one. /// ///
  4. /// /// Call CreateKnowledgeBase. /// ///
///
/// Container for the necessary parameters to execute the CreateKnowledgeBase service method. /// /// The response from the CreateKnowledgeBase service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. For example, if you're using a Create API (such as CreateAssistant) /// that accepts name, a conflicting resource (usually with the same name) is being created /// or mutated. /// /// /// You've exceeded your service quota. To perform the requested action, remove some of /// the relevant resources, or use service quotas to request a service quota increase. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for CreateKnowledgeBase Operation public virtual CreateKnowledgeBaseResponse CreateKnowledgeBase(CreateKnowledgeBaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKnowledgeBaseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKnowledgeBaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateKnowledgeBase operation. /// /// /// Container for the necessary parameters to execute the CreateKnowledgeBase operation on AmazonConnectWisdomServiceClient. /// 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 EndCreateKnowledgeBase /// operation. /// REST API Reference for CreateKnowledgeBase Operation public virtual IAsyncResult BeginCreateKnowledgeBase(CreateKnowledgeBaseRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKnowledgeBaseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKnowledgeBaseResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateKnowledgeBase operation. /// /// /// The IAsyncResult returned by the call to BeginCreateKnowledgeBase. /// /// Returns a CreateKnowledgeBaseResult from ConnectWisdomService. /// REST API Reference for CreateKnowledgeBase Operation public virtual CreateKnowledgeBaseResponse EndCreateKnowledgeBase(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSession /// /// Creates a session. A session is a contextual container used for generating recommendations. /// Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled. /// /// Container for the necessary parameters to execute the CreateSession service method. /// /// The response from the CreateSession service method, as returned by ConnectWisdomService. /// /// The request could not be processed because of conflict in the current state of the /// resource. For example, if you're using a Create API (such as CreateAssistant) /// that accepts name, a conflicting resource (usually with the same name) is being created /// or mutated. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for CreateSession Operation public virtual CreateSessionResponse CreateSession(CreateSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSession operation. /// /// /// Container for the necessary parameters to execute the CreateSession operation on AmazonConnectWisdomServiceClient. /// 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 EndCreateSession /// operation. /// REST API Reference for CreateSession Operation public virtual IAsyncResult BeginCreateSession(CreateSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSession operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSession. /// /// Returns a CreateSessionResult from ConnectWisdomService. /// REST API Reference for CreateSession Operation public virtual CreateSessionResponse EndCreateSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAssistant /// /// Deletes an assistant. /// /// Container for the necessary parameters to execute the DeleteAssistant service method. /// /// The response from the DeleteAssistant service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for DeleteAssistant Operation public virtual DeleteAssistantResponse DeleteAssistant(DeleteAssistantRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssistantResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAssistant operation. /// /// /// Container for the necessary parameters to execute the DeleteAssistant operation on AmazonConnectWisdomServiceClient. /// 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 EndDeleteAssistant /// operation. /// REST API Reference for DeleteAssistant Operation public virtual IAsyncResult BeginDeleteAssistant(DeleteAssistantRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssistantResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAssistant operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAssistant. /// /// Returns a DeleteAssistantResult from ConnectWisdomService. /// REST API Reference for DeleteAssistant Operation public virtual DeleteAssistantResponse EndDeleteAssistant(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAssistantAssociation /// /// Deletes an assistant association. /// /// Container for the necessary parameters to execute the DeleteAssistantAssociation service method. /// /// The response from the DeleteAssistantAssociation service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for DeleteAssistantAssociation Operation public virtual DeleteAssistantAssociationResponse DeleteAssistantAssociation(DeleteAssistantAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssistantAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssistantAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAssistantAssociation operation. /// /// /// Container for the necessary parameters to execute the DeleteAssistantAssociation operation on AmazonConnectWisdomServiceClient. /// 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 EndDeleteAssistantAssociation /// operation. /// REST API Reference for DeleteAssistantAssociation Operation public virtual IAsyncResult BeginDeleteAssistantAssociation(DeleteAssistantAssociationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssistantAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssistantAssociationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAssistantAssociation operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAssistantAssociation. /// /// Returns a DeleteAssistantAssociationResult from ConnectWisdomService. /// REST API Reference for DeleteAssistantAssociation Operation public virtual DeleteAssistantAssociationResponse EndDeleteAssistantAssociation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteContent /// /// Deletes the content. /// /// Container for the necessary parameters to execute the DeleteContent service method. /// /// The response from the DeleteContent service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for DeleteContent Operation public virtual DeleteContentResponse DeleteContent(DeleteContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteContent operation. /// /// /// Container for the necessary parameters to execute the DeleteContent operation on AmazonConnectWisdomServiceClient. /// 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 EndDeleteContent /// operation. /// REST API Reference for DeleteContent Operation public virtual IAsyncResult BeginDeleteContent(DeleteContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteContent operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteContent. /// /// Returns a DeleteContentResult from ConnectWisdomService. /// REST API Reference for DeleteContent Operation public virtual DeleteContentResponse EndDeleteContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteKnowledgeBase /// /// Deletes the knowledge base. /// /// /// /// When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, /// you must also delete the Amazon /// AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration /// after it's been associated with an external knowledge base. However, you can delete /// and recreate it. See DeleteDataIntegration /// and CreateDataIntegration /// in the Amazon AppIntegrations API Reference. /// /// /// /// Container for the necessary parameters to execute the DeleteKnowledgeBase service method. /// /// The response from the DeleteKnowledgeBase service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. For example, if you're using a Create API (such as CreateAssistant) /// that accepts name, a conflicting resource (usually with the same name) is being created /// or mutated. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for DeleteKnowledgeBase Operation public virtual DeleteKnowledgeBaseResponse DeleteKnowledgeBase(DeleteKnowledgeBaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteKnowledgeBaseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteKnowledgeBaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteKnowledgeBase operation. /// /// /// Container for the necessary parameters to execute the DeleteKnowledgeBase operation on AmazonConnectWisdomServiceClient. /// 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 EndDeleteKnowledgeBase /// operation. /// REST API Reference for DeleteKnowledgeBase Operation public virtual IAsyncResult BeginDeleteKnowledgeBase(DeleteKnowledgeBaseRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteKnowledgeBaseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteKnowledgeBaseResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteKnowledgeBase operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteKnowledgeBase. /// /// Returns a DeleteKnowledgeBaseResult from ConnectWisdomService. /// REST API Reference for DeleteKnowledgeBase Operation public virtual DeleteKnowledgeBaseResponse EndDeleteKnowledgeBase(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAssistant /// /// Retrieves information about an assistant. /// /// Container for the necessary parameters to execute the GetAssistant service method. /// /// The response from the GetAssistant service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for GetAssistant Operation public virtual GetAssistantResponse GetAssistant(GetAssistantRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssistantResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAssistant operation. /// /// /// Container for the necessary parameters to execute the GetAssistant operation on AmazonConnectWisdomServiceClient. /// 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 EndGetAssistant /// operation. /// REST API Reference for GetAssistant Operation public virtual IAsyncResult BeginGetAssistant(GetAssistantRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssistantResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAssistant operation. /// /// /// The IAsyncResult returned by the call to BeginGetAssistant. /// /// Returns a GetAssistantResult from ConnectWisdomService. /// REST API Reference for GetAssistant Operation public virtual GetAssistantResponse EndGetAssistant(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAssistantAssociation /// /// Retrieves information about an assistant association. /// /// Container for the necessary parameters to execute the GetAssistantAssociation service method. /// /// The response from the GetAssistantAssociation service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for GetAssistantAssociation Operation public virtual GetAssistantAssociationResponse GetAssistantAssociation(GetAssistantAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssistantAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssistantAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAssistantAssociation operation. /// /// /// Container for the necessary parameters to execute the GetAssistantAssociation operation on AmazonConnectWisdomServiceClient. /// 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 EndGetAssistantAssociation /// operation. /// REST API Reference for GetAssistantAssociation Operation public virtual IAsyncResult BeginGetAssistantAssociation(GetAssistantAssociationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssistantAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssistantAssociationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAssistantAssociation operation. /// /// /// The IAsyncResult returned by the call to BeginGetAssistantAssociation. /// /// Returns a GetAssistantAssociationResult from ConnectWisdomService. /// REST API Reference for GetAssistantAssociation Operation public virtual GetAssistantAssociationResponse EndGetAssistantAssociation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetContent /// /// Retrieves content, including a pre-signed URL to download the content. /// /// Container for the necessary parameters to execute the GetContent service method. /// /// The response from the GetContent service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for GetContent Operation public virtual GetContentResponse GetContent(GetContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetContent operation. /// /// /// Container for the necessary parameters to execute the GetContent operation on AmazonConnectWisdomServiceClient. /// 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 EndGetContent /// operation. /// REST API Reference for GetContent Operation public virtual IAsyncResult BeginGetContent(GetContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetContentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetContent operation. /// /// /// The IAsyncResult returned by the call to BeginGetContent. /// /// Returns a GetContentResult from ConnectWisdomService. /// REST API Reference for GetContent Operation public virtual GetContentResponse EndGetContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetContentSummary /// /// Retrieves summary information about the content. /// /// Container for the necessary parameters to execute the GetContentSummary service method. /// /// The response from the GetContentSummary service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for GetContentSummary Operation public virtual GetContentSummaryResponse GetContentSummary(GetContentSummaryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContentSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContentSummaryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetContentSummary operation. /// /// /// Container for the necessary parameters to execute the GetContentSummary operation on AmazonConnectWisdomServiceClient. /// 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 EndGetContentSummary /// operation. /// REST API Reference for GetContentSummary Operation public virtual IAsyncResult BeginGetContentSummary(GetContentSummaryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetContentSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContentSummaryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetContentSummary operation. /// /// /// The IAsyncResult returned by the call to BeginGetContentSummary. /// /// Returns a GetContentSummaryResult from ConnectWisdomService. /// REST API Reference for GetContentSummary Operation public virtual GetContentSummaryResponse EndGetContentSummary(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetKnowledgeBase /// /// Retrieves information about the knowledge base. /// /// Container for the necessary parameters to execute the GetKnowledgeBase service method. /// /// The response from the GetKnowledgeBase service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for GetKnowledgeBase Operation public virtual GetKnowledgeBaseResponse GetKnowledgeBase(GetKnowledgeBaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetKnowledgeBaseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKnowledgeBaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetKnowledgeBase operation. /// /// /// Container for the necessary parameters to execute the GetKnowledgeBase operation on AmazonConnectWisdomServiceClient. /// 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 EndGetKnowledgeBase /// operation. /// REST API Reference for GetKnowledgeBase Operation public virtual IAsyncResult BeginGetKnowledgeBase(GetKnowledgeBaseRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetKnowledgeBaseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKnowledgeBaseResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetKnowledgeBase operation. /// /// /// The IAsyncResult returned by the call to BeginGetKnowledgeBase. /// /// Returns a GetKnowledgeBaseResult from ConnectWisdomService. /// REST API Reference for GetKnowledgeBase Operation public virtual GetKnowledgeBaseResponse EndGetKnowledgeBase(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetRecommendations /// /// Retrieves recommendations for the specified session. To avoid retrieving the same /// recommendations in subsequent calls, use NotifyRecommendationsReceived. /// This API supports long-polling behavior with the waitTimeSeconds parameter. /// Short poll is the default behavior and only returns recommendations already available. /// To perform a manual query against an assistant, use QueryAssistant. /// /// Container for the necessary parameters to execute the GetRecommendations service method. /// /// The response from the GetRecommendations service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for GetRecommendations Operation public virtual GetRecommendationsResponse GetRecommendations(GetRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetRecommendations operation. /// /// /// Container for the necessary parameters to execute the GetRecommendations operation on AmazonConnectWisdomServiceClient. /// 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 EndGetRecommendations /// operation. /// REST API Reference for GetRecommendations Operation public virtual IAsyncResult BeginGetRecommendations(GetRecommendationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecommendationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRecommendations operation. /// /// /// The IAsyncResult returned by the call to BeginGetRecommendations. /// /// Returns a GetRecommendationsResult from ConnectWisdomService. /// REST API Reference for GetRecommendations Operation public virtual GetRecommendationsResponse EndGetRecommendations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSession /// /// Retrieves information for a specified session. /// /// Container for the necessary parameters to execute the GetSession service method. /// /// The response from the GetSession service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for GetSession Operation public virtual GetSessionResponse GetSession(GetSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSession operation. /// /// /// Container for the necessary parameters to execute the GetSession operation on AmazonConnectWisdomServiceClient. /// 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 EndGetSession /// operation. /// REST API Reference for GetSession Operation public virtual IAsyncResult BeginGetSession(GetSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSession operation. /// /// /// The IAsyncResult returned by the call to BeginGetSession. /// /// Returns a GetSessionResult from ConnectWisdomService. /// REST API Reference for GetSession Operation public virtual GetSessionResponse EndGetSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAssistantAssociations /// /// Lists information about assistant associations. /// /// Container for the necessary parameters to execute the ListAssistantAssociations service method. /// /// The response from the ListAssistantAssociations service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for ListAssistantAssociations Operation public virtual ListAssistantAssociationsResponse ListAssistantAssociations(ListAssistantAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssistantAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssistantAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAssistantAssociations operation. /// /// /// Container for the necessary parameters to execute the ListAssistantAssociations operation on AmazonConnectWisdomServiceClient. /// 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 EndListAssistantAssociations /// operation. /// REST API Reference for ListAssistantAssociations Operation public virtual IAsyncResult BeginListAssistantAssociations(ListAssistantAssociationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssistantAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssistantAssociationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAssistantAssociations operation. /// /// /// The IAsyncResult returned by the call to BeginListAssistantAssociations. /// /// Returns a ListAssistantAssociationsResult from ConnectWisdomService. /// REST API Reference for ListAssistantAssociations Operation public virtual ListAssistantAssociationsResponse EndListAssistantAssociations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAssistants /// /// Lists information about assistants. /// /// Container for the necessary parameters to execute the ListAssistants service method. /// /// The response from the ListAssistants service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for ListAssistants Operation public virtual ListAssistantsResponse ListAssistants(ListAssistantsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssistantsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssistantsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAssistants operation. /// /// /// Container for the necessary parameters to execute the ListAssistants operation on AmazonConnectWisdomServiceClient. /// 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 EndListAssistants /// operation. /// REST API Reference for ListAssistants Operation public virtual IAsyncResult BeginListAssistants(ListAssistantsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssistantsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssistantsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAssistants operation. /// /// /// The IAsyncResult returned by the call to BeginListAssistants. /// /// Returns a ListAssistantsResult from ConnectWisdomService. /// REST API Reference for ListAssistants Operation public virtual ListAssistantsResponse EndListAssistants(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListContents /// /// Lists the content. /// /// Container for the necessary parameters to execute the ListContents service method. /// /// The response from the ListContents service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for ListContents Operation public virtual ListContentsResponse ListContents(ListContentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListContents operation. /// /// /// Container for the necessary parameters to execute the ListContents operation on AmazonConnectWisdomServiceClient. /// 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 EndListContents /// operation. /// REST API Reference for ListContents Operation public virtual IAsyncResult BeginListContents(ListContentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListContentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListContents operation. /// /// /// The IAsyncResult returned by the call to BeginListContents. /// /// Returns a ListContentsResult from ConnectWisdomService. /// REST API Reference for ListContents Operation public virtual ListContentsResponse EndListContents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListKnowledgeBases /// /// Lists the knowledge bases. /// /// Container for the necessary parameters to execute the ListKnowledgeBases service method. /// /// The response from the ListKnowledgeBases service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for ListKnowledgeBases Operation public virtual ListKnowledgeBasesResponse ListKnowledgeBases(ListKnowledgeBasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListKnowledgeBasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListKnowledgeBasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListKnowledgeBases operation. /// /// /// Container for the necessary parameters to execute the ListKnowledgeBases operation on AmazonConnectWisdomServiceClient. /// 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 EndListKnowledgeBases /// operation. /// REST API Reference for ListKnowledgeBases Operation public virtual IAsyncResult BeginListKnowledgeBases(ListKnowledgeBasesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListKnowledgeBasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListKnowledgeBasesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListKnowledgeBases operation. /// /// /// The IAsyncResult returned by the call to BeginListKnowledgeBases. /// /// Returns a ListKnowledgeBasesResult from ConnectWisdomService. /// REST API Reference for ListKnowledgeBases Operation public virtual ListKnowledgeBasesResponse EndListKnowledgeBases(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists the tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by ConnectWisdomService. /// /// The specified resource does not exist. /// /// 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 AmazonConnectWisdomServiceClient. /// 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 ConnectWisdomService. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region NotifyRecommendationsReceived /// /// Removes the specified recommendations from the specified assistant's queue of newly /// available recommendations. You can use this API in conjunction with GetRecommendations /// and a waitTimeSeconds input for long-polling behavior and avoiding duplicate /// recommendations. /// /// Container for the necessary parameters to execute the NotifyRecommendationsReceived service method. /// /// The response from the NotifyRecommendationsReceived service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for NotifyRecommendationsReceived Operation public virtual NotifyRecommendationsReceivedResponse NotifyRecommendationsReceived(NotifyRecommendationsReceivedRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = NotifyRecommendationsReceivedRequestMarshaller.Instance; options.ResponseUnmarshaller = NotifyRecommendationsReceivedResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the NotifyRecommendationsReceived operation. /// /// /// Container for the necessary parameters to execute the NotifyRecommendationsReceived operation on AmazonConnectWisdomServiceClient. /// 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 EndNotifyRecommendationsReceived /// operation. /// REST API Reference for NotifyRecommendationsReceived Operation public virtual IAsyncResult BeginNotifyRecommendationsReceived(NotifyRecommendationsReceivedRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = NotifyRecommendationsReceivedRequestMarshaller.Instance; options.ResponseUnmarshaller = NotifyRecommendationsReceivedResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the NotifyRecommendationsReceived operation. /// /// /// The IAsyncResult returned by the call to BeginNotifyRecommendationsReceived. /// /// Returns a NotifyRecommendationsReceivedResult from ConnectWisdomService. /// REST API Reference for NotifyRecommendationsReceived Operation public virtual NotifyRecommendationsReceivedResponse EndNotifyRecommendationsReceived(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region QueryAssistant /// /// Performs a manual search against the specified assistant. To retrieve recommendations /// for an assistant, use GetRecommendations. /// /// Container for the necessary parameters to execute the QueryAssistant service method. /// /// The response from the QueryAssistant service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for QueryAssistant Operation public virtual QueryAssistantResponse QueryAssistant(QueryAssistantRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = QueryAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = QueryAssistantResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the QueryAssistant operation. /// /// /// Container for the necessary parameters to execute the QueryAssistant operation on AmazonConnectWisdomServiceClient. /// 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 EndQueryAssistant /// operation. /// REST API Reference for QueryAssistant Operation public virtual IAsyncResult BeginQueryAssistant(QueryAssistantRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = QueryAssistantRequestMarshaller.Instance; options.ResponseUnmarshaller = QueryAssistantResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the QueryAssistant operation. /// /// /// The IAsyncResult returned by the call to BeginQueryAssistant. /// /// Returns a QueryAssistantResult from ConnectWisdomService. /// REST API Reference for QueryAssistant Operation public virtual QueryAssistantResponse EndQueryAssistant(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RemoveKnowledgeBaseTemplateUri /// /// Removes a URI template from a knowledge base. /// /// Container for the necessary parameters to execute the RemoveKnowledgeBaseTemplateUri service method. /// /// The response from the RemoveKnowledgeBaseTemplateUri service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for RemoveKnowledgeBaseTemplateUri Operation public virtual RemoveKnowledgeBaseTemplateUriResponse RemoveKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveKnowledgeBaseTemplateUriRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveKnowledgeBaseTemplateUriResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RemoveKnowledgeBaseTemplateUri operation. /// /// /// Container for the necessary parameters to execute the RemoveKnowledgeBaseTemplateUri operation on AmazonConnectWisdomServiceClient. /// 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 EndRemoveKnowledgeBaseTemplateUri /// operation. /// REST API Reference for RemoveKnowledgeBaseTemplateUri Operation public virtual IAsyncResult BeginRemoveKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveKnowledgeBaseTemplateUriRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveKnowledgeBaseTemplateUriResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RemoveKnowledgeBaseTemplateUri operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveKnowledgeBaseTemplateUri. /// /// Returns a RemoveKnowledgeBaseTemplateUriResult from ConnectWisdomService. /// REST API Reference for RemoveKnowledgeBaseTemplateUri Operation public virtual RemoveKnowledgeBaseTemplateUriResponse EndRemoveKnowledgeBaseTemplateUri(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SearchContent /// /// Searches for content in a specified knowledge base. Can be used to get a specific /// content resource by its name. /// /// Container for the necessary parameters to execute the SearchContent service method. /// /// The response from the SearchContent service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for SearchContent Operation public virtual SearchContentResponse SearchContent(SearchContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchContentRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SearchContent operation. /// /// /// Container for the necessary parameters to execute the SearchContent operation on AmazonConnectWisdomServiceClient. /// 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 EndSearchContent /// operation. /// REST API Reference for SearchContent Operation public virtual IAsyncResult BeginSearchContent(SearchContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchContentRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SearchContent operation. /// /// /// The IAsyncResult returned by the call to BeginSearchContent. /// /// Returns a SearchContentResult from ConnectWisdomService. /// REST API Reference for SearchContent Operation public virtual SearchContentResponse EndSearchContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SearchSessions /// /// Searches for sessions. /// /// Container for the necessary parameters to execute the SearchSessions service method. /// /// The response from the SearchSessions service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for SearchSessions Operation public virtual SearchSessionsResponse SearchSessions(SearchSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchSessionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SearchSessions operation. /// /// /// Container for the necessary parameters to execute the SearchSessions operation on AmazonConnectWisdomServiceClient. /// 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 EndSearchSessions /// operation. /// REST API Reference for SearchSessions Operation public virtual IAsyncResult BeginSearchSessions(SearchSessionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchSessionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SearchSessions operation. /// /// /// The IAsyncResult returned by the call to BeginSearchSessions. /// /// Returns a SearchSessionsResult from ConnectWisdomService. /// REST API Reference for SearchSessions Operation public virtual SearchSessionsResponse EndSearchSessions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartContentUpload /// /// Get a URL to upload content to a knowledge base. To upload content, first make a PUT /// request to the returned URL with your file, making sure to include the required headers. /// Then use CreateContent /// to finalize the content creation process or UpdateContent /// to modify an existing resource. You can only upload content to a knowledge base of /// type CUSTOM. /// /// Container for the necessary parameters to execute the StartContentUpload service method. /// /// The response from the StartContentUpload service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for StartContentUpload Operation public virtual StartContentUploadResponse StartContentUpload(StartContentUploadRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartContentUploadRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContentUploadResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartContentUpload operation. /// /// /// Container for the necessary parameters to execute the StartContentUpload operation on AmazonConnectWisdomServiceClient. /// 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 EndStartContentUpload /// operation. /// REST API Reference for StartContentUpload Operation public virtual IAsyncResult BeginStartContentUpload(StartContentUploadRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartContentUploadRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContentUploadResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartContentUpload operation. /// /// /// The IAsyncResult returned by the call to BeginStartContentUpload. /// /// Returns a StartContentUploadResult from ConnectWisdomService. /// REST API Reference for StartContentUpload Operation public virtual StartContentUploadResponse EndStartContentUpload(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds the specified tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by ConnectWisdomService. /// /// The specified resource does not exist. /// /// /// Amazon Connect Wisdom throws this exception if you have too many tags in your tag /// set. /// /// 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 AmazonConnectWisdomServiceClient. /// 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 ConnectWisdomService. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes the specified tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by ConnectWisdomService. /// /// The specified resource does not exist. /// /// 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 AmazonConnectWisdomServiceClient. /// 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 ConnectWisdomService. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateContent /// /// Updates information about the content. /// /// Container for the necessary parameters to execute the UpdateContent service method. /// /// The response from the UpdateContent service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The provided revisionId does not match, indicating the content has been /// modified since it was last read. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for UpdateContent Operation public virtual UpdateContentResponse UpdateContent(UpdateContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateContent operation. /// /// /// Container for the necessary parameters to execute the UpdateContent operation on AmazonConnectWisdomServiceClient. /// 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 EndUpdateContent /// operation. /// REST API Reference for UpdateContent Operation public virtual IAsyncResult BeginUpdateContent(UpdateContentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateContent operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateContent. /// /// Returns a UpdateContentResult from ConnectWisdomService. /// REST API Reference for UpdateContent Operation public virtual UpdateContentResponse EndUpdateContent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateKnowledgeBaseTemplateUri /// /// Updates the template URI of a knowledge base. This is only supported for knowledge /// bases of type EXTERNAL. Include a single variable in ${variable} format; /// this interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce /// article, it has an Id value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view. /// /// Container for the necessary parameters to execute the UpdateKnowledgeBaseTemplateUri service method. /// /// The response from the UpdateKnowledgeBaseTemplateUri service method, as returned by ConnectWisdomService. /// /// You do not have sufficient access to perform this action. /// /// /// The specified resource does not exist. /// /// /// The input fails to satisfy the constraints specified by a service. /// /// REST API Reference for UpdateKnowledgeBaseTemplateUri Operation public virtual UpdateKnowledgeBaseTemplateUriResponse UpdateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateKnowledgeBaseTemplateUriRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateKnowledgeBaseTemplateUriResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateKnowledgeBaseTemplateUri operation. /// /// /// Container for the necessary parameters to execute the UpdateKnowledgeBaseTemplateUri operation on AmazonConnectWisdomServiceClient. /// 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 EndUpdateKnowledgeBaseTemplateUri /// operation. /// REST API Reference for UpdateKnowledgeBaseTemplateUri Operation public virtual IAsyncResult BeginUpdateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateKnowledgeBaseTemplateUriRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateKnowledgeBaseTemplateUriResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateKnowledgeBaseTemplateUri operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateKnowledgeBaseTemplateUri. /// /// Returns a UpdateKnowledgeBaseTemplateUriResult from ConnectWisdomService. /// REST API Reference for UpdateKnowledgeBaseTemplateUri Operation public virtual UpdateKnowledgeBaseTemplateUriResponse EndUpdateKnowledgeBaseTemplateUri(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }