@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,121 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateAIPromptRequest, UpdateAIPromptResponse } from "../models/models_0";
4
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAIPromptCommand}.
14
+ */
15
+ export interface UpdateAIPromptCommandInput extends UpdateAIPromptRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAIPromptCommand}.
21
+ */
22
+ export interface UpdateAIPromptCommandOutput extends UpdateAIPromptResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateAIPromptCommand_base: {
25
+ new (input: UpdateAIPromptCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAIPromptCommandInput, UpdateAIPromptCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateAIPromptCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAIPromptCommandInput, UpdateAIPromptCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates an AI Prompt.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { QConnectClient, UpdateAIPromptCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
35
+ * // const { QConnectClient, UpdateAIPromptCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
36
+ * const client = new QConnectClient(config);
37
+ * const input = { // UpdateAIPromptRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * assistantId: "STRING_VALUE", // required
40
+ * aiPromptId: "STRING_VALUE", // required
41
+ * visibilityStatus: "STRING_VALUE", // required
42
+ * templateConfiguration: { // AIPromptTemplateConfiguration Union: only one key present
43
+ * textFullAIPromptEditTemplateConfiguration: { // TextFullAIPromptEditTemplateConfiguration
44
+ * text: "STRING_VALUE", // required
45
+ * },
46
+ * },
47
+ * description: "STRING_VALUE",
48
+ * };
49
+ * const command = new UpdateAIPromptCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // UpdateAIPromptResponse
52
+ * // aiPrompt: { // AIPromptData
53
+ * // assistantId: "STRING_VALUE", // required
54
+ * // assistantArn: "STRING_VALUE", // required
55
+ * // aiPromptId: "STRING_VALUE", // required
56
+ * // aiPromptArn: "STRING_VALUE", // required
57
+ * // name: "STRING_VALUE", // required
58
+ * // type: "STRING_VALUE", // required
59
+ * // templateType: "STRING_VALUE", // required
60
+ * // modelId: "STRING_VALUE", // required
61
+ * // apiFormat: "STRING_VALUE", // required
62
+ * // templateConfiguration: { // AIPromptTemplateConfiguration Union: only one key present
63
+ * // textFullAIPromptEditTemplateConfiguration: { // TextFullAIPromptEditTemplateConfiguration
64
+ * // text: "STRING_VALUE", // required
65
+ * // },
66
+ * // },
67
+ * // modifiedTime: new Date("TIMESTAMP"),
68
+ * // description: "STRING_VALUE",
69
+ * // visibilityStatus: "STRING_VALUE", // required
70
+ * // tags: { // Tags
71
+ * // "<keys>": "STRING_VALUE",
72
+ * // },
73
+ * // origin: "STRING_VALUE",
74
+ * // status: "STRING_VALUE",
75
+ * // },
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param UpdateAIPromptCommandInput - {@link UpdateAIPromptCommandInput}
81
+ * @returns {@link UpdateAIPromptCommandOutput}
82
+ * @see {@link UpdateAIPromptCommandInput} for command's `input` shape.
83
+ * @see {@link UpdateAIPromptCommandOutput} for command's `response` shape.
84
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p>You do not have sufficient access to perform this action.</p>
88
+ *
89
+ * @throws {@link ConflictException} (client fault)
90
+ * <p>The request could not be processed because of conflict in the current state of the
91
+ * resource. For example, if you're using a <code>Create</code> API (such as
92
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
93
+ * same name) is being created or mutated.</p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>The specified resource does not exist.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>The throttling limit has been exceeded.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
103
+ *
104
+ * @throws {@link QConnectServiceException}
105
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
106
+ *
107
+ * @public
108
+ */
109
+ export declare class UpdateAIPromptCommand extends UpdateAIPromptCommand_base {
110
+ /** @internal type navigation helper, not in runtime. */
111
+ protected static __types: {
112
+ api: {
113
+ input: UpdateAIPromptRequest;
114
+ output: UpdateAIPromptResponse;
115
+ };
116
+ sdk: {
117
+ input: UpdateAIPromptCommandInput;
118
+ output: UpdateAIPromptCommandOutput;
119
+ };
120
+ };
121
+ }
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateAssistantAIAgentRequest, UpdateAssistantAIAgentResponse } from "../models/models_0";
4
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAssistantAIAgentCommand}.
14
+ */
15
+ export interface UpdateAssistantAIAgentCommandInput extends UpdateAssistantAIAgentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAssistantAIAgentCommand}.
21
+ */
22
+ export interface UpdateAssistantAIAgentCommandOutput extends UpdateAssistantAIAgentResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateAssistantAIAgentCommand_base: {
25
+ new (input: UpdateAssistantAIAgentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAssistantAIAgentCommandInput, UpdateAssistantAIAgentCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateAssistantAIAgentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAssistantAIAgentCommandInput, UpdateAssistantAIAgentCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the AI Agent that is set for use by defafult on an Amazon Q in Connect
31
+ * Assistant.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { QConnectClient, UpdateAssistantAIAgentCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
36
+ * // const { QConnectClient, UpdateAssistantAIAgentCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
37
+ * const client = new QConnectClient(config);
38
+ * const input = { // UpdateAssistantAIAgentRequest
39
+ * assistantId: "STRING_VALUE", // required
40
+ * aiAgentType: "STRING_VALUE", // required
41
+ * configuration: { // AIAgentConfigurationData
42
+ * aiAgentId: "STRING_VALUE", // required
43
+ * },
44
+ * };
45
+ * const command = new UpdateAssistantAIAgentCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // UpdateAssistantAIAgentResponse
48
+ * // assistant: { // AssistantData
49
+ * // assistantId: "STRING_VALUE", // required
50
+ * // assistantArn: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // type: "STRING_VALUE", // required
53
+ * // status: "STRING_VALUE", // required
54
+ * // description: "STRING_VALUE",
55
+ * // tags: { // Tags
56
+ * // "<keys>": "STRING_VALUE",
57
+ * // },
58
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
59
+ * // kmsKeyId: "STRING_VALUE",
60
+ * // },
61
+ * // integrationConfiguration: { // AssistantIntegrationConfiguration
62
+ * // topicIntegrationArn: "STRING_VALUE",
63
+ * // },
64
+ * // capabilityConfiguration: { // AssistantCapabilityConfiguration
65
+ * // type: "STRING_VALUE",
66
+ * // },
67
+ * // aiAgentConfiguration: { // AIAgentConfigurationMap
68
+ * // "<keys>": { // AIAgentConfigurationData
69
+ * // aiAgentId: "STRING_VALUE", // required
70
+ * // },
71
+ * // },
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param UpdateAssistantAIAgentCommandInput - {@link UpdateAssistantAIAgentCommandInput}
78
+ * @returns {@link UpdateAssistantAIAgentCommandOutput}
79
+ * @see {@link UpdateAssistantAIAgentCommandInput} for command's `input` shape.
80
+ * @see {@link UpdateAssistantAIAgentCommandOutput} for command's `response` shape.
81
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>You do not have sufficient access to perform this action.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The specified resource does not exist.</p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>The throttling limit has been exceeded.</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
94
+ *
95
+ * @throws {@link QConnectServiceException}
96
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
97
+ *
98
+ * @public
99
+ */
100
+ export declare class UpdateAssistantAIAgentCommand extends UpdateAssistantAIAgentCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: UpdateAssistantAIAgentRequest;
105
+ output: UpdateAssistantAIAgentResponse;
106
+ };
107
+ sdk: {
108
+ input: UpdateAssistantAIAgentCommandInput;
109
+ output: UpdateAssistantAIAgentCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -53,6 +53,37 @@ declare const UpdateKnowledgeBaseTemplateUriCommand_base: {
53
53
  * // knowledgeBaseType: "STRING_VALUE", // required
54
54
  * // status: "STRING_VALUE", // required
55
55
  * // lastContentModificationTime: new Date("TIMESTAMP"),
56
+ * // vectorIngestionConfiguration: { // VectorIngestionConfiguration
57
+ * // chunkingConfiguration: { // ChunkingConfiguration
58
+ * // chunkingStrategy: "STRING_VALUE", // required
59
+ * // fixedSizeChunkingConfiguration: { // FixedSizeChunkingConfiguration
60
+ * // maxTokens: Number("int"), // required
61
+ * // overlapPercentage: Number("int"), // required
62
+ * // },
63
+ * // hierarchicalChunkingConfiguration: { // HierarchicalChunkingConfiguration
64
+ * // levelConfigurations: [ // HierarchicalChunkingLevelConfigurations // required
65
+ * // { // HierarchicalChunkingLevelConfiguration
66
+ * // maxTokens: Number("int"), // required
67
+ * // },
68
+ * // ],
69
+ * // overlapTokens: Number("int"), // required
70
+ * // },
71
+ * // semanticChunkingConfiguration: { // SemanticChunkingConfiguration
72
+ * // maxTokens: Number("int"), // required
73
+ * // bufferSize: Number("int"), // required
74
+ * // breakpointPercentileThreshold: Number("int"), // required
75
+ * // },
76
+ * // },
77
+ * // parsingConfiguration: { // ParsingConfiguration
78
+ * // parsingStrategy: "STRING_VALUE", // required
79
+ * // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfigurationForParsing
80
+ * // modelArn: "STRING_VALUE", // required
81
+ * // parsingPrompt: { // ParsingPrompt
82
+ * // parsingPromptText: "STRING_VALUE", // required
83
+ * // },
84
+ * // },
85
+ * // },
86
+ * // },
56
87
  * // sourceConfiguration: { // SourceConfiguration Union: only one key present
57
88
  * // appIntegrations: { // AppIntegrationsConfiguration
58
89
  * // appIntegrationArn: "STRING_VALUE", // required
@@ -60,6 +91,27 @@ declare const UpdateKnowledgeBaseTemplateUriCommand_base: {
60
91
  * // "STRING_VALUE",
61
92
  * // ],
62
93
  * // },
94
+ * // managedSourceConfiguration: { // ManagedSourceConfiguration Union: only one key present
95
+ * // webCrawlerConfiguration: { // WebCrawlerConfiguration
96
+ * // urlConfiguration: { // UrlConfiguration
97
+ * // seedUrls: [ // SeedUrls
98
+ * // { // SeedUrl
99
+ * // url: "STRING_VALUE",
100
+ * // },
101
+ * // ],
102
+ * // },
103
+ * // crawlerLimits: { // WebCrawlerLimits
104
+ * // rateLimit: Number("int"),
105
+ * // },
106
+ * // inclusionFilters: [ // UrlFilterList
107
+ * // "STRING_VALUE",
108
+ * // ],
109
+ * // exclusionFilters: [
110
+ * // "STRING_VALUE",
111
+ * // ],
112
+ * // scope: "STRING_VALUE",
113
+ * // },
114
+ * // },
63
115
  * // },
64
116
  * // renderingConfiguration: { // RenderingConfiguration
65
117
  * // templateUri: "STRING_VALUE",
@@ -71,6 +123,10 @@ declare const UpdateKnowledgeBaseTemplateUriCommand_base: {
71
123
  * // tags: { // Tags
72
124
  * // "<keys>": "STRING_VALUE",
73
125
  * // },
126
+ * // ingestionStatus: "STRING_VALUE",
127
+ * // ingestionFailureReasons: [ // FailureReason
128
+ * // "STRING_VALUE",
129
+ * // ],
74
130
  * // },
75
131
  * // };
76
132
  *
@@ -60,6 +60,11 @@ declare const UpdateSessionCommand_base: {
60
60
  * },
61
61
  * ],
62
62
  * },
63
+ * aiAgentConfiguration: { // AIAgentConfigurationMap
64
+ * "<keys>": { // AIAgentConfigurationData
65
+ * aiAgentId: "STRING_VALUE", // required
66
+ * },
67
+ * },
63
68
  * };
64
69
  * const command = new UpdateSessionCommand(input);
65
70
  * const response = await client.send(command);
@@ -95,6 +100,11 @@ declare const UpdateSessionCommand_base: {
95
100
  * // },
96
101
  * // ],
97
102
  * // },
103
+ * // aiAgentConfiguration: { // AIAgentConfigurationMap
104
+ * // "<keys>": { // AIAgentConfigurationData
105
+ * // aiAgentId: "STRING_VALUE", // required
106
+ * // },
107
+ * // },
98
108
  * // },
99
109
  * // };
100
110
  *
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateSessionDataRequest, UpdateSessionDataResponse } from "../models/models_0";
4
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateSessionDataCommand}.
14
+ */
15
+ export interface UpdateSessionDataCommandInput extends UpdateSessionDataRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateSessionDataCommand}.
21
+ */
22
+ export interface UpdateSessionDataCommandOutput extends UpdateSessionDataResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateSessionDataCommand_base: {
25
+ new (input: UpdateSessionDataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSessionDataCommandInput, UpdateSessionDataCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateSessionDataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSessionDataCommandInput, UpdateSessionDataCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the data stored on an Amazon Q in Connect Session.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { QConnectClient, UpdateSessionDataCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
35
+ * // const { QConnectClient, UpdateSessionDataCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
36
+ * const client = new QConnectClient(config);
37
+ * const input = { // UpdateSessionDataRequest
38
+ * assistantId: "STRING_VALUE", // required
39
+ * sessionId: "STRING_VALUE", // required
40
+ * namespace: "STRING_VALUE",
41
+ * data: [ // RuntimeSessionDataList // required
42
+ * { // RuntimeSessionData
43
+ * key: "STRING_VALUE", // required
44
+ * value: { // RuntimeSessionDataValue Union: only one key present
45
+ * stringValue: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * ],
49
+ * };
50
+ * const command = new UpdateSessionDataCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // UpdateSessionDataResponse
53
+ * // sessionArn: "STRING_VALUE", // required
54
+ * // sessionId: "STRING_VALUE", // required
55
+ * // namespace: "STRING_VALUE", // required
56
+ * // data: [ // RuntimeSessionDataList // required
57
+ * // { // RuntimeSessionData
58
+ * // key: "STRING_VALUE", // required
59
+ * // value: { // RuntimeSessionDataValue Union: only one key present
60
+ * // stringValue: "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param UpdateSessionDataCommandInput - {@link UpdateSessionDataCommandInput}
69
+ * @returns {@link UpdateSessionDataCommandOutput}
70
+ * @see {@link UpdateSessionDataCommandInput} for command's `input` shape.
71
+ * @see {@link UpdateSessionDataCommandOutput} for command's `response` shape.
72
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You do not have sufficient access to perform this action.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource does not exist.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
82
+ *
83
+ * @throws {@link QConnectServiceException}
84
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class UpdateSessionDataCommand extends UpdateSessionDataCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: UpdateSessionDataRequest;
93
+ output: UpdateSessionDataResponse;
94
+ };
95
+ sdk: {
96
+ input: UpdateSessionDataCommandInput;
97
+ output: UpdateSessionDataCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -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";
@@ -1,5 +1,19 @@
1
1
  /**
2
- * <note>
2
+ * <ul>
3
+ * <li>
4
+ * <p>
5
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q
6
+ * actions</a>
7
+ * </p>
8
+ * </li>
9
+ * <li>
10
+ * <p>
11
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data
12
+ * types</a>
13
+ * </p>
14
+ * </li>
15
+ * </ul>
16
+ * <note>
3
17
  * <p>
4
18
  * <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse
5
19
  * detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of