@aws-sdk/client-bedrock-agent-runtime 3.721.0 → 3.723.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 CHANGED
@@ -381,7 +381,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
381
381
  }, "resolveRuntimeExtensions");
382
382
 
383
383
  // src/BedrockAgentRuntimeClient.ts
384
- var _BedrockAgentRuntimeClient = class _BedrockAgentRuntimeClient extends import_smithy_client.Client {
384
+ var BedrockAgentRuntimeClient = class extends import_smithy_client.Client {
385
+ static {
386
+ __name(this, "BedrockAgentRuntimeClient");
387
+ }
388
+ /**
389
+ * The resolved configuration of BedrockAgentRuntimeClient class. This is resolved and normalized from the {@link BedrockAgentRuntimeClientConfig | constructor configuration interface}.
390
+ */
391
+ config;
385
392
  constructor(...[configuration]) {
386
393
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
387
394
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -392,7 +399,7 @@ var _BedrockAgentRuntimeClient = class _BedrockAgentRuntimeClient extends import
392
399
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
393
400
  const _config_7 = (0, import_eventstream_serde_config_resolver.resolveEventStreamSerdeConfig)(_config_6);
394
401
  const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
395
- const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
402
+ const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
396
403
  super(_config_9);
397
404
  this.config = _config_9;
398
405
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -420,8 +427,6 @@ var _BedrockAgentRuntimeClient = class _BedrockAgentRuntimeClient extends import
420
427
  super.destroy();
421
428
  }
422
429
  };
423
- __name(_BedrockAgentRuntimeClient, "BedrockAgentRuntimeClient");
424
- var BedrockAgentRuntimeClient = _BedrockAgentRuntimeClient;
425
430
 
426
431
  // src/BedrockAgentRuntime.ts
427
432
 
@@ -438,7 +443,10 @@ var import_core2 = require("@aws-sdk/core");
438
443
 
439
444
  // src/models/BedrockAgentRuntimeServiceException.ts
440
445
 
441
- var _BedrockAgentRuntimeServiceException = class _BedrockAgentRuntimeServiceException extends import_smithy_client.ServiceException {
446
+ var BedrockAgentRuntimeServiceException = class _BedrockAgentRuntimeServiceException extends import_smithy_client.ServiceException {
447
+ static {
448
+ __name(this, "BedrockAgentRuntimeServiceException");
449
+ }
442
450
  /**
443
451
  * @internal
444
452
  */
@@ -447,12 +455,15 @@ var _BedrockAgentRuntimeServiceException = class _BedrockAgentRuntimeServiceExce
447
455
  Object.setPrototypeOf(this, _BedrockAgentRuntimeServiceException.prototype);
448
456
  }
449
457
  };
450
- __name(_BedrockAgentRuntimeServiceException, "BedrockAgentRuntimeServiceException");
451
- var BedrockAgentRuntimeServiceException = _BedrockAgentRuntimeServiceException;
452
458
 
453
459
  // src/models/models_0.ts
454
460
 
455
- var _AccessDeniedException = class _AccessDeniedException extends BedrockAgentRuntimeServiceException {
461
+ var AccessDeniedException = class _AccessDeniedException extends BedrockAgentRuntimeServiceException {
462
+ static {
463
+ __name(this, "AccessDeniedException");
464
+ }
465
+ name = "AccessDeniedException";
466
+ $fault = "client";
456
467
  /**
457
468
  * @internal
458
469
  */
@@ -462,13 +473,9 @@ var _AccessDeniedException = class _AccessDeniedException extends BedrockAgentRu
462
473
  $fault: "client",
463
474
  ...opts
464
475
  });
465
- this.name = "AccessDeniedException";
466
- this.$fault = "client";
467
476
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
468
477
  }
469
478
  };
470
- __name(_AccessDeniedException, "AccessDeniedException");
471
- var AccessDeniedException = _AccessDeniedException;
472
479
  var CustomControlMethod = {
473
480
  RETURN_CONTROL: "RETURN_CONTROL"
474
481
  };
@@ -556,7 +563,17 @@ var InvocationInputMember;
556
563
  return visitor._(value.$unknown[0], value.$unknown[1]);
557
564
  }, "visit");
558
565
  })(InvocationInputMember || (InvocationInputMember = {}));
559
- var _BadGatewayException = class _BadGatewayException extends BedrockAgentRuntimeServiceException {
566
+ var BadGatewayException = class _BadGatewayException extends BedrockAgentRuntimeServiceException {
567
+ static {
568
+ __name(this, "BadGatewayException");
569
+ }
570
+ name = "BadGatewayException";
571
+ $fault = "server";
572
+ /**
573
+ * <p>The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.</p>
574
+ * @public
575
+ */
576
+ resourceName;
560
577
  /**
561
578
  * @internal
562
579
  */
@@ -566,15 +583,16 @@ var _BadGatewayException = class _BadGatewayException extends BedrockAgentRuntim
566
583
  $fault: "server",
567
584
  ...opts
568
585
  });
569
- this.name = "BadGatewayException";
570
- this.$fault = "server";
571
586
  Object.setPrototypeOf(this, _BadGatewayException.prototype);
572
587
  this.resourceName = opts.resourceName;
573
588
  }
574
589
  };
575
- __name(_BadGatewayException, "BadGatewayException");
576
- var BadGatewayException = _BadGatewayException;
577
- var _ConflictException = class _ConflictException extends BedrockAgentRuntimeServiceException {
590
+ var ConflictException = class _ConflictException extends BedrockAgentRuntimeServiceException {
591
+ static {
592
+ __name(this, "ConflictException");
593
+ }
594
+ name = "ConflictException";
595
+ $fault = "client";
578
596
  /**
579
597
  * @internal
580
598
  */
@@ -584,14 +602,20 @@ var _ConflictException = class _ConflictException extends BedrockAgentRuntimeSer
584
602
  $fault: "client",
585
603
  ...opts
586
604
  });
587
- this.name = "ConflictException";
588
- this.$fault = "client";
589
605
  Object.setPrototypeOf(this, _ConflictException.prototype);
590
606
  }
591
607
  };
592
- __name(_ConflictException, "ConflictException");
593
- var ConflictException = _ConflictException;
594
- var _DependencyFailedException = class _DependencyFailedException extends BedrockAgentRuntimeServiceException {
608
+ var DependencyFailedException = class _DependencyFailedException extends BedrockAgentRuntimeServiceException {
609
+ static {
610
+ __name(this, "DependencyFailedException");
611
+ }
612
+ name = "DependencyFailedException";
613
+ $fault = "client";
614
+ /**
615
+ * <p>The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.</p>
616
+ * @public
617
+ */
618
+ resourceName;
595
619
  /**
596
620
  * @internal
597
621
  */
@@ -601,15 +625,16 @@ var _DependencyFailedException = class _DependencyFailedException extends Bedroc
601
625
  $fault: "client",
602
626
  ...opts
603
627
  });
604
- this.name = "DependencyFailedException";
605
- this.$fault = "client";
606
628
  Object.setPrototypeOf(this, _DependencyFailedException.prototype);
607
629
  this.resourceName = opts.resourceName;
608
630
  }
609
631
  };
610
- __name(_DependencyFailedException, "DependencyFailedException");
611
- var DependencyFailedException = _DependencyFailedException;
612
- var _InternalServerException = class _InternalServerException extends BedrockAgentRuntimeServiceException {
632
+ var InternalServerException = class _InternalServerException extends BedrockAgentRuntimeServiceException {
633
+ static {
634
+ __name(this, "InternalServerException");
635
+ }
636
+ name = "InternalServerException";
637
+ $fault = "server";
613
638
  /**
614
639
  * @internal
615
640
  */
@@ -619,13 +644,9 @@ var _InternalServerException = class _InternalServerException extends BedrockAge
619
644
  $fault: "server",
620
645
  ...opts
621
646
  });
622
- this.name = "InternalServerException";
623
- this.$fault = "server";
624
647
  Object.setPrototypeOf(this, _InternalServerException.prototype);
625
648
  }
626
649
  };
627
- __name(_InternalServerException, "InternalServerException");
628
- var InternalServerException = _InternalServerException;
629
650
  var FlowInputContent;
630
651
  ((FlowInputContent2) => {
631
652
  FlowInputContent2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -686,7 +707,12 @@ var FlowTrace;
686
707
  return visitor._(value.$unknown[0], value.$unknown[1]);
687
708
  }, "visit");
688
709
  })(FlowTrace || (FlowTrace = {}));
689
- var _ResourceNotFoundException = class _ResourceNotFoundException extends BedrockAgentRuntimeServiceException {
710
+ var ResourceNotFoundException = class _ResourceNotFoundException extends BedrockAgentRuntimeServiceException {
711
+ static {
712
+ __name(this, "ResourceNotFoundException");
713
+ }
714
+ name = "ResourceNotFoundException";
715
+ $fault = "client";
690
716
  /**
691
717
  * @internal
692
718
  */
@@ -696,14 +722,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Bedroc
696
722
  $fault: "client",
697
723
  ...opts
698
724
  });
699
- this.name = "ResourceNotFoundException";
700
- this.$fault = "client";
701
725
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
702
726
  }
703
727
  };
704
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
705
- var ResourceNotFoundException = _ResourceNotFoundException;
706
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockAgentRuntimeServiceException {
728
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockAgentRuntimeServiceException {
729
+ static {
730
+ __name(this, "ServiceQuotaExceededException");
731
+ }
732
+ name = "ServiceQuotaExceededException";
733
+ $fault = "client";
707
734
  /**
708
735
  * @internal
709
736
  */
@@ -713,14 +740,15 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
713
740
  $fault: "client",
714
741
  ...opts
715
742
  });
716
- this.name = "ServiceQuotaExceededException";
717
- this.$fault = "client";
718
743
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
719
744
  }
720
745
  };
721
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
722
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
723
- var _ThrottlingException = class _ThrottlingException extends BedrockAgentRuntimeServiceException {
746
+ var ThrottlingException = class _ThrottlingException extends BedrockAgentRuntimeServiceException {
747
+ static {
748
+ __name(this, "ThrottlingException");
749
+ }
750
+ name = "ThrottlingException";
751
+ $fault = "client";
724
752
  /**
725
753
  * @internal
726
754
  */
@@ -730,14 +758,15 @@ var _ThrottlingException = class _ThrottlingException extends BedrockAgentRuntim
730
758
  $fault: "client",
731
759
  ...opts
732
760
  });
733
- this.name = "ThrottlingException";
734
- this.$fault = "client";
735
761
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
736
762
  }
737
763
  };
738
- __name(_ThrottlingException, "ThrottlingException");
739
- var ThrottlingException = _ThrottlingException;
740
- var _ValidationException = class _ValidationException extends BedrockAgentRuntimeServiceException {
764
+ var ValidationException = class _ValidationException extends BedrockAgentRuntimeServiceException {
765
+ static {
766
+ __name(this, "ValidationException");
767
+ }
768
+ name = "ValidationException";
769
+ $fault = "client";
741
770
  /**
742
771
  * @internal
743
772
  */
@@ -747,13 +776,9 @@ var _ValidationException = class _ValidationException extends BedrockAgentRuntim
747
776
  $fault: "client",
748
777
  ...opts
749
778
  });
750
- this.name = "ValidationException";
751
- this.$fault = "client";
752
779
  Object.setPrototypeOf(this, _ValidationException.prototype);
753
780
  }
754
781
  };
755
- __name(_ValidationException, "ValidationException");
756
- var ValidationException = _ValidationException;
757
782
  var FlowResponseStream;
758
783
  ((FlowResponseStream3) => {
759
784
  FlowResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -866,7 +891,12 @@ var RetrievalResultLocationType = {
866
891
  SQL: "SQL",
867
892
  WEB: "WEB"
868
893
  };
869
- var _ModelNotReadyException = class _ModelNotReadyException extends BedrockAgentRuntimeServiceException {
894
+ var ModelNotReadyException = class _ModelNotReadyException extends BedrockAgentRuntimeServiceException {
895
+ static {
896
+ __name(this, "ModelNotReadyException");
897
+ }
898
+ name = "ModelNotReadyException";
899
+ $fault = "client";
870
900
  /**
871
901
  * @internal
872
902
  */
@@ -876,13 +906,9 @@ var _ModelNotReadyException = class _ModelNotReadyException extends BedrockAgent
876
906
  $fault: "client",
877
907
  ...opts
878
908
  });
879
- this.name = "ModelNotReadyException";
880
- this.$fault = "client";
881
909
  Object.setPrototypeOf(this, _ModelNotReadyException.prototype);
882
910
  }
883
911
  };
884
- __name(_ModelNotReadyException, "ModelNotReadyException");
885
- var ModelNotReadyException = _ModelNotReadyException;
886
912
  var Caller;
887
913
  ((Caller2) => {
888
914
  Caller2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -4051,49 +4077,52 @@ var _xabkbsi = "x-amzn-bedrock-knowledge-base-session-id";
4051
4077
  var _xasa = "x-amz-source-arn";
4052
4078
 
4053
4079
  // src/commands/DeleteAgentMemoryCommand.ts
4054
- var _DeleteAgentMemoryCommand = class _DeleteAgentMemoryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4080
+ var DeleteAgentMemoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4055
4081
  return [
4056
4082
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4057
4083
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4058
4084
  ];
4059
4085
  }).s("AmazonBedrockAgentRunTimeService", "DeleteAgentMemory", {}).n("BedrockAgentRuntimeClient", "DeleteAgentMemoryCommand").f(void 0, void 0).ser(se_DeleteAgentMemoryCommand).de(de_DeleteAgentMemoryCommand).build() {
4086
+ static {
4087
+ __name(this, "DeleteAgentMemoryCommand");
4088
+ }
4060
4089
  };
4061
- __name(_DeleteAgentMemoryCommand, "DeleteAgentMemoryCommand");
4062
- var DeleteAgentMemoryCommand = _DeleteAgentMemoryCommand;
4063
4090
 
4064
4091
  // src/commands/GenerateQueryCommand.ts
4065
4092
 
4066
4093
 
4067
4094
 
4068
- var _GenerateQueryCommand = class _GenerateQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4095
+ var GenerateQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4069
4096
  return [
4070
4097
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4071
4098
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4072
4099
  ];
4073
4100
  }).s("AmazonBedrockAgentRunTimeService", "GenerateQuery", {}).n("BedrockAgentRuntimeClient", "GenerateQueryCommand").f(GenerateQueryRequestFilterSensitiveLog, GenerateQueryResponseFilterSensitiveLog).ser(se_GenerateQueryCommand).de(de_GenerateQueryCommand).build() {
4101
+ static {
4102
+ __name(this, "GenerateQueryCommand");
4103
+ }
4074
4104
  };
4075
- __name(_GenerateQueryCommand, "GenerateQueryCommand");
4076
- var GenerateQueryCommand = _GenerateQueryCommand;
4077
4105
 
4078
4106
  // src/commands/GetAgentMemoryCommand.ts
4079
4107
 
4080
4108
 
4081
4109
 
4082
- var _GetAgentMemoryCommand = class _GetAgentMemoryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4110
+ var GetAgentMemoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4083
4111
  return [
4084
4112
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4085
4113
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4086
4114
  ];
4087
4115
  }).s("AmazonBedrockAgentRunTimeService", "GetAgentMemory", {}).n("BedrockAgentRuntimeClient", "GetAgentMemoryCommand").f(void 0, void 0).ser(se_GetAgentMemoryCommand).de(de_GetAgentMemoryCommand).build() {
4116
+ static {
4117
+ __name(this, "GetAgentMemoryCommand");
4118
+ }
4088
4119
  };
4089
- __name(_GetAgentMemoryCommand, "GetAgentMemoryCommand");
4090
- var GetAgentMemoryCommand = _GetAgentMemoryCommand;
4091
4120
 
4092
4121
  // src/commands/InvokeAgentCommand.ts
4093
4122
 
4094
4123
 
4095
4124
 
4096
- var _InvokeAgentCommand = class _InvokeAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4125
+ var InvokeAgentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4097
4126
  return [
4098
4127
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4099
4128
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4106,15 +4135,16 @@ var _InvokeAgentCommand = class _InvokeAgentCommand extends import_smithy_client
4106
4135
  output: true
4107
4136
  }
4108
4137
  }).n("BedrockAgentRuntimeClient", "InvokeAgentCommand").f(InvokeAgentRequestFilterSensitiveLog, InvokeAgentResponseFilterSensitiveLog).ser(se_InvokeAgentCommand).de(de_InvokeAgentCommand).build() {
4138
+ static {
4139
+ __name(this, "InvokeAgentCommand");
4140
+ }
4109
4141
  };
4110
- __name(_InvokeAgentCommand, "InvokeAgentCommand");
4111
- var InvokeAgentCommand = _InvokeAgentCommand;
4112
4142
 
4113
4143
  // src/commands/InvokeFlowCommand.ts
4114
4144
 
4115
4145
 
4116
4146
 
4117
- var _InvokeFlowCommand = class _InvokeFlowCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4147
+ var InvokeFlowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4118
4148
  return [
4119
4149
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4120
4150
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4127,15 +4157,16 @@ var _InvokeFlowCommand = class _InvokeFlowCommand extends import_smithy_client.C
4127
4157
  output: true
4128
4158
  }
4129
4159
  }).n("BedrockAgentRuntimeClient", "InvokeFlowCommand").f(InvokeFlowRequestFilterSensitiveLog, InvokeFlowResponseFilterSensitiveLog).ser(se_InvokeFlowCommand).de(de_InvokeFlowCommand).build() {
4160
+ static {
4161
+ __name(this, "InvokeFlowCommand");
4162
+ }
4130
4163
  };
4131
- __name(_InvokeFlowCommand, "InvokeFlowCommand");
4132
- var InvokeFlowCommand = _InvokeFlowCommand;
4133
4164
 
4134
4165
  // src/commands/InvokeInlineAgentCommand.ts
4135
4166
 
4136
4167
 
4137
4168
 
4138
- var _InvokeInlineAgentCommand = class _InvokeInlineAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4169
+ var InvokeInlineAgentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4139
4170
  return [
4140
4171
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4141
4172
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4148,15 +4179,16 @@ var _InvokeInlineAgentCommand = class _InvokeInlineAgentCommand extends import_s
4148
4179
  output: true
4149
4180
  }
4150
4181
  }).n("BedrockAgentRuntimeClient", "InvokeInlineAgentCommand").f(InvokeInlineAgentRequestFilterSensitiveLog, InvokeInlineAgentResponseFilterSensitiveLog).ser(se_InvokeInlineAgentCommand).de(de_InvokeInlineAgentCommand).build() {
4182
+ static {
4183
+ __name(this, "InvokeInlineAgentCommand");
4184
+ }
4151
4185
  };
4152
- __name(_InvokeInlineAgentCommand, "InvokeInlineAgentCommand");
4153
- var InvokeInlineAgentCommand = _InvokeInlineAgentCommand;
4154
4186
 
4155
4187
  // src/commands/OptimizePromptCommand.ts
4156
4188
 
4157
4189
 
4158
4190
 
4159
- var _OptimizePromptCommand = class _OptimizePromptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4191
+ var OptimizePromptCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4160
4192
  return [
4161
4193
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4162
4194
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4169,43 +4201,46 @@ var _OptimizePromptCommand = class _OptimizePromptCommand extends import_smithy_
4169
4201
  output: true
4170
4202
  }
4171
4203
  }).n("BedrockAgentRuntimeClient", "OptimizePromptCommand").f(OptimizePromptRequestFilterSensitiveLog, OptimizePromptResponseFilterSensitiveLog).ser(se_OptimizePromptCommand).de(de_OptimizePromptCommand).build() {
4204
+ static {
4205
+ __name(this, "OptimizePromptCommand");
4206
+ }
4172
4207
  };
4173
- __name(_OptimizePromptCommand, "OptimizePromptCommand");
4174
- var OptimizePromptCommand = _OptimizePromptCommand;
4175
4208
 
4176
4209
  // src/commands/RerankCommand.ts
4177
4210
 
4178
4211
 
4179
4212
 
4180
- var _RerankCommand = class _RerankCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4213
+ var RerankCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4181
4214
  return [
4182
4215
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4183
4216
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4184
4217
  ];
4185
4218
  }).s("AmazonBedrockAgentRunTimeService", "Rerank", {}).n("BedrockAgentRuntimeClient", "RerankCommand").f(RerankRequestFilterSensitiveLog, RerankResponseFilterSensitiveLog).ser(se_RerankCommand).de(de_RerankCommand).build() {
4219
+ static {
4220
+ __name(this, "RerankCommand");
4221
+ }
4186
4222
  };
4187
- __name(_RerankCommand, "RerankCommand");
4188
- var RerankCommand = _RerankCommand;
4189
4223
 
4190
4224
  // src/commands/RetrieveAndGenerateCommand.ts
4191
4225
 
4192
4226
 
4193
4227
 
4194
- var _RetrieveAndGenerateCommand = class _RetrieveAndGenerateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4228
+ var RetrieveAndGenerateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4195
4229
  return [
4196
4230
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4197
4231
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4198
4232
  ];
4199
4233
  }).s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerate", {}).n("BedrockAgentRuntimeClient", "RetrieveAndGenerateCommand").f(RetrieveAndGenerateRequestFilterSensitiveLog, RetrieveAndGenerateResponseFilterSensitiveLog).ser(se_RetrieveAndGenerateCommand).de(de_RetrieveAndGenerateCommand).build() {
4234
+ static {
4235
+ __name(this, "RetrieveAndGenerateCommand");
4236
+ }
4200
4237
  };
4201
- __name(_RetrieveAndGenerateCommand, "RetrieveAndGenerateCommand");
4202
- var RetrieveAndGenerateCommand = _RetrieveAndGenerateCommand;
4203
4238
 
4204
4239
  // src/commands/RetrieveAndGenerateStreamCommand.ts
4205
4240
 
4206
4241
 
4207
4242
 
4208
- var _RetrieveAndGenerateStreamCommand = class _RetrieveAndGenerateStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4243
+ var RetrieveAndGenerateStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4209
4244
  return [
4210
4245
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4211
4246
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4218,23 +4253,25 @@ var _RetrieveAndGenerateStreamCommand = class _RetrieveAndGenerateStreamCommand
4218
4253
  output: true
4219
4254
  }
4220
4255
  }).n("BedrockAgentRuntimeClient", "RetrieveAndGenerateStreamCommand").f(RetrieveAndGenerateStreamRequestFilterSensitiveLog, RetrieveAndGenerateStreamResponseFilterSensitiveLog).ser(se_RetrieveAndGenerateStreamCommand).de(de_RetrieveAndGenerateStreamCommand).build() {
4256
+ static {
4257
+ __name(this, "RetrieveAndGenerateStreamCommand");
4258
+ }
4221
4259
  };
4222
- __name(_RetrieveAndGenerateStreamCommand, "RetrieveAndGenerateStreamCommand");
4223
- var RetrieveAndGenerateStreamCommand = _RetrieveAndGenerateStreamCommand;
4224
4260
 
4225
4261
  // src/commands/RetrieveCommand.ts
4226
4262
 
4227
4263
 
4228
4264
 
4229
- var _RetrieveCommand = class _RetrieveCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4265
+ var RetrieveCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4230
4266
  return [
4231
4267
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4232
4268
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4233
4269
  ];
4234
4270
  }).s("AmazonBedrockAgentRunTimeService", "Retrieve", {}).n("BedrockAgentRuntimeClient", "RetrieveCommand").f(RetrieveRequestFilterSensitiveLog, RetrieveResponseFilterSensitiveLog).ser(se_RetrieveCommand).de(de_RetrieveCommand).build() {
4271
+ static {
4272
+ __name(this, "RetrieveCommand");
4273
+ }
4235
4274
  };
4236
- __name(_RetrieveCommand, "RetrieveCommand");
4237
- var RetrieveCommand = _RetrieveCommand;
4238
4275
 
4239
4276
  // src/BedrockAgentRuntime.ts
4240
4277
  var commands = {
@@ -4250,10 +4287,11 @@ var commands = {
4250
4287
  RetrieveAndGenerateCommand,
4251
4288
  RetrieveAndGenerateStreamCommand
4252
4289
  };
4253
- var _BedrockAgentRuntime = class _BedrockAgentRuntime extends BedrockAgentRuntimeClient {
4290
+ var BedrockAgentRuntime = class extends BedrockAgentRuntimeClient {
4291
+ static {
4292
+ __name(this, "BedrockAgentRuntime");
4293
+ }
4254
4294
  };
4255
- __name(_BedrockAgentRuntime, "BedrockAgentRuntime");
4256
- var BedrockAgentRuntime = _BedrockAgentRuntime;
4257
4295
  (0, import_smithy_client.createAggregatedClient)(commands, BedrockAgentRuntime);
4258
4296
 
4259
4297
  // src/pagination/GetAgentMemoryPaginator.ts
@@ -15,6 +15,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
15
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
16
16
  export { __Client };
17
17
  export class BedrockAgentRuntimeClient extends __Client {
18
+ config;
18
19
  constructor(...[configuration]) {
19
20
  const _config_0 = __getRuntimeConfig(configuration || {});
20
21
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,14 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { BedrockAgentRuntimeServiceException as __BaseException } from "./BedrockAgentRuntimeServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "AccessDeniedException",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
@@ -100,52 +100,54 @@ export var InvocationInputMember;
100
100
  };
101
101
  })(InvocationInputMember || (InvocationInputMember = {}));
102
102
  export class BadGatewayException extends __BaseException {
103
+ name = "BadGatewayException";
104
+ $fault = "server";
105
+ resourceName;
103
106
  constructor(opts) {
104
107
  super({
105
108
  name: "BadGatewayException",
106
109
  $fault: "server",
107
110
  ...opts,
108
111
  });
109
- this.name = "BadGatewayException";
110
- this.$fault = "server";
111
112
  Object.setPrototypeOf(this, BadGatewayException.prototype);
112
113
  this.resourceName = opts.resourceName;
113
114
  }
114
115
  }
115
116
  export class ConflictException extends __BaseException {
117
+ name = "ConflictException";
118
+ $fault = "client";
116
119
  constructor(opts) {
117
120
  super({
118
121
  name: "ConflictException",
119
122
  $fault: "client",
120
123
  ...opts,
121
124
  });
122
- this.name = "ConflictException";
123
- this.$fault = "client";
124
125
  Object.setPrototypeOf(this, ConflictException.prototype);
125
126
  }
126
127
  }
127
128
  export class DependencyFailedException extends __BaseException {
129
+ name = "DependencyFailedException";
130
+ $fault = "client";
131
+ resourceName;
128
132
  constructor(opts) {
129
133
  super({
130
134
  name: "DependencyFailedException",
131
135
  $fault: "client",
132
136
  ...opts,
133
137
  });
134
- this.name = "DependencyFailedException";
135
- this.$fault = "client";
136
138
  Object.setPrototypeOf(this, DependencyFailedException.prototype);
137
139
  this.resourceName = opts.resourceName;
138
140
  }
139
141
  }
140
142
  export class InternalServerException extends __BaseException {
143
+ name = "InternalServerException";
144
+ $fault = "server";
141
145
  constructor(opts) {
142
146
  super({
143
147
  name: "InternalServerException",
144
148
  $fault: "server",
145
149
  ...opts,
146
150
  });
147
- this.name = "InternalServerException";
148
- this.$fault = "server";
149
151
  Object.setPrototypeOf(this, InternalServerException.prototype);
150
152
  }
151
153
  }
@@ -210,50 +212,50 @@ export var FlowTrace;
210
212
  };
211
213
  })(FlowTrace || (FlowTrace = {}));
212
214
  export class ResourceNotFoundException extends __BaseException {
215
+ name = "ResourceNotFoundException";
216
+ $fault = "client";
213
217
  constructor(opts) {
214
218
  super({
215
219
  name: "ResourceNotFoundException",
216
220
  $fault: "client",
217
221
  ...opts,
218
222
  });
219
- this.name = "ResourceNotFoundException";
220
- this.$fault = "client";
221
223
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
222
224
  }
223
225
  }
224
226
  export class ServiceQuotaExceededException extends __BaseException {
227
+ name = "ServiceQuotaExceededException";
228
+ $fault = "client";
225
229
  constructor(opts) {
226
230
  super({
227
231
  name: "ServiceQuotaExceededException",
228
232
  $fault: "client",
229
233
  ...opts,
230
234
  });
231
- this.name = "ServiceQuotaExceededException";
232
- this.$fault = "client";
233
235
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
234
236
  }
235
237
  }
236
238
  export class ThrottlingException extends __BaseException {
239
+ name = "ThrottlingException";
240
+ $fault = "client";
237
241
  constructor(opts) {
238
242
  super({
239
243
  name: "ThrottlingException",
240
244
  $fault: "client",
241
245
  ...opts,
242
246
  });
243
- this.name = "ThrottlingException";
244
- this.$fault = "client";
245
247
  Object.setPrototypeOf(this, ThrottlingException.prototype);
246
248
  }
247
249
  }
248
250
  export class ValidationException extends __BaseException {
251
+ name = "ValidationException";
252
+ $fault = "client";
249
253
  constructor(opts) {
250
254
  super({
251
255
  name: "ValidationException",
252
256
  $fault: "client",
253
257
  ...opts,
254
258
  });
255
- this.name = "ValidationException";
256
- this.$fault = "client";
257
259
  Object.setPrototypeOf(this, ValidationException.prototype);
258
260
  }
259
261
  }
@@ -370,14 +372,14 @@ export const RetrievalResultLocationType = {
370
372
  WEB: "WEB",
371
373
  };
372
374
  export class ModelNotReadyException extends __BaseException {
375
+ name = "ModelNotReadyException";
376
+ $fault = "client";
373
377
  constructor(opts) {
374
378
  super({
375
379
  name: "ModelNotReadyException",
376
380
  $fault: "client",
377
381
  ...opts,
378
382
  });
379
- this.name = "ModelNotReadyException";
380
- this.$fault = "client";
381
383
  Object.setPrototypeOf(this, ModelNotReadyException.prototype);
382
384
  }
383
385
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
32
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
33
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
34
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
35
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
37
  logger?: import("@smithy/types").Logger | undefined;
38
38
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -53,11 +55,21 @@ export declare const getRuntimeConfig: (
53
55
  | import("@smithy/types").RetryStrategyV2
54
56
  | undefined;
55
57
  endpoint?:
56
- | string
57
- | import("@smithy/types").Endpoint
58
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
- | import("@smithy/types").EndpointV2
60
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
58
+ | ((
59
+ | string
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ) &
65
+ (
66
+ | string
67
+ | import("@smithy/types").Provider<string>
68
+ | import("@smithy/types").Endpoint
69
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
70
+ | import("@smithy/types").EndpointV2
71
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
72
+ ))
61
73
  | undefined;
62
74
  endpointProvider: (
63
75
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
@@ -20,59 +20,59 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/eventstream-serde-browser": "^3.0.14",
39
- "@smithy/eventstream-serde-config-resolver": "^3.0.11",
40
- "@smithy/eventstream-serde-node": "^3.0.13",
41
- "@smithy/fetch-http-handler": "^4.1.2",
42
- "@smithy/hash-node": "^3.0.11",
43
- "@smithy/invalid-dependency": "^3.0.11",
44
- "@smithy/middleware-content-length": "^3.0.13",
45
- "@smithy/middleware-endpoint": "^3.2.6",
46
- "@smithy/middleware-retry": "^3.0.31",
47
- "@smithy/middleware-serde": "^3.0.11",
48
- "@smithy/middleware-stack": "^3.0.11",
49
- "@smithy/node-config-provider": "^3.1.12",
50
- "@smithy/node-http-handler": "^3.3.2",
51
- "@smithy/protocol-http": "^4.1.8",
52
- "@smithy/smithy-client": "^3.5.1",
53
- "@smithy/types": "^3.7.2",
54
- "@smithy/url-parser": "^3.0.11",
55
- "@smithy/util-base64": "^3.0.0",
56
- "@smithy/util-body-length-browser": "^3.0.0",
57
- "@smithy/util-body-length-node": "^3.0.0",
58
- "@smithy/util-defaults-mode-browser": "^3.0.31",
59
- "@smithy/util-defaults-mode-node": "^3.0.31",
60
- "@smithy/util-endpoints": "^2.1.7",
61
- "@smithy/util-middleware": "^3.0.11",
62
- "@smithy/util-retry": "^3.0.11",
63
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/eventstream-serde-browser": "^4.0.0",
39
+ "@smithy/eventstream-serde-config-resolver": "^4.0.0",
40
+ "@smithy/eventstream-serde-node": "^4.0.0",
41
+ "@smithy/fetch-http-handler": "^5.0.0",
42
+ "@smithy/hash-node": "^4.0.0",
43
+ "@smithy/invalid-dependency": "^4.0.0",
44
+ "@smithy/middleware-content-length": "^4.0.0",
45
+ "@smithy/middleware-endpoint": "^4.0.0",
46
+ "@smithy/middleware-retry": "^4.0.0",
47
+ "@smithy/middleware-serde": "^4.0.0",
48
+ "@smithy/middleware-stack": "^4.0.0",
49
+ "@smithy/node-config-provider": "^4.0.0",
50
+ "@smithy/node-http-handler": "^4.0.0",
51
+ "@smithy/protocol-http": "^5.0.0",
52
+ "@smithy/smithy-client": "^4.0.0",
53
+ "@smithy/types": "^4.0.0",
54
+ "@smithy/url-parser": "^4.0.0",
55
+ "@smithy/util-base64": "^4.0.0",
56
+ "@smithy/util-body-length-browser": "^4.0.0",
57
+ "@smithy/util-body-length-node": "^4.0.0",
58
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
59
+ "@smithy/util-defaults-mode-node": "^4.0.0",
60
+ "@smithy/util-endpoints": "^3.0.0",
61
+ "@smithy/util-middleware": "^4.0.0",
62
+ "@smithy/util-retry": "^4.0.0",
63
+ "@smithy/util-utf8": "^4.0.0",
64
64
  "tslib": "^2.6.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@tsconfig/node16": "16.1.3",
68
- "@types/node": "^16.18.96",
67
+ "@tsconfig/node18": "18.2.4",
68
+ "@types/node": "^18.19.69",
69
69
  "concurrently": "7.0.0",
70
70
  "downlevel-dts": "0.10.1",
71
71
  "rimraf": "3.0.2",
72
- "typescript": "~4.9.5"
72
+ "typescript": "~5.2.2"
73
73
  },
74
74
  "engines": {
75
- "node": ">=16.0.0"
75
+ "node": ">=18.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {