@aws-sdk/client-qconnect 3.974.0 → 3.978.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/dist-cjs/index.js +86 -59
- package/dist-es/QConnect.js +47 -1
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +16 -14
- package/dist-types/QConnect.d.ts +155 -1
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +1 -6
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/QConnect.d.ts +159 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -563,6 +563,7 @@ const _IID = "IntentInputData";
|
|
|
563
563
|
const _IJD = "ImportJobData";
|
|
564
564
|
const _IJL = "ImportJobList";
|
|
565
565
|
const _IJS = "ImportJobSummary";
|
|
566
|
+
const _JSOND = "JSONDocument";
|
|
566
567
|
const _KBACD = "KnowledgeBaseAssociationConfigurationData";
|
|
567
568
|
const _KBAD = "KnowledgeBaseAssociationData";
|
|
568
569
|
const _KBD = "KnowledgeBaseData";
|
|
@@ -1407,6 +1408,7 @@ var GuardrailTopicExample = [0, n0, _GTE, 8, 0];
|
|
|
1407
1408
|
var GuardrailTopicName = [0, n0, _GTN, 8, 0];
|
|
1408
1409
|
var GuardrailTopicType$1 = [0, n0, _GTT, 8, 0];
|
|
1409
1410
|
var GuardrailWordText = [0, n0, _GWT, 8, 0];
|
|
1411
|
+
var JSONDocument = [0, n0, _JSOND, 8, 15];
|
|
1410
1412
|
var MaxTokensToSample = [0, n0, _MTTS, 8, 1];
|
|
1411
1413
|
var MessageTemplateAttributeValue = [0, n0, _MTAV, 8, 0];
|
|
1412
1414
|
var NonEmptySensitiveString = [0, n0, _NESS, 8, 0];
|
|
@@ -1531,7 +1533,7 @@ var AmazonConnectGuideAssociationData$ = [3, n0, _ACGAD,
|
|
|
1531
1533
|
[0]
|
|
1532
1534
|
];
|
|
1533
1535
|
var Annotation$ = [3, n0, _A,
|
|
1534
|
-
|
|
1536
|
+
8,
|
|
1535
1537
|
[_ti, _dH],
|
|
1536
1538
|
[0, 2]
|
|
1537
1539
|
];
|
|
@@ -1593,7 +1595,7 @@ var CaseSummarizationAIAgentConfiguration$ = [3, n0, _CSAIAC,
|
|
|
1593
1595
|
var CaseSummarizationChunkDataDetails$ = [3, n0, _CSCDD,
|
|
1594
1596
|
0,
|
|
1595
1597
|
[_com, _nCT],
|
|
1596
|
-
[0, 0]
|
|
1598
|
+
[[() => NonEmptySensitiveString, 0], 0]
|
|
1597
1599
|
];
|
|
1598
1600
|
var CaseSummarizationInputData$ = [3, n0, _CSID,
|
|
1599
1601
|
0,
|
|
@@ -2080,7 +2082,7 @@ var Filter$ = [3, n0, _F,
|
|
|
2080
2082
|
var FilterAttribute$ = [3, n0, _FA,
|
|
2081
2083
|
0,
|
|
2082
2084
|
[_k, _v],
|
|
2083
|
-
[0,
|
|
2085
|
+
[0, [() => JSONDocument, 0]], 2
|
|
2084
2086
|
];
|
|
2085
2087
|
var FixedSizeChunkingConfiguration$ = [3, n0, _FSCC,
|
|
2086
2088
|
0,
|
|
@@ -2999,7 +3001,7 @@ var SpanToolResultValue$ = [3, n0, _STRV,
|
|
|
2999
3001
|
var SpanToolUseValue$ = [3, n0, _STUV,
|
|
3000
3002
|
0,
|
|
3001
3003
|
[_tUI, _n, _ar],
|
|
3002
|
-
[0, 0,
|
|
3004
|
+
[0, 0, [() => JSONDocument, 0]], 3
|
|
3003
3005
|
];
|
|
3004
3006
|
var StartContentUploadRequest$ = [3, n0, _SCUR,
|
|
3005
3007
|
0,
|
|
@@ -3080,10 +3082,10 @@ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingExcept
|
|
|
3080
3082
|
var ToolConfiguration$ = [3, n0, _TCo,
|
|
3081
3083
|
0,
|
|
3082
3084
|
[_tNo, _tTo, _ti, _tIo, _d, _in, _oIV, _oFu, _iSnp, _oSu, _an, _uIC],
|
|
3083
|
-
[0, 0, 0, 0, 0, () => ToolInstruction$, [() => ToolOverrideInputValueList, 0], () => ToolOutputFilterList,
|
|
3085
|
+
[0, 0, [() => NonEmptySensitiveString, 0], 0, [() => NonEmptySensitiveString, 0], [() => ToolInstruction$, 0], [() => ToolOverrideInputValueList, 0], [() => ToolOutputFilterList, 0], [() => JSONDocument, 0], [() => JSONDocument, 0], [() => Annotation$, 0], () => UserInteractionConfiguration$], 2
|
|
3084
3086
|
];
|
|
3085
3087
|
var ToolInstruction$ = [3, n0, _TI,
|
|
3086
|
-
|
|
3088
|
+
8,
|
|
3087
3089
|
[_in, _exa],
|
|
3088
3090
|
[0, 64 | 0]
|
|
3089
3091
|
];
|
|
@@ -3110,7 +3112,7 @@ var ToolOverrideInputValue$ = [3, n0, _TOIV,
|
|
|
3110
3112
|
var ToolUseResultData$ = [3, n0, _TURD,
|
|
3111
3113
|
0,
|
|
3112
3114
|
[_tUI, _tNo, _tR, _iSnp],
|
|
3113
|
-
[0, 0,
|
|
3115
|
+
[0, 0, [() => JSONDocument, 0], [() => JSONDocument, 0]], 3
|
|
3114
3116
|
];
|
|
3115
3117
|
var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
3116
3118
|
{ [_e]: _c, [_hE]: 400 },
|
|
@@ -3172,8 +3174,8 @@ var UpdateAIPromptResponse$ = [3, n0, _UAIPRp,
|
|
|
3172
3174
|
];
|
|
3173
3175
|
var UpdateAssistantAIAgentRequest$ = [3, n0, _UAAIAR,
|
|
3174
3176
|
0,
|
|
3175
|
-
[_aI, _aAT, _co,
|
|
3176
|
-
[[0, 1], 0, () => AIAgentConfigurationData$,
|
|
3177
|
+
[_aI, _aAT, _co, _oUC],
|
|
3178
|
+
[[0, 1], 0, () => AIAgentConfigurationData$, 0], 3
|
|
3177
3179
|
];
|
|
3178
3180
|
var UpdateAssistantAIAgentResponse$ = [3, n0, _UAAIARp,
|
|
3179
3181
|
0,
|
|
@@ -3522,10 +3524,10 @@ var ToolConfigurationList = [1, n0, _TCL,
|
|
|
3522
3524
|
0]
|
|
3523
3525
|
];
|
|
3524
3526
|
var ToolOutputFilterList = [1, n0, _TOFL,
|
|
3525
|
-
|
|
3527
|
+
8, () => ToolOutputFilter$
|
|
3526
3528
|
];
|
|
3527
3529
|
var ToolOverrideInputValueList = [1, n0, _TOIVL,
|
|
3528
|
-
|
|
3530
|
+
8, [() => ToolOverrideInputValue$,
|
|
3529
3531
|
0]
|
|
3530
3532
|
];
|
|
3531
3533
|
var UrlFilterList = [1, n0, _UFL,
|
|
@@ -3587,7 +3589,7 @@ var ContentFeedbackData$ = [4, n0, _CFD,
|
|
|
3587
3589
|
var DataDetails$ = [4, n0, _DD,
|
|
3588
3590
|
0,
|
|
3589
3591
|
[_cDo, _gD, _iDD, _sCD, _gCD, _eRCD, _eOCD, _eGACD, _cSCD, _sMD, _nD, _nCD],
|
|
3590
|
-
[[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], () => CaseSummarizationChunkDataDetails$, [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0]]
|
|
3592
|
+
[[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], [() => CaseSummarizationChunkDataDetails$, 0], [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0]]
|
|
3591
3593
|
];
|
|
3592
3594
|
var DataReference$ = [4, n0, _DR,
|
|
3593
3595
|
0,
|
|
@@ -3607,7 +3609,7 @@ var ManagedSourceConfiguration$ = [4, n0, _MSC,
|
|
|
3607
3609
|
var MessageData$ = [4, n0, _MD,
|
|
3608
3610
|
0,
|
|
3609
3611
|
[_tex, _tUR],
|
|
3610
|
-
[[() => TextMessage$, 0], () => ToolUseResultData
|
|
3612
|
+
[[() => TextMessage$, 0], [() => ToolUseResultData$, 0]]
|
|
3611
3613
|
];
|
|
3612
3614
|
var MessageTemplateBodyContentProvider$ = [4, n0, _MTBCP,
|
|
3613
3615
|
0,
|
|
@@ -3677,7 +3679,7 @@ var SourceConfiguration$ = [4, n0, _SCo,
|
|
|
3677
3679
|
var SpanMessageValue$ = [4, n0, _SMV,
|
|
3678
3680
|
0,
|
|
3679
3681
|
[_tex, _tUo, _tR],
|
|
3680
|
-
[[() => SpanTextValue$, 0], () => SpanToolUseValue$, [() => SpanToolResultValue$, 0]]
|
|
3682
|
+
[[() => SpanTextValue$, 0], [() => SpanToolUseValue$, 0], [() => SpanToolResultValue$, 0]]
|
|
3681
3683
|
];
|
|
3682
3684
|
var TagFilter$ = [4, n0, _TF,
|
|
3683
3685
|
0,
|
|
@@ -5085,6 +5087,50 @@ class UpdateSessionDataCommand extends smithyClient.Command
|
|
|
5085
5087
|
.build() {
|
|
5086
5088
|
}
|
|
5087
5089
|
|
|
5090
|
+
const paginateListAIAgents = core.createPaginator(QConnectClient, ListAIAgentsCommand, "nextToken", "nextToken", "maxResults");
|
|
5091
|
+
|
|
5092
|
+
const paginateListAIAgentVersions = core.createPaginator(QConnectClient, ListAIAgentVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5093
|
+
|
|
5094
|
+
const paginateListAIGuardrails = core.createPaginator(QConnectClient, ListAIGuardrailsCommand, "nextToken", "nextToken", "maxResults");
|
|
5095
|
+
|
|
5096
|
+
const paginateListAIGuardrailVersions = core.createPaginator(QConnectClient, ListAIGuardrailVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5097
|
+
|
|
5098
|
+
const paginateListAIPrompts = core.createPaginator(QConnectClient, ListAIPromptsCommand, "nextToken", "nextToken", "maxResults");
|
|
5099
|
+
|
|
5100
|
+
const paginateListAIPromptVersions = core.createPaginator(QConnectClient, ListAIPromptVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5101
|
+
|
|
5102
|
+
const paginateListAssistantAssociations = core.createPaginator(QConnectClient, ListAssistantAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
5103
|
+
|
|
5104
|
+
const paginateListAssistants = core.createPaginator(QConnectClient, ListAssistantsCommand, "nextToken", "nextToken", "maxResults");
|
|
5105
|
+
|
|
5106
|
+
const paginateListContentAssociations = core.createPaginator(QConnectClient, ListContentAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
5107
|
+
|
|
5108
|
+
const paginateListContents = core.createPaginator(QConnectClient, ListContentsCommand, "nextToken", "nextToken", "maxResults");
|
|
5109
|
+
|
|
5110
|
+
const paginateListImportJobs = core.createPaginator(QConnectClient, ListImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5111
|
+
|
|
5112
|
+
const paginateListKnowledgeBases = core.createPaginator(QConnectClient, ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
|
|
5113
|
+
|
|
5114
|
+
const paginateListMessages = core.createPaginator(QConnectClient, ListMessagesCommand, "nextToken", "nextToken", "maxResults");
|
|
5115
|
+
|
|
5116
|
+
const paginateListMessageTemplates = core.createPaginator(QConnectClient, ListMessageTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
5117
|
+
|
|
5118
|
+
const paginateListMessageTemplateVersions = core.createPaginator(QConnectClient, ListMessageTemplateVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5119
|
+
|
|
5120
|
+
const paginateListQuickResponses = core.createPaginator(QConnectClient, ListQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
5121
|
+
|
|
5122
|
+
const paginateListSpans = core.createPaginator(QConnectClient, ListSpansCommand, "nextToken", "nextToken", "maxResults");
|
|
5123
|
+
|
|
5124
|
+
const paginateQueryAssistant = core.createPaginator(QConnectClient, QueryAssistantCommand, "nextToken", "nextToken", "maxResults");
|
|
5125
|
+
|
|
5126
|
+
const paginateSearchContent = core.createPaginator(QConnectClient, SearchContentCommand, "nextToken", "nextToken", "maxResults");
|
|
5127
|
+
|
|
5128
|
+
const paginateSearchMessageTemplates = core.createPaginator(QConnectClient, SearchMessageTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
5129
|
+
|
|
5130
|
+
const paginateSearchQuickResponses = core.createPaginator(QConnectClient, SearchQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
5131
|
+
|
|
5132
|
+
const paginateSearchSessions = core.createPaginator(QConnectClient, SearchSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5133
|
+
|
|
5088
5134
|
const commands = {
|
|
5089
5135
|
ActivateMessageTemplateCommand,
|
|
5090
5136
|
CreateAIAgentCommand,
|
|
@@ -5180,53 +5226,33 @@ const commands = {
|
|
|
5180
5226
|
UpdateSessionCommand,
|
|
5181
5227
|
UpdateSessionDataCommand,
|
|
5182
5228
|
};
|
|
5229
|
+
const paginators = {
|
|
5230
|
+
paginateListAIAgents,
|
|
5231
|
+
paginateListAIAgentVersions,
|
|
5232
|
+
paginateListAIGuardrails,
|
|
5233
|
+
paginateListAIGuardrailVersions,
|
|
5234
|
+
paginateListAIPrompts,
|
|
5235
|
+
paginateListAIPromptVersions,
|
|
5236
|
+
paginateListAssistantAssociations,
|
|
5237
|
+
paginateListAssistants,
|
|
5238
|
+
paginateListContentAssociations,
|
|
5239
|
+
paginateListContents,
|
|
5240
|
+
paginateListImportJobs,
|
|
5241
|
+
paginateListKnowledgeBases,
|
|
5242
|
+
paginateListMessages,
|
|
5243
|
+
paginateListMessageTemplates,
|
|
5244
|
+
paginateListMessageTemplateVersions,
|
|
5245
|
+
paginateListQuickResponses,
|
|
5246
|
+
paginateListSpans,
|
|
5247
|
+
paginateQueryAssistant,
|
|
5248
|
+
paginateSearchContent,
|
|
5249
|
+
paginateSearchMessageTemplates,
|
|
5250
|
+
paginateSearchQuickResponses,
|
|
5251
|
+
paginateSearchSessions,
|
|
5252
|
+
};
|
|
5183
5253
|
class QConnect extends QConnectClient {
|
|
5184
5254
|
}
|
|
5185
|
-
smithyClient.createAggregatedClient(commands, QConnect);
|
|
5186
|
-
|
|
5187
|
-
const paginateListAIAgents = core.createPaginator(QConnectClient, ListAIAgentsCommand, "nextToken", "nextToken", "maxResults");
|
|
5188
|
-
|
|
5189
|
-
const paginateListAIAgentVersions = core.createPaginator(QConnectClient, ListAIAgentVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5190
|
-
|
|
5191
|
-
const paginateListAIGuardrails = core.createPaginator(QConnectClient, ListAIGuardrailsCommand, "nextToken", "nextToken", "maxResults");
|
|
5192
|
-
|
|
5193
|
-
const paginateListAIGuardrailVersions = core.createPaginator(QConnectClient, ListAIGuardrailVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5194
|
-
|
|
5195
|
-
const paginateListAIPrompts = core.createPaginator(QConnectClient, ListAIPromptsCommand, "nextToken", "nextToken", "maxResults");
|
|
5196
|
-
|
|
5197
|
-
const paginateListAIPromptVersions = core.createPaginator(QConnectClient, ListAIPromptVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5198
|
-
|
|
5199
|
-
const paginateListAssistantAssociations = core.createPaginator(QConnectClient, ListAssistantAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
5200
|
-
|
|
5201
|
-
const paginateListAssistants = core.createPaginator(QConnectClient, ListAssistantsCommand, "nextToken", "nextToken", "maxResults");
|
|
5202
|
-
|
|
5203
|
-
const paginateListContentAssociations = core.createPaginator(QConnectClient, ListContentAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
5204
|
-
|
|
5205
|
-
const paginateListContents = core.createPaginator(QConnectClient, ListContentsCommand, "nextToken", "nextToken", "maxResults");
|
|
5206
|
-
|
|
5207
|
-
const paginateListImportJobs = core.createPaginator(QConnectClient, ListImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5208
|
-
|
|
5209
|
-
const paginateListKnowledgeBases = core.createPaginator(QConnectClient, ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
|
|
5210
|
-
|
|
5211
|
-
const paginateListMessages = core.createPaginator(QConnectClient, ListMessagesCommand, "nextToken", "nextToken", "maxResults");
|
|
5212
|
-
|
|
5213
|
-
const paginateListMessageTemplates = core.createPaginator(QConnectClient, ListMessageTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
5214
|
-
|
|
5215
|
-
const paginateListMessageTemplateVersions = core.createPaginator(QConnectClient, ListMessageTemplateVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5216
|
-
|
|
5217
|
-
const paginateListQuickResponses = core.createPaginator(QConnectClient, ListQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
5218
|
-
|
|
5219
|
-
const paginateListSpans = core.createPaginator(QConnectClient, ListSpansCommand, "nextToken", "nextToken", "maxResults");
|
|
5220
|
-
|
|
5221
|
-
const paginateQueryAssistant = core.createPaginator(QConnectClient, QueryAssistantCommand, "nextToken", "nextToken", "maxResults");
|
|
5222
|
-
|
|
5223
|
-
const paginateSearchContent = core.createPaginator(QConnectClient, SearchContentCommand, "nextToken", "nextToken", "maxResults");
|
|
5224
|
-
|
|
5225
|
-
const paginateSearchMessageTemplates = core.createPaginator(QConnectClient, SearchMessageTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
5226
|
-
|
|
5227
|
-
const paginateSearchQuickResponses = core.createPaginator(QConnectClient, SearchQuickResponsesCommand, "nextToken", "nextToken", "maxResults");
|
|
5228
|
-
|
|
5229
|
-
const paginateSearchSessions = core.createPaginator(QConnectClient, SearchSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5255
|
+
smithyClient.createAggregatedClient(commands, QConnect, { paginators });
|
|
5230
5256
|
|
|
5231
5257
|
const KnowledgeBaseSearchType = {
|
|
5232
5258
|
HYBRID: "HYBRID",
|
|
@@ -5427,6 +5453,7 @@ const Relevance = {
|
|
|
5427
5453
|
NOT_HELPFUL: "NOT_HELPFUL",
|
|
5428
5454
|
};
|
|
5429
5455
|
const TargetType = {
|
|
5456
|
+
MESSAGE: "MESSAGE",
|
|
5430
5457
|
RECOMMENDATION: "RECOMMENDATION",
|
|
5431
5458
|
RESULT: "RESULT",
|
|
5432
5459
|
};
|
package/dist-es/QConnect.js
CHANGED
|
@@ -92,6 +92,28 @@ import { UpdateMessageTemplateMetadataCommand, } from "./commands/UpdateMessageT
|
|
|
92
92
|
import { UpdateQuickResponseCommand, } from "./commands/UpdateQuickResponseCommand";
|
|
93
93
|
import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
|
|
94
94
|
import { UpdateSessionDataCommand, } from "./commands/UpdateSessionDataCommand";
|
|
95
|
+
import { paginateListAIAgents } from "./pagination/ListAIAgentsPaginator";
|
|
96
|
+
import { paginateListAIAgentVersions } from "./pagination/ListAIAgentVersionsPaginator";
|
|
97
|
+
import { paginateListAIGuardrails } from "./pagination/ListAIGuardrailsPaginator";
|
|
98
|
+
import { paginateListAIGuardrailVersions } from "./pagination/ListAIGuardrailVersionsPaginator";
|
|
99
|
+
import { paginateListAIPrompts } from "./pagination/ListAIPromptsPaginator";
|
|
100
|
+
import { paginateListAIPromptVersions } from "./pagination/ListAIPromptVersionsPaginator";
|
|
101
|
+
import { paginateListAssistantAssociations } from "./pagination/ListAssistantAssociationsPaginator";
|
|
102
|
+
import { paginateListAssistants } from "./pagination/ListAssistantsPaginator";
|
|
103
|
+
import { paginateListContentAssociations } from "./pagination/ListContentAssociationsPaginator";
|
|
104
|
+
import { paginateListContents } from "./pagination/ListContentsPaginator";
|
|
105
|
+
import { paginateListImportJobs } from "./pagination/ListImportJobsPaginator";
|
|
106
|
+
import { paginateListKnowledgeBases } from "./pagination/ListKnowledgeBasesPaginator";
|
|
107
|
+
import { paginateListMessages } from "./pagination/ListMessagesPaginator";
|
|
108
|
+
import { paginateListMessageTemplates } from "./pagination/ListMessageTemplatesPaginator";
|
|
109
|
+
import { paginateListMessageTemplateVersions } from "./pagination/ListMessageTemplateVersionsPaginator";
|
|
110
|
+
import { paginateListQuickResponses } from "./pagination/ListQuickResponsesPaginator";
|
|
111
|
+
import { paginateListSpans } from "./pagination/ListSpansPaginator";
|
|
112
|
+
import { paginateQueryAssistant } from "./pagination/QueryAssistantPaginator";
|
|
113
|
+
import { paginateSearchContent } from "./pagination/SearchContentPaginator";
|
|
114
|
+
import { paginateSearchMessageTemplates } from "./pagination/SearchMessageTemplatesPaginator";
|
|
115
|
+
import { paginateSearchQuickResponses } from "./pagination/SearchQuickResponsesPaginator";
|
|
116
|
+
import { paginateSearchSessions } from "./pagination/SearchSessionsPaginator";
|
|
95
117
|
import { QConnectClient } from "./QConnectClient";
|
|
96
118
|
const commands = {
|
|
97
119
|
ActivateMessageTemplateCommand,
|
|
@@ -188,6 +210,30 @@ const commands = {
|
|
|
188
210
|
UpdateSessionCommand,
|
|
189
211
|
UpdateSessionDataCommand,
|
|
190
212
|
};
|
|
213
|
+
const paginators = {
|
|
214
|
+
paginateListAIAgents,
|
|
215
|
+
paginateListAIAgentVersions,
|
|
216
|
+
paginateListAIGuardrails,
|
|
217
|
+
paginateListAIGuardrailVersions,
|
|
218
|
+
paginateListAIPrompts,
|
|
219
|
+
paginateListAIPromptVersions,
|
|
220
|
+
paginateListAssistantAssociations,
|
|
221
|
+
paginateListAssistants,
|
|
222
|
+
paginateListContentAssociations,
|
|
223
|
+
paginateListContents,
|
|
224
|
+
paginateListImportJobs,
|
|
225
|
+
paginateListKnowledgeBases,
|
|
226
|
+
paginateListMessages,
|
|
227
|
+
paginateListMessageTemplates,
|
|
228
|
+
paginateListMessageTemplateVersions,
|
|
229
|
+
paginateListQuickResponses,
|
|
230
|
+
paginateListSpans,
|
|
231
|
+
paginateQueryAssistant,
|
|
232
|
+
paginateSearchContent,
|
|
233
|
+
paginateSearchMessageTemplates,
|
|
234
|
+
paginateSearchQuickResponses,
|
|
235
|
+
paginateSearchSessions,
|
|
236
|
+
};
|
|
191
237
|
export class QConnect extends QConnectClient {
|
|
192
238
|
}
|
|
193
|
-
createAggregatedClient(commands, QConnect);
|
|
239
|
+
createAggregatedClient(commands, QConnect, { paginators });
|
package/dist-es/models/enums.js
CHANGED
|
@@ -293,6 +293,7 @@ const _IID = "IntentInputData";
|
|
|
293
293
|
const _IJD = "ImportJobData";
|
|
294
294
|
const _IJL = "ImportJobList";
|
|
295
295
|
const _IJS = "ImportJobSummary";
|
|
296
|
+
const _JSOND = "JSONDocument";
|
|
296
297
|
const _KBACD = "KnowledgeBaseAssociationConfigurationData";
|
|
297
298
|
const _KBAD = "KnowledgeBaseAssociationData";
|
|
298
299
|
const _KBD = "KnowledgeBaseData";
|
|
@@ -1140,6 +1141,7 @@ var GuardrailTopicExample = [0, n0, _GTE, 8, 0];
|
|
|
1140
1141
|
var GuardrailTopicName = [0, n0, _GTN, 8, 0];
|
|
1141
1142
|
var GuardrailTopicType = [0, n0, _GTT, 8, 0];
|
|
1142
1143
|
var GuardrailWordText = [0, n0, _GWT, 8, 0];
|
|
1144
|
+
var JSONDocument = [0, n0, _JSOND, 8, 15];
|
|
1143
1145
|
var MaxTokensToSample = [0, n0, _MTTS, 8, 1];
|
|
1144
1146
|
var MessageTemplateAttributeValue = [0, n0, _MTAV, 8, 0];
|
|
1145
1147
|
var NonEmptySensitiveString = [0, n0, _NESS, 8, 0];
|
|
@@ -1264,7 +1266,7 @@ export var AmazonConnectGuideAssociationData$ = [3, n0, _ACGAD,
|
|
|
1264
1266
|
[0]
|
|
1265
1267
|
];
|
|
1266
1268
|
export var Annotation$ = [3, n0, _A,
|
|
1267
|
-
|
|
1269
|
+
8,
|
|
1268
1270
|
[_ti, _dH],
|
|
1269
1271
|
[0, 2]
|
|
1270
1272
|
];
|
|
@@ -1326,7 +1328,7 @@ export var CaseSummarizationAIAgentConfiguration$ = [3, n0, _CSAIAC,
|
|
|
1326
1328
|
export var CaseSummarizationChunkDataDetails$ = [3, n0, _CSCDD,
|
|
1327
1329
|
0,
|
|
1328
1330
|
[_com, _nCT],
|
|
1329
|
-
[0, 0]
|
|
1331
|
+
[[() => NonEmptySensitiveString, 0], 0]
|
|
1330
1332
|
];
|
|
1331
1333
|
export var CaseSummarizationInputData$ = [3, n0, _CSID,
|
|
1332
1334
|
0,
|
|
@@ -1813,7 +1815,7 @@ export var Filter$ = [3, n0, _F,
|
|
|
1813
1815
|
export var FilterAttribute$ = [3, n0, _FA,
|
|
1814
1816
|
0,
|
|
1815
1817
|
[_k, _v],
|
|
1816
|
-
[0,
|
|
1818
|
+
[0, [() => JSONDocument, 0]], 2
|
|
1817
1819
|
];
|
|
1818
1820
|
export var FixedSizeChunkingConfiguration$ = [3, n0, _FSCC,
|
|
1819
1821
|
0,
|
|
@@ -2732,7 +2734,7 @@ export var SpanToolResultValue$ = [3, n0, _STRV,
|
|
|
2732
2734
|
export var SpanToolUseValue$ = [3, n0, _STUV,
|
|
2733
2735
|
0,
|
|
2734
2736
|
[_tUI, _n, _ar],
|
|
2735
|
-
[0, 0,
|
|
2737
|
+
[0, 0, [() => JSONDocument, 0]], 3
|
|
2736
2738
|
];
|
|
2737
2739
|
export var StartContentUploadRequest$ = [3, n0, _SCUR,
|
|
2738
2740
|
0,
|
|
@@ -2813,10 +2815,10 @@ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
|
2813
2815
|
export var ToolConfiguration$ = [3, n0, _TCo,
|
|
2814
2816
|
0,
|
|
2815
2817
|
[_tNo, _tTo, _ti, _tIo, _d, _in, _oIV, _oFu, _iSnp, _oSu, _an, _uIC],
|
|
2816
|
-
[0, 0, 0, 0, 0, () => ToolInstruction$, [() => ToolOverrideInputValueList, 0], () => ToolOutputFilterList,
|
|
2818
|
+
[0, 0, [() => NonEmptySensitiveString, 0], 0, [() => NonEmptySensitiveString, 0], [() => ToolInstruction$, 0], [() => ToolOverrideInputValueList, 0], [() => ToolOutputFilterList, 0], [() => JSONDocument, 0], [() => JSONDocument, 0], [() => Annotation$, 0], () => UserInteractionConfiguration$], 2
|
|
2817
2819
|
];
|
|
2818
2820
|
export var ToolInstruction$ = [3, n0, _TI,
|
|
2819
|
-
|
|
2821
|
+
8,
|
|
2820
2822
|
[_in, _exa],
|
|
2821
2823
|
[0, 64 | 0]
|
|
2822
2824
|
];
|
|
@@ -2843,7 +2845,7 @@ export var ToolOverrideInputValue$ = [3, n0, _TOIV,
|
|
|
2843
2845
|
export var ToolUseResultData$ = [3, n0, _TURD,
|
|
2844
2846
|
0,
|
|
2845
2847
|
[_tUI, _tNo, _tR, _iSnp],
|
|
2846
|
-
[0, 0,
|
|
2848
|
+
[0, 0, [() => JSONDocument, 0], [() => JSONDocument, 0]], 3
|
|
2847
2849
|
];
|
|
2848
2850
|
export var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
2849
2851
|
{ [_e]: _c, [_hE]: 400 },
|
|
@@ -2905,8 +2907,8 @@ export var UpdateAIPromptResponse$ = [3, n0, _UAIPRp,
|
|
|
2905
2907
|
];
|
|
2906
2908
|
export var UpdateAssistantAIAgentRequest$ = [3, n0, _UAAIAR,
|
|
2907
2909
|
0,
|
|
2908
|
-
[_aI, _aAT, _co,
|
|
2909
|
-
[[0, 1], 0, () => AIAgentConfigurationData$,
|
|
2910
|
+
[_aI, _aAT, _co, _oUC],
|
|
2911
|
+
[[0, 1], 0, () => AIAgentConfigurationData$, 0], 3
|
|
2910
2912
|
];
|
|
2911
2913
|
export var UpdateAssistantAIAgentResponse$ = [3, n0, _UAAIARp,
|
|
2912
2914
|
0,
|
|
@@ -3267,10 +3269,10 @@ var ToolConfigurationList = [1, n0, _TCL,
|
|
|
3267
3269
|
];
|
|
3268
3270
|
var ToolExampleList = 64 | 0;
|
|
3269
3271
|
var ToolOutputFilterList = [1, n0, _TOFL,
|
|
3270
|
-
|
|
3272
|
+
8, () => ToolOutputFilter$
|
|
3271
3273
|
];
|
|
3272
3274
|
var ToolOverrideInputValueList = [1, n0, _TOIVL,
|
|
3273
|
-
|
|
3275
|
+
8, [() => ToolOverrideInputValue$,
|
|
3274
3276
|
0]
|
|
3275
3277
|
];
|
|
3276
3278
|
var UrlFilterList = [1, n0, _UFL,
|
|
@@ -3337,7 +3339,7 @@ export var ContentFeedbackData$ = [4, n0, _CFD,
|
|
|
3337
3339
|
export var DataDetails$ = [4, n0, _DD,
|
|
3338
3340
|
0,
|
|
3339
3341
|
[_cDo, _gD, _iDD, _sCD, _gCD, _eRCD, _eOCD, _eGACD, _cSCD, _sMD, _nD, _nCD],
|
|
3340
|
-
[[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], () => CaseSummarizationChunkDataDetails$, [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0]]
|
|
3342
|
+
[[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], [() => CaseSummarizationChunkDataDetails$, 0], [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0]]
|
|
3341
3343
|
];
|
|
3342
3344
|
export var DataReference$ = [4, n0, _DR,
|
|
3343
3345
|
0,
|
|
@@ -3357,7 +3359,7 @@ export var ManagedSourceConfiguration$ = [4, n0, _MSC,
|
|
|
3357
3359
|
export var MessageData$ = [4, n0, _MD,
|
|
3358
3360
|
0,
|
|
3359
3361
|
[_tex, _tUR],
|
|
3360
|
-
[[() => TextMessage$, 0], () => ToolUseResultData
|
|
3362
|
+
[[() => TextMessage$, 0], [() => ToolUseResultData$, 0]]
|
|
3361
3363
|
];
|
|
3362
3364
|
export var MessageTemplateBodyContentProvider$ = [4, n0, _MTBCP,
|
|
3363
3365
|
0,
|
|
@@ -3427,7 +3429,7 @@ export var SourceConfiguration$ = [4, n0, _SCo,
|
|
|
3427
3429
|
export var SpanMessageValue$ = [4, n0, _SMV,
|
|
3428
3430
|
0,
|
|
3429
3431
|
[_tex, _tUo, _tR],
|
|
3430
|
-
[[() => SpanTextValue$, 0], () => SpanToolUseValue$, [() => SpanToolResultValue$, 0]]
|
|
3432
|
+
[[() => SpanTextValue$, 0], [() => SpanToolUseValue$, 0], [() => SpanToolResultValue$, 0]]
|
|
3431
3433
|
];
|
|
3432
3434
|
export var TagFilter$ = [4, n0, _TF,
|
|
3433
3435
|
0,
|
package/dist-types/QConnect.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { ActivateMessageTemplateCommandInput, ActivateMessageTemplateCommandOutput } from "./commands/ActivateMessageTemplateCommand";
|
|
3
3
|
import { CreateAIAgentCommandInput, CreateAIAgentCommandOutput } from "./commands/CreateAIAgentCommand";
|
|
4
4
|
import { CreateAIAgentVersionCommandInput, CreateAIAgentVersionCommandOutput } from "./commands/CreateAIAgentVersionCommand";
|
|
@@ -654,6 +654,160 @@ export interface QConnect {
|
|
|
654
654
|
updateSessionData(args: UpdateSessionDataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSessionDataCommandOutput>;
|
|
655
655
|
updateSessionData(args: UpdateSessionDataCommandInput, cb: (err: any, data?: UpdateSessionDataCommandOutput) => void): void;
|
|
656
656
|
updateSessionData(args: UpdateSessionDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSessionDataCommandOutput) => void): void;
|
|
657
|
+
/**
|
|
658
|
+
* @see {@link ListAIAgentsCommand}
|
|
659
|
+
* @param args - command input.
|
|
660
|
+
* @param paginationConfig - optional pagination config.
|
|
661
|
+
* @returns AsyncIterable of {@link ListAIAgentsCommandOutput}.
|
|
662
|
+
*/
|
|
663
|
+
paginateListAIAgents(args: ListAIAgentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAIAgentsCommandOutput>;
|
|
664
|
+
/**
|
|
665
|
+
* @see {@link ListAIAgentVersionsCommand}
|
|
666
|
+
* @param args - command input.
|
|
667
|
+
* @param paginationConfig - optional pagination config.
|
|
668
|
+
* @returns AsyncIterable of {@link ListAIAgentVersionsCommandOutput}.
|
|
669
|
+
*/
|
|
670
|
+
paginateListAIAgentVersions(args: ListAIAgentVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAIAgentVersionsCommandOutput>;
|
|
671
|
+
/**
|
|
672
|
+
* @see {@link ListAIGuardrailsCommand}
|
|
673
|
+
* @param args - command input.
|
|
674
|
+
* @param paginationConfig - optional pagination config.
|
|
675
|
+
* @returns AsyncIterable of {@link ListAIGuardrailsCommandOutput}.
|
|
676
|
+
*/
|
|
677
|
+
paginateListAIGuardrails(args: ListAIGuardrailsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAIGuardrailsCommandOutput>;
|
|
678
|
+
/**
|
|
679
|
+
* @see {@link ListAIGuardrailVersionsCommand}
|
|
680
|
+
* @param args - command input.
|
|
681
|
+
* @param paginationConfig - optional pagination config.
|
|
682
|
+
* @returns AsyncIterable of {@link ListAIGuardrailVersionsCommandOutput}.
|
|
683
|
+
*/
|
|
684
|
+
paginateListAIGuardrailVersions(args: ListAIGuardrailVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAIGuardrailVersionsCommandOutput>;
|
|
685
|
+
/**
|
|
686
|
+
* @see {@link ListAIPromptsCommand}
|
|
687
|
+
* @param args - command input.
|
|
688
|
+
* @param paginationConfig - optional pagination config.
|
|
689
|
+
* @returns AsyncIterable of {@link ListAIPromptsCommandOutput}.
|
|
690
|
+
*/
|
|
691
|
+
paginateListAIPrompts(args: ListAIPromptsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAIPromptsCommandOutput>;
|
|
692
|
+
/**
|
|
693
|
+
* @see {@link ListAIPromptVersionsCommand}
|
|
694
|
+
* @param args - command input.
|
|
695
|
+
* @param paginationConfig - optional pagination config.
|
|
696
|
+
* @returns AsyncIterable of {@link ListAIPromptVersionsCommandOutput}.
|
|
697
|
+
*/
|
|
698
|
+
paginateListAIPromptVersions(args: ListAIPromptVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAIPromptVersionsCommandOutput>;
|
|
699
|
+
/**
|
|
700
|
+
* @see {@link ListAssistantAssociationsCommand}
|
|
701
|
+
* @param args - command input.
|
|
702
|
+
* @param paginationConfig - optional pagination config.
|
|
703
|
+
* @returns AsyncIterable of {@link ListAssistantAssociationsCommandOutput}.
|
|
704
|
+
*/
|
|
705
|
+
paginateListAssistantAssociations(args: ListAssistantAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssistantAssociationsCommandOutput>;
|
|
706
|
+
/**
|
|
707
|
+
* @see {@link ListAssistantsCommand}
|
|
708
|
+
* @param args - command input.
|
|
709
|
+
* @param paginationConfig - optional pagination config.
|
|
710
|
+
* @returns AsyncIterable of {@link ListAssistantsCommandOutput}.
|
|
711
|
+
*/
|
|
712
|
+
paginateListAssistants(args?: ListAssistantsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssistantsCommandOutput>;
|
|
713
|
+
/**
|
|
714
|
+
* @see {@link ListContentAssociationsCommand}
|
|
715
|
+
* @param args - command input.
|
|
716
|
+
* @param paginationConfig - optional pagination config.
|
|
717
|
+
* @returns AsyncIterable of {@link ListContentAssociationsCommandOutput}.
|
|
718
|
+
*/
|
|
719
|
+
paginateListContentAssociations(args: ListContentAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContentAssociationsCommandOutput>;
|
|
720
|
+
/**
|
|
721
|
+
* @see {@link ListContentsCommand}
|
|
722
|
+
* @param args - command input.
|
|
723
|
+
* @param paginationConfig - optional pagination config.
|
|
724
|
+
* @returns AsyncIterable of {@link ListContentsCommandOutput}.
|
|
725
|
+
*/
|
|
726
|
+
paginateListContents(args: ListContentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContentsCommandOutput>;
|
|
727
|
+
/**
|
|
728
|
+
* @see {@link ListImportJobsCommand}
|
|
729
|
+
* @param args - command input.
|
|
730
|
+
* @param paginationConfig - optional pagination config.
|
|
731
|
+
* @returns AsyncIterable of {@link ListImportJobsCommandOutput}.
|
|
732
|
+
*/
|
|
733
|
+
paginateListImportJobs(args: ListImportJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListImportJobsCommandOutput>;
|
|
734
|
+
/**
|
|
735
|
+
* @see {@link ListKnowledgeBasesCommand}
|
|
736
|
+
* @param args - command input.
|
|
737
|
+
* @param paginationConfig - optional pagination config.
|
|
738
|
+
* @returns AsyncIterable of {@link ListKnowledgeBasesCommandOutput}.
|
|
739
|
+
*/
|
|
740
|
+
paginateListKnowledgeBases(args?: ListKnowledgeBasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKnowledgeBasesCommandOutput>;
|
|
741
|
+
/**
|
|
742
|
+
* @see {@link ListMessagesCommand}
|
|
743
|
+
* @param args - command input.
|
|
744
|
+
* @param paginationConfig - optional pagination config.
|
|
745
|
+
* @returns AsyncIterable of {@link ListMessagesCommandOutput}.
|
|
746
|
+
*/
|
|
747
|
+
paginateListMessages(args: ListMessagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMessagesCommandOutput>;
|
|
748
|
+
/**
|
|
749
|
+
* @see {@link ListMessageTemplatesCommand}
|
|
750
|
+
* @param args - command input.
|
|
751
|
+
* @param paginationConfig - optional pagination config.
|
|
752
|
+
* @returns AsyncIterable of {@link ListMessageTemplatesCommandOutput}.
|
|
753
|
+
*/
|
|
754
|
+
paginateListMessageTemplates(args: ListMessageTemplatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMessageTemplatesCommandOutput>;
|
|
755
|
+
/**
|
|
756
|
+
* @see {@link ListMessageTemplateVersionsCommand}
|
|
757
|
+
* @param args - command input.
|
|
758
|
+
* @param paginationConfig - optional pagination config.
|
|
759
|
+
* @returns AsyncIterable of {@link ListMessageTemplateVersionsCommandOutput}.
|
|
760
|
+
*/
|
|
761
|
+
paginateListMessageTemplateVersions(args: ListMessageTemplateVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMessageTemplateVersionsCommandOutput>;
|
|
762
|
+
/**
|
|
763
|
+
* @see {@link ListQuickResponsesCommand}
|
|
764
|
+
* @param args - command input.
|
|
765
|
+
* @param paginationConfig - optional pagination config.
|
|
766
|
+
* @returns AsyncIterable of {@link ListQuickResponsesCommandOutput}.
|
|
767
|
+
*/
|
|
768
|
+
paginateListQuickResponses(args: ListQuickResponsesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListQuickResponsesCommandOutput>;
|
|
769
|
+
/**
|
|
770
|
+
* @see {@link ListSpansCommand}
|
|
771
|
+
* @param args - command input.
|
|
772
|
+
* @param paginationConfig - optional pagination config.
|
|
773
|
+
* @returns AsyncIterable of {@link ListSpansCommandOutput}.
|
|
774
|
+
*/
|
|
775
|
+
paginateListSpans(args: ListSpansCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSpansCommandOutput>;
|
|
776
|
+
/**
|
|
777
|
+
* @see {@link QueryAssistantCommand}
|
|
778
|
+
* @param args - command input.
|
|
779
|
+
* @param paginationConfig - optional pagination config.
|
|
780
|
+
* @returns AsyncIterable of {@link QueryAssistantCommandOutput}.
|
|
781
|
+
*/
|
|
782
|
+
paginateQueryAssistant(args: QueryAssistantCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<QueryAssistantCommandOutput>;
|
|
783
|
+
/**
|
|
784
|
+
* @see {@link SearchContentCommand}
|
|
785
|
+
* @param args - command input.
|
|
786
|
+
* @param paginationConfig - optional pagination config.
|
|
787
|
+
* @returns AsyncIterable of {@link SearchContentCommandOutput}.
|
|
788
|
+
*/
|
|
789
|
+
paginateSearchContent(args: SearchContentCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchContentCommandOutput>;
|
|
790
|
+
/**
|
|
791
|
+
* @see {@link SearchMessageTemplatesCommand}
|
|
792
|
+
* @param args - command input.
|
|
793
|
+
* @param paginationConfig - optional pagination config.
|
|
794
|
+
* @returns AsyncIterable of {@link SearchMessageTemplatesCommandOutput}.
|
|
795
|
+
*/
|
|
796
|
+
paginateSearchMessageTemplates(args: SearchMessageTemplatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchMessageTemplatesCommandOutput>;
|
|
797
|
+
/**
|
|
798
|
+
* @see {@link SearchQuickResponsesCommand}
|
|
799
|
+
* @param args - command input.
|
|
800
|
+
* @param paginationConfig - optional pagination config.
|
|
801
|
+
* @returns AsyncIterable of {@link SearchQuickResponsesCommandOutput}.
|
|
802
|
+
*/
|
|
803
|
+
paginateSearchQuickResponses(args: SearchQuickResponsesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchQuickResponsesCommandOutput>;
|
|
804
|
+
/**
|
|
805
|
+
* @see {@link SearchSessionsCommand}
|
|
806
|
+
* @param args - command input.
|
|
807
|
+
* @param paginationConfig - optional pagination config.
|
|
808
|
+
* @returns AsyncIterable of {@link SearchSessionsCommandOutput}.
|
|
809
|
+
*/
|
|
810
|
+
paginateSearchSessions(args: SearchSessionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchSessionsCommandOutput>;
|
|
657
811
|
}
|
|
658
812
|
/**
|
|
659
813
|
* <ul> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q actions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data types</a> </p> </li> </ul> <note> <p> <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).</p> </note> <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q in Connect automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q in Connect directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use Amazon Q in Connect for generative AI powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
@@ -42,12 +42,7 @@ declare const UpdateAssistantAIAgentCommand_base: {
|
|
|
42
42
|
* configuration: { // AIAgentConfigurationData
|
|
43
43
|
* aiAgentId: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
|
-
*
|
|
46
|
-
* { // OrchestratorConfigurationEntry
|
|
47
|
-
* aiAgentId: "STRING_VALUE",
|
|
48
|
-
* orchestratorUseCase: "STRING_VALUE", // required
|
|
49
|
-
* },
|
|
50
|
-
* ],
|
|
45
|
+
* orchestratorUseCase: "STRING_VALUE",
|
|
51
46
|
* };
|
|
52
47
|
* const command = new UpdateAssistantAIAgentCommand(input);
|
|
53
48
|
* const response = await client.send(command);
|
|
@@ -5160,10 +5160,10 @@ export interface UpdateAssistantAIAgentRequest {
|
|
|
5160
5160
|
*/
|
|
5161
5161
|
configuration: AIAgentConfigurationData | undefined;
|
|
5162
5162
|
/**
|
|
5163
|
-
* <p>The
|
|
5163
|
+
* <p>The orchestrator use case for the AI Agent being added.</p>
|
|
5164
5164
|
* @public
|
|
5165
5165
|
*/
|
|
5166
|
-
|
|
5166
|
+
orchestratorUseCase?: string | undefined;
|
|
5167
5167
|
}
|
|
5168
5168
|
/**
|
|
5169
5169
|
* @public
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
ActivateMessageTemplateCommandInput,
|
|
4
8
|
ActivateMessageTemplateCommandOutput,
|
|
@@ -1584,5 +1588,159 @@ export interface QConnect {
|
|
|
1584
1588
|
options: __HttpHandlerOptions,
|
|
1585
1589
|
cb: (err: any, data?: UpdateSessionDataCommandOutput) => void
|
|
1586
1590
|
): void;
|
|
1591
|
+
paginateListAIAgents(
|
|
1592
|
+
args: ListAIAgentsCommandInput,
|
|
1593
|
+
paginationConfig?: Pick<
|
|
1594
|
+
PaginationConfiguration,
|
|
1595
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1596
|
+
>
|
|
1597
|
+
): Paginator<ListAIAgentsCommandOutput>;
|
|
1598
|
+
paginateListAIAgentVersions(
|
|
1599
|
+
args: ListAIAgentVersionsCommandInput,
|
|
1600
|
+
paginationConfig?: Pick<
|
|
1601
|
+
PaginationConfiguration,
|
|
1602
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1603
|
+
>
|
|
1604
|
+
): Paginator<ListAIAgentVersionsCommandOutput>;
|
|
1605
|
+
paginateListAIGuardrails(
|
|
1606
|
+
args: ListAIGuardrailsCommandInput,
|
|
1607
|
+
paginationConfig?: Pick<
|
|
1608
|
+
PaginationConfiguration,
|
|
1609
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1610
|
+
>
|
|
1611
|
+
): Paginator<ListAIGuardrailsCommandOutput>;
|
|
1612
|
+
paginateListAIGuardrailVersions(
|
|
1613
|
+
args: ListAIGuardrailVersionsCommandInput,
|
|
1614
|
+
paginationConfig?: Pick<
|
|
1615
|
+
PaginationConfiguration,
|
|
1616
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1617
|
+
>
|
|
1618
|
+
): Paginator<ListAIGuardrailVersionsCommandOutput>;
|
|
1619
|
+
paginateListAIPrompts(
|
|
1620
|
+
args: ListAIPromptsCommandInput,
|
|
1621
|
+
paginationConfig?: Pick<
|
|
1622
|
+
PaginationConfiguration,
|
|
1623
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1624
|
+
>
|
|
1625
|
+
): Paginator<ListAIPromptsCommandOutput>;
|
|
1626
|
+
paginateListAIPromptVersions(
|
|
1627
|
+
args: ListAIPromptVersionsCommandInput,
|
|
1628
|
+
paginationConfig?: Pick<
|
|
1629
|
+
PaginationConfiguration,
|
|
1630
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1631
|
+
>
|
|
1632
|
+
): Paginator<ListAIPromptVersionsCommandOutput>;
|
|
1633
|
+
paginateListAssistantAssociations(
|
|
1634
|
+
args: ListAssistantAssociationsCommandInput,
|
|
1635
|
+
paginationConfig?: Pick<
|
|
1636
|
+
PaginationConfiguration,
|
|
1637
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1638
|
+
>
|
|
1639
|
+
): Paginator<ListAssistantAssociationsCommandOutput>;
|
|
1640
|
+
paginateListAssistants(
|
|
1641
|
+
args?: ListAssistantsCommandInput,
|
|
1642
|
+
paginationConfig?: Pick<
|
|
1643
|
+
PaginationConfiguration,
|
|
1644
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1645
|
+
>
|
|
1646
|
+
): Paginator<ListAssistantsCommandOutput>;
|
|
1647
|
+
paginateListContentAssociations(
|
|
1648
|
+
args: ListContentAssociationsCommandInput,
|
|
1649
|
+
paginationConfig?: Pick<
|
|
1650
|
+
PaginationConfiguration,
|
|
1651
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1652
|
+
>
|
|
1653
|
+
): Paginator<ListContentAssociationsCommandOutput>;
|
|
1654
|
+
paginateListContents(
|
|
1655
|
+
args: ListContentsCommandInput,
|
|
1656
|
+
paginationConfig?: Pick<
|
|
1657
|
+
PaginationConfiguration,
|
|
1658
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1659
|
+
>
|
|
1660
|
+
): Paginator<ListContentsCommandOutput>;
|
|
1661
|
+
paginateListImportJobs(
|
|
1662
|
+
args: ListImportJobsCommandInput,
|
|
1663
|
+
paginationConfig?: Pick<
|
|
1664
|
+
PaginationConfiguration,
|
|
1665
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1666
|
+
>
|
|
1667
|
+
): Paginator<ListImportJobsCommandOutput>;
|
|
1668
|
+
paginateListKnowledgeBases(
|
|
1669
|
+
args?: ListKnowledgeBasesCommandInput,
|
|
1670
|
+
paginationConfig?: Pick<
|
|
1671
|
+
PaginationConfiguration,
|
|
1672
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1673
|
+
>
|
|
1674
|
+
): Paginator<ListKnowledgeBasesCommandOutput>;
|
|
1675
|
+
paginateListMessages(
|
|
1676
|
+
args: ListMessagesCommandInput,
|
|
1677
|
+
paginationConfig?: Pick<
|
|
1678
|
+
PaginationConfiguration,
|
|
1679
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1680
|
+
>
|
|
1681
|
+
): Paginator<ListMessagesCommandOutput>;
|
|
1682
|
+
paginateListMessageTemplates(
|
|
1683
|
+
args: ListMessageTemplatesCommandInput,
|
|
1684
|
+
paginationConfig?: Pick<
|
|
1685
|
+
PaginationConfiguration,
|
|
1686
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1687
|
+
>
|
|
1688
|
+
): Paginator<ListMessageTemplatesCommandOutput>;
|
|
1689
|
+
paginateListMessageTemplateVersions(
|
|
1690
|
+
args: ListMessageTemplateVersionsCommandInput,
|
|
1691
|
+
paginationConfig?: Pick<
|
|
1692
|
+
PaginationConfiguration,
|
|
1693
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1694
|
+
>
|
|
1695
|
+
): Paginator<ListMessageTemplateVersionsCommandOutput>;
|
|
1696
|
+
paginateListQuickResponses(
|
|
1697
|
+
args: ListQuickResponsesCommandInput,
|
|
1698
|
+
paginationConfig?: Pick<
|
|
1699
|
+
PaginationConfiguration,
|
|
1700
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1701
|
+
>
|
|
1702
|
+
): Paginator<ListQuickResponsesCommandOutput>;
|
|
1703
|
+
paginateListSpans(
|
|
1704
|
+
args: ListSpansCommandInput,
|
|
1705
|
+
paginationConfig?: Pick<
|
|
1706
|
+
PaginationConfiguration,
|
|
1707
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1708
|
+
>
|
|
1709
|
+
): Paginator<ListSpansCommandOutput>;
|
|
1710
|
+
paginateQueryAssistant(
|
|
1711
|
+
args: QueryAssistantCommandInput,
|
|
1712
|
+
paginationConfig?: Pick<
|
|
1713
|
+
PaginationConfiguration,
|
|
1714
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1715
|
+
>
|
|
1716
|
+
): Paginator<QueryAssistantCommandOutput>;
|
|
1717
|
+
paginateSearchContent(
|
|
1718
|
+
args: SearchContentCommandInput,
|
|
1719
|
+
paginationConfig?: Pick<
|
|
1720
|
+
PaginationConfiguration,
|
|
1721
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1722
|
+
>
|
|
1723
|
+
): Paginator<SearchContentCommandOutput>;
|
|
1724
|
+
paginateSearchMessageTemplates(
|
|
1725
|
+
args: SearchMessageTemplatesCommandInput,
|
|
1726
|
+
paginationConfig?: Pick<
|
|
1727
|
+
PaginationConfiguration,
|
|
1728
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1729
|
+
>
|
|
1730
|
+
): Paginator<SearchMessageTemplatesCommandOutput>;
|
|
1731
|
+
paginateSearchQuickResponses(
|
|
1732
|
+
args: SearchQuickResponsesCommandInput,
|
|
1733
|
+
paginationConfig?: Pick<
|
|
1734
|
+
PaginationConfiguration,
|
|
1735
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1736
|
+
>
|
|
1737
|
+
): Paginator<SearchQuickResponsesCommandOutput>;
|
|
1738
|
+
paginateSearchSessions(
|
|
1739
|
+
args: SearchSessionsCommandInput,
|
|
1740
|
+
paginationConfig?: Pick<
|
|
1741
|
+
PaginationConfiguration,
|
|
1742
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1743
|
+
>
|
|
1744
|
+
): Paginator<SearchSessionsCommandOutput>;
|
|
1587
1745
|
}
|
|
1588
1746
|
export declare class QConnect extends QConnectClient implements QConnect {}
|
|
@@ -247,6 +247,7 @@ export declare const Relevance: {
|
|
|
247
247
|
};
|
|
248
248
|
export type Relevance = (typeof Relevance)[keyof typeof Relevance];
|
|
249
249
|
export declare const TargetType: {
|
|
250
|
+
readonly MESSAGE: "MESSAGE";
|
|
250
251
|
readonly RECOMMENDATION: "RECOMMENDATION";
|
|
251
252
|
readonly RESULT: "RESULT";
|
|
252
253
|
};
|
|
@@ -1642,7 +1642,7 @@ export interface UpdateAssistantAIAgentRequest {
|
|
|
1642
1642
|
assistantId: string | undefined;
|
|
1643
1643
|
aiAgentType: AIAgentType | undefined;
|
|
1644
1644
|
configuration: AIAgentConfigurationData | undefined;
|
|
1645
|
-
|
|
1645
|
+
orchestratorUseCase?: string | undefined;
|
|
1646
1646
|
}
|
|
1647
1647
|
export interface UpdateAssistantAIAgentResponse {
|
|
1648
1648
|
assistant?: AssistantData | undefined;
|
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.978.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,38 +21,38 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|