@aws-sdk/client-qconnect 3.1046.0 → 3.1047.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 +7 -0
- package/dist-cjs/index.js +29 -0
- package/dist-cjs/schemas/schemas_0.js +45 -8
- package/dist-es/QConnect.js +4 -0
- package/dist-es/commands/ListModelsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/pagination/ListModelsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +38 -2
- package/dist-types/QConnect.d.ts +14 -0
- package/dist-types/QConnectClient.d.ts +3 -2
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +2 -1
- package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListModelsCommand.d.ts +112 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +92 -51
- package/dist-types/models/models_1.d.ts +50 -0
- package/dist-types/pagination/ListModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/QConnect.d.ts +24 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -13
- package/dist-types/ts3.4/models/models_1.d.ts +13 -0
- package/dist-types/ts3.4/pagination/ListModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +5 -5
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
ContentStatus,
|
|
17
17
|
ConversationStatus,
|
|
18
18
|
ConversationStatusReason,
|
|
19
|
+
CrossRegionStatus,
|
|
19
20
|
FilterField,
|
|
20
21
|
FilterOperator,
|
|
21
22
|
GuardrailContentFilterType,
|
|
@@ -31,6 +32,7 @@ import {
|
|
|
31
32
|
MessageFilterType,
|
|
32
33
|
MessageTemplateAttributeType,
|
|
33
34
|
MessageType,
|
|
35
|
+
ModelLifecycle,
|
|
34
36
|
Origin,
|
|
35
37
|
ParsingStrategy,
|
|
36
38
|
Participant,
|
|
@@ -1231,6 +1233,27 @@ export interface ListAssistantsResponse {
|
|
|
1231
1233
|
assistantSummaries: AssistantSummary[] | undefined;
|
|
1232
1234
|
nextToken?: string | undefined;
|
|
1233
1235
|
}
|
|
1236
|
+
export interface ListModelsRequest {
|
|
1237
|
+
assistantId: string | undefined;
|
|
1238
|
+
aiPromptType?: AIPromptType | undefined;
|
|
1239
|
+
modelLifecycle?: ModelLifecycle | undefined;
|
|
1240
|
+
nextToken?: string | undefined;
|
|
1241
|
+
maxResults?: number | undefined;
|
|
1242
|
+
}
|
|
1243
|
+
export interface ModelSummary {
|
|
1244
|
+
modelId: string | undefined;
|
|
1245
|
+
displayName: string | undefined;
|
|
1246
|
+
crossRegionStatus?: CrossRegionStatus | undefined;
|
|
1247
|
+
supportsPromptCaching?: boolean | undefined;
|
|
1248
|
+
supportedAIPromptTypes?: AIPromptType[] | undefined;
|
|
1249
|
+
modelLifecycle?: ModelLifecycle | undefined;
|
|
1250
|
+
legacyTimestamp?: Date | undefined;
|
|
1251
|
+
endOfLifeTimestamp?: Date | undefined;
|
|
1252
|
+
}
|
|
1253
|
+
export interface ListModelsResponse {
|
|
1254
|
+
modelSummaries: ModelSummary[] | undefined;
|
|
1255
|
+
nextToken?: string | undefined;
|
|
1256
|
+
}
|
|
1234
1257
|
export interface NotifyRecommendationsReceivedRequest {
|
|
1235
1258
|
assistantId: string | undefined;
|
|
1236
1259
|
sessionId: string | undefined;
|
|
@@ -2394,16 +2417,3 @@ export interface QuickResponseData {
|
|
|
2394
2417
|
language?: string | undefined;
|
|
2395
2418
|
tags?: Record<string, string> | undefined;
|
|
2396
2419
|
}
|
|
2397
|
-
export interface CreateQuickResponseResponse {
|
|
2398
|
-
quickResponse?: QuickResponseData | undefined;
|
|
2399
|
-
}
|
|
2400
|
-
export interface DeactivateMessageTemplateRequest {
|
|
2401
|
-
knowledgeBaseId: string | undefined;
|
|
2402
|
-
messageTemplateId: string | undefined;
|
|
2403
|
-
versionNumber: number | undefined;
|
|
2404
|
-
}
|
|
2405
|
-
export interface DeactivateMessageTemplateResponse {
|
|
2406
|
-
messageTemplateArn: string | undefined;
|
|
2407
|
-
messageTemplateId: string | undefined;
|
|
2408
|
-
versionNumber: number | undefined;
|
|
2409
|
-
}
|
|
@@ -61,6 +61,19 @@ import {
|
|
|
61
61
|
SuggestedMessageDataDetails,
|
|
62
62
|
VectorIngestionConfiguration,
|
|
63
63
|
} from "./models_0";
|
|
64
|
+
export interface CreateQuickResponseResponse {
|
|
65
|
+
quickResponse?: QuickResponseData | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface DeactivateMessageTemplateRequest {
|
|
68
|
+
knowledgeBaseId: string | undefined;
|
|
69
|
+
messageTemplateId: string | undefined;
|
|
70
|
+
versionNumber: number | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface DeactivateMessageTemplateResponse {
|
|
73
|
+
messageTemplateArn: string | undefined;
|
|
74
|
+
messageTemplateId: string | undefined;
|
|
75
|
+
versionNumber: number | undefined;
|
|
76
|
+
}
|
|
64
77
|
export interface DeleteImportJobRequest {
|
|
65
78
|
knowledgeBaseId: string | undefined;
|
|
66
79
|
importJobId: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListModelsCommandInput,
|
|
4
|
+
ListModelsCommandOutput,
|
|
5
|
+
} from "../commands/ListModelsCommand";
|
|
6
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListModels: (
|
|
8
|
+
config: QConnectPaginationConfiguration,
|
|
9
|
+
input: ListModelsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListModelsCommandOutput>;
|
|
@@ -14,6 +14,7 @@ export * from "./ListKnowledgeBasesPaginator";
|
|
|
14
14
|
export * from "./ListMessagesPaginator";
|
|
15
15
|
export * from "./ListMessageTemplatesPaginator";
|
|
16
16
|
export * from "./ListMessageTemplateVersionsPaginator";
|
|
17
|
+
export * from "./ListModelsPaginator";
|
|
17
18
|
export * from "./ListQuickResponsesPaginator";
|
|
18
19
|
export * from "./ListSpansPaginator";
|
|
19
20
|
export * from "./QueryAssistantPaginator";
|
|
@@ -232,6 +232,8 @@ export declare var ListMessageTemplatesRequest$: StaticStructureSchema;
|
|
|
232
232
|
export declare var ListMessageTemplatesResponse$: StaticStructureSchema;
|
|
233
233
|
export declare var ListMessageTemplateVersionsRequest$: StaticStructureSchema;
|
|
234
234
|
export declare var ListMessageTemplateVersionsResponse$: StaticStructureSchema;
|
|
235
|
+
export declare var ListModelsRequest$: StaticStructureSchema;
|
|
236
|
+
export declare var ListModelsResponse$: StaticStructureSchema;
|
|
235
237
|
export declare var ListQuickResponsesRequest$: StaticStructureSchema;
|
|
236
238
|
export declare var ListQuickResponsesResponse$: StaticStructureSchema;
|
|
237
239
|
export declare var ListSpansRequest$: StaticStructureSchema;
|
|
@@ -252,6 +254,7 @@ export declare var MessageTemplateSearchExpression$: StaticStructureSchema;
|
|
|
252
254
|
export declare var MessageTemplateSearchResultData$: StaticStructureSchema;
|
|
253
255
|
export declare var MessageTemplateSummary$: StaticStructureSchema;
|
|
254
256
|
export declare var MessageTemplateVersionSummary$: StaticStructureSchema;
|
|
257
|
+
export declare var ModelSummary$: StaticStructureSchema;
|
|
255
258
|
export declare var NotesChunkDataDetails$: StaticStructureSchema;
|
|
256
259
|
export declare var NotesDataDetails$: StaticStructureSchema;
|
|
257
260
|
export declare var NoteTakingAIAgentConfiguration$: StaticStructureSchema;
|
|
@@ -473,6 +476,7 @@ export declare var ListKnowledgeBases$: StaticOperationSchema;
|
|
|
473
476
|
export declare var ListMessages$: StaticOperationSchema;
|
|
474
477
|
export declare var ListMessageTemplates$: StaticOperationSchema;
|
|
475
478
|
export declare var ListMessageTemplateVersions$: StaticOperationSchema;
|
|
479
|
+
export declare var ListModels$: StaticOperationSchema;
|
|
476
480
|
export declare var ListQuickResponses$: StaticOperationSchema;
|
|
477
481
|
export declare var ListSpans$: StaticOperationSchema;
|
|
478
482
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1047.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qconnect",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.10",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.41",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.40",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.9",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.11",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.26",
|
|
35
35
|
"@smithy/core": "^3.24.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.4.1",
|
|
37
37
|
"@smithy/node-http-handler": "^4.7.1",
|