@aws-sdk/client-qconnect 3.1046.0 → 3.1048.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/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +38 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +45 -8
- package/dist-es/QConnect.js +4 -0
- package/dist-es/QConnectClient.js +1 -4
- package/dist-es/commands/ListModelsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- 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/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +38 -2
- package/dist-types/QConnect.d.ts +14 -0
- package/dist-types/QConnectClient.d.ts +4 -4
- 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/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- 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 +7 -3
- 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/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +6 -14
|
@@ -339,12 +339,15 @@ const _LKBRi = "ListKnowledgeBasesResponse";
|
|
|
339
339
|
const _LM = "ListMessages";
|
|
340
340
|
const _LMR = "ListMessagesRequest";
|
|
341
341
|
const _LMRi = "ListMessagesResponse";
|
|
342
|
+
const _LMRis = "ListModelsRequest";
|
|
343
|
+
const _LMRist = "ListModelsResponse";
|
|
342
344
|
const _LMT = "ListMessageTemplates";
|
|
343
345
|
const _LMTR = "ListMessageTemplatesRequest";
|
|
344
346
|
const _LMTRi = "ListMessageTemplatesResponse";
|
|
345
347
|
const _LMTV = "ListMessageTemplateVersions";
|
|
346
348
|
const _LMTVR = "ListMessageTemplateVersionsRequest";
|
|
347
349
|
const _LMTVRi = "ListMessageTemplateVersionsResponse";
|
|
350
|
+
const _LMi = "ListModels";
|
|
348
351
|
const _LQR = "ListQuickResponses";
|
|
349
352
|
const _LQRR = "ListQuickResponsesRequest";
|
|
350
353
|
const _LQRRi = "ListQuickResponsesResponse";
|
|
@@ -359,8 +362,10 @@ const _MD = "MessageData";
|
|
|
359
362
|
const _MI = "MessageInput";
|
|
360
363
|
const _ML = "MessageList";
|
|
361
364
|
const _MO = "MessageOutput";
|
|
365
|
+
const _MS = "ModelSummary";
|
|
362
366
|
const _MSAIAC = "ManualSearchAIAgentConfiguration";
|
|
363
367
|
const _MSC = "ManagedSourceConfiguration";
|
|
368
|
+
const _MSL = "ModelSummaryList";
|
|
364
369
|
const _MTA = "MessageTemplateAttachment";
|
|
365
370
|
const _MTAKL = "MessageTemplateAttributeKeyList";
|
|
366
371
|
const _MTAL = "MessageTemplateAttachmentList";
|
|
@@ -649,6 +654,7 @@ const _aPA = "aiPromptArn";
|
|
|
649
654
|
const _aPI = "aiPromptId";
|
|
650
655
|
const _aPS = "aiPromptSummary";
|
|
651
656
|
const _aPSi = "aiPromptSummaries";
|
|
657
|
+
const _aPT = "aiPromptType";
|
|
652
658
|
const _aPVS = "aiPromptVersionSummaries";
|
|
653
659
|
const _aRA = "accessRoleArn";
|
|
654
660
|
const _aRAIAC = "answerRecommendationAIAgentConfiguration";
|
|
@@ -722,6 +728,7 @@ const _cPA = "customerProfileAttributes";
|
|
|
722
728
|
const _cPC = "contentPolicyConfig";
|
|
723
729
|
const _cR = "contentReference";
|
|
724
730
|
const _cRIT = "cacheReadInputTokens";
|
|
731
|
+
const _cRS = "crossRegionStatus";
|
|
725
732
|
const _cRT = "chunkedResponseTerminated";
|
|
726
733
|
const _cS = "chunkingStrategy";
|
|
727
734
|
const _cSAIAC = "caseSummarizationAIAgentConfiguration";
|
|
@@ -759,6 +766,7 @@ const _cu = "custom";
|
|
|
759
766
|
const _d = "description";
|
|
760
767
|
const _dA = "defaultAttributes";
|
|
761
768
|
const _dH = "destructiveHint";
|
|
769
|
+
const _dN = "displayName";
|
|
762
770
|
const _da = "data";
|
|
763
771
|
const _de = "details";
|
|
764
772
|
const _def = "definition";
|
|
@@ -774,6 +782,7 @@ const _eOAIAC = "emailOverviewAIAgentConfiguration";
|
|
|
774
782
|
const _eOAIPI = "emailOverviewAIPromptId";
|
|
775
783
|
const _eOCD = "emailOverviewChunkData";
|
|
776
784
|
const _eOE = "endOffsetExclusive";
|
|
785
|
+
const _eOLT = "endOfLifeTimestamp";
|
|
777
786
|
const _eQRAIPI = "emailQueryReformulationAIPromptId";
|
|
778
787
|
const _eRAIAC = "emailResponseAIAgentConfiguration";
|
|
779
788
|
const _eRAIPI = "emailResponseAIPromptId";
|
|
@@ -863,8 +872,9 @@ const _lMB = "lastModifiedBy";
|
|
|
863
872
|
const _lMT = "lastModifiedTime";
|
|
864
873
|
const _lN = "lastName";
|
|
865
874
|
const _lOU = "linkOutUri";
|
|
866
|
-
const _lT = "
|
|
875
|
+
const _lT = "legacyTimestamp";
|
|
867
876
|
const _lTOE = "lessThanOrEquals";
|
|
877
|
+
const _lTe = "lessThan";
|
|
868
878
|
const _la = "language";
|
|
869
879
|
const _m = "message";
|
|
870
880
|
const _mA = "modelArn";
|
|
@@ -877,6 +887,7 @@ const _mCa = "mailingCounty";
|
|
|
877
887
|
const _mCai = "mailingCountry";
|
|
878
888
|
const _mI = "modelId";
|
|
879
889
|
const _mIe = "messageId";
|
|
890
|
+
const _mL = "modelLifecycle";
|
|
880
891
|
const _mN = "middleName";
|
|
881
892
|
const _mP = "mailingProvince";
|
|
882
893
|
const _mPC = "mailingPostalCode";
|
|
@@ -885,6 +896,7 @@ const _mR = "maxResults";
|
|
|
885
896
|
const _mS = "mailingState";
|
|
886
897
|
const _mSAIAC = "manualSearchAIAgentConfiguration";
|
|
887
898
|
const _mSC = "managedSourceConfiguration";
|
|
899
|
+
const _mSo = "modelSummaries";
|
|
888
900
|
const _mT = "modifiedTime";
|
|
889
901
|
const _mTA = "messageTemplateArn";
|
|
890
902
|
const _mTCS = "messageTemplateContentSha256";
|
|
@@ -1011,6 +1023,7 @@ const _res = "response";
|
|
|
1011
1023
|
const _resu = "results";
|
|
1012
1024
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.qconnect";
|
|
1013
1025
|
const _sA = "shippingAddress1";
|
|
1026
|
+
const _sAIPT = "supportedAIPromptTypes";
|
|
1014
1027
|
const _sAe = "sessionArn";
|
|
1015
1028
|
const _sAh = "shippingAddress2";
|
|
1016
1029
|
const _sAhi = "shippingAddress3";
|
|
@@ -1042,6 +1055,7 @@ const _sN = "spanName";
|
|
|
1042
1055
|
const _sNe = "sessionName";
|
|
1043
1056
|
const _sP = "shippingProvince";
|
|
1044
1057
|
const _sPC = "shippingPostalCode";
|
|
1058
|
+
const _sPCu = "supportsPromptCaching";
|
|
1045
1059
|
const _sR = "statusReason";
|
|
1046
1060
|
const _sS = "shippingState";
|
|
1047
1061
|
const _sSAGAIPI = "selfServiceAnswerGenerationAIPromptId";
|
|
@@ -2304,6 +2318,16 @@ export var ListMessageTemplateVersionsResponse$ = [3, n0, _LMTVRi,
|
|
|
2304
2318
|
[_mTVS, _nT],
|
|
2305
2319
|
[[() => MessageTemplateVersionSummaryList, 0], 0], 1
|
|
2306
2320
|
];
|
|
2321
|
+
export var ListModelsRequest$ = [3, n0, _LMRis,
|
|
2322
|
+
0,
|
|
2323
|
+
[_aI, _aPT, _mL, _nT, _mR],
|
|
2324
|
+
[[0, 1], [0, { [_hQ]: _aPT }], [0, { [_hQ]: _mL }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
2325
|
+
];
|
|
2326
|
+
export var ListModelsResponse$ = [3, n0, _LMRist,
|
|
2327
|
+
0,
|
|
2328
|
+
[_mSo, _nT],
|
|
2329
|
+
[() => ModelSummaryList, 0], 1
|
|
2330
|
+
];
|
|
2307
2331
|
export var ListQuickResponsesRequest$ = [3, n0, _LQRR,
|
|
2308
2332
|
0,
|
|
2309
2333
|
[_kBI, _nT, _mR],
|
|
@@ -2404,6 +2428,11 @@ export var MessageTemplateVersionSummary$ = [3, n0, _MTVS,
|
|
|
2404
2428
|
[_mTA, _mTI, _kBA, _kBI, _n, _cSh, _iA, _vN, _cha],
|
|
2405
2429
|
[0, 0, 0, 0, 0, 0, 2, 1, [() => Channel, 0]], 8
|
|
2406
2430
|
];
|
|
2431
|
+
export var ModelSummary$ = [3, n0, _MS,
|
|
2432
|
+
0,
|
|
2433
|
+
[_mI, _dN, _cRS, _sPCu, _sAIPT, _mL, _lT, _eOLT],
|
|
2434
|
+
[0, 0, 0, 2, 64 | 0, 0, 4, 4], 2
|
|
2435
|
+
];
|
|
2407
2436
|
export var NotesChunkDataDetails$ = [3, n0, _NCDD,
|
|
2408
2437
|
0,
|
|
2409
2438
|
[_com, _nCT],
|
|
@@ -3068,6 +3097,7 @@ var AIGuardrailVersionSummariesList = [1, n0, _AIGVSL,
|
|
|
3068
3097
|
var AIPromptSummaryList = [1, n0, _AIPSL,
|
|
3069
3098
|
0, () => AIPromptSummary$
|
|
3070
3099
|
];
|
|
3100
|
+
var AIPromptTypeList = 64 | 0;
|
|
3071
3101
|
var AIPromptVersionSummariesList = [1, n0, _AIPVSL,
|
|
3072
3102
|
0, () => AIPromptVersionSummary$
|
|
3073
3103
|
];
|
|
@@ -3194,6 +3224,9 @@ var MessageTemplateVersionSummaryList = [1, n0, _MTVSL,
|
|
|
3194
3224
|
0, [() => MessageTemplateVersionSummary$,
|
|
3195
3225
|
0]
|
|
3196
3226
|
];
|
|
3227
|
+
var ModelSummaryList = [1, n0, _MSL,
|
|
3228
|
+
0, () => ModelSummary$
|
|
3229
|
+
];
|
|
3197
3230
|
var NotifyRecommendationsReceivedErrorList = [1, n0, _NRREL,
|
|
3198
3231
|
0, () => NotifyRecommendationsReceivedError$
|
|
3199
3232
|
];
|
|
@@ -3429,7 +3462,7 @@ export var RecommendationTriggerData$ = [4, n0, _RTD,
|
|
|
3429
3462
|
];
|
|
3430
3463
|
export var RetrievalFilterConfiguration$ = [4, n0, _RFC,
|
|
3431
3464
|
0,
|
|
3432
|
-
[_aAn, _eq, _gT, _gTOE, _in_,
|
|
3465
|
+
[_aAn, _eq, _gT, _gTOE, _in_, _lTe, _lTOE, _lCi, _nE, _nI, _oA, _sW, _sCt],
|
|
3433
3466
|
[() => RetrievalFilterList, () => FilterAttribute$, () => FilterAttribute$, () => FilterAttribute$, () => FilterAttribute$, () => FilterAttribute$, () => FilterAttribute$, () => FilterAttribute$, () => FilterAttribute$, () => FilterAttribute$, () => RetrievalFilterList, () => FilterAttribute$, () => FilterAttribute$]
|
|
3434
3467
|
];
|
|
3435
3468
|
export var RuntimeSessionDataValue$ = [4, n0, _RSDV,
|
|
@@ -3646,6 +3679,9 @@ export var ListMessageTemplates$ = [9, n0, _LMT,
|
|
|
3646
3679
|
export var ListMessageTemplateVersions$ = [9, n0, _LMTV,
|
|
3647
3680
|
{ [_htt]: ["GET", "/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/versions", 200] }, () => ListMessageTemplateVersionsRequest$, () => ListMessageTemplateVersionsResponse$
|
|
3648
3681
|
];
|
|
3682
|
+
export var ListModels$ = [9, n0, _LMi,
|
|
3683
|
+
{ [_htt]: ["GET", "/assistants/{assistantId}/models", 200] }, () => ListModelsRequest$, () => ListModelsResponse$
|
|
3684
|
+
];
|
|
3649
3685
|
export var ListQuickResponses$ = [9, n0, _LQR,
|
|
3650
3686
|
{ [_htt]: ["GET", "/knowledgeBases/{knowledgeBaseId}/quickResponses", 200] }, () => ListQuickResponsesRequest$, () => ListQuickResponsesResponse$
|
|
3651
3687
|
];
|
package/dist-types/QConnect.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ import { type ListKnowledgeBasesCommandInput, type ListKnowledgeBasesCommandOutp
|
|
|
62
62
|
import { type ListMessagesCommandInput, type ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
63
63
|
import { type ListMessageTemplatesCommandInput, type ListMessageTemplatesCommandOutput } from "./commands/ListMessageTemplatesCommand";
|
|
64
64
|
import { type ListMessageTemplateVersionsCommandInput, type ListMessageTemplateVersionsCommandOutput } from "./commands/ListMessageTemplateVersionsCommand";
|
|
65
|
+
import { type ListModelsCommandInput, type ListModelsCommandOutput } from "./commands/ListModelsCommand";
|
|
65
66
|
import { type ListQuickResponsesCommandInput, type ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
|
|
66
67
|
import { type ListSpansCommandInput, type ListSpansCommandOutput } from "./commands/ListSpansCommand";
|
|
67
68
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -474,6 +475,12 @@ export interface QConnect {
|
|
|
474
475
|
listMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListMessageTemplateVersionsCommandOutput>;
|
|
475
476
|
listMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, cb: (err: any, data?: ListMessageTemplateVersionsCommandOutput) => void): void;
|
|
476
477
|
listMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessageTemplateVersionsCommandOutput) => void): void;
|
|
478
|
+
/**
|
|
479
|
+
* @see {@link ListModelsCommand}
|
|
480
|
+
*/
|
|
481
|
+
listModels(args: ListModelsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelsCommandOutput>;
|
|
482
|
+
listModels(args: ListModelsCommandInput, cb: (err: any, data?: ListModelsCommandOutput) => void): void;
|
|
483
|
+
listModels(args: ListModelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelsCommandOutput) => void): void;
|
|
477
484
|
/**
|
|
478
485
|
* @see {@link ListQuickResponsesCommand}
|
|
479
486
|
*/
|
|
@@ -759,6 +766,13 @@ export interface QConnect {
|
|
|
759
766
|
* @returns AsyncIterable of {@link ListMessageTemplateVersionsCommandOutput}.
|
|
760
767
|
*/
|
|
761
768
|
paginateListMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMessageTemplateVersionsCommandOutput>;
|
|
769
|
+
/**
|
|
770
|
+
* @see {@link ListModelsCommand}
|
|
771
|
+
* @param args - command input.
|
|
772
|
+
* @param paginationConfig - optional pagination config.
|
|
773
|
+
* @returns AsyncIterable of {@link ListModelsCommandOutput}.
|
|
774
|
+
*/
|
|
775
|
+
paginateListModels(args: ListModelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListModelsCommandOutput>;
|
|
762
776
|
/**
|
|
763
777
|
* @see {@link ListQuickResponsesCommand}
|
|
764
778
|
* @param args - command input.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/
|
|
2
|
-
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
3
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
@@ -70,6 +69,7 @@ import type { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput }
|
|
|
70
69
|
import type { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
71
70
|
import type { ListMessageTemplatesCommandInput, ListMessageTemplatesCommandOutput } from "./commands/ListMessageTemplatesCommand";
|
|
72
71
|
import type { ListMessageTemplateVersionsCommandInput, ListMessageTemplateVersionsCommandOutput } from "./commands/ListMessageTemplateVersionsCommand";
|
|
72
|
+
import type { ListModelsCommandInput, ListModelsCommandOutput } from "./commands/ListModelsCommand";
|
|
73
73
|
import type { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
|
|
74
74
|
import type { ListSpansCommandInput, ListSpansCommandOutput } from "./commands/ListSpansCommand";
|
|
75
75
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -106,11 +106,11 @@ export { __Client };
|
|
|
106
106
|
/**
|
|
107
107
|
* @public
|
|
108
108
|
*/
|
|
109
|
-
export type ServiceInputTypes = ActivateMessageTemplateCommandInput | CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIGuardrailCommandInput | CreateAIGuardrailVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateMessageTemplateAttachmentCommandInput | CreateMessageTemplateCommandInput | CreateMessageTemplateVersionCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeactivateMessageTemplateCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIGuardrailCommandInput | DeleteAIGuardrailVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteMessageTemplateAttachmentCommandInput | DeleteMessageTemplateCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIGuardrailCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetMessageTemplateCommandInput | GetNextMessageCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIGuardrailVersionsCommandInput | ListAIGuardrailsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListMessageTemplateVersionsCommandInput | ListMessageTemplatesCommandInput | ListMessagesCommandInput | ListQuickResponsesCommandInput | ListSpansCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | RenderMessageTemplateCommandInput | RetrieveCommandInput | SearchContentCommandInput | SearchMessageTemplatesCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | SendMessageCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIGuardrailCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateMessageTemplateCommandInput | UpdateMessageTemplateMetadataCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
|
|
109
|
+
export type ServiceInputTypes = ActivateMessageTemplateCommandInput | CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIGuardrailCommandInput | CreateAIGuardrailVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateMessageTemplateAttachmentCommandInput | CreateMessageTemplateCommandInput | CreateMessageTemplateVersionCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeactivateMessageTemplateCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIGuardrailCommandInput | DeleteAIGuardrailVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteMessageTemplateAttachmentCommandInput | DeleteMessageTemplateCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIGuardrailCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetMessageTemplateCommandInput | GetNextMessageCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIGuardrailVersionsCommandInput | ListAIGuardrailsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListMessageTemplateVersionsCommandInput | ListMessageTemplatesCommandInput | ListMessagesCommandInput | ListModelsCommandInput | ListQuickResponsesCommandInput | ListSpansCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | RenderMessageTemplateCommandInput | RetrieveCommandInput | SearchContentCommandInput | SearchMessageTemplatesCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | SendMessageCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIGuardrailCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateMessageTemplateCommandInput | UpdateMessageTemplateMetadataCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
|
|
110
110
|
/**
|
|
111
111
|
* @public
|
|
112
112
|
*/
|
|
113
|
-
export type ServiceOutputTypes = ActivateMessageTemplateCommandOutput | CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIGuardrailCommandOutput | CreateAIGuardrailVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateMessageTemplateAttachmentCommandOutput | CreateMessageTemplateCommandOutput | CreateMessageTemplateVersionCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeactivateMessageTemplateCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIGuardrailCommandOutput | DeleteAIGuardrailVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteMessageTemplateAttachmentCommandOutput | DeleteMessageTemplateCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIGuardrailCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetMessageTemplateCommandOutput | GetNextMessageCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIGuardrailVersionsCommandOutput | ListAIGuardrailsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListMessageTemplateVersionsCommandOutput | ListMessageTemplatesCommandOutput | ListMessagesCommandOutput | ListQuickResponsesCommandOutput | ListSpansCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | RenderMessageTemplateCommandOutput | RetrieveCommandOutput | SearchContentCommandOutput | SearchMessageTemplatesCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | SendMessageCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIGuardrailCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateMessageTemplateCommandOutput | UpdateMessageTemplateMetadataCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
|
|
113
|
+
export type ServiceOutputTypes = ActivateMessageTemplateCommandOutput | CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIGuardrailCommandOutput | CreateAIGuardrailVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateMessageTemplateAttachmentCommandOutput | CreateMessageTemplateCommandOutput | CreateMessageTemplateVersionCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeactivateMessageTemplateCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIGuardrailCommandOutput | DeleteAIGuardrailVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteMessageTemplateAttachmentCommandOutput | DeleteMessageTemplateCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIGuardrailCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetMessageTemplateCommandOutput | GetNextMessageCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIGuardrailVersionsCommandOutput | ListAIGuardrailsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListMessageTemplateVersionsCommandOutput | ListMessageTemplatesCommandOutput | ListMessagesCommandOutput | ListModelsCommandOutput | ListQuickResponsesCommandOutput | ListSpansCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | RenderMessageTemplateCommandOutput | RetrieveCommandOutput | SearchContentCommandOutput | SearchMessageTemplatesCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | SendMessageCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIGuardrailCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateMessageTemplateCommandOutput | UpdateMessageTemplateMetadataCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
|
|
114
114
|
/**
|
|
115
115
|
* @public
|
|
116
116
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CreateQuickResponseRequest
|
|
3
|
+
import type { CreateQuickResponseRequest } from "../models/models_0";
|
|
4
|
+
import type { CreateQuickResponseResponse } from "../models/models_1";
|
|
4
5
|
import type { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DeactivateMessageTemplateRequest, DeactivateMessageTemplateResponse } from "../models/
|
|
3
|
+
import type { DeactivateMessageTemplateRequest, DeactivateMessageTemplateResponse } from "../models/models_1";
|
|
4
4
|
import type { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListModelsRequest, ListModelsResponse } from "../models/models_0";
|
|
4
|
+
import type { 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 ListModelsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListModelsCommandInput extends ListModelsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListModelsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListModelsCommandOutput extends ListModelsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListModelsCommand_base: {
|
|
25
|
+
new (input: ListModelsCommandInput): import("@smithy/core/client").CommandImpl<ListModelsCommandInput, ListModelsCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListModelsCommandInput): import("@smithy/core/client").CommandImpl<ListModelsCommandInput, ListModelsCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists the models available to an Amazon Q in Connect assistant in the assistant's Amazon Web Services Region. The available models are determined by the region of the specified assistant.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { QConnectClient, ListModelsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
37
|
+
* // const { QConnectClient, ListModelsCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
38
|
+
* // import type { QConnectClientConfig } from "@aws-sdk/client-qconnect";
|
|
39
|
+
* const config = {}; // type is QConnectClientConfig
|
|
40
|
+
* const client = new QConnectClient(config);
|
|
41
|
+
* const input = { // ListModelsRequest
|
|
42
|
+
* assistantId: "STRING_VALUE", // required
|
|
43
|
+
* aiPromptType: "STRING_VALUE",
|
|
44
|
+
* modelLifecycle: "STRING_VALUE",
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListModelsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListModelsResponse
|
|
51
|
+
* // modelSummaries: [ // ModelSummaryList // required
|
|
52
|
+
* // { // ModelSummary
|
|
53
|
+
* // modelId: "STRING_VALUE", // required
|
|
54
|
+
* // displayName: "STRING_VALUE", // required
|
|
55
|
+
* // crossRegionStatus: "STRING_VALUE",
|
|
56
|
+
* // supportsPromptCaching: true || false,
|
|
57
|
+
* // supportedAIPromptTypes: [ // AIPromptTypeList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // modelLifecycle: "STRING_VALUE",
|
|
61
|
+
* // legacyTimestamp: new Date("TIMESTAMP"),
|
|
62
|
+
* // endOfLifeTimestamp: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // nextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListModelsCommandInput - {@link ListModelsCommandInput}
|
|
71
|
+
* @returns {@link ListModelsCommandOutput}
|
|
72
|
+
* @see {@link ListModelsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListModelsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ConflictException} (client fault)
|
|
80
|
+
* <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>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The specified resource does not exist.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
89
|
+
* <p>You do not have permission to perform this action.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link QConnectServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ListModelsCommand extends ListModelsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: ListModelsRequest;
|
|
105
|
+
output: ListModelsResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: ListModelsCommandInput;
|
|
109
|
+
output: ListModelsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -61,6 +61,7 @@ export * from "./ListKnowledgeBasesCommand";
|
|
|
61
61
|
export * from "./ListMessageTemplateVersionsCommand";
|
|
62
62
|
export * from "./ListMessageTemplatesCommand";
|
|
63
63
|
export * from "./ListMessagesCommand";
|
|
64
|
+
export * from "./ListModelsCommand";
|
|
64
65
|
export * from "./ListQuickResponsesCommand";
|
|
65
66
|
export * from "./ListSpansCommand";
|
|
66
67
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -416,6 +416,31 @@ export declare const RecommendationTriggerType: {
|
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
418
418
|
export type RecommendationTriggerType = (typeof RecommendationTriggerType)[keyof typeof RecommendationTriggerType];
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
* @enum
|
|
422
|
+
*/
|
|
423
|
+
export declare const ModelLifecycle: {
|
|
424
|
+
readonly ACTIVE: "ACTIVE";
|
|
425
|
+
readonly LEGACY: "LEGACY";
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
export type ModelLifecycle = (typeof ModelLifecycle)[keyof typeof ModelLifecycle];
|
|
431
|
+
/**
|
|
432
|
+
* @public
|
|
433
|
+
* @enum
|
|
434
|
+
*/
|
|
435
|
+
export declare const CrossRegionStatus: {
|
|
436
|
+
readonly GLOBAL: "GLOBAL";
|
|
437
|
+
readonly NONE: "NONE";
|
|
438
|
+
readonly REGIONAL: "REGIONAL";
|
|
439
|
+
};
|
|
440
|
+
/**
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
export type CrossRegionStatus = (typeof CrossRegionStatus)[keyof typeof CrossRegionStatus];
|
|
419
444
|
/**
|
|
420
445
|
* @public
|
|
421
446
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, FilterField, FilterOperator, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, QuickResponseStatus, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
|
|
2
|
+
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, QuickResponseStatus, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -3778,6 +3778,97 @@ export interface ListAssistantsResponse {
|
|
|
3778
3778
|
*/
|
|
3779
3779
|
nextToken?: string | undefined;
|
|
3780
3780
|
}
|
|
3781
|
+
/**
|
|
3782
|
+
* @public
|
|
3783
|
+
*/
|
|
3784
|
+
export interface ListModelsRequest {
|
|
3785
|
+
/**
|
|
3786
|
+
* <p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN. The assistant's region determines which models are available.</p>
|
|
3787
|
+
* @public
|
|
3788
|
+
*/
|
|
3789
|
+
assistantId: string | undefined;
|
|
3790
|
+
/**
|
|
3791
|
+
* <p>The type of the AI Prompt to filter models by. When specified, only models that support the given AI Prompt type are returned.</p>
|
|
3792
|
+
* @public
|
|
3793
|
+
*/
|
|
3794
|
+
aiPromptType?: AIPromptType | undefined;
|
|
3795
|
+
/**
|
|
3796
|
+
* <p>The lifecycle status of models to filter by. When specified, only models with the given lifecycle status are returned.</p>
|
|
3797
|
+
* @public
|
|
3798
|
+
*/
|
|
3799
|
+
modelLifecycle?: ModelLifecycle | undefined;
|
|
3800
|
+
/**
|
|
3801
|
+
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
3802
|
+
* @public
|
|
3803
|
+
*/
|
|
3804
|
+
nextToken?: string | undefined;
|
|
3805
|
+
/**
|
|
3806
|
+
* <p>The maximum number of results to return per page.</p>
|
|
3807
|
+
* @public
|
|
3808
|
+
*/
|
|
3809
|
+
maxResults?: number | undefined;
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
* <p>The summary of a model available to an Amazon Q in Connect assistant.</p>
|
|
3813
|
+
* @public
|
|
3814
|
+
*/
|
|
3815
|
+
export interface ModelSummary {
|
|
3816
|
+
/**
|
|
3817
|
+
* <p>The identifier of the model.</p>
|
|
3818
|
+
* @public
|
|
3819
|
+
*/
|
|
3820
|
+
modelId: string | undefined;
|
|
3821
|
+
/**
|
|
3822
|
+
* <p>The display name of the model.</p>
|
|
3823
|
+
* @public
|
|
3824
|
+
*/
|
|
3825
|
+
displayName: string | undefined;
|
|
3826
|
+
/**
|
|
3827
|
+
* <p>The cross-region availability status of the model. <code>NONE</code> indicates the model is only available in a single region, <code>REGIONAL</code> indicates the model is available through regional inference, and <code>GLOBAL</code> indicates the model is available through global cross-region inference.</p>
|
|
3828
|
+
* @public
|
|
3829
|
+
*/
|
|
3830
|
+
crossRegionStatus?: CrossRegionStatus | undefined;
|
|
3831
|
+
/**
|
|
3832
|
+
* <p>Whether the model supports prompt caching.</p>
|
|
3833
|
+
* @public
|
|
3834
|
+
*/
|
|
3835
|
+
supportsPromptCaching?: boolean | undefined;
|
|
3836
|
+
/**
|
|
3837
|
+
* <p>The list of AI Prompt types that the model supports.</p>
|
|
3838
|
+
* @public
|
|
3839
|
+
*/
|
|
3840
|
+
supportedAIPromptTypes?: AIPromptType[] | undefined;
|
|
3841
|
+
/**
|
|
3842
|
+
* <p>The current lifecycle of the model. <code>ACTIVE</code> indicates the model is recommended for use and <code>LEGACY</code> indicates the model is still usable but is deprecated.</p>
|
|
3843
|
+
* @public
|
|
3844
|
+
*/
|
|
3845
|
+
modelLifecycle?: ModelLifecycle | undefined;
|
|
3846
|
+
/**
|
|
3847
|
+
* <p>The timestamp when the model lifecycle will transition from <code>ACTIVE</code> to <code>LEGACY</code>.</p>
|
|
3848
|
+
* @public
|
|
3849
|
+
*/
|
|
3850
|
+
legacyTimestamp?: Date | undefined;
|
|
3851
|
+
/**
|
|
3852
|
+
* <p>The timestamp when the model will reach end of life and no longer be available for use.</p>
|
|
3853
|
+
* @public
|
|
3854
|
+
*/
|
|
3855
|
+
endOfLifeTimestamp?: Date | undefined;
|
|
3856
|
+
}
|
|
3857
|
+
/**
|
|
3858
|
+
* @public
|
|
3859
|
+
*/
|
|
3860
|
+
export interface ListModelsResponse {
|
|
3861
|
+
/**
|
|
3862
|
+
* <p>The summaries of the models available to the assistant.</p>
|
|
3863
|
+
* @public
|
|
3864
|
+
*/
|
|
3865
|
+
modelSummaries: ModelSummary[] | undefined;
|
|
3866
|
+
/**
|
|
3867
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
3868
|
+
* @public
|
|
3869
|
+
*/
|
|
3870
|
+
nextToken?: string | undefined;
|
|
3871
|
+
}
|
|
3781
3872
|
/**
|
|
3782
3873
|
* @public
|
|
3783
3874
|
*/
|
|
@@ -7853,53 +7944,3 @@ export interface QuickResponseData {
|
|
|
7853
7944
|
*/
|
|
7854
7945
|
tags?: Record<string, string> | undefined;
|
|
7855
7946
|
}
|
|
7856
|
-
/**
|
|
7857
|
-
* @public
|
|
7858
|
-
*/
|
|
7859
|
-
export interface CreateQuickResponseResponse {
|
|
7860
|
-
/**
|
|
7861
|
-
* <p>The quick response.</p>
|
|
7862
|
-
* @public
|
|
7863
|
-
*/
|
|
7864
|
-
quickResponse?: QuickResponseData | undefined;
|
|
7865
|
-
}
|
|
7866
|
-
/**
|
|
7867
|
-
* @public
|
|
7868
|
-
*/
|
|
7869
|
-
export interface DeactivateMessageTemplateRequest {
|
|
7870
|
-
/**
|
|
7871
|
-
* <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
7872
|
-
* @public
|
|
7873
|
-
*/
|
|
7874
|
-
knowledgeBaseId: string | undefined;
|
|
7875
|
-
/**
|
|
7876
|
-
* <p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>
|
|
7877
|
-
* @public
|
|
7878
|
-
*/
|
|
7879
|
-
messageTemplateId: string | undefined;
|
|
7880
|
-
/**
|
|
7881
|
-
* <p>The version number of the message template version to deactivate.</p>
|
|
7882
|
-
* @public
|
|
7883
|
-
*/
|
|
7884
|
-
versionNumber: number | undefined;
|
|
7885
|
-
}
|
|
7886
|
-
/**
|
|
7887
|
-
* @public
|
|
7888
|
-
*/
|
|
7889
|
-
export interface DeactivateMessageTemplateResponse {
|
|
7890
|
-
/**
|
|
7891
|
-
* <p>The Amazon Resource Name (ARN) of the message template.</p>
|
|
7892
|
-
* @public
|
|
7893
|
-
*/
|
|
7894
|
-
messageTemplateArn: string | undefined;
|
|
7895
|
-
/**
|
|
7896
|
-
* <p>The identifier of the message template.</p>
|
|
7897
|
-
* @public
|
|
7898
|
-
*/
|
|
7899
|
-
messageTemplateId: string | undefined;
|
|
7900
|
-
/**
|
|
7901
|
-
* <p>The version number of the message template version that has been deactivated.</p>
|
|
7902
|
-
* @public
|
|
7903
|
-
*/
|
|
7904
|
-
versionNumber: number | undefined;
|
|
7905
|
-
}
|
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
import type { AIAgentType, AIPromptType, ChannelSubtype, ExternalSource, ImportJobStatus, ImportJobType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, SpanStatus, SpanType } from "./enums";
|
|
2
2
|
import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, ExtendedMessageTemplateData, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttachment, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateData, MessageTemplateSourceConfiguration, MessageTemplateSourceConfigurationSummary, NotesChunkDataDetails, NotesDataDetails, QuickResponseContents, QuickResponseData, QuickResponseDataProvider, RankingData, RecommendationTrigger, RenderingConfiguration, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateQuickResponseResponse {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The quick response.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
quickResponse?: QuickResponseData | undefined;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export interface DeactivateMessageTemplateRequest {
|
|
17
|
+
/**
|
|
18
|
+
* <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
knowledgeBaseId: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
messageTemplateId: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The version number of the message template version to deactivate.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
versionNumber: number | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export interface DeactivateMessageTemplateResponse {
|
|
37
|
+
/**
|
|
38
|
+
* <p>The Amazon Resource Name (ARN) of the message template.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
messageTemplateArn: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The identifier of the message template.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
messageTemplateId: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The version number of the message template version that has been deactivated.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
versionNumber: number | undefined;
|
|
52
|
+
}
|
|
3
53
|
/**
|
|
4
54
|
* @public
|
|
5
55
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListModelsCommandInput, ListModelsCommandOutput } from "../commands/ListModelsCommand";
|
|
3
|
+
import type { QConnectPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListModels: (config: QConnectPaginationConfiguration, input: ListModelsCommandInput, ...rest: any[]) => 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";
|