@aws-sdk/client-qconnect 3.928.0 → 3.930.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist-cjs/index.js +5185 -5292
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/QConnectClient.js +2 -0
  4. package/dist-es/commands/ActivateMessageTemplateCommand.js +3 -9
  5. package/dist-es/commands/CreateAIAgentCommand.js +3 -9
  6. package/dist-es/commands/CreateAIAgentVersionCommand.js +3 -9
  7. package/dist-es/commands/CreateAIGuardrailCommand.js +3 -10
  8. package/dist-es/commands/CreateAIGuardrailVersionCommand.js +3 -10
  9. package/dist-es/commands/CreateAIPromptCommand.js +3 -10
  10. package/dist-es/commands/CreateAIPromptVersionCommand.js +3 -10
  11. package/dist-es/commands/CreateAssistantAssociationCommand.js +3 -9
  12. package/dist-es/commands/CreateAssistantCommand.js +3 -9
  13. package/dist-es/commands/CreateContentAssociationCommand.js +3 -9
  14. package/dist-es/commands/CreateContentCommand.js +3 -10
  15. package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -10
  16. package/dist-es/commands/CreateMessageTemplateAttachmentCommand.js +3 -10
  17. package/dist-es/commands/CreateMessageTemplateCommand.js +3 -11
  18. package/dist-es/commands/CreateMessageTemplateVersionCommand.js +3 -10
  19. package/dist-es/commands/CreateQuickResponseCommand.js +3 -10
  20. package/dist-es/commands/CreateSessionCommand.js +3 -9
  21. package/dist-es/commands/DeactivateMessageTemplateCommand.js +3 -9
  22. package/dist-es/commands/DeleteAIAgentCommand.js +3 -9
  23. package/dist-es/commands/DeleteAIAgentVersionCommand.js +3 -9
  24. package/dist-es/commands/DeleteAIGuardrailCommand.js +3 -9
  25. package/dist-es/commands/DeleteAIGuardrailVersionCommand.js +3 -9
  26. package/dist-es/commands/DeleteAIPromptCommand.js +3 -9
  27. package/dist-es/commands/DeleteAIPromptVersionCommand.js +3 -9
  28. package/dist-es/commands/DeleteAssistantAssociationCommand.js +3 -9
  29. package/dist-es/commands/DeleteAssistantCommand.js +3 -9
  30. package/dist-es/commands/DeleteContentAssociationCommand.js +3 -9
  31. package/dist-es/commands/DeleteContentCommand.js +3 -9
  32. package/dist-es/commands/DeleteImportJobCommand.js +3 -9
  33. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
  34. package/dist-es/commands/DeleteMessageTemplateAttachmentCommand.js +3 -9
  35. package/dist-es/commands/DeleteMessageTemplateCommand.js +3 -9
  36. package/dist-es/commands/DeleteQuickResponseCommand.js +3 -9
  37. package/dist-es/commands/GetAIAgentCommand.js +3 -9
  38. package/dist-es/commands/GetAIGuardrailCommand.js +3 -10
  39. package/dist-es/commands/GetAIPromptCommand.js +3 -10
  40. package/dist-es/commands/GetAssistantAssociationCommand.js +3 -9
  41. package/dist-es/commands/GetAssistantCommand.js +3 -9
  42. package/dist-es/commands/GetContentAssociationCommand.js +3 -9
  43. package/dist-es/commands/GetContentCommand.js +3 -10
  44. package/dist-es/commands/GetContentSummaryCommand.js +3 -9
  45. package/dist-es/commands/GetImportJobCommand.js +3 -10
  46. package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -10
  47. package/dist-es/commands/GetMessageTemplateCommand.js +3 -10
  48. package/dist-es/commands/GetNextMessageCommand.js +3 -10
  49. package/dist-es/commands/GetQuickResponseCommand.js +3 -10
  50. package/dist-es/commands/GetRecommendationsCommand.js +3 -10
  51. package/dist-es/commands/GetSessionCommand.js +3 -9
  52. package/dist-es/commands/ListAIAgentVersionsCommand.js +3 -9
  53. package/dist-es/commands/ListAIAgentsCommand.js +3 -9
  54. package/dist-es/commands/ListAIGuardrailVersionsCommand.js +3 -10
  55. package/dist-es/commands/ListAIGuardrailsCommand.js +3 -10
  56. package/dist-es/commands/ListAIPromptVersionsCommand.js +3 -9
  57. package/dist-es/commands/ListAIPromptsCommand.js +3 -9
  58. package/dist-es/commands/ListAssistantAssociationsCommand.js +3 -9
  59. package/dist-es/commands/ListAssistantsCommand.js +3 -9
  60. package/dist-es/commands/ListContentAssociationsCommand.js +3 -9
  61. package/dist-es/commands/ListContentsCommand.js +3 -9
  62. package/dist-es/commands/ListImportJobsCommand.js +3 -9
  63. package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -10
  64. package/dist-es/commands/ListMessageTemplateVersionsCommand.js +3 -9
  65. package/dist-es/commands/ListMessageTemplatesCommand.js +3 -9
  66. package/dist-es/commands/ListMessagesCommand.js +3 -10
  67. package/dist-es/commands/ListQuickResponsesCommand.js +3 -10
  68. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  69. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +3 -9
  70. package/dist-es/commands/PutFeedbackCommand.js +3 -9
  71. package/dist-es/commands/QueryAssistantCommand.js +3 -11
  72. package/dist-es/commands/RemoveAssistantAIAgentCommand.js +3 -9
  73. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +3 -9
  74. package/dist-es/commands/RenderMessageTemplateCommand.js +3 -10
  75. package/dist-es/commands/SearchContentCommand.js +3 -9
  76. package/dist-es/commands/SearchMessageTemplatesCommand.js +3 -10
  77. package/dist-es/commands/SearchQuickResponsesCommand.js +3 -10
  78. package/dist-es/commands/SearchSessionsCommand.js +3 -9
  79. package/dist-es/commands/SendMessageCommand.js +3 -10
  80. package/dist-es/commands/StartContentUploadCommand.js +3 -10
  81. package/dist-es/commands/StartImportJobCommand.js +3 -10
  82. package/dist-es/commands/TagResourceCommand.js +3 -9
  83. package/dist-es/commands/UntagResourceCommand.js +3 -9
  84. package/dist-es/commands/UpdateAIAgentCommand.js +3 -9
  85. package/dist-es/commands/UpdateAIGuardrailCommand.js +3 -10
  86. package/dist-es/commands/UpdateAIPromptCommand.js +3 -10
  87. package/dist-es/commands/UpdateAssistantAIAgentCommand.js +3 -9
  88. package/dist-es/commands/UpdateContentCommand.js +3 -10
  89. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +3 -10
  90. package/dist-es/commands/UpdateMessageTemplateCommand.js +3 -10
  91. package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +3 -10
  92. package/dist-es/commands/UpdateQuickResponseCommand.js +3 -10
  93. package/dist-es/commands/UpdateSessionCommand.js +3 -9
  94. package/dist-es/commands/UpdateSessionDataCommand.js +3 -10
  95. package/dist-es/models/models_0.js +0 -722
  96. package/dist-es/models/models_1.js +0 -314
  97. package/dist-es/runtimeConfig.shared.js +2 -0
  98. package/dist-es/schemas/schemas_0.js +4975 -0
  99. package/dist-types/QConnectClient.d.ts +10 -1
  100. package/dist-types/models/models_0.d.ts +80 -352
  101. package/dist-types/models/models_1.d.ts +12 -191
  102. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  103. package/dist-types/runtimeConfig.d.ts +1 -0
  104. package/dist-types/runtimeConfig.native.d.ts +1 -0
  105. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  106. package/dist-types/schemas/schemas_0.d.ts +542 -0
  107. package/dist-types/ts3.4/QConnectClient.d.ts +4 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +0 -269
  109. package/dist-types/ts3.4/models/models_1.d.ts +0 -141
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  112. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  113. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  114. package/dist-types/ts3.4/schemas/schemas_0.d.ts +549 -0
  115. package/package.json +33 -34
  116. package/dist-es/protocols/Aws_restJson1.js +0 -3456
  117. package/dist-types/protocols/Aws_restJson1.d.ts +0 -821
  118. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1097
@@ -343,11 +343,14 @@ export declare namespace QuickResponseDataProvider {
343
343
  content?: never;
344
344
  $unknown: [string, any];
345
345
  }
346
+ /**
347
+ * @deprecated unused in schema-serde mode.
348
+ *
349
+ */
346
350
  interface Visitor<T> {
347
351
  content: (value: string) => T;
348
352
  _: (name: string, value: any) => T;
349
353
  }
350
- const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
351
354
  }
352
355
  /**
353
356
  * @public
@@ -438,11 +441,14 @@ export declare namespace QuickResponseContentProvider {
438
441
  content?: never;
439
442
  $unknown: [string, any];
440
443
  }
444
+ /**
445
+ * @deprecated unused in schema-serde mode.
446
+ *
447
+ */
441
448
  interface Visitor<T> {
442
449
  content: (value: string) => T;
443
450
  _: (name: string, value: any) => T;
444
451
  }
445
- const visit: <T>(value: QuickResponseContentProvider, visitor: Visitor<T>) => T;
446
452
  }
447
453
  /**
448
454
  * <p>The content of the quick response stored in different media types.</p>
@@ -2552,6 +2558,10 @@ export declare namespace DataDetails {
2552
2558
  emailGenerativeAnswerChunkData?: never;
2553
2559
  $unknown: [string, any];
2554
2560
  }
2561
+ /**
2562
+ * @deprecated unused in schema-serde mode.
2563
+ *
2564
+ */
2555
2565
  interface Visitor<T> {
2556
2566
  contentData: (value: ContentDataDetails) => T;
2557
2567
  generativeData: (value: GenerativeDataDetails) => T;
@@ -2563,7 +2573,6 @@ export declare namespace DataDetails {
2563
2573
  emailGenerativeAnswerChunkData: (value: EmailGenerativeAnswerChunkDataDetails) => T;
2564
2574
  _: (name: string, value: any) => T;
2565
2575
  }
2566
- const visit: <T>(value: DataDetails, visitor: Visitor<T>) => T;
2567
2576
  }
2568
2577
  /**
2569
2578
  * <p>Summary of the data.</p>
@@ -2741,191 +2750,3 @@ export interface QueryAssistantResponse {
2741
2750
  */
2742
2751
  nextToken?: string | undefined;
2743
2752
  }
2744
- /**
2745
- * @internal
2746
- */
2747
- export declare const MessageTemplateDataFilterSensitiveLog: (obj: MessageTemplateData) => any;
2748
- /**
2749
- * @internal
2750
- */
2751
- export declare const CreateMessageTemplateResponseFilterSensitiveLog: (obj: CreateMessageTemplateResponse) => any;
2752
- /**
2753
- * @internal
2754
- */
2755
- export declare const CreateMessageTemplateAttachmentRequestFilterSensitiveLog: (obj: CreateMessageTemplateAttachmentRequest) => any;
2756
- /**
2757
- * @internal
2758
- */
2759
- export declare const MessageTemplateAttachmentFilterSensitiveLog: (obj: MessageTemplateAttachment) => any;
2760
- /**
2761
- * @internal
2762
- */
2763
- export declare const CreateMessageTemplateAttachmentResponseFilterSensitiveLog: (obj: CreateMessageTemplateAttachmentResponse) => any;
2764
- /**
2765
- * @internal
2766
- */
2767
- export declare const ExtendedMessageTemplateDataFilterSensitiveLog: (obj: ExtendedMessageTemplateData) => any;
2768
- /**
2769
- * @internal
2770
- */
2771
- export declare const CreateMessageTemplateVersionResponseFilterSensitiveLog: (obj: CreateMessageTemplateVersionResponse) => any;
2772
- /**
2773
- * @internal
2774
- */
2775
- export declare const QuickResponseDataProviderFilterSensitiveLog: (obj: QuickResponseDataProvider) => any;
2776
- /**
2777
- * @internal
2778
- */
2779
- export declare const CreateQuickResponseRequestFilterSensitiveLog: (obj: CreateQuickResponseRequest) => any;
2780
- /**
2781
- * @internal
2782
- */
2783
- export declare const QuickResponseContentProviderFilterSensitiveLog: (obj: QuickResponseContentProvider) => any;
2784
- /**
2785
- * @internal
2786
- */
2787
- export declare const QuickResponseContentsFilterSensitiveLog: (obj: QuickResponseContents) => any;
2788
- /**
2789
- * @internal
2790
- */
2791
- export declare const QuickResponseDataFilterSensitiveLog: (obj: QuickResponseData) => any;
2792
- /**
2793
- * @internal
2794
- */
2795
- export declare const CreateQuickResponseResponseFilterSensitiveLog: (obj: CreateQuickResponseResponse) => any;
2796
- /**
2797
- * @internal
2798
- */
2799
- export declare const ImportJobDataFilterSensitiveLog: (obj: ImportJobData) => any;
2800
- /**
2801
- * @internal
2802
- */
2803
- export declare const GetImportJobResponseFilterSensitiveLog: (obj: GetImportJobResponse) => any;
2804
- /**
2805
- * @internal
2806
- */
2807
- export declare const GetKnowledgeBaseResponseFilterSensitiveLog: (obj: GetKnowledgeBaseResponse) => any;
2808
- /**
2809
- * @internal
2810
- */
2811
- export declare const GetMessageTemplateResponseFilterSensitiveLog: (obj: GetMessageTemplateResponse) => any;
2812
- /**
2813
- * @internal
2814
- */
2815
- export declare const GetQuickResponseResponseFilterSensitiveLog: (obj: GetQuickResponseResponse) => any;
2816
- /**
2817
- * @internal
2818
- */
2819
- export declare const KnowledgeBaseSummaryFilterSensitiveLog: (obj: KnowledgeBaseSummary) => any;
2820
- /**
2821
- * @internal
2822
- */
2823
- export declare const ListKnowledgeBasesResponseFilterSensitiveLog: (obj: ListKnowledgeBasesResponse) => any;
2824
- /**
2825
- * @internal
2826
- */
2827
- export declare const RenderMessageTemplateRequestFilterSensitiveLog: (obj: RenderMessageTemplateRequest) => any;
2828
- /**
2829
- * @internal
2830
- */
2831
- export declare const RenderMessageTemplateResponseFilterSensitiveLog: (obj: RenderMessageTemplateResponse) => any;
2832
- /**
2833
- * @internal
2834
- */
2835
- export declare const UpdateMessageTemplateRequestFilterSensitiveLog: (obj: UpdateMessageTemplateRequest) => any;
2836
- /**
2837
- * @internal
2838
- */
2839
- export declare const UpdateMessageTemplateResponseFilterSensitiveLog: (obj: UpdateMessageTemplateResponse) => any;
2840
- /**
2841
- * @internal
2842
- */
2843
- export declare const UpdateMessageTemplateMetadataRequestFilterSensitiveLog: (obj: UpdateMessageTemplateMetadataRequest) => any;
2844
- /**
2845
- * @internal
2846
- */
2847
- export declare const UpdateMessageTemplateMetadataResponseFilterSensitiveLog: (obj: UpdateMessageTemplateMetadataResponse) => any;
2848
- /**
2849
- * @internal
2850
- */
2851
- export declare const QuickResponseSummaryFilterSensitiveLog: (obj: QuickResponseSummary) => any;
2852
- /**
2853
- * @internal
2854
- */
2855
- export declare const ListQuickResponsesResponseFilterSensitiveLog: (obj: ListQuickResponsesResponse) => any;
2856
- /**
2857
- * @internal
2858
- */
2859
- export declare const UpdateQuickResponseRequestFilterSensitiveLog: (obj: UpdateQuickResponseRequest) => any;
2860
- /**
2861
- * @internal
2862
- */
2863
- export declare const UpdateQuickResponseResponseFilterSensitiveLog: (obj: UpdateQuickResponseResponse) => any;
2864
- /**
2865
- * @internal
2866
- */
2867
- export declare const MessageTemplateSearchResultDataFilterSensitiveLog: (obj: MessageTemplateSearchResultData) => any;
2868
- /**
2869
- * @internal
2870
- */
2871
- export declare const SearchMessageTemplatesResponseFilterSensitiveLog: (obj: SearchMessageTemplatesResponse) => any;
2872
- /**
2873
- * @internal
2874
- */
2875
- export declare const SearchQuickResponsesRequestFilterSensitiveLog: (obj: SearchQuickResponsesRequest) => any;
2876
- /**
2877
- * @internal
2878
- */
2879
- export declare const QuickResponseSearchResultDataFilterSensitiveLog: (obj: QuickResponseSearchResultData) => any;
2880
- /**
2881
- * @internal
2882
- */
2883
- export declare const SearchQuickResponsesResponseFilterSensitiveLog: (obj: SearchQuickResponsesResponse) => any;
2884
- /**
2885
- * @internal
2886
- */
2887
- export declare const StartContentUploadResponseFilterSensitiveLog: (obj: StartContentUploadResponse) => any;
2888
- /**
2889
- * @internal
2890
- */
2891
- export declare const StartImportJobResponseFilterSensitiveLog: (obj: StartImportJobResponse) => any;
2892
- /**
2893
- * @internal
2894
- */
2895
- export declare const UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog: (obj: UpdateKnowledgeBaseTemplateUriResponse) => any;
2896
- /**
2897
- * @internal
2898
- */
2899
- export declare const DataDetailsFilterSensitiveLog: (obj: DataDetails) => any;
2900
- /**
2901
- * @internal
2902
- */
2903
- export declare const DataSummaryFilterSensitiveLog: (obj: DataSummary) => any;
2904
- /**
2905
- * @internal
2906
- */
2907
- export declare const EmailGenerativeAnswerChunkDataDetailsFilterSensitiveLog: (obj: EmailGenerativeAnswerChunkDataDetails) => any;
2908
- /**
2909
- * @internal
2910
- */
2911
- export declare const GenerativeChunkDataDetailsFilterSensitiveLog: (obj: GenerativeChunkDataDetails) => any;
2912
- /**
2913
- * @internal
2914
- */
2915
- export declare const GenerativeDataDetailsFilterSensitiveLog: (obj: GenerativeDataDetails) => any;
2916
- /**
2917
- * @internal
2918
- */
2919
- export declare const RecommendationDataFilterSensitiveLog: (obj: RecommendationData) => any;
2920
- /**
2921
- * @internal
2922
- */
2923
- export declare const ResultDataFilterSensitiveLog: (obj: ResultData) => any;
2924
- /**
2925
- * @internal
2926
- */
2927
- export declare const GetRecommendationsResponseFilterSensitiveLog: (obj: GetRecommendationsResponse) => any;
2928
- /**
2929
- * @internal
2930
- */
2931
- export declare const QueryAssistantResponseFilterSensitiveLog: (obj: QueryAssistantResponse) => any;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: QConnectClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: QConnectClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: QConnectClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: QConnectClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").QConnectHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;