/* * 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.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ConnectWisdomService.Model; namespace Amazon.ConnectWisdomService { /// /// Interface 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 interface IAmazonConnectWisdomService : IAmazonService, IDisposable { /// /// Paginators for the service /// IConnectWisdomServicePaginatorFactory Paginators { get; } #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 CreateAssistantResponse CreateAssistant(CreateAssistantRequest request); /// /// Creates an Amazon Connect Wisdom assistant. /// /// Container for the necessary parameters to execute the CreateAssistant service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateAssistantAsync(CreateAssistantRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 CreateAssistantAssociationResponse CreateAssistantAssociation(CreateAssistantAssociationRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateAssistantAssociationAsync(CreateAssistantAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 CreateContentResponse CreateContent(CreateContentRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateContentAsync(CreateContentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 CreateKnowledgeBaseResponse CreateKnowledgeBase(CreateKnowledgeBaseRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 CreateSessionResponse CreateSession(CreateSessionRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateSessionAsync(CreateSessionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 DeleteAssistantResponse DeleteAssistant(DeleteAssistantRequest request); /// /// Deletes an assistant. /// /// Container for the necessary parameters to execute the DeleteAssistant service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteAssistantAsync(DeleteAssistantRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 DeleteAssistantAssociationResponse DeleteAssistantAssociation(DeleteAssistantAssociationRequest request); /// /// Deletes an assistant association. /// /// Container for the necessary parameters to execute the DeleteAssistantAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteAssistantAssociationAsync(DeleteAssistantAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 DeleteContentResponse DeleteContent(DeleteContentRequest request); /// /// Deletes the content. /// /// Container for the necessary parameters to execute the DeleteContent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteContentAsync(DeleteContentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 DeleteKnowledgeBaseResponse DeleteKnowledgeBase(DeleteKnowledgeBaseRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 GetAssistantResponse GetAssistant(GetAssistantRequest request); /// /// Retrieves information about an assistant. /// /// Container for the necessary parameters to execute the GetAssistant service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAssistantAsync(GetAssistantRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 GetAssistantAssociationResponse GetAssistantAssociation(GetAssistantAssociationRequest request); /// /// Retrieves information about an assistant association. /// /// Container for the necessary parameters to execute the GetAssistantAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAssistantAssociationAsync(GetAssistantAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 GetContentResponse GetContent(GetContentRequest request); /// /// Retrieves content, including a pre-signed URL to download the content. /// /// Container for the necessary parameters to execute the GetContent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetContentAsync(GetContentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 GetContentSummaryResponse GetContentSummary(GetContentSummaryRequest request); /// /// Retrieves summary information about the content. /// /// Container for the necessary parameters to execute the GetContentSummary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetContentSummaryAsync(GetContentSummaryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 GetKnowledgeBaseResponse GetKnowledgeBase(GetKnowledgeBaseRequest request); /// /// Retrieves information about the knowledge base. /// /// Container for the necessary parameters to execute the GetKnowledgeBase service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetKnowledgeBaseAsync(GetKnowledgeBaseRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 GetRecommendationsResponse GetRecommendations(GetRecommendationsRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetRecommendationsAsync(GetRecommendationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 GetSessionResponse GetSession(GetSessionRequest request); /// /// Retrieves information for a specified session. /// /// Container for the necessary parameters to execute the GetSession service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetSessionAsync(GetSessionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 ListAssistantAssociationsResponse ListAssistantAssociations(ListAssistantAssociationsRequest request); /// /// Lists information about assistant associations. /// /// Container for the necessary parameters to execute the ListAssistantAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAssistantAssociationsAsync(ListAssistantAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 ListAssistantsResponse ListAssistants(ListAssistantsRequest request); /// /// Lists information about assistants. /// /// Container for the necessary parameters to execute the ListAssistants service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAssistantsAsync(ListAssistantsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 ListContentsResponse ListContents(ListContentsRequest request); /// /// Lists the content. /// /// Container for the necessary parameters to execute the ListContents service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListContentsAsync(ListContentsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 ListKnowledgeBasesResponse ListKnowledgeBases(ListKnowledgeBasesRequest request); /// /// Lists the knowledge bases. /// /// Container for the necessary parameters to execute the ListKnowledgeBases service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListKnowledgeBasesAsync(ListKnowledgeBasesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Lists the tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by ConnectWisdomService. /// /// The specified resource does not exist. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 NotifyRecommendationsReceivedResponse NotifyRecommendationsReceived(NotifyRecommendationsReceivedRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task NotifyRecommendationsReceivedAsync(NotifyRecommendationsReceivedRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 QueryAssistantResponse QueryAssistant(QueryAssistantRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task QueryAssistantAsync(QueryAssistantRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 RemoveKnowledgeBaseTemplateUriResponse RemoveKnowledgeBaseTemplateUri(RemoveKnowledgeBaseTemplateUriRequest request); /// /// Removes a URI template from a knowledge base. /// /// Container for the necessary parameters to execute the RemoveKnowledgeBaseTemplateUri service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task RemoveKnowledgeBaseTemplateUriAsync(RemoveKnowledgeBaseTemplateUriRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 SearchContentResponse SearchContent(SearchContentRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task SearchContentAsync(SearchContentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 SearchSessionsResponse SearchSessions(SearchSessionsRequest request); /// /// Searches for sessions. /// /// Container for the necessary parameters to execute the SearchSessions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task SearchSessionsAsync(SearchSessionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 StartContentUploadResponse StartContentUpload(StartContentUploadRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task StartContentUploadAsync(StartContentUploadRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 TagResourceResponse TagResource(TagResourceRequest request); /// /// Adds the specified tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by 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 Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Removes the specified tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by ConnectWisdomService. /// /// The specified resource does not exist. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 UpdateContentResponse UpdateContent(UpdateContentRequest request); /// /// Updates information about the content. /// /// Container for the necessary parameters to execute the UpdateContent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateContentAsync(UpdateContentRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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 UpdateKnowledgeBaseTemplateUriResponse UpdateKnowledgeBaseTemplateUri(UpdateKnowledgeBaseTemplateUriRequest request); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateKnowledgeBaseTemplateUriAsync(UpdateKnowledgeBaseTemplateUriRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }