@aws-sdk/client-qconnect 3.665.0 → 3.666.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 (107) hide show
  1. package/README.md +166 -0
  2. package/dist-cjs/index.js +1501 -102
  3. package/dist-es/QConnect.js +38 -0
  4. package/dist-es/commands/CreateAIAgentCommand.js +22 -0
  5. package/dist-es/commands/CreateAIAgentVersionCommand.js +22 -0
  6. package/dist-es/commands/CreateAIPromptCommand.js +23 -0
  7. package/dist-es/commands/CreateAIPromptVersionCommand.js +23 -0
  8. package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
  9. package/dist-es/commands/DeleteAIAgentCommand.js +22 -0
  10. package/dist-es/commands/DeleteAIAgentVersionCommand.js +22 -0
  11. package/dist-es/commands/DeleteAIPromptCommand.js +22 -0
  12. package/dist-es/commands/DeleteAIPromptVersionCommand.js +22 -0
  13. package/dist-es/commands/GetAIAgentCommand.js +22 -0
  14. package/dist-es/commands/GetAIPromptCommand.js +23 -0
  15. package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
  16. package/dist-es/commands/ListAIAgentVersionsCommand.js +22 -0
  17. package/dist-es/commands/ListAIAgentsCommand.js +22 -0
  18. package/dist-es/commands/ListAIPromptVersionsCommand.js +22 -0
  19. package/dist-es/commands/ListAIPromptsCommand.js +22 -0
  20. package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -1
  21. package/dist-es/commands/RemoveAssistantAIAgentCommand.js +22 -0
  22. package/dist-es/commands/UpdateAIAgentCommand.js +22 -0
  23. package/dist-es/commands/UpdateAIPromptCommand.js +23 -0
  24. package/dist-es/commands/UpdateAssistantAIAgentCommand.js +22 -0
  25. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +2 -1
  26. package/dist-es/commands/UpdateSessionDataCommand.js +23 -0
  27. package/dist-es/commands/index.js +19 -0
  28. package/dist-es/models/models_0.js +310 -46
  29. package/dist-es/pagination/ListAIAgentVersionsPaginator.js +4 -0
  30. package/dist-es/pagination/ListAIAgentsPaginator.js +4 -0
  31. package/dist-es/pagination/ListAIPromptVersionsPaginator.js +4 -0
  32. package/dist-es/pagination/ListAIPromptsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +4 -0
  34. package/dist-es/protocols/Aws_restJson1.js +692 -8
  35. package/dist-types/QConnect.d.ts +148 -1
  36. package/dist-types/QConnectClient.d.ts +36 -3
  37. package/dist-types/commands/CreateAIAgentCommand.d.ts +252 -0
  38. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +180 -0
  39. package/dist-types/commands/CreateAIPromptCommand.d.ts +132 -0
  40. package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +120 -0
  41. package/dist-types/commands/CreateAssistantCommand.d.ts +5 -0
  42. package/dist-types/commands/CreateContentAssociationCommand.d.ts +5 -6
  43. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +108 -0
  44. package/dist-types/commands/CreateSessionCommand.d.ts +10 -0
  45. package/dist-types/commands/DeleteAIAgentCommand.d.ts +82 -0
  46. package/dist-types/commands/DeleteAIAgentVersionCommand.d.ts +89 -0
  47. package/dist-types/commands/DeleteAIPromptCommand.d.ts +82 -0
  48. package/dist-types/commands/DeleteAIPromptVersionCommand.d.ts +89 -0
  49. package/dist-types/commands/GetAIAgentCommand.d.ts +168 -0
  50. package/dist-types/commands/GetAIPromptCommand.d.ts +108 -0
  51. package/dist-types/commands/GetAssistantCommand.d.ts +5 -0
  52. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +56 -0
  53. package/dist-types/commands/GetRecommendationsCommand.d.ts +20 -0
  54. package/dist-types/commands/GetSessionCommand.d.ts +5 -0
  55. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +176 -0
  56. package/dist-types/commands/ListAIAgentsCommand.d.ts +172 -0
  57. package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +111 -0
  58. package/dist-types/commands/ListAIPromptsCommand.d.ts +107 -0
  59. package/dist-types/commands/ListAssistantsCommand.d.ts +5 -0
  60. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +52 -0
  61. package/dist-types/commands/QueryAssistantCommand.d.ts +30 -1
  62. package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +83 -0
  63. package/dist-types/commands/UpdateAIAgentCommand.d.ts +244 -0
  64. package/dist-types/commands/UpdateAIPromptCommand.d.ts +121 -0
  65. package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +112 -0
  66. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +56 -0
  67. package/dist-types/commands/UpdateSessionCommand.d.ts +10 -0
  68. package/dist-types/commands/UpdateSessionDataCommand.d.ts +100 -0
  69. package/dist-types/commands/index.d.ts +19 -0
  70. package/dist-types/index.d.ts +15 -1
  71. package/dist-types/models/models_0.d.ts +2454 -275
  72. package/dist-types/pagination/ListAIAgentVersionsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListAIAgentsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListAIPromptVersionsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListAIPromptsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +4 -0
  77. package/dist-types/protocols/Aws_restJson1.d.ts +171 -0
  78. package/dist-types/ts3.4/QConnect.d.ts +323 -0
  79. package/dist-types/ts3.4/QConnectClient.d.ts +116 -2
  80. package/dist-types/ts3.4/commands/CreateAIAgentCommand.d.ts +50 -0
  81. package/dist-types/ts3.4/commands/CreateAIAgentVersionCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/CreateAIPromptCommand.d.ts +50 -0
  83. package/dist-types/ts3.4/commands/CreateAIPromptVersionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DeleteAIAgentCommand.d.ts +50 -0
  85. package/dist-types/ts3.4/commands/DeleteAIAgentVersionCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/DeleteAIPromptCommand.d.ts +50 -0
  87. package/dist-types/ts3.4/commands/DeleteAIPromptVersionCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/GetAIAgentCommand.d.ts +47 -0
  89. package/dist-types/ts3.4/commands/GetAIPromptCommand.d.ts +47 -0
  90. package/dist-types/ts3.4/commands/ListAIAgentVersionsCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/ListAIAgentsCommand.d.ts +47 -0
  92. package/dist-types/ts3.4/commands/ListAIPromptVersionsCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/ListAIPromptsCommand.d.ts +50 -0
  94. package/dist-types/ts3.4/commands/RemoveAssistantAIAgentCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/UpdateAIAgentCommand.d.ts +50 -0
  96. package/dist-types/ts3.4/commands/UpdateAIPromptCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/UpdateAssistantAIAgentCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/UpdateSessionDataCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +794 -103
  101. package/dist-types/ts3.4/pagination/ListAIAgentVersionsPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/ListAIAgentsPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListAIPromptVersionsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListAIPromptsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  106. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +228 -0
  107. package/package.json +12 -12
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ RemoveAssistantAIAgentRequest,
5
+ RemoveAssistantAIAgentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface RemoveAssistantAIAgentCommandInput
15
+ extends RemoveAssistantAIAgentRequest {}
16
+ export interface RemoveAssistantAIAgentCommandOutput
17
+ extends RemoveAssistantAIAgentResponse,
18
+ __MetadataBearer {}
19
+ declare const RemoveAssistantAIAgentCommand_base: {
20
+ new (
21
+ input: RemoveAssistantAIAgentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ RemoveAssistantAIAgentCommandInput,
24
+ RemoveAssistantAIAgentCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: RemoveAssistantAIAgentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ RemoveAssistantAIAgentCommandInput,
33
+ RemoveAssistantAIAgentCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class RemoveAssistantAIAgentCommand extends RemoveAssistantAIAgentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: RemoveAssistantAIAgentRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: RemoveAssistantAIAgentCommandInput;
48
+ output: RemoveAssistantAIAgentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateAIAgentRequest,
5
+ UpdateAIAgentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateAIAgentCommandInput extends UpdateAIAgentRequest {}
15
+ export interface UpdateAIAgentCommandOutput
16
+ extends UpdateAIAgentResponse,
17
+ __MetadataBearer {}
18
+ declare const UpdateAIAgentCommand_base: {
19
+ new (
20
+ input: UpdateAIAgentCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ UpdateAIAgentCommandInput,
23
+ UpdateAIAgentCommandOutput,
24
+ QConnectClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: UpdateAIAgentCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateAIAgentCommandInput,
32
+ UpdateAIAgentCommandOutput,
33
+ QConnectClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class UpdateAIAgentCommand extends UpdateAIAgentCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: UpdateAIAgentRequest;
43
+ output: UpdateAIAgentResponse;
44
+ };
45
+ sdk: {
46
+ input: UpdateAIAgentCommandInput;
47
+ output: UpdateAIAgentCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateAIPromptRequest,
5
+ UpdateAIPromptResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateAIPromptCommandInput extends UpdateAIPromptRequest {}
15
+ export interface UpdateAIPromptCommandOutput
16
+ extends UpdateAIPromptResponse,
17
+ __MetadataBearer {}
18
+ declare const UpdateAIPromptCommand_base: {
19
+ new (
20
+ input: UpdateAIPromptCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ UpdateAIPromptCommandInput,
23
+ UpdateAIPromptCommandOutput,
24
+ QConnectClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: UpdateAIPromptCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateAIPromptCommandInput,
32
+ UpdateAIPromptCommandOutput,
33
+ QConnectClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class UpdateAIPromptCommand extends UpdateAIPromptCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: UpdateAIPromptRequest;
43
+ output: UpdateAIPromptResponse;
44
+ };
45
+ sdk: {
46
+ input: UpdateAIPromptCommandInput;
47
+ output: UpdateAIPromptCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateAssistantAIAgentRequest,
5
+ UpdateAssistantAIAgentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateAssistantAIAgentCommandInput
15
+ extends UpdateAssistantAIAgentRequest {}
16
+ export interface UpdateAssistantAIAgentCommandOutput
17
+ extends UpdateAssistantAIAgentResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateAssistantAIAgentCommand_base: {
20
+ new (
21
+ input: UpdateAssistantAIAgentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateAssistantAIAgentCommandInput,
24
+ UpdateAssistantAIAgentCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateAssistantAIAgentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateAssistantAIAgentCommandInput,
33
+ UpdateAssistantAIAgentCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateAssistantAIAgentCommand extends UpdateAssistantAIAgentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateAssistantAIAgentRequest;
44
+ output: UpdateAssistantAIAgentResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateAssistantAIAgentCommandInput;
48
+ output: UpdateAssistantAIAgentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateSessionDataRequest,
5
+ UpdateSessionDataResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateSessionDataCommandInput
15
+ extends UpdateSessionDataRequest {}
16
+ export interface UpdateSessionDataCommandOutput
17
+ extends UpdateSessionDataResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateSessionDataCommand_base: {
20
+ new (
21
+ input: UpdateSessionDataCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateSessionDataCommandInput,
24
+ UpdateSessionDataCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateSessionDataCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateSessionDataCommandInput,
33
+ UpdateSessionDataCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateSessionDataCommand extends UpdateSessionDataCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateSessionDataRequest;
44
+ output: UpdateSessionDataResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateSessionDataCommandInput;
48
+ output: UpdateSessionDataCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,3 +1,7 @@
1
+ export * from "./CreateAIAgentCommand";
2
+ export * from "./CreateAIAgentVersionCommand";
3
+ export * from "./CreateAIPromptCommand";
4
+ export * from "./CreateAIPromptVersionCommand";
1
5
  export * from "./CreateAssistantAssociationCommand";
2
6
  export * from "./CreateAssistantCommand";
3
7
  export * from "./CreateContentAssociationCommand";
@@ -5,6 +9,10 @@ export * from "./CreateContentCommand";
5
9
  export * from "./CreateKnowledgeBaseCommand";
6
10
  export * from "./CreateQuickResponseCommand";
7
11
  export * from "./CreateSessionCommand";
12
+ export * from "./DeleteAIAgentCommand";
13
+ export * from "./DeleteAIAgentVersionCommand";
14
+ export * from "./DeleteAIPromptCommand";
15
+ export * from "./DeleteAIPromptVersionCommand";
8
16
  export * from "./DeleteAssistantAssociationCommand";
9
17
  export * from "./DeleteAssistantCommand";
10
18
  export * from "./DeleteContentAssociationCommand";
@@ -12,6 +20,8 @@ export * from "./DeleteContentCommand";
12
20
  export * from "./DeleteImportJobCommand";
13
21
  export * from "./DeleteKnowledgeBaseCommand";
14
22
  export * from "./DeleteQuickResponseCommand";
23
+ export * from "./GetAIAgentCommand";
24
+ export * from "./GetAIPromptCommand";
15
25
  export * from "./GetAssistantAssociationCommand";
16
26
  export * from "./GetAssistantCommand";
17
27
  export * from "./GetContentAssociationCommand";
@@ -22,6 +32,10 @@ export * from "./GetKnowledgeBaseCommand";
22
32
  export * from "./GetQuickResponseCommand";
23
33
  export * from "./GetRecommendationsCommand";
24
34
  export * from "./GetSessionCommand";
35
+ export * from "./ListAIAgentVersionsCommand";
36
+ export * from "./ListAIAgentsCommand";
37
+ export * from "./ListAIPromptVersionsCommand";
38
+ export * from "./ListAIPromptsCommand";
25
39
  export * from "./ListAssistantAssociationsCommand";
26
40
  export * from "./ListAssistantsCommand";
27
41
  export * from "./ListContentAssociationsCommand";
@@ -33,6 +47,7 @@ export * from "./ListTagsForResourceCommand";
33
47
  export * from "./NotifyRecommendationsReceivedCommand";
34
48
  export * from "./PutFeedbackCommand";
35
49
  export * from "./QueryAssistantCommand";
50
+ export * from "./RemoveAssistantAIAgentCommand";
36
51
  export * from "./RemoveKnowledgeBaseTemplateUriCommand";
37
52
  export * from "./SearchContentCommand";
38
53
  export * from "./SearchQuickResponsesCommand";
@@ -41,7 +56,11 @@ export * from "./StartContentUploadCommand";
41
56
  export * from "./StartImportJobCommand";
42
57
  export * from "./TagResourceCommand";
43
58
  export * from "./UntagResourceCommand";
59
+ export * from "./UpdateAIAgentCommand";
60
+ export * from "./UpdateAIPromptCommand";
61
+ export * from "./UpdateAssistantAIAgentCommand";
44
62
  export * from "./UpdateContentCommand";
45
63
  export * from "./UpdateKnowledgeBaseTemplateUriCommand";
46
64
  export * from "./UpdateQuickResponseCommand";
47
65
  export * from "./UpdateSessionCommand";
66
+ export * from "./UpdateSessionDataCommand";