@aws-sdk/client-qconnect 3.1161.0 → 3.1163.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +128 -44
  3. package/dist-es/QConnect.js +4 -0
  4. package/dist-es/commands/RegisterAssistantReplicaKeyCommand.js +4 -0
  5. package/dist-es/commands/RegisterKnowledgeBaseReplicaKeyCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +12 -0
  8. package/dist-es/models/errors.js +2 -0
  9. package/dist-es/runtimeConfig.js +2 -1
  10. package/dist-es/schemas/schemas_0.js +91 -42
  11. package/dist-types/QConnect.d.ts +14 -0
  12. package/dist-types/QConnectClient.d.ts +4 -2
  13. package/dist-types/commands/CreateAIAgentCommand.d.ts +2 -0
  14. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +2 -0
  15. package/dist-types/commands/CreateAIGuardrailCommand.d.ts +2 -0
  16. package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateAIPromptCommand.d.ts +2 -0
  18. package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +2 -0
  19. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +2 -0
  20. package/dist-types/commands/CreateAssistantCommand.d.ts +13 -0
  21. package/dist-types/commands/CreateContentCommand.d.ts +3 -0
  22. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +12 -0
  23. package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateMessageTemplateCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -0
  26. package/dist-types/commands/GetAIAgentCommand.d.ts +2 -0
  27. package/dist-types/commands/GetAIGuardrailCommand.d.ts +2 -0
  28. package/dist-types/commands/GetAIPromptCommand.d.ts +2 -0
  29. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +2 -0
  30. package/dist-types/commands/GetAssistantCommand.d.ts +8 -0
  31. package/dist-types/commands/GetContentCommand.d.ts +3 -0
  32. package/dist-types/commands/GetContentSummaryCommand.d.ts +3 -0
  33. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +7 -0
  34. package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -0
  35. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +2 -0
  36. package/dist-types/commands/ListAIAgentsCommand.d.ts +2 -0
  37. package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +2 -0
  38. package/dist-types/commands/ListAIGuardrailsCommand.d.ts +2 -0
  39. package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +2 -0
  40. package/dist-types/commands/ListAIPromptsCommand.d.ts +2 -0
  41. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +2 -0
  42. package/dist-types/commands/ListAssistantsCommand.d.ts +7 -0
  43. package/dist-types/commands/ListContentsCommand.d.ts +3 -0
  44. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +7 -0
  45. package/dist-types/commands/ListModelsCommand.d.ts +1 -0
  46. package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -0
  47. package/dist-types/commands/RegisterAssistantReplicaKeyCommand.d.ts +132 -0
  48. package/dist-types/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +181 -0
  49. package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +3 -0
  50. package/dist-types/commands/SearchContentCommand.d.ts +3 -0
  51. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +1 -0
  52. package/dist-types/commands/UpdateAIAgentCommand.d.ts +2 -0
  53. package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +2 -0
  54. package/dist-types/commands/UpdateAIPromptCommand.d.ts +2 -0
  55. package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +11 -0
  56. package/dist-types/commands/UpdateContentCommand.d.ts +3 -0
  57. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +7 -0
  58. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -0
  59. package/dist-types/commands/index.d.ts +2 -0
  60. package/dist-types/models/enums.d.ts +42 -0
  61. package/dist-types/models/errors.d.ts +6 -0
  62. package/dist-types/models/models_0.d.ts +206 -82
  63. package/dist-types/models/models_1.d.ts +138 -2
  64. package/dist-types/runtimeConfig.d.ts +1 -0
  65. package/dist-types/schemas/schemas_0.d.ts +7 -0
  66. package/dist-types/ts3.4/QConnect.d.ts +34 -0
  67. package/dist-types/ts3.4/QConnectClient.d.ts +12 -0
  68. package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +4 -2
  69. package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +2 -1
  70. package/dist-types/ts3.4/commands/RegisterAssistantReplicaKeyCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  74. package/dist-types/ts3.4/models/errors.d.ts +2 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +44 -20
  76. package/dist-types/ts3.4/models/models_1.d.ts +34 -1
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  78. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  79. package/package.json +3 -3
package/README.md CHANGED
@@ -671,6 +671,20 @@ QueryAssistant
671
671
  </details>
672
672
  <details>
673
673
  <summary>
674
+ RegisterAssistantReplicaKey
675
+ </summary>
676
+
677
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qconnect/command/RegisterAssistantReplicaKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RegisterAssistantReplicaKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RegisterAssistantReplicaKeyCommandOutput/)
678
+ </details>
679
+ <details>
680
+ <summary>
681
+ RegisterKnowledgeBaseReplicaKey
682
+ </summary>
683
+
684
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qconnect/command/RegisterKnowledgeBaseReplicaKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RegisterKnowledgeBaseReplicaKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qconnect/Interface/RegisterKnowledgeBaseReplicaKeyCommandOutput/)
685
+ </details>
686
+ <details>
687
+ <summary>
674
688
  RemoveAssistantAIAgent
675
689
  </summary>
676
690
 
package/dist-cjs/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
3
  const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
4
  const { Command: $Command } = require("@smithy/core/client");
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1160.0";
72
+ var version = "3.1162.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -264,6 +264,7 @@ class UnprocessableContentException extends QConnectServiceException {
264
264
  static shapeId = "com.amazonaws.qconnect#UnprocessableContentException";
265
265
  name = "UnprocessableContentException";
266
266
  $fault = "client";
267
+ reason;
267
268
  constructor(opts) {
268
269
  super({
269
270
  name: "UnprocessableContentException",
@@ -271,6 +272,7 @@ class UnprocessableContentException extends QConnectServiceException {
271
272
  ...opts,
272
273
  });
273
274
  Object.setPrototypeOf(this, UnprocessableContentException.prototype);
275
+ this.reason = opts.reason;
274
276
  }
275
277
  }
276
278
  class PreconditionFailedException extends QConnectServiceException {
@@ -760,6 +762,9 @@ const _R = "Retrieve";
760
762
  const _RAAIA = "RemoveAssistantAIAgent";
761
763
  const _RAAIAR = "RemoveAssistantAIAgentRequest";
762
764
  const _RAAIARe = "RemoveAssistantAIAgentResponse";
765
+ const _RARK = "RegisterAssistantReplicaKey";
766
+ const _RARKR = "RegisterAssistantReplicaKeyRequest";
767
+ const _RARKRe = "RegisterAssistantReplicaKeyResponse";
763
768
  const _RC = "RenderingConfiguration";
764
769
  const _RCe = "RetrievalConfiguration";
765
770
  const _RD = "RankingData";
@@ -769,9 +774,14 @@ const _RE = "RetrieveError";
769
774
  const _REL = "RetrieveErrorList";
770
775
  const _RFC = "RetrievalFilterConfiguration";
771
776
  const _RFL = "RetrievalFilterList";
777
+ const _RKBRK = "RegisterKnowledgeBaseReplicaKey";
778
+ const _RKBRKR = "RegisterKnowledgeBaseReplicaKeyRequest";
779
+ const _RKBRKRe = "RegisterKnowledgeBaseReplicaKeyResponse";
772
780
  const _RKBTU = "RemoveKnowledgeBaseTemplateUri";
773
781
  const _RKBTUR = "RemoveKnowledgeBaseTemplateUriRequest";
774
782
  const _RKBTURe = "RemoveKnowledgeBaseTemplateUriResponse";
783
+ const _RKK = "ReplicaKmsKey";
784
+ const _RKKL = "ReplicaKmsKeyList";
775
785
  const _RL = "RecommendationList";
776
786
  const _RMT = "RenderMessageTemplate";
777
787
  const _RMTR = "RenderMessageTemplateRequest";
@@ -954,6 +964,7 @@ const _aGAIGI = "answerGenerationAIGuardrailId";
954
964
  const _aGAIPI = "answerGenerationAIPromptId";
955
965
  const _aGAi = "aiGuardrailAssessment";
956
966
  const _aGI = "aiGuardrailId";
967
+ const _aGRS = "assistantGlobalResiliencyStatus";
957
968
  const _aGS = "aiGuardrailSummary";
958
969
  const _aGSi = "aiGuardrailSummaries";
959
970
  const _aGVS = "aiGuardrailVersionSummaries";
@@ -992,7 +1003,8 @@ const _addres = "address";
992
1003
  const _adm = "adm";
993
1004
  const _an = "annotations";
994
1005
  const _ap = "apns";
995
- const _ar = "arguments";
1006
+ const _ar = "arn";
1007
+ const _arg = "arguments";
996
1008
  const _as = "assistant";
997
1009
  const _at = "attachment";
998
1010
  const _att = "attachments";
@@ -1121,6 +1133,7 @@ const _ex = "excerpt";
1121
1133
  const _exa = "examples";
1122
1134
  const _f = "field";
1123
1135
  const _fC = "filtersConfig";
1136
+ const _fH = "fileHash";
1124
1137
  const _fI = "flowId";
1125
1138
  const _fN = "firstName";
1126
1139
  const _fRR = "failedRecordReport";
@@ -1140,6 +1153,7 @@ const _gI = "generationId";
1140
1153
  const _gIu = "guardrailId";
1141
1154
  const _gN = "guardrailName";
1142
1155
  const _gR = "generativeReference";
1156
+ const _gRS = "globalResiliencyStatus";
1143
1157
  const _gT = "greaterThan";
1144
1158
  const _gTOE = "greaterThanOrEquals";
1145
1159
  const _h = "highlights";
@@ -1200,6 +1214,7 @@ const _lC = "levelConfigurations";
1200
1214
  const _lCMT = "lastContentModificationTime";
1201
1215
  const _lCi = "listContains";
1202
1216
  const _lMB = "lastModifiedBy";
1217
+ const _lMR = "lastModifiedRegion";
1203
1218
  const _lMT = "lastModifiedTime";
1204
1219
  const _lN = "lastName";
1205
1220
  const _lOU = "linkOutUri";
@@ -1336,6 +1351,8 @@ const _rIe = "recommendationId";
1336
1351
  const _rIec = "recommendationIds";
1337
1352
  const _rIeq = "requestId";
1338
1353
  const _rIes = "resultId";
1354
+ const _rKK = "replicaKmsKey";
1355
+ const _rKKe = "replicaKmsKeys";
1339
1356
  const _rL = "relevanceLevel";
1340
1357
  const _rLa = "rateLimit";
1341
1358
  const _rM = "requestModel";
@@ -1539,8 +1556,8 @@ var UnauthorizedException$ = [-3, n0, _UE,
1539
1556
  n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
1540
1557
  var UnprocessableContentException$ = [-3, n0, _UCE,
1541
1558
  { [_e]: _c, [_hE]: 422 },
1542
- [_m],
1543
- [0]
1559
+ [_m, _r],
1560
+ [0, 0]
1544
1561
  ];
1545
1562
  n0_registry.registerError(UnprocessableContentException$, UnprocessableContentException);
1546
1563
  var ValidationException$ = [-3, n0, _VE,
@@ -1610,13 +1627,13 @@ var AIAgentConfigurationData$ = [3, n0, _AIACD,
1610
1627
  ];
1611
1628
  var AIAgentData$ = [3, n0, _AIAD,
1612
1629
  0,
1613
- [_aI, _aA, _aAI, _aAA, _n, _t, _co, _vS, _mT, _d, _ta, _o, _st],
1614
- [0, 0, 0, 0, 0, 0, [() => AIAgentConfiguration$, 0], 0, 4, 0, 128 | 0, 0, 0], 8
1630
+ [_aI, _aA, _aAI, _aAA, _n, _t, _co, _vS, _mT, _lMT, _lMR, _d, _ta, _o, _st],
1631
+ [0, 0, 0, 0, 0, 0, [() => AIAgentConfiguration$, 0], 0, 4, 4, 0, 0, 128 | 0, 0, 0], 8
1615
1632
  ];
1616
1633
  var AIAgentSummary$ = [3, n0, _AIAS,
1617
1634
  0,
1618
- [_n, _aI, _aA, _aAI, _t, _aAA, _vS, _mT, _co, _o, _d, _st, _ta],
1619
- [0, 0, 0, 0, 0, 0, 0, 4, [() => AIAgentConfiguration$, 0], 0, 0, 0, 128 | 0], 7
1635
+ [_n, _aI, _aA, _aAI, _t, _aAA, _vS, _mT, _lMT, _lMR, _co, _o, _d, _st, _ta],
1636
+ [0, 0, 0, 0, 0, 0, 0, 4, 4, 0, [() => AIAgentConfiguration$, 0], 0, 0, 0, 128 | 0], 7
1620
1637
  ];
1621
1638
  var AIAgentVersionSummary$ = [3, n0, _AIAVS,
1622
1639
  0,
@@ -1640,8 +1657,8 @@ var AIGuardrailContextualGroundingPolicyConfig$ = [3, n0, _AIGCGPC,
1640
1657
  ];
1641
1658
  var AIGuardrailData$ = [3, n0, _AIGDu,
1642
1659
  0,
1643
- [_aI, _aA, _aGA, _aGI, _n, _vS, _bIM, _bOM, _d, _tPC, _cPC, _wPC, _sIPC, _cGPC, _ta, _st, _mT],
1644
- [0, 0, 0, 0, 0, 0, [() => AIGuardrailBlockedMessaging, 0], [() => AIGuardrailBlockedMessaging, 0], [() => AIGuardrailDescription, 0], [() => AIGuardrailTopicPolicyConfig$, 0], [() => AIGuardrailContentPolicyConfig$, 0], [() => AIGuardrailWordPolicyConfig$, 0], [() => AIGuardrailSensitiveInformationPolicyConfig$, 0], [() => AIGuardrailContextualGroundingPolicyConfig$, 0], 128 | 0, 0, 4], 8
1660
+ [_aI, _aA, _aGA, _aGI, _n, _vS, _bIM, _bOM, _d, _tPC, _cPC, _wPC, _sIPC, _cGPC, _ta, _st, _mT, _lMT, _lMR],
1661
+ [0, 0, 0, 0, 0, 0, [() => AIGuardrailBlockedMessaging, 0], [() => AIGuardrailBlockedMessaging, 0], [() => AIGuardrailDescription, 0], [() => AIGuardrailTopicPolicyConfig$, 0], [() => AIGuardrailContentPolicyConfig$, 0], [() => AIGuardrailWordPolicyConfig$, 0], [() => AIGuardrailSensitiveInformationPolicyConfig$, 0], [() => AIGuardrailContextualGroundingPolicyConfig$, 0], 128 | 0, 0, 4, 4, 0], 8
1645
1662
  ];
1646
1663
  var AIGuardrailSensitiveInformationPolicyConfig$ = [3, n0, _AIGSIPC,
1647
1664
  0,
@@ -1650,8 +1667,8 @@ var AIGuardrailSensitiveInformationPolicyConfig$ = [3, n0, _AIGSIPC,
1650
1667
  ];
1651
1668
  var AIGuardrailSummary$ = [3, n0, _AIGS,
1652
1669
  0,
1653
- [_n, _aI, _aA, _aGI, _aGA, _vS, _mT, _d, _st, _ta],
1654
- [0, 0, 0, 0, 0, 0, 4, [() => AIGuardrailDescription, 0], 0, 128 | 0], 6
1670
+ [_n, _aI, _aA, _aGI, _aGA, _vS, _mT, _lMT, _lMR, _d, _st, _ta],
1671
+ [0, 0, 0, 0, 0, 0, 4, 4, 0, [() => AIGuardrailDescription, 0], 0, 128 | 0], 6
1655
1672
  ];
1656
1673
  var AIGuardrailTopicPolicyConfig$ = [3, n0, _AIGTPC,
1657
1674
  0,
@@ -1670,8 +1687,8 @@ var AIGuardrailWordPolicyConfig$ = [3, n0, _AIGWPC,
1670
1687
  ];
1671
1688
  var AIPromptData$ = [3, n0, _AIPD,
1672
1689
  0,
1673
- [_aI, _aA, _aPI, _aPA, _n, _t, _tT, _mI, _aF, _tCe, _vS, _iC, _mT, _d, _ta, _o, _st],
1674
- [0, 0, 0, 0, 0, 0, 0, 0, 0, [() => AIPromptTemplateConfiguration$, 0], 0, [() => AIPromptInferenceConfiguration$, 0], 4, 0, 128 | 0, 0, 0], 11
1690
+ [_aI, _aA, _aPI, _aPA, _n, _t, _tT, _mI, _aF, _tCe, _vS, _iC, _mT, _lMT, _lMR, _d, _ta, _o, _st],
1691
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, [() => AIPromptTemplateConfiguration$, 0], 0, [() => AIPromptInferenceConfiguration$, 0], 4, 4, 0, 0, 128 | 0, 0, 0], 11
1675
1692
  ];
1676
1693
  var AIPromptInferenceConfiguration$ = [3, n0, _AIPIC,
1677
1694
  0,
@@ -1680,8 +1697,8 @@ var AIPromptInferenceConfiguration$ = [3, n0, _AIPIC,
1680
1697
  ];
1681
1698
  var AIPromptSummary$ = [3, n0, _AIPS,
1682
1699
  0,
1683
- [_n, _aI, _aA, _aPI, _t, _aPA, _tT, _mI, _aF, _vS, _mT, _o, _d, _st, _ta],
1684
- [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 128 | 0], 10
1700
+ [_n, _aI, _aA, _aPI, _t, _aPA, _tT, _mI, _aF, _vS, _mT, _lMT, _lMR, _o, _d, _st, _ta],
1701
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 128 | 0], 10
1685
1702
  ];
1686
1703
  var AIPromptVersionSummary$ = [3, n0, _AIPVS,
1687
1704
  0,
@@ -1710,13 +1727,13 @@ var AppIntegrationsConfiguration$ = [3, n0, _AIC,
1710
1727
  ];
1711
1728
  var AssistantAssociationData$ = [3, n0, _AAD,
1712
1729
  0,
1713
- [_aAIs, _aAAs, _aI, _aA, _aT, _aD, _ta],
1714
- [0, 0, 0, 0, 0, () => AssistantAssociationOutputData$, 128 | 0], 6
1730
+ [_aAIs, _aAAs, _aI, _aA, _aT, _aD, _ta, _lMT, _lMR],
1731
+ [0, 0, 0, 0, 0, () => AssistantAssociationOutputData$, 128 | 0, 4, 0], 6
1715
1732
  ];
1716
1733
  var AssistantAssociationSummary$ = [3, n0, _AAS,
1717
1734
  0,
1718
- [_aAIs, _aAAs, _aI, _aA, _aT, _aD, _ta],
1719
- [0, 0, 0, 0, 0, () => AssistantAssociationOutputData$, 128 | 0], 6
1735
+ [_aAIs, _aAAs, _aI, _aA, _aT, _aD, _ta, _lMT, _lMR],
1736
+ [0, 0, 0, 0, 0, () => AssistantAssociationOutputData$, 128 | 0, 4, 0], 6
1720
1737
  ];
1721
1738
  var AssistantCapabilityConfiguration$ = [3, n0, _ACC,
1722
1739
  0,
@@ -1725,8 +1742,8 @@ var AssistantCapabilityConfiguration$ = [3, n0, _ACC,
1725
1742
  ];
1726
1743
  var AssistantData$ = [3, n0, _AD,
1727
1744
  0,
1728
- [_aI, _aA, _n, _t, _st, _d, _ta, _sSEC, _iCn, _cC, _aAC, _oCL],
1729
- [0, 0, 0, 0, 0, 0, 128 | 0, () => ServerSideEncryptionConfiguration$, () => AssistantIntegrationConfiguration$, () => AssistantCapabilityConfiguration$, () => AIAgentConfigurationMap, () => OrchestratorConfigurationList], 5
1745
+ [_aI, _aA, _n, _t, _st, _d, _ta, _sSEC, _iCn, _cC, _aAC, _oCL, _lMT, _lMR, _aGRS],
1746
+ [0, 0, 0, 0, 0, 0, 128 | 0, () => ServerSideEncryptionConfiguration$, () => AssistantIntegrationConfiguration$, () => AssistantCapabilityConfiguration$, () => AIAgentConfigurationMap, () => OrchestratorConfigurationList, 4, 0, 0], 5
1730
1747
  ];
1731
1748
  var AssistantIntegrationConfiguration$ = [3, n0, _AICs,
1732
1749
  0,
@@ -1735,8 +1752,8 @@ var AssistantIntegrationConfiguration$ = [3, n0, _AICs,
1735
1752
  ];
1736
1753
  var AssistantSummary$ = [3, n0, _AS,
1737
1754
  0,
1738
- [_aI, _aA, _n, _t, _st, _d, _ta, _sSEC, _iCn, _cC, _aAC, _oCL],
1739
- [0, 0, 0, 0, 0, 0, 128 | 0, () => ServerSideEncryptionConfiguration$, () => AssistantIntegrationConfiguration$, () => AssistantCapabilityConfiguration$, () => AIAgentConfigurationMap, () => OrchestratorConfigurationList], 5
1755
+ [_aI, _aA, _n, _t, _st, _d, _ta, _sSEC, _iCn, _cC, _aAC, _oCL, _lMT, _lMR],
1756
+ [0, 0, 0, 0, 0, 0, 128 | 0, () => ServerSideEncryptionConfiguration$, () => AssistantIntegrationConfiguration$, () => AssistantCapabilityConfiguration$, () => AIAgentConfigurationMap, () => OrchestratorConfigurationList, 4, 0], 5
1740
1757
  ];
1741
1758
  var AssociationConfiguration$ = [3, n0, _AC,
1742
1759
  0,
@@ -1795,8 +1812,8 @@ var ContentAssociationSummary$ = [3, n0, _CAS,
1795
1812
  ];
1796
1813
  var ContentData$ = [3, n0, _CD,
1797
1814
  0,
1798
- [_cAo, _cI, _kBA, _kBI, _n, _rI, _ti, _cT, _st, _me, _u, _uE, _ta, _lOU],
1799
- [0, 0, 0, 0, 0, 0, 0, 0, 0, 128 | 0, [() => Url, 0], 7, 128 | 0, 0], 12
1815
+ [_cAo, _cI, _kBA, _kBI, _n, _rI, _ti, _cT, _st, _me, _u, _uE, _ta, _lOU, _lMT, _lMR, _fH],
1816
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 128 | 0, [() => Url, 0], 7, 128 | 0, 0, 4, 0, 0], 12
1800
1817
  ];
1801
1818
  var ContentDataDetails$ = [3, n0, _CDD,
1802
1819
  0,
@@ -1810,8 +1827,8 @@ var ContentReference$ = [3, n0, _CR,
1810
1827
  ];
1811
1828
  var ContentSummary$ = [3, n0, _CSo,
1812
1829
  0,
1813
- [_cAo, _cI, _kBA, _kBI, _n, _rI, _ti, _cT, _st, _me, _ta],
1814
- [0, 0, 0, 0, 0, 0, 0, 0, 0, 128 | 0, 128 | 0], 10
1830
+ [_cAo, _cI, _kBA, _kBI, _n, _rI, _ti, _cT, _st, _me, _ta, _lMT, _lMR, _fH],
1831
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 128 | 0, 128 | 0, 4, 0, 0], 10
1815
1832
  ];
1816
1833
  var ConversationContext$ = [3, n0, _CCon,
1817
1834
  0,
@@ -2510,13 +2527,13 @@ var KnowledgeBaseAssociationData$ = [3, n0, _KBAD,
2510
2527
  ];
2511
2528
  var KnowledgeBaseData$ = [3, n0, _KBD,
2512
2529
  0,
2513
- [_kBI, _kBA, _n, _kBT, _st, _lCMT, _vIC, _sC, _rCe, _sSEC, _d, _ta, _iSn, _iFR],
2514
- [0, 0, 0, 0, 0, 7, () => VectorIngestionConfiguration$, [() => SourceConfiguration$, 0], () => RenderingConfiguration$, () => ServerSideEncryptionConfiguration$, 0, 128 | 0, 0, 64 | 0], 5
2530
+ [_kBI, _kBA, _n, _kBT, _st, _lCMT, _vIC, _sC, _rCe, _sSEC, _d, _ta, _iSn, _iFR, _lMT, _lMR],
2531
+ [0, 0, 0, 0, 0, 7, () => VectorIngestionConfiguration$, [() => SourceConfiguration$, 0], () => RenderingConfiguration$, () => ServerSideEncryptionConfiguration$, 0, 128 | 0, 0, 64 | 0, 4, 0], 5
2515
2532
  ];
2516
2533
  var KnowledgeBaseSummary$ = [3, n0, _KBS,
2517
2534
  0,
2518
- [_kBI, _kBA, _n, _kBT, _st, _sC, _vIC, _rCe, _sSEC, _d, _ta],
2519
- [0, 0, 0, 0, 0, [() => SourceConfiguration$, 0], () => VectorIngestionConfiguration$, () => RenderingConfiguration$, () => ServerSideEncryptionConfiguration$, 0, 128 | 0], 5
2535
+ [_kBI, _kBA, _n, _kBT, _st, _sC, _vIC, _rCe, _sSEC, _d, _ta, _lMT, _lMR],
2536
+ [0, 0, 0, 0, 0, [() => SourceConfiguration$, 0], () => VectorIngestionConfiguration$, () => RenderingConfiguration$, () => ServerSideEncryptionConfiguration$, 0, 128 | 0, 4, 0], 5
2520
2537
  ];
2521
2538
  var ListAIAgentsRequest$ = [3, n0, _LAIAR,
2522
2539
  0,
@@ -2780,8 +2797,8 @@ var MessageTemplateVersionSummary$ = [3, n0, _MTVS,
2780
2797
  ];
2781
2798
  var ModelSummary$ = [3, n0, _MS,
2782
2799
  0,
2783
- [_mI, _dN, _cRS, _sPCu, _sAIPT, _mL, _lT, _eOLT],
2784
- [0, 0, 0, 2, 64 | 0, 0, 4, 4], 2
2800
+ [_mI, _dN, _cRS, _sPCu, _sAIPT, _mL, _lT, _eOLT, _gRS],
2801
+ [0, 0, 0, 2, 64 | 0, 0, 4, 4, 0], 2
2785
2802
  ];
2786
2803
  var MultiAgentInstruction$ = [3, n0, _MAI,
2787
2804
  8,
@@ -2910,8 +2927,8 @@ var QuickResponseContents$ = [3, n0, _QRCu,
2910
2927
  ];
2911
2928
  var QuickResponseData$ = [3, n0, _QRD,
2912
2929
  0,
2913
- [_qRA, _qRI, _kBA, _kBI, _n, _cT, _st, _cTr, _lMT, _cont, _d, _gC, _sK, _lMB, _iA, _ch, _la, _ta],
2914
- [0, 0, 0, 0, 0, 0, 0, 7, 7, [() => QuickResponseContents$, 0], 0, [() => GroupingConfiguration$, 0], 0, 0, 2, [() => Channels, 0], 0, 128 | 0], 9
2930
+ [_qRA, _qRI, _kBA, _kBI, _n, _cT, _st, _cTr, _lMT, _lMR, _cont, _d, _gC, _sK, _lMB, _iA, _ch, _la, _ta],
2931
+ [0, 0, 0, 0, 0, 0, 0, 7, 7, 0, [() => QuickResponseContents$, 0], 0, [() => GroupingConfiguration$, 0], 0, 0, 2, [() => Channels, 0], 0, 128 | 0], 9
2915
2932
  ];
2916
2933
  var QuickResponseFilterField$ = [3, n0, _QRFF,
2917
2934
  0,
@@ -2935,13 +2952,13 @@ var QuickResponseSearchExpression$ = [3, n0, _QRSE,
2935
2952
  ];
2936
2953
  var QuickResponseSearchResultData$ = [3, n0, _QRSRD,
2937
2954
  0,
2938
- [_qRA, _qRI, _kBA, _kBI, _n, _cT, _st, _cont, _cTr, _lMT, _iA, _d, _gC, _sK, _lMB, _ch, _la, _aNI, _aItt, _ta],
2939
- [0, 0, 0, 0, 0, 0, 0, [() => QuickResponseContents$, 0], 7, 7, 2, 0, [() => GroupingConfiguration$, 0], 0, 0, [() => Channels, 0], 0, [() => ContactAttributeKeys, 0], [() => ContactAttributeKeys, 0], 128 | 0], 11
2955
+ [_qRA, _qRI, _kBA, _kBI, _n, _cT, _st, _cont, _cTr, _lMT, _iA, _lMR, _d, _gC, _sK, _lMB, _ch, _la, _aNI, _aItt, _ta],
2956
+ [0, 0, 0, 0, 0, 0, 0, [() => QuickResponseContents$, 0], 7, 7, 2, 0, 0, [() => GroupingConfiguration$, 0], 0, 0, [() => Channels, 0], 0, [() => ContactAttributeKeys, 0], [() => ContactAttributeKeys, 0], 128 | 0], 11
2940
2957
  ];
2941
2958
  var QuickResponseSummary$ = [3, n0, _QRS,
2942
2959
  0,
2943
- [_qRA, _qRI, _kBA, _kBI, _n, _cT, _st, _cTr, _lMT, _d, _lMB, _iA, _ch, _ta],
2944
- [0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 2, [() => Channels, 0], 128 | 0], 9
2960
+ [_qRA, _qRI, _kBA, _kBI, _n, _cT, _st, _cTr, _lMT, _lMR, _d, _lMB, _iA, _ch, _ta],
2961
+ [0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 2, [() => Channels, 0], 128 | 0], 9
2945
2962
  ];
2946
2963
  var RankingData$ = [3, n0, _RD,
2947
2964
  0,
@@ -2958,6 +2975,26 @@ var RecommendationTrigger$ = [3, n0, _RT,
2958
2975
  [_id, _t, _so, _da, _rIec],
2959
2976
  [0, 0, 0, [() => RecommendationTriggerData$, 0], 64 | 0], 5
2960
2977
  ];
2978
+ var RegisterAssistantReplicaKeyRequest$ = [3, n0, _RARKR,
2979
+ 0,
2980
+ [_aI, _rKK, _cTl],
2981
+ [[0, 1], () => ReplicaKmsKey$, [0, 4]], 2
2982
+ ];
2983
+ var RegisterAssistantReplicaKeyResponse$ = [3, n0, _RARKRe,
2984
+ 0,
2985
+ [_as],
2986
+ [() => AssistantData$], 1
2987
+ ];
2988
+ var RegisterKnowledgeBaseReplicaKeyRequest$ = [3, n0, _RKBRKR,
2989
+ 0,
2990
+ [_kBI, _rKK, _cTl],
2991
+ [[0, 1], () => ReplicaKmsKey$, [0, 4]], 2
2992
+ ];
2993
+ var RegisterKnowledgeBaseReplicaKeyResponse$ = [3, n0, _RKBRKRe,
2994
+ 0,
2995
+ [_kB],
2996
+ [[() => KnowledgeBaseData$, 0]], 1
2997
+ ];
2961
2998
  var RemoveAssistantAIAgentRequest$ = [3, n0, _RAAIAR,
2962
2999
  0,
2963
3000
  [_aI, _aAT, _oUC],
@@ -2993,6 +3030,11 @@ var RenderMessageTemplateResponse$ = [3, n0, _RMTRe,
2993
3030
  [_con, _sCS, _aNI, _att],
2994
3031
  [[() => MessageTemplateContentProvider$, 0], [() => MessageTemplateSourceConfigurationSummary$, 0], [() => MessageTemplateAttributeKeyList, 0], [() => MessageTemplateAttachmentList, 0]]
2995
3032
  ];
3033
+ var ReplicaKmsKey$ = [3, n0, _RKK,
3034
+ 0,
3035
+ [_ar],
3036
+ [0], 1
3037
+ ];
2996
3038
  var ResultData$ = [3, n0, _RDes,
2997
3039
  0,
2998
3040
  [_rIes, _do, _rS, _da, _t],
@@ -3105,8 +3147,8 @@ var SendMessageResponse$ = [3, n0, _SMRe,
3105
3147
  ];
3106
3148
  var ServerSideEncryptionConfiguration$ = [3, n0, _SSEC,
3107
3149
  0,
3108
- [_kKI],
3109
- [0]
3150
+ [_kKI, _rKKe],
3151
+ [0, () => ReplicaKmsKeyList]
3110
3152
  ];
3111
3153
  var SessionData$ = [3, n0, _SD,
3112
3154
  0,
@@ -3180,7 +3222,7 @@ var SpanToolResultValue$ = [3, n0, _STRV,
3180
3222
  ];
3181
3223
  var SpanToolUseValue$ = [3, n0, _STUV,
3182
3224
  0,
3183
- [_tUI, _n, _ar],
3225
+ [_tUI, _n, _arg],
3184
3226
  [0, 0, [() => JSONDocument, 0]], 3
3185
3227
  ];
3186
3228
  var StartContentUploadRequest$ = [3, n0, _SCUR,
@@ -3640,6 +3682,9 @@ var RecommendationTriggerList = [1, n0, _RTL,
3640
3682
  0, [() => RecommendationTrigger$,
3641
3683
  0]
3642
3684
  ];
3685
+ var ReplicaKmsKeyList = [1, n0, _RKKL,
3686
+ 0, () => ReplicaKmsKey$
3687
+ ];
3643
3688
  var RetrievalFilterList = [1, n0, _RFL,
3644
3689
  0, () => RetrievalFilterConfiguration$
3645
3690
  ];
@@ -4079,6 +4124,12 @@ var PutFeedback$ = [9, n0, _PF,
4079
4124
  var QueryAssistant$ = [9, n0, _QA,
4080
4125
  { [_htt]: ["POST", "/assistants/{assistantId}/query", 200] }, () => QueryAssistantRequest$, () => QueryAssistantResponse$
4081
4126
  ];
4127
+ var RegisterAssistantReplicaKey$ = [9, n0, _RARK,
4128
+ { [_htt]: ["PUT", "/assistants/{assistantId}/replicaKey", 200] }, () => RegisterAssistantReplicaKeyRequest$, () => RegisterAssistantReplicaKeyResponse$
4129
+ ];
4130
+ var RegisterKnowledgeBaseReplicaKey$ = [9, n0, _RKBRK,
4131
+ { [_htt]: ["PUT", "/knowledgeBases/{knowledgeBaseId}/replicaKey", 200] }, () => RegisterKnowledgeBaseReplicaKeyRequest$, () => RegisterKnowledgeBaseReplicaKeyResponse$
4132
+ ];
4082
4133
  var RemoveAssistantAIAgent$ = [9, n0, _RAAIA,
4083
4134
  { [_htt]: ["DELETE", "/assistants/{assistantId}/aiagentConfiguration", 204] }, () => RemoveAssistantAIAgentRequest$, () => RemoveAssistantAIAgentResponse$
4084
4135
  ];
@@ -4202,6 +4253,7 @@ const getRuntimeConfig = (config) => {
4202
4253
  authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
4203
4254
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
4204
4255
  credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
4256
+ defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 900_000),
4205
4257
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
4206
4258
  maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
4207
4259
  region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
@@ -4512,6 +4564,12 @@ class PutFeedbackCommand extends command(_ep0, _mw0, "PutFeedback", PutFeedback$
4512
4564
  class QueryAssistantCommand extends command(_ep0, _mw0, "QueryAssistant", QueryAssistant$) {
4513
4565
  }
4514
4566
 
4567
+ class RegisterAssistantReplicaKeyCommand extends command(_ep0, _mw0, "RegisterAssistantReplicaKey", RegisterAssistantReplicaKey$) {
4568
+ }
4569
+
4570
+ class RegisterKnowledgeBaseReplicaKeyCommand extends command(_ep0, _mw0, "RegisterKnowledgeBaseReplicaKey", RegisterKnowledgeBaseReplicaKey$) {
4571
+ }
4572
+
4515
4573
  class RemoveAssistantAIAgentCommand extends command(_ep0, _mw0, "RemoveAssistantAIAgent", RemoveAssistantAIAgent$) {
4516
4574
  }
4517
4575
 
@@ -4701,6 +4759,8 @@ const commands = {
4701
4759
  NotifyRecommendationsReceivedCommand,
4702
4760
  PutFeedbackCommand,
4703
4761
  QueryAssistantCommand,
4762
+ RegisterAssistantReplicaKeyCommand,
4763
+ RegisterKnowledgeBaseReplicaKeyCommand,
4704
4764
  RemoveAssistantAIAgentCommand,
4705
4765
  RemoveKnowledgeBaseTemplateUriCommand,
4706
4766
  RenderMessageTemplateCommand,
@@ -4890,6 +4950,10 @@ const AssociationType = {
4890
4950
  const AssistantType = {
4891
4951
  AGENT: "AGENT",
4892
4952
  };
4953
+ const AssistantGlobalResiliencyStatus = {
4954
+ DISABLED: "DISABLED",
4955
+ ENABLED: "ENABLED",
4956
+ };
4893
4957
  const AssistantCapabilityType = {
4894
4958
  V1: "V1",
4895
4959
  V2: "V2",
@@ -4959,6 +5023,10 @@ const CrossRegionStatus = {
4959
5023
  NONE: "NONE",
4960
5024
  REGIONAL: "REGIONAL",
4961
5025
  };
5026
+ const GlobalResiliencyStatus = {
5027
+ SUPPORTED: "SUPPORTED",
5028
+ UNSUPPORTED: "UNSUPPORTED",
5029
+ };
4962
5030
  const Relevance = {
4963
5031
  HELPFUL: "HELPFUL",
4964
5032
  NOT_HELPFUL: "NOT_HELPFUL",
@@ -5025,6 +5093,10 @@ const MessageType = {
5025
5093
  TEXT: "TEXT",
5026
5094
  TOOL_USE_RESULT: "TOOL_USE_RESULT",
5027
5095
  };
5096
+ const UnprocessableContentReason = {
5097
+ AI_INFERENCE_MODEL_UNAVAILABLE: "AI_INFERENCE_MODEL_UNAVAILABLE",
5098
+ ORCHESTRATION_ERROR: "ORCHESTRATION_ERROR",
5099
+ };
5028
5100
  const MessageFilterType = {
5029
5101
  ALL: "ALL",
5030
5102
  TEXT_ONLY: "TEXT_ONLY",
@@ -5233,6 +5305,7 @@ exports.AssistantAssociationSummary$ = AssistantAssociationSummary$;
5233
5305
  exports.AssistantCapabilityConfiguration$ = AssistantCapabilityConfiguration$;
5234
5306
  exports.AssistantCapabilityType = AssistantCapabilityType;
5235
5307
  exports.AssistantData$ = AssistantData$;
5308
+ exports.AssistantGlobalResiliencyStatus = AssistantGlobalResiliencyStatus;
5236
5309
  exports.AssistantIntegrationConfiguration$ = AssistantIntegrationConfiguration$;
5237
5310
  exports.AssistantStatus = AssistantStatus;
5238
5311
  exports.AssistantSummary$ = AssistantSummary$;
@@ -5488,6 +5561,7 @@ exports.GetSession$ = GetSession$;
5488
5561
  exports.GetSessionCommand = GetSessionCommand;
5489
5562
  exports.GetSessionRequest$ = GetSessionRequest$;
5490
5563
  exports.GetSessionResponse$ = GetSessionResponse$;
5564
+ exports.GlobalResiliencyStatus = GlobalResiliencyStatus;
5491
5565
  exports.GroupingConfiguration$ = GroupingConfiguration$;
5492
5566
  exports.GuardrailAction = GuardrailAction;
5493
5567
  exports.GuardrailContentFilterConfig$ = GuardrailContentFilterConfig$;
@@ -5699,6 +5773,14 @@ exports.RecommendationTriggerData$ = RecommendationTriggerData$;
5699
5773
  exports.RecommendationTriggerType = RecommendationTriggerType;
5700
5774
  exports.RecommendationType = RecommendationType;
5701
5775
  exports.ReferenceType = ReferenceType;
5776
+ exports.RegisterAssistantReplicaKey$ = RegisterAssistantReplicaKey$;
5777
+ exports.RegisterAssistantReplicaKeyCommand = RegisterAssistantReplicaKeyCommand;
5778
+ exports.RegisterAssistantReplicaKeyRequest$ = RegisterAssistantReplicaKeyRequest$;
5779
+ exports.RegisterAssistantReplicaKeyResponse$ = RegisterAssistantReplicaKeyResponse$;
5780
+ exports.RegisterKnowledgeBaseReplicaKey$ = RegisterKnowledgeBaseReplicaKey$;
5781
+ exports.RegisterKnowledgeBaseReplicaKeyCommand = RegisterKnowledgeBaseReplicaKeyCommand;
5782
+ exports.RegisterKnowledgeBaseReplicaKeyRequest$ = RegisterKnowledgeBaseReplicaKeyRequest$;
5783
+ exports.RegisterKnowledgeBaseReplicaKeyResponse$ = RegisterKnowledgeBaseReplicaKeyResponse$;
5702
5784
  exports.Relevance = Relevance;
5703
5785
  exports.RelevanceLevel = RelevanceLevel;
5704
5786
  exports.RemoveAssistantAIAgent$ = RemoveAssistantAIAgent$;
@@ -5714,6 +5796,7 @@ exports.RenderMessageTemplateCommand = RenderMessageTemplateCommand;
5714
5796
  exports.RenderMessageTemplateRequest$ = RenderMessageTemplateRequest$;
5715
5797
  exports.RenderMessageTemplateResponse$ = RenderMessageTemplateResponse$;
5716
5798
  exports.RenderingConfiguration$ = RenderingConfiguration$;
5799
+ exports.ReplicaKmsKey$ = ReplicaKmsKey$;
5717
5800
  exports.RequestTimeoutException = RequestTimeoutException;
5718
5801
  exports.RequestTimeoutException$ = RequestTimeoutException$;
5719
5802
  exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -5822,6 +5905,7 @@ exports.UnauthorizedException = UnauthorizedException;
5822
5905
  exports.UnauthorizedException$ = UnauthorizedException$;
5823
5906
  exports.UnprocessableContentException = UnprocessableContentException;
5824
5907
  exports.UnprocessableContentException$ = UnprocessableContentException$;
5908
+ exports.UnprocessableContentReason = UnprocessableContentReason;
5825
5909
  exports.UntagResource$ = UntagResource$;
5826
5910
  exports.UntagResourceCommand = UntagResourceCommand;
5827
5911
  exports.UntagResourceRequest$ = UntagResourceRequest$;
@@ -69,6 +69,8 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
69
69
  import { NotifyRecommendationsReceivedCommand, } from "./commands/NotifyRecommendationsReceivedCommand";
70
70
  import { PutFeedbackCommand, } from "./commands/PutFeedbackCommand";
71
71
  import { QueryAssistantCommand, } from "./commands/QueryAssistantCommand";
72
+ import { RegisterAssistantReplicaKeyCommand, } from "./commands/RegisterAssistantReplicaKeyCommand";
73
+ import { RegisterKnowledgeBaseReplicaKeyCommand, } from "./commands/RegisterKnowledgeBaseReplicaKeyCommand";
72
74
  import { RemoveAssistantAIAgentCommand, } from "./commands/RemoveAssistantAIAgentCommand";
73
75
  import { RemoveKnowledgeBaseTemplateUriCommand, } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
74
76
  import { RenderMessageTemplateCommand, } from "./commands/RenderMessageTemplateCommand";
@@ -188,6 +190,8 @@ const commands = {
188
190
  NotifyRecommendationsReceivedCommand,
189
191
  PutFeedbackCommand,
190
192
  QueryAssistantCommand,
193
+ RegisterAssistantReplicaKeyCommand,
194
+ RegisterKnowledgeBaseReplicaKeyCommand,
191
195
  RemoveAssistantAIAgentCommand,
192
196
  RemoveKnowledgeBaseTemplateUriCommand,
193
197
  RenderMessageTemplateCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { RegisterAssistantReplicaKey$ } from "../schemas/schemas_0";
3
+ export class RegisterAssistantReplicaKeyCommand extends command(_ep0, _mw0, "RegisterAssistantReplicaKey", RegisterAssistantReplicaKey$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { RegisterKnowledgeBaseReplicaKey$ } from "../schemas/schemas_0";
3
+ export class RegisterKnowledgeBaseReplicaKeyCommand extends command(_ep0, _mw0, "RegisterKnowledgeBaseReplicaKey", RegisterKnowledgeBaseReplicaKey$) {
4
+ }
@@ -68,6 +68,8 @@ export * from "./ListTagsForResourceCommand";
68
68
  export * from "./NotifyRecommendationsReceivedCommand";
69
69
  export * from "./PutFeedbackCommand";
70
70
  export * from "./QueryAssistantCommand";
71
+ export * from "./RegisterAssistantReplicaKeyCommand";
72
+ export * from "./RegisterKnowledgeBaseReplicaKeyCommand";
71
73
  export * from "./RemoveAssistantAIAgentCommand";
72
74
  export * from "./RemoveKnowledgeBaseTemplateUriCommand";
73
75
  export * from "./RenderMessageTemplateCommand";
@@ -133,6 +133,10 @@ export const AssociationType = {
133
133
  export const AssistantType = {
134
134
  AGENT: "AGENT",
135
135
  };
136
+ export const AssistantGlobalResiliencyStatus = {
137
+ DISABLED: "DISABLED",
138
+ ENABLED: "ENABLED",
139
+ };
136
140
  export const AssistantCapabilityType = {
137
141
  V1: "V1",
138
142
  V2: "V2",
@@ -202,6 +206,10 @@ export const CrossRegionStatus = {
202
206
  NONE: "NONE",
203
207
  REGIONAL: "REGIONAL",
204
208
  };
209
+ export const GlobalResiliencyStatus = {
210
+ SUPPORTED: "SUPPORTED",
211
+ UNSUPPORTED: "UNSUPPORTED",
212
+ };
205
213
  export const Relevance = {
206
214
  HELPFUL: "HELPFUL",
207
215
  NOT_HELPFUL: "NOT_HELPFUL",
@@ -268,6 +276,10 @@ export const MessageType = {
268
276
  TEXT: "TEXT",
269
277
  TOOL_USE_RESULT: "TOOL_USE_RESULT",
270
278
  };
279
+ export const UnprocessableContentReason = {
280
+ AI_INFERENCE_MODEL_UNAVAILABLE: "AI_INFERENCE_MODEL_UNAVAILABLE",
281
+ ORCHESTRATION_ERROR: "ORCHESTRATION_ERROR",
282
+ };
271
283
  export const MessageFilterType = {
272
284
  ALL: "ALL",
273
285
  TEXT_ONLY: "TEXT_ONLY",
@@ -124,6 +124,7 @@ export class UnprocessableContentException extends __BaseException {
124
124
  static shapeId = "com.amazonaws.qconnect#UnprocessableContentException";
125
125
  name = "UnprocessableContentException";
126
126
  $fault = "client";
127
+ reason;
127
128
  constructor(opts) {
128
129
  super({
129
130
  name: "UnprocessableContentException",
@@ -131,6 +132,7 @@ export class UnprocessableContentException extends __BaseException {
131
132
  ...opts,
132
133
  });
133
134
  Object.setPrototypeOf(this, UnprocessableContentException.prototype);
135
+ this.reason = opts.reason;
134
136
  }
135
137
  }
136
138
  export class PreconditionFailedException extends __BaseException {
@@ -1,5 +1,5 @@
1
1
  import packageInfo from "../package.json";
2
- import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
2
+ import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
26
26
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
27
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
28
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
+ defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 900_000),
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
31
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),