@aws-sdk/client-qconnect 3.1161.0 → 3.1163.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.
- package/README.md +14 -0
- package/dist-cjs/index.js +128 -44
- package/dist-es/QConnect.js +4 -0
- package/dist-es/commands/RegisterAssistantReplicaKeyCommand.js +4 -0
- package/dist-es/commands/RegisterKnowledgeBaseReplicaKeyCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/models/errors.js +2 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +91 -42
- package/dist-types/QConnect.d.ts +14 -0
- package/dist-types/QConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateAIAgentCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIPromptCommand.d.ts +2 -0
- package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +2 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +13 -0
- package/dist-types/commands/CreateContentCommand.d.ts +3 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +12 -0
- package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -2
- package/dist-types/commands/CreateMessageTemplateCommand.d.ts +2 -1
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -0
- package/dist-types/commands/GetAIAgentCommand.d.ts +2 -0
- package/dist-types/commands/GetAIGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/GetAIPromptCommand.d.ts +2 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +2 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +8 -0
- package/dist-types/commands/GetContentCommand.d.ts +3 -0
- package/dist-types/commands/GetContentSummaryCommand.d.ts +3 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +7 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -0
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIGuardrailsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListAIPromptsCommand.d.ts +2 -0
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +2 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +7 -0
- package/dist-types/commands/ListContentsCommand.d.ts +3 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +7 -0
- package/dist-types/commands/ListModelsCommand.d.ts +1 -0
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -0
- package/dist-types/commands/RegisterAssistantReplicaKeyCommand.d.ts +132 -0
- package/dist-types/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +181 -0
- package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +3 -0
- package/dist-types/commands/SearchContentCommand.d.ts +3 -0
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAIPromptCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +11 -0
- package/dist-types/commands/UpdateContentCommand.d.ts +3 -0
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +7 -0
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +42 -0
- package/dist-types/models/errors.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +206 -82
- package/dist-types/models/models_1.d.ts +138 -2
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/QConnect.d.ts +34 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/RegisterAssistantReplicaKeyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -20
- package/dist-types/ts3.4/models/models_1.d.ts +34 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +3 -3
|
@@ -51,6 +51,11 @@ declare const GetAssistantCommand_base: {
|
|
|
51
51
|
* // },
|
|
52
52
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
53
53
|
* // kmsKeyId: "STRING_VALUE",
|
|
54
|
+
* // replicaKmsKeys: [ // ReplicaKmsKeyList
|
|
55
|
+
* // { // ReplicaKmsKey
|
|
56
|
+
* // arn: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
54
59
|
* // },
|
|
55
60
|
* // integrationConfiguration: { // AssistantIntegrationConfiguration
|
|
56
61
|
* // topicIntegrationArn: "STRING_VALUE",
|
|
@@ -70,6 +75,9 @@ declare const GetAssistantCommand_base: {
|
|
|
70
75
|
* // orchestratorUseCase: "STRING_VALUE", // required
|
|
71
76
|
* // },
|
|
72
77
|
* // ],
|
|
78
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
79
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
80
|
+
* // assistantGlobalResiliencyStatus: "STRING_VALUE",
|
|
73
81
|
* // },
|
|
74
82
|
* // };
|
|
75
83
|
*
|
|
@@ -59,6 +59,9 @@ declare const GetContentCommand_base: {
|
|
|
59
59
|
* // linkOutUri: "STRING_VALUE",
|
|
60
60
|
* // url: "STRING_VALUE", // required
|
|
61
61
|
* // urlExpiry: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
64
|
+
* // fileHash: "STRING_VALUE",
|
|
62
65
|
* // },
|
|
63
66
|
* // };
|
|
64
67
|
*
|
|
@@ -56,6 +56,9 @@ declare const GetContentSummaryCommand_base: {
|
|
|
56
56
|
* // tags: { // Tags
|
|
57
57
|
* // "<keys>": "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
61
|
+
* // fileHash: "STRING_VALUE",
|
|
59
62
|
* // },
|
|
60
63
|
* // };
|
|
61
64
|
*
|
|
@@ -111,6 +111,11 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
111
111
|
* // },
|
|
112
112
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
113
113
|
* // kmsKeyId: "STRING_VALUE",
|
|
114
|
+
* // replicaKmsKeys: [ // ReplicaKmsKeyList
|
|
115
|
+
* // { // ReplicaKmsKey
|
|
116
|
+
* // arn: "STRING_VALUE", // required
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
114
119
|
* // },
|
|
115
120
|
* // description: "STRING_VALUE",
|
|
116
121
|
* // tags: { // Tags
|
|
@@ -120,6 +125,8 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
120
125
|
* // ingestionFailureReasons: [ // FailureReason
|
|
121
126
|
* // "STRING_VALUE",
|
|
122
127
|
* // ],
|
|
128
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
129
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
123
130
|
* // },
|
|
124
131
|
* // };
|
|
125
132
|
*
|
|
@@ -50,6 +50,7 @@ declare const GetQuickResponseCommand_base: {
|
|
|
50
50
|
* // status: "STRING_VALUE", // required
|
|
51
51
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
52
52
|
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
53
54
|
* // contents: { // QuickResponseContents
|
|
54
55
|
* // plainText: { // QuickResponseContentProvider Union: only one key present
|
|
55
56
|
* // content: "STRING_VALUE",
|
|
@@ -53,6 +53,8 @@ declare const ListAIAgentVersionsCommand_base: {
|
|
|
53
53
|
* // type: "STRING_VALUE", // required
|
|
54
54
|
* // aiAgentArn: "STRING_VALUE", // required
|
|
55
55
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
56
58
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
57
59
|
* // configuration: { // AIAgentConfiguration Union: only one key present
|
|
58
60
|
* // manualSearchAIAgentConfiguration: { // ManualSearchAIAgentConfiguration
|
|
@@ -51,6 +51,8 @@ declare const ListAIAgentsCommand_base: {
|
|
|
51
51
|
* // type: "STRING_VALUE", // required
|
|
52
52
|
* // aiAgentArn: "STRING_VALUE", // required
|
|
53
53
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
54
56
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
55
57
|
* // configuration: { // AIAgentConfiguration Union: only one key present
|
|
56
58
|
* // manualSearchAIAgentConfiguration: { // ManualSearchAIAgentConfiguration
|
|
@@ -51,6 +51,8 @@ declare const ListAIGuardrailVersionsCommand_base: {
|
|
|
51
51
|
* // aiGuardrailId: "STRING_VALUE", // required
|
|
52
52
|
* // aiGuardrailArn: "STRING_VALUE", // required
|
|
53
53
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
54
56
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
55
57
|
* // description: "STRING_VALUE",
|
|
56
58
|
* // status: "STRING_VALUE",
|
|
@@ -49,6 +49,8 @@ declare const ListAIGuardrailsCommand_base: {
|
|
|
49
49
|
* // aiGuardrailId: "STRING_VALUE", // required
|
|
50
50
|
* // aiGuardrailArn: "STRING_VALUE", // required
|
|
51
51
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
52
54
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
53
55
|
* // description: "STRING_VALUE",
|
|
54
56
|
* // status: "STRING_VALUE",
|
|
@@ -53,6 +53,8 @@ declare const ListAIPromptVersionsCommand_base: {
|
|
|
53
53
|
* // type: "STRING_VALUE", // required
|
|
54
54
|
* // aiPromptArn: "STRING_VALUE", // required
|
|
55
55
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
56
58
|
* // templateType: "STRING_VALUE", // required
|
|
57
59
|
* // modelId: "STRING_VALUE", // required
|
|
58
60
|
* // apiFormat: "STRING_VALUE", // required
|
|
@@ -51,6 +51,8 @@ declare const ListAIPromptsCommand_base: {
|
|
|
51
51
|
* // type: "STRING_VALUE", // required
|
|
52
52
|
* // aiPromptArn: "STRING_VALUE", // required
|
|
53
53
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
54
56
|
* // templateType: "STRING_VALUE", // required
|
|
55
57
|
* // modelId: "STRING_VALUE", // required
|
|
56
58
|
* // apiFormat: "STRING_VALUE", // required
|
|
@@ -61,6 +61,8 @@ declare const ListAssistantAssociationsCommand_base: {
|
|
|
61
61
|
* // tags: { // Tags
|
|
62
62
|
* // "<keys>": "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
65
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
64
66
|
* // },
|
|
65
67
|
* // ],
|
|
66
68
|
* // nextToken: "STRING_VALUE",
|
|
@@ -53,6 +53,11 @@ declare const ListAssistantsCommand_base: {
|
|
|
53
53
|
* // },
|
|
54
54
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
55
55
|
* // kmsKeyId: "STRING_VALUE",
|
|
56
|
+
* // replicaKmsKeys: [ // ReplicaKmsKeyList
|
|
57
|
+
* // { // ReplicaKmsKey
|
|
58
|
+
* // arn: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
56
61
|
* // },
|
|
57
62
|
* // integrationConfiguration: { // AssistantIntegrationConfiguration
|
|
58
63
|
* // topicIntegrationArn: "STRING_VALUE",
|
|
@@ -72,6 +77,8 @@ declare const ListAssistantsCommand_base: {
|
|
|
72
77
|
* // orchestratorUseCase: "STRING_VALUE", // required
|
|
73
78
|
* // },
|
|
74
79
|
* // ],
|
|
80
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
81
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
75
82
|
* // },
|
|
76
83
|
* // ],
|
|
77
84
|
* // nextToken: "STRING_VALUE",
|
|
@@ -58,6 +58,9 @@ declare const ListContentsCommand_base: {
|
|
|
58
58
|
* // tags: { // Tags
|
|
59
59
|
* // "<keys>": "STRING_VALUE",
|
|
60
60
|
* // },
|
|
61
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
63
|
+
* // fileHash: "STRING_VALUE",
|
|
61
64
|
* // },
|
|
62
65
|
* // ],
|
|
63
66
|
* // nextToken: "STRING_VALUE",
|
|
@@ -112,11 +112,18 @@ declare const ListKnowledgeBasesCommand_base: {
|
|
|
112
112
|
* // },
|
|
113
113
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
114
114
|
* // kmsKeyId: "STRING_VALUE",
|
|
115
|
+
* // replicaKmsKeys: [ // ReplicaKmsKeyList
|
|
116
|
+
* // { // ReplicaKmsKey
|
|
117
|
+
* // arn: "STRING_VALUE", // required
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
115
120
|
* // },
|
|
116
121
|
* // description: "STRING_VALUE",
|
|
117
122
|
* // tags: { // Tags
|
|
118
123
|
* // "<keys>": "STRING_VALUE",
|
|
119
124
|
* // },
|
|
125
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
126
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
120
127
|
* // },
|
|
121
128
|
* // ],
|
|
122
129
|
* // nextToken: "STRING_VALUE",
|
|
@@ -55,6 +55,7 @@ declare const ListModelsCommand_base: {
|
|
|
55
55
|
* // modelLifecycle: "STRING_VALUE",
|
|
56
56
|
* // legacyTimestamp: new Date("TIMESTAMP"),
|
|
57
57
|
* // endOfLifeTimestamp: new Date("TIMESTAMP"),
|
|
58
|
+
* // globalResiliencyStatus: "STRING_VALUE",
|
|
58
59
|
* // },
|
|
59
60
|
* // ],
|
|
60
61
|
* // nextToken: "STRING_VALUE",
|
|
@@ -52,6 +52,7 @@ declare const ListQuickResponsesCommand_base: {
|
|
|
52
52
|
* // status: "STRING_VALUE", // required
|
|
53
53
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
54
54
|
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
55
56
|
* // description: "STRING_VALUE",
|
|
56
57
|
* // lastModifiedBy: "STRING_VALUE",
|
|
57
58
|
* // isActive: true || false,
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RegisterAssistantReplicaKeyRequest, RegisterAssistantReplicaKeyResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RegisterAssistantReplicaKeyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RegisterAssistantReplicaKeyCommandInput extends RegisterAssistantReplicaKeyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RegisterAssistantReplicaKeyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RegisterAssistantReplicaKeyCommandOutput extends RegisterAssistantReplicaKeyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RegisterAssistantReplicaKeyCommand_base: {
|
|
22
|
+
new (input: RegisterAssistantReplicaKeyCommandInput): import("@smithy/core/client").CommandImpl<RegisterAssistantReplicaKeyCommandInput, RegisterAssistantReplicaKeyCommandOutput, import("..").QConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RegisterAssistantReplicaKeyCommandInput): import("@smithy/core/client").CommandImpl<RegisterAssistantReplicaKeyCommandInput, RegisterAssistantReplicaKeyCommandOutput, import("..").QConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Registers a replica Region KMS key for an Amazon Q in Connect assistant. To use this operation, you must have <code>kms:GenerateDataKey</code> permission on the replica key.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { QConnectClient, RegisterAssistantReplicaKeyCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
32
|
+
* // const { QConnectClient, RegisterAssistantReplicaKeyCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
33
|
+
* // import type { QConnectClientConfig } from "@aws-sdk/client-qconnect";
|
|
34
|
+
* const config = {}; // type is QConnectClientConfig
|
|
35
|
+
* const client = new QConnectClient(config);
|
|
36
|
+
* const input = { // RegisterAssistantReplicaKeyRequest
|
|
37
|
+
* assistantId: "STRING_VALUE", // required
|
|
38
|
+
* replicaKmsKey: { // ReplicaKmsKey
|
|
39
|
+
* arn: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new RegisterAssistantReplicaKeyCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // RegisterAssistantReplicaKeyResponse
|
|
46
|
+
* // assistant: { // AssistantData
|
|
47
|
+
* // assistantId: "STRING_VALUE", // required
|
|
48
|
+
* // assistantArn: "STRING_VALUE", // required
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // type: "STRING_VALUE", // required
|
|
51
|
+
* // status: "STRING_VALUE", // required
|
|
52
|
+
* // description: "STRING_VALUE",
|
|
53
|
+
* // tags: { // Tags
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
57
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
58
|
+
* // replicaKmsKeys: [ // ReplicaKmsKeyList
|
|
59
|
+
* // { // ReplicaKmsKey
|
|
60
|
+
* // arn: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // integrationConfiguration: { // AssistantIntegrationConfiguration
|
|
65
|
+
* // topicIntegrationArn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // capabilityConfiguration: { // AssistantCapabilityConfiguration
|
|
68
|
+
* // type: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // aiAgentConfiguration: { // AIAgentConfigurationMap
|
|
71
|
+
* // "<keys>": { // AIAgentConfigurationData
|
|
72
|
+
* // aiAgentId: "STRING_VALUE", // required
|
|
73
|
+
* // enabled: true || false,
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // orchestratorConfigurationList: [ // OrchestratorConfigurationList
|
|
77
|
+
* // { // OrchestratorConfigurationEntry
|
|
78
|
+
* // aiAgentId: "STRING_VALUE",
|
|
79
|
+
* // orchestratorUseCase: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
83
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
84
|
+
* // assistantGlobalResiliencyStatus: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param RegisterAssistantReplicaKeyCommandInput - {@link RegisterAssistantReplicaKeyCommandInput}
|
|
91
|
+
* @returns {@link RegisterAssistantReplicaKeyCommandOutput}
|
|
92
|
+
* @see {@link RegisterAssistantReplicaKeyCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link RegisterAssistantReplicaKeyCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
97
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ConflictException} (client fault)
|
|
100
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The specified resource does not exist.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
106
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
109
|
+
* <p>You do not have permission to perform this action.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ValidationException} (client fault)
|
|
112
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link QConnectServiceException}
|
|
115
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
116
|
+
*
|
|
117
|
+
*
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class RegisterAssistantReplicaKeyCommand extends RegisterAssistantReplicaKeyCommand_base {
|
|
121
|
+
/** @internal type navigation helper, not in runtime. */
|
|
122
|
+
protected static __types: {
|
|
123
|
+
api: {
|
|
124
|
+
input: RegisterAssistantReplicaKeyRequest;
|
|
125
|
+
output: RegisterAssistantReplicaKeyResponse;
|
|
126
|
+
};
|
|
127
|
+
sdk: {
|
|
128
|
+
input: RegisterAssistantReplicaKeyCommandInput;
|
|
129
|
+
output: RegisterAssistantReplicaKeyCommandOutput;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RegisterKnowledgeBaseReplicaKeyRequest, RegisterKnowledgeBaseReplicaKeyResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RegisterKnowledgeBaseReplicaKeyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RegisterKnowledgeBaseReplicaKeyCommandInput extends RegisterKnowledgeBaseReplicaKeyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RegisterKnowledgeBaseReplicaKeyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RegisterKnowledgeBaseReplicaKeyCommandOutput extends RegisterKnowledgeBaseReplicaKeyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RegisterKnowledgeBaseReplicaKeyCommand_base: {
|
|
22
|
+
new (input: RegisterKnowledgeBaseReplicaKeyCommandInput): import("@smithy/core/client").CommandImpl<RegisterKnowledgeBaseReplicaKeyCommandInput, RegisterKnowledgeBaseReplicaKeyCommandOutput, import("..").QConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RegisterKnowledgeBaseReplicaKeyCommandInput): import("@smithy/core/client").CommandImpl<RegisterKnowledgeBaseReplicaKeyCommandInput, RegisterKnowledgeBaseReplicaKeyCommandOutput, import("..").QConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Registers a replica Region KMS key for an Amazon Q in Connect knowledge base. To use this operation, you must have <code>kms:GenerateDataKey</code> permission on the replica key. You must also have <code>kms:CreateGrant</code> permission on the primary key.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { QConnectClient, RegisterKnowledgeBaseReplicaKeyCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
32
|
+
* // const { QConnectClient, RegisterKnowledgeBaseReplicaKeyCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
33
|
+
* // import type { QConnectClientConfig } from "@aws-sdk/client-qconnect";
|
|
34
|
+
* const config = {}; // type is QConnectClientConfig
|
|
35
|
+
* const client = new QConnectClient(config);
|
|
36
|
+
* const input = { // RegisterKnowledgeBaseReplicaKeyRequest
|
|
37
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
38
|
+
* replicaKmsKey: { // ReplicaKmsKey
|
|
39
|
+
* arn: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new RegisterKnowledgeBaseReplicaKeyCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // RegisterKnowledgeBaseReplicaKeyResponse
|
|
46
|
+
* // knowledgeBase: { // KnowledgeBaseData
|
|
47
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
48
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // knowledgeBaseType: "STRING_VALUE", // required
|
|
51
|
+
* // status: "STRING_VALUE", // required
|
|
52
|
+
* // lastContentModificationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // vectorIngestionConfiguration: { // VectorIngestionConfiguration
|
|
54
|
+
* // chunkingConfiguration: { // ChunkingConfiguration
|
|
55
|
+
* // chunkingStrategy: "STRING_VALUE", // required
|
|
56
|
+
* // fixedSizeChunkingConfiguration: { // FixedSizeChunkingConfiguration
|
|
57
|
+
* // maxTokens: Number("int"), // required
|
|
58
|
+
* // overlapPercentage: Number("int"), // required
|
|
59
|
+
* // },
|
|
60
|
+
* // hierarchicalChunkingConfiguration: { // HierarchicalChunkingConfiguration
|
|
61
|
+
* // levelConfigurations: [ // HierarchicalChunkingLevelConfigurations // required
|
|
62
|
+
* // { // HierarchicalChunkingLevelConfiguration
|
|
63
|
+
* // maxTokens: Number("int"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // overlapTokens: Number("int"), // required
|
|
67
|
+
* // },
|
|
68
|
+
* // semanticChunkingConfiguration: { // SemanticChunkingConfiguration
|
|
69
|
+
* // maxTokens: Number("int"), // required
|
|
70
|
+
* // bufferSize: Number("int"), // required
|
|
71
|
+
* // breakpointPercentileThreshold: Number("int"), // required
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // parsingConfiguration: { // ParsingConfiguration
|
|
75
|
+
* // parsingStrategy: "STRING_VALUE", // required
|
|
76
|
+
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfigurationForParsing
|
|
77
|
+
* // modelArn: "STRING_VALUE", // required
|
|
78
|
+
* // parsingPrompt: { // ParsingPrompt
|
|
79
|
+
* // parsingPromptText: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // sourceConfiguration: { // SourceConfiguration Union: only one key present
|
|
85
|
+
* // appIntegrations: { // AppIntegrationsConfiguration
|
|
86
|
+
* // appIntegrationArn: "STRING_VALUE", // required
|
|
87
|
+
* // objectFields: [ // ObjectFieldsList
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // managedSourceConfiguration: { // ManagedSourceConfiguration Union: only one key present
|
|
92
|
+
* // webCrawlerConfiguration: { // WebCrawlerConfiguration
|
|
93
|
+
* // urlConfiguration: { // UrlConfiguration
|
|
94
|
+
* // seedUrls: [ // SeedUrls
|
|
95
|
+
* // { // SeedUrl
|
|
96
|
+
* // url: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // crawlerLimits: { // WebCrawlerLimits
|
|
101
|
+
* // rateLimit: Number("int"),
|
|
102
|
+
* // },
|
|
103
|
+
* // inclusionFilters: [ // UrlFilterList
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // exclusionFilters: [
|
|
107
|
+
* // "STRING_VALUE",
|
|
108
|
+
* // ],
|
|
109
|
+
* // scope: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // renderingConfiguration: { // RenderingConfiguration
|
|
114
|
+
* // templateUri: "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
117
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
118
|
+
* // replicaKmsKeys: [ // ReplicaKmsKeyList
|
|
119
|
+
* // { // ReplicaKmsKey
|
|
120
|
+
* // arn: "STRING_VALUE", // required
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // },
|
|
124
|
+
* // description: "STRING_VALUE",
|
|
125
|
+
* // tags: { // Tags
|
|
126
|
+
* // "<keys>": "STRING_VALUE",
|
|
127
|
+
* // },
|
|
128
|
+
* // ingestionStatus: "STRING_VALUE",
|
|
129
|
+
* // ingestionFailureReasons: [ // FailureReason
|
|
130
|
+
* // "STRING_VALUE",
|
|
131
|
+
* // ],
|
|
132
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
133
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // };
|
|
136
|
+
*
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* @param RegisterKnowledgeBaseReplicaKeyCommandInput - {@link RegisterKnowledgeBaseReplicaKeyCommandInput}
|
|
140
|
+
* @returns {@link RegisterKnowledgeBaseReplicaKeyCommandOutput}
|
|
141
|
+
* @see {@link RegisterKnowledgeBaseReplicaKeyCommandInput} for command's `input` shape.
|
|
142
|
+
* @see {@link RegisterKnowledgeBaseReplicaKeyCommandOutput} for command's `response` shape.
|
|
143
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
146
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link ConflictException} (client fault)
|
|
149
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
152
|
+
* <p>The specified resource does not exist.</p>
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
155
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
158
|
+
* <p>You do not have permission to perform this action.</p>
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link ValidationException} (client fault)
|
|
161
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link QConnectServiceException}
|
|
164
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
165
|
+
*
|
|
166
|
+
*
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export declare class RegisterKnowledgeBaseReplicaKeyCommand extends RegisterKnowledgeBaseReplicaKeyCommand_base {
|
|
170
|
+
/** @internal type navigation helper, not in runtime. */
|
|
171
|
+
protected static __types: {
|
|
172
|
+
api: {
|
|
173
|
+
input: RegisterKnowledgeBaseReplicaKeyRequest;
|
|
174
|
+
output: RegisterKnowledgeBaseReplicaKeyResponse;
|
|
175
|
+
};
|
|
176
|
+
sdk: {
|
|
177
|
+
input: RegisterKnowledgeBaseReplicaKeyCommandInput;
|
|
178
|
+
output: RegisterKnowledgeBaseReplicaKeyCommandOutput;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
}
|
|
@@ -53,6 +53,9 @@ declare const RemoveAssistantAIAgentCommand_base: {
|
|
|
53
53
|
* @throws {@link AccessDeniedException} (client fault)
|
|
54
54
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
|
|
58
|
+
*
|
|
56
59
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
60
|
* <p>The specified resource does not exist.</p>
|
|
58
61
|
*
|
|
@@ -67,6 +67,9 @@ declare const SearchContentCommand_base: {
|
|
|
67
67
|
* // tags: { // Tags
|
|
68
68
|
* // "<keys>": "STRING_VALUE",
|
|
69
69
|
* // },
|
|
70
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
71
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
72
|
+
* // fileHash: "STRING_VALUE",
|
|
70
73
|
* // },
|
|
71
74
|
* // ],
|
|
72
75
|
* // nextToken: "STRING_VALUE",
|
|
@@ -90,6 +90,7 @@ declare const SearchQuickResponsesCommand_base: {
|
|
|
90
90
|
* // },
|
|
91
91
|
* // createdTime: new Date("TIMESTAMP"), // required
|
|
92
92
|
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
93
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
93
94
|
* // isActive: true || false, // required
|
|
94
95
|
* // description: "STRING_VALUE",
|
|
95
96
|
* // groupingConfiguration: { // GroupingConfiguration
|
|
@@ -567,6 +567,8 @@ declare const UpdateAIAgentCommand_base: {
|
|
|
567
567
|
* // },
|
|
568
568
|
* // },
|
|
569
569
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
570
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
571
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
570
572
|
* // description: "STRING_VALUE",
|
|
571
573
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
572
574
|
* // tags: { // Tags
|
|
@@ -174,6 +174,8 @@ declare const UpdateAIGuardrailCommand_base: {
|
|
|
174
174
|
* // },
|
|
175
175
|
* // status: "STRING_VALUE",
|
|
176
176
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
177
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
178
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
177
179
|
* // },
|
|
178
180
|
* // };
|
|
179
181
|
*
|
|
@@ -77,6 +77,8 @@ declare const UpdateAIPromptCommand_base: {
|
|
|
77
77
|
* // maxTokensToSample: Number("int"),
|
|
78
78
|
* // },
|
|
79
79
|
* // modifiedTime: new Date("TIMESTAMP"),
|
|
80
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
81
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
80
82
|
* // description: "STRING_VALUE",
|
|
81
83
|
* // visibilityStatus: "STRING_VALUE", // required
|
|
82
84
|
* // tags: { // Tags
|
|
@@ -57,6 +57,11 @@ declare const UpdateAssistantAIAgentCommand_base: {
|
|
|
57
57
|
* // },
|
|
58
58
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
59
59
|
* // kmsKeyId: "STRING_VALUE",
|
|
60
|
+
* // replicaKmsKeys: [ // ReplicaKmsKeyList
|
|
61
|
+
* // { // ReplicaKmsKey
|
|
62
|
+
* // arn: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
60
65
|
* // },
|
|
61
66
|
* // integrationConfiguration: { // AssistantIntegrationConfiguration
|
|
62
67
|
* // topicIntegrationArn: "STRING_VALUE",
|
|
@@ -76,6 +81,9 @@ declare const UpdateAssistantAIAgentCommand_base: {
|
|
|
76
81
|
* // orchestratorUseCase: "STRING_VALUE", // required
|
|
77
82
|
* // },
|
|
78
83
|
* // ],
|
|
84
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
85
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
86
|
+
* // assistantGlobalResiliencyStatus: "STRING_VALUE",
|
|
79
87
|
* // },
|
|
80
88
|
* // };
|
|
81
89
|
*
|
|
@@ -90,6 +98,9 @@ declare const UpdateAssistantAIAgentCommand_base: {
|
|
|
90
98
|
* @throws {@link AccessDeniedException} (client fault)
|
|
91
99
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
92
100
|
*
|
|
101
|
+
* @throws {@link ConflictException} (client fault)
|
|
102
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. For example, if you're using a <code>Create</code> API (such as <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.</p>
|
|
103
|
+
*
|
|
93
104
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
105
|
* <p>The specified resource does not exist.</p>
|
|
95
106
|
*
|
|
@@ -67,6 +67,9 @@ declare const UpdateContentCommand_base: {
|
|
|
67
67
|
* // linkOutUri: "STRING_VALUE",
|
|
68
68
|
* // url: "STRING_VALUE", // required
|
|
69
69
|
* // urlExpiry: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
71
|
+
* // lastModifiedRegion: "STRING_VALUE",
|
|
72
|
+
* // fileHash: "STRING_VALUE",
|
|
70
73
|
* // },
|
|
71
74
|
* // };
|
|
72
75
|
*
|