@aws-sdk/client-bedrock 3.649.0 → 3.651.1

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 (50) hide show
  1. package/dist-cjs/index.js +46 -138
  2. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +1 -3
  3. package/dist-es/commands/CreateEvaluationJobCommand.js +1 -3
  4. package/dist-es/commands/CreateGuardrailCommand.js +1 -3
  5. package/dist-es/commands/CreateGuardrailVersionCommand.js +1 -3
  6. package/dist-es/commands/CreateModelCopyJobCommand.js +1 -3
  7. package/dist-es/commands/CreateModelCustomizationJobCommand.js +1 -3
  8. package/dist-es/commands/CreateModelImportJobCommand.js +1 -3
  9. package/dist-es/commands/CreateModelInvocationJobCommand.js +1 -3
  10. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +1 -3
  11. package/dist-es/commands/DeleteCustomModelCommand.js +1 -3
  12. package/dist-es/commands/DeleteGuardrailCommand.js +1 -3
  13. package/dist-es/commands/DeleteImportedModelCommand.js +1 -3
  14. package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +1 -3
  15. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +1 -3
  16. package/dist-es/commands/GetCustomModelCommand.js +1 -3
  17. package/dist-es/commands/GetEvaluationJobCommand.js +1 -3
  18. package/dist-es/commands/GetFoundationModelCommand.js +1 -3
  19. package/dist-es/commands/GetGuardrailCommand.js +1 -3
  20. package/dist-es/commands/GetImportedModelCommand.js +1 -3
  21. package/dist-es/commands/GetInferenceProfileCommand.js +1 -3
  22. package/dist-es/commands/GetModelCopyJobCommand.js +1 -3
  23. package/dist-es/commands/GetModelCustomizationJobCommand.js +1 -3
  24. package/dist-es/commands/GetModelImportJobCommand.js +1 -3
  25. package/dist-es/commands/GetModelInvocationJobCommand.js +1 -3
  26. package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +1 -3
  27. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +1 -3
  28. package/dist-es/commands/ListCustomModelsCommand.js +1 -3
  29. package/dist-es/commands/ListEvaluationJobsCommand.js +1 -3
  30. package/dist-es/commands/ListFoundationModelsCommand.js +1 -3
  31. package/dist-es/commands/ListGuardrailsCommand.js +1 -3
  32. package/dist-es/commands/ListImportedModelsCommand.js +1 -3
  33. package/dist-es/commands/ListInferenceProfilesCommand.js +1 -3
  34. package/dist-es/commands/ListModelCopyJobsCommand.js +1 -3
  35. package/dist-es/commands/ListModelCustomizationJobsCommand.js +1 -3
  36. package/dist-es/commands/ListModelImportJobsCommand.js +1 -3
  37. package/dist-es/commands/ListModelInvocationJobsCommand.js +1 -3
  38. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +1 -3
  39. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  40. package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +1 -3
  41. package/dist-es/commands/StopEvaluationJobCommand.js +1 -3
  42. package/dist-es/commands/StopModelCustomizationJobCommand.js +1 -3
  43. package/dist-es/commands/StopModelInvocationJobCommand.js +1 -3
  44. package/dist-es/commands/TagResourceCommand.js +1 -3
  45. package/dist-es/commands/UntagResourceCommand.js +1 -3
  46. package/dist-es/commands/UpdateGuardrailCommand.js +1 -3
  47. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +1 -3
  48. package/dist-es/endpoint/endpointResolver.js +7 -3
  49. package/package.json +5 -5
  50. package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js CHANGED
@@ -2706,9 +2706,7 @@ var _sTB = "submitTimeBefore";
2706
2706
  var _tMNC = "targetModelNameContains";
2707
2707
 
2708
2708
  // src/commands/BatchDeleteEvaluationJobCommand.ts
2709
- var _BatchDeleteEvaluationJobCommand = class _BatchDeleteEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2710
- ...commonParams
2711
- }).m(function(Command, cs, config, o) {
2709
+ var _BatchDeleteEvaluationJobCommand = class _BatchDeleteEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2712
2710
  return [
2713
2711
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2714
2712
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2722,9 +2720,7 @@ var BatchDeleteEvaluationJobCommand = _BatchDeleteEvaluationJobCommand;
2722
2720
 
2723
2721
 
2724
2722
 
2725
- var _CreateEvaluationJobCommand = class _CreateEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2726
- ...commonParams
2727
- }).m(function(Command, cs, config, o) {
2723
+ var _CreateEvaluationJobCommand = class _CreateEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2728
2724
  return [
2729
2725
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2730
2726
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2738,9 +2734,7 @@ var CreateEvaluationJobCommand = _CreateEvaluationJobCommand;
2738
2734
 
2739
2735
 
2740
2736
 
2741
- var _CreateGuardrailCommand = class _CreateGuardrailCommand extends import_smithy_client.Command.classBuilder().ep({
2742
- ...commonParams
2743
- }).m(function(Command, cs, config, o) {
2737
+ var _CreateGuardrailCommand = class _CreateGuardrailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2744
2738
  return [
2745
2739
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2746
2740
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2754,9 +2748,7 @@ var CreateGuardrailCommand = _CreateGuardrailCommand;
2754
2748
 
2755
2749
 
2756
2750
 
2757
- var _CreateGuardrailVersionCommand = class _CreateGuardrailVersionCommand extends import_smithy_client.Command.classBuilder().ep({
2758
- ...commonParams
2759
- }).m(function(Command, cs, config, o) {
2751
+ var _CreateGuardrailVersionCommand = class _CreateGuardrailVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2760
2752
  return [
2761
2753
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2762
2754
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2770,9 +2762,7 @@ var CreateGuardrailVersionCommand = _CreateGuardrailVersionCommand;
2770
2762
 
2771
2763
 
2772
2764
 
2773
- var _CreateModelCopyJobCommand = class _CreateModelCopyJobCommand extends import_smithy_client.Command.classBuilder().ep({
2774
- ...commonParams
2775
- }).m(function(Command, cs, config, o) {
2765
+ var _CreateModelCopyJobCommand = class _CreateModelCopyJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2776
2766
  return [
2777
2767
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2778
2768
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2786,9 +2776,7 @@ var CreateModelCopyJobCommand = _CreateModelCopyJobCommand;
2786
2776
 
2787
2777
 
2788
2778
 
2789
- var _CreateModelCustomizationJobCommand = class _CreateModelCustomizationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2790
- ...commonParams
2791
- }).m(function(Command, cs, config, o) {
2779
+ var _CreateModelCustomizationJobCommand = class _CreateModelCustomizationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2792
2780
  return [
2793
2781
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2794
2782
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2802,9 +2790,7 @@ var CreateModelCustomizationJobCommand = _CreateModelCustomizationJobCommand;
2802
2790
 
2803
2791
 
2804
2792
 
2805
- var _CreateModelImportJobCommand = class _CreateModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
2806
- ...commonParams
2807
- }).m(function(Command, cs, config, o) {
2793
+ var _CreateModelImportJobCommand = class _CreateModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2808
2794
  return [
2809
2795
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2810
2796
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2818,9 +2804,7 @@ var CreateModelImportJobCommand = _CreateModelImportJobCommand;
2818
2804
 
2819
2805
 
2820
2806
 
2821
- var _CreateModelInvocationJobCommand = class _CreateModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2822
- ...commonParams
2823
- }).m(function(Command, cs, config, o) {
2807
+ var _CreateModelInvocationJobCommand = class _CreateModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2824
2808
  return [
2825
2809
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2826
2810
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2834,9 +2818,7 @@ var CreateModelInvocationJobCommand = _CreateModelInvocationJobCommand;
2834
2818
 
2835
2819
 
2836
2820
 
2837
- var _CreateProvisionedModelThroughputCommand = class _CreateProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep({
2838
- ...commonParams
2839
- }).m(function(Command, cs, config, o) {
2821
+ var _CreateProvisionedModelThroughputCommand = class _CreateProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2840
2822
  return [
2841
2823
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2842
2824
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2850,9 +2832,7 @@ var CreateProvisionedModelThroughputCommand = _CreateProvisionedModelThroughputC
2850
2832
 
2851
2833
 
2852
2834
 
2853
- var _DeleteCustomModelCommand = class _DeleteCustomModelCommand extends import_smithy_client.Command.classBuilder().ep({
2854
- ...commonParams
2855
- }).m(function(Command, cs, config, o) {
2835
+ var _DeleteCustomModelCommand = class _DeleteCustomModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2856
2836
  return [
2857
2837
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2858
2838
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2866,9 +2846,7 @@ var DeleteCustomModelCommand = _DeleteCustomModelCommand;
2866
2846
 
2867
2847
 
2868
2848
 
2869
- var _DeleteGuardrailCommand = class _DeleteGuardrailCommand extends import_smithy_client.Command.classBuilder().ep({
2870
- ...commonParams
2871
- }).m(function(Command, cs, config, o) {
2849
+ var _DeleteGuardrailCommand = class _DeleteGuardrailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2872
2850
  return [
2873
2851
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2874
2852
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2882,9 +2860,7 @@ var DeleteGuardrailCommand = _DeleteGuardrailCommand;
2882
2860
 
2883
2861
 
2884
2862
 
2885
- var _DeleteImportedModelCommand = class _DeleteImportedModelCommand extends import_smithy_client.Command.classBuilder().ep({
2886
- ...commonParams
2887
- }).m(function(Command, cs, config, o) {
2863
+ var _DeleteImportedModelCommand = class _DeleteImportedModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2888
2864
  return [
2889
2865
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2890
2866
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2898,9 +2874,7 @@ var DeleteImportedModelCommand = _DeleteImportedModelCommand;
2898
2874
 
2899
2875
 
2900
2876
 
2901
- var _DeleteModelInvocationLoggingConfigurationCommand = class _DeleteModelInvocationLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2902
- ...commonParams
2903
- }).m(function(Command, cs, config, o) {
2877
+ var _DeleteModelInvocationLoggingConfigurationCommand = class _DeleteModelInvocationLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2904
2878
  return [
2905
2879
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2906
2880
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2914,9 +2888,7 @@ var DeleteModelInvocationLoggingConfigurationCommand = _DeleteModelInvocationLog
2914
2888
 
2915
2889
 
2916
2890
 
2917
- var _DeleteProvisionedModelThroughputCommand = class _DeleteProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep({
2918
- ...commonParams
2919
- }).m(function(Command, cs, config, o) {
2891
+ var _DeleteProvisionedModelThroughputCommand = class _DeleteProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2920
2892
  return [
2921
2893
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2922
2894
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2930,9 +2902,7 @@ var DeleteProvisionedModelThroughputCommand = _DeleteProvisionedModelThroughputC
2930
2902
 
2931
2903
 
2932
2904
 
2933
- var _GetCustomModelCommand = class _GetCustomModelCommand extends import_smithy_client.Command.classBuilder().ep({
2934
- ...commonParams
2935
- }).m(function(Command, cs, config, o) {
2905
+ var _GetCustomModelCommand = class _GetCustomModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2936
2906
  return [
2937
2907
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2938
2908
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2946,9 +2916,7 @@ var GetCustomModelCommand = _GetCustomModelCommand;
2946
2916
 
2947
2917
 
2948
2918
 
2949
- var _GetEvaluationJobCommand = class _GetEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2950
- ...commonParams
2951
- }).m(function(Command, cs, config, o) {
2919
+ var _GetEvaluationJobCommand = class _GetEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2952
2920
  return [
2953
2921
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2954
2922
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2962,9 +2930,7 @@ var GetEvaluationJobCommand = _GetEvaluationJobCommand;
2962
2930
 
2963
2931
 
2964
2932
 
2965
- var _GetFoundationModelCommand = class _GetFoundationModelCommand extends import_smithy_client.Command.classBuilder().ep({
2966
- ...commonParams
2967
- }).m(function(Command, cs, config, o) {
2933
+ var _GetFoundationModelCommand = class _GetFoundationModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2968
2934
  return [
2969
2935
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2970
2936
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2978,9 +2944,7 @@ var GetFoundationModelCommand = _GetFoundationModelCommand;
2978
2944
 
2979
2945
 
2980
2946
 
2981
- var _GetGuardrailCommand = class _GetGuardrailCommand extends import_smithy_client.Command.classBuilder().ep({
2982
- ...commonParams
2983
- }).m(function(Command, cs, config, o) {
2947
+ var _GetGuardrailCommand = class _GetGuardrailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2984
2948
  return [
2985
2949
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2986
2950
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2994,9 +2958,7 @@ var GetGuardrailCommand = _GetGuardrailCommand;
2994
2958
 
2995
2959
 
2996
2960
 
2997
- var _GetImportedModelCommand = class _GetImportedModelCommand extends import_smithy_client.Command.classBuilder().ep({
2998
- ...commonParams
2999
- }).m(function(Command, cs, config, o) {
2961
+ var _GetImportedModelCommand = class _GetImportedModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3000
2962
  return [
3001
2963
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3002
2964
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3010,9 +2972,7 @@ var GetImportedModelCommand = _GetImportedModelCommand;
3010
2972
 
3011
2973
 
3012
2974
 
3013
- var _GetInferenceProfileCommand = class _GetInferenceProfileCommand extends import_smithy_client.Command.classBuilder().ep({
3014
- ...commonParams
3015
- }).m(function(Command, cs, config, o) {
2975
+ var _GetInferenceProfileCommand = class _GetInferenceProfileCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3016
2976
  return [
3017
2977
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3018
2978
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3026,9 +2986,7 @@ var GetInferenceProfileCommand = _GetInferenceProfileCommand;
3026
2986
 
3027
2987
 
3028
2988
 
3029
- var _GetModelCopyJobCommand = class _GetModelCopyJobCommand extends import_smithy_client.Command.classBuilder().ep({
3030
- ...commonParams
3031
- }).m(function(Command, cs, config, o) {
2989
+ var _GetModelCopyJobCommand = class _GetModelCopyJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3032
2990
  return [
3033
2991
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3034
2992
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3042,9 +3000,7 @@ var GetModelCopyJobCommand = _GetModelCopyJobCommand;
3042
3000
 
3043
3001
 
3044
3002
 
3045
- var _GetModelCustomizationJobCommand = class _GetModelCustomizationJobCommand extends import_smithy_client.Command.classBuilder().ep({
3046
- ...commonParams
3047
- }).m(function(Command, cs, config, o) {
3003
+ var _GetModelCustomizationJobCommand = class _GetModelCustomizationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3048
3004
  return [
3049
3005
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3050
3006
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3058,9 +3014,7 @@ var GetModelCustomizationJobCommand = _GetModelCustomizationJobCommand;
3058
3014
 
3059
3015
 
3060
3016
 
3061
- var _GetModelImportJobCommand = class _GetModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
3062
- ...commonParams
3063
- }).m(function(Command, cs, config, o) {
3017
+ var _GetModelImportJobCommand = class _GetModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3064
3018
  return [
3065
3019
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3066
3020
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3074,9 +3028,7 @@ var GetModelImportJobCommand = _GetModelImportJobCommand;
3074
3028
 
3075
3029
 
3076
3030
 
3077
- var _GetModelInvocationJobCommand = class _GetModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep({
3078
- ...commonParams
3079
- }).m(function(Command, cs, config, o) {
3031
+ var _GetModelInvocationJobCommand = class _GetModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3080
3032
  return [
3081
3033
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3082
3034
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3090,9 +3042,7 @@ var GetModelInvocationJobCommand = _GetModelInvocationJobCommand;
3090
3042
 
3091
3043
 
3092
3044
 
3093
- var _GetModelInvocationLoggingConfigurationCommand = class _GetModelInvocationLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
3094
- ...commonParams
3095
- }).m(function(Command, cs, config, o) {
3045
+ var _GetModelInvocationLoggingConfigurationCommand = class _GetModelInvocationLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3096
3046
  return [
3097
3047
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3098
3048
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3106,9 +3056,7 @@ var GetModelInvocationLoggingConfigurationCommand = _GetModelInvocationLoggingCo
3106
3056
 
3107
3057
 
3108
3058
 
3109
- var _GetProvisionedModelThroughputCommand = class _GetProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep({
3110
- ...commonParams
3111
- }).m(function(Command, cs, config, o) {
3059
+ var _GetProvisionedModelThroughputCommand = class _GetProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3112
3060
  return [
3113
3061
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3114
3062
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3122,9 +3070,7 @@ var GetProvisionedModelThroughputCommand = _GetProvisionedModelThroughputCommand
3122
3070
 
3123
3071
 
3124
3072
 
3125
- var _ListCustomModelsCommand = class _ListCustomModelsCommand extends import_smithy_client.Command.classBuilder().ep({
3126
- ...commonParams
3127
- }).m(function(Command, cs, config, o) {
3073
+ var _ListCustomModelsCommand = class _ListCustomModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3128
3074
  return [
3129
3075
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3130
3076
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3138,9 +3084,7 @@ var ListCustomModelsCommand = _ListCustomModelsCommand;
3138
3084
 
3139
3085
 
3140
3086
 
3141
- var _ListEvaluationJobsCommand = class _ListEvaluationJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3142
- ...commonParams
3143
- }).m(function(Command, cs, config, o) {
3087
+ var _ListEvaluationJobsCommand = class _ListEvaluationJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3144
3088
  return [
3145
3089
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3146
3090
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3154,9 +3098,7 @@ var ListEvaluationJobsCommand = _ListEvaluationJobsCommand;
3154
3098
 
3155
3099
 
3156
3100
 
3157
- var _ListFoundationModelsCommand = class _ListFoundationModelsCommand extends import_smithy_client.Command.classBuilder().ep({
3158
- ...commonParams
3159
- }).m(function(Command, cs, config, o) {
3101
+ var _ListFoundationModelsCommand = class _ListFoundationModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3160
3102
  return [
3161
3103
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3162
3104
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3170,9 +3112,7 @@ var ListFoundationModelsCommand = _ListFoundationModelsCommand;
3170
3112
 
3171
3113
 
3172
3114
 
3173
- var _ListGuardrailsCommand = class _ListGuardrailsCommand extends import_smithy_client.Command.classBuilder().ep({
3174
- ...commonParams
3175
- }).m(function(Command, cs, config, o) {
3115
+ var _ListGuardrailsCommand = class _ListGuardrailsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3176
3116
  return [
3177
3117
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3178
3118
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3186,9 +3126,7 @@ var ListGuardrailsCommand = _ListGuardrailsCommand;
3186
3126
 
3187
3127
 
3188
3128
 
3189
- var _ListImportedModelsCommand = class _ListImportedModelsCommand extends import_smithy_client.Command.classBuilder().ep({
3190
- ...commonParams
3191
- }).m(function(Command, cs, config, o) {
3129
+ var _ListImportedModelsCommand = class _ListImportedModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3192
3130
  return [
3193
3131
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3194
3132
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3202,9 +3140,7 @@ var ListImportedModelsCommand = _ListImportedModelsCommand;
3202
3140
 
3203
3141
 
3204
3142
 
3205
- var _ListInferenceProfilesCommand = class _ListInferenceProfilesCommand extends import_smithy_client.Command.classBuilder().ep({
3206
- ...commonParams
3207
- }).m(function(Command, cs, config, o) {
3143
+ var _ListInferenceProfilesCommand = class _ListInferenceProfilesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3208
3144
  return [
3209
3145
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3210
3146
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3218,9 +3154,7 @@ var ListInferenceProfilesCommand = _ListInferenceProfilesCommand;
3218
3154
 
3219
3155
 
3220
3156
 
3221
- var _ListModelCopyJobsCommand = class _ListModelCopyJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3222
- ...commonParams
3223
- }).m(function(Command, cs, config, o) {
3157
+ var _ListModelCopyJobsCommand = class _ListModelCopyJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3224
3158
  return [
3225
3159
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3226
3160
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3234,9 +3168,7 @@ var ListModelCopyJobsCommand = _ListModelCopyJobsCommand;
3234
3168
 
3235
3169
 
3236
3170
 
3237
- var _ListModelCustomizationJobsCommand = class _ListModelCustomizationJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3238
- ...commonParams
3239
- }).m(function(Command, cs, config, o) {
3171
+ var _ListModelCustomizationJobsCommand = class _ListModelCustomizationJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3240
3172
  return [
3241
3173
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3242
3174
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3250,9 +3182,7 @@ var ListModelCustomizationJobsCommand = _ListModelCustomizationJobsCommand;
3250
3182
 
3251
3183
 
3252
3184
 
3253
- var _ListModelImportJobsCommand = class _ListModelImportJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3254
- ...commonParams
3255
- }).m(function(Command, cs, config, o) {
3185
+ var _ListModelImportJobsCommand = class _ListModelImportJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3256
3186
  return [
3257
3187
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3258
3188
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3266,9 +3196,7 @@ var ListModelImportJobsCommand = _ListModelImportJobsCommand;
3266
3196
 
3267
3197
 
3268
3198
 
3269
- var _ListModelInvocationJobsCommand = class _ListModelInvocationJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3270
- ...commonParams
3271
- }).m(function(Command, cs, config, o) {
3199
+ var _ListModelInvocationJobsCommand = class _ListModelInvocationJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3272
3200
  return [
3273
3201
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3274
3202
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3282,9 +3210,7 @@ var ListModelInvocationJobsCommand = _ListModelInvocationJobsCommand;
3282
3210
 
3283
3211
 
3284
3212
 
3285
- var _ListProvisionedModelThroughputsCommand = class _ListProvisionedModelThroughputsCommand extends import_smithy_client.Command.classBuilder().ep({
3286
- ...commonParams
3287
- }).m(function(Command, cs, config, o) {
3213
+ var _ListProvisionedModelThroughputsCommand = class _ListProvisionedModelThroughputsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3288
3214
  return [
3289
3215
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3290
3216
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3298,9 +3224,7 @@ var ListProvisionedModelThroughputsCommand = _ListProvisionedModelThroughputsCom
3298
3224
 
3299
3225
 
3300
3226
 
3301
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3302
- ...commonParams
3303
- }).m(function(Command, cs, config, o) {
3227
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3304
3228
  return [
3305
3229
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3306
3230
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3314,9 +3238,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3314
3238
 
3315
3239
 
3316
3240
 
3317
- var _PutModelInvocationLoggingConfigurationCommand = class _PutModelInvocationLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
3318
- ...commonParams
3319
- }).m(function(Command, cs, config, o) {
3241
+ var _PutModelInvocationLoggingConfigurationCommand = class _PutModelInvocationLoggingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3320
3242
  return [
3321
3243
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3322
3244
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3330,9 +3252,7 @@ var PutModelInvocationLoggingConfigurationCommand = _PutModelInvocationLoggingCo
3330
3252
 
3331
3253
 
3332
3254
 
3333
- var _StopEvaluationJobCommand = class _StopEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
3334
- ...commonParams
3335
- }).m(function(Command, cs, config, o) {
3255
+ var _StopEvaluationJobCommand = class _StopEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3336
3256
  return [
3337
3257
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3338
3258
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3346,9 +3266,7 @@ var StopEvaluationJobCommand = _StopEvaluationJobCommand;
3346
3266
 
3347
3267
 
3348
3268
 
3349
- var _StopModelCustomizationJobCommand = class _StopModelCustomizationJobCommand extends import_smithy_client.Command.classBuilder().ep({
3350
- ...commonParams
3351
- }).m(function(Command, cs, config, o) {
3269
+ var _StopModelCustomizationJobCommand = class _StopModelCustomizationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3352
3270
  return [
3353
3271
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3354
3272
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3362,9 +3280,7 @@ var StopModelCustomizationJobCommand = _StopModelCustomizationJobCommand;
3362
3280
 
3363
3281
 
3364
3282
 
3365
- var _StopModelInvocationJobCommand = class _StopModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep({
3366
- ...commonParams
3367
- }).m(function(Command, cs, config, o) {
3283
+ var _StopModelInvocationJobCommand = class _StopModelInvocationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3368
3284
  return [
3369
3285
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3370
3286
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3378,9 +3294,7 @@ var StopModelInvocationJobCommand = _StopModelInvocationJobCommand;
3378
3294
 
3379
3295
 
3380
3296
 
3381
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3382
- ...commonParams
3383
- }).m(function(Command, cs, config, o) {
3297
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3384
3298
  return [
3385
3299
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3386
3300
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3394,9 +3308,7 @@ var TagResourceCommand = _TagResourceCommand;
3394
3308
 
3395
3309
 
3396
3310
 
3397
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3398
- ...commonParams
3399
- }).m(function(Command, cs, config, o) {
3311
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3400
3312
  return [
3401
3313
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3402
3314
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3410,9 +3322,7 @@ var UntagResourceCommand = _UntagResourceCommand;
3410
3322
 
3411
3323
 
3412
3324
 
3413
- var _UpdateGuardrailCommand = class _UpdateGuardrailCommand extends import_smithy_client.Command.classBuilder().ep({
3414
- ...commonParams
3415
- }).m(function(Command, cs, config, o) {
3325
+ var _UpdateGuardrailCommand = class _UpdateGuardrailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3416
3326
  return [
3417
3327
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3418
3328
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3426,9 +3336,7 @@ var UpdateGuardrailCommand = _UpdateGuardrailCommand;
3426
3336
 
3427
3337
 
3428
3338
 
3429
- var _UpdateProvisionedModelThroughputCommand = class _UpdateProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep({
3430
- ...commonParams
3431
- }).m(function(Command, cs, config, o) {
3339
+ var _UpdateProvisionedModelThroughputCommand = class _UpdateProvisionedModelThroughputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3432
3340
  return [
3433
3341
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3434
3342
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_BatchDeleteEvaluationJobCommand, se_BatchDeleteEvaluationJobCommand
7
7
  export { $Command };
8
8
  export class BatchDeleteEvaluationJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateEvaluationJobCommand, se_CreateEvaluationJobCommand } from "..
7
7
  export { $Command };
8
8
  export class CreateEvaluationJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateGuardrailCommand, se_CreateGuardrailCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class CreateGuardrailCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateGuardrailVersionCommand, se_CreateGuardrailVersionCommand } fr
7
7
  export { $Command };
8
8
  export class CreateGuardrailVersionCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateModelCopyJobCommand, se_CreateModelCopyJobCommand } from "../p
6
6
  export { $Command };
7
7
  export class CreateModelCopyJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateModelCustomizationJobCommand, se_CreateModelCustomizationJobCo
6
6
  export { $Command };
7
7
  export class CreateModelCustomizationJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateModelImportJobCommand, se_CreateModelImportJobCommand } from "
6
6
  export { $Command };
7
7
  export class CreateModelImportJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateModelInvocationJobCommand, se_CreateModelInvocationJobCommand
6
6
  export { $Command };
7
7
  export class CreateModelInvocationJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreateProvisionedModelThroughputCommand, se_CreateProvisionedModelTh
6
6
  export { $Command };
7
7
  export class CreateProvisionedModelThroughputCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteCustomModelCommand, se_DeleteCustomModelCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteCustomModelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteGuardrailCommand, se_DeleteGuardrailCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DeleteGuardrailCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteImportedModelCommand, se_DeleteImportedModelCommand } from "..
6
6
  export { $Command };
7
7
  export class DeleteImportedModelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteModelInvocationLoggingConfigurationCommand, se_DeleteModelInvo
6
6
  export { $Command };
7
7
  export class DeleteModelInvocationLoggingConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteProvisionedModelThroughputCommand, se_DeleteProvisionedModelTh
6
6
  export { $Command };
7
7
  export class DeleteProvisionedModelThroughputCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetCustomModelCommand, se_GetCustomModelCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class GetCustomModelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetEvaluationJobCommand, se_GetEvaluationJobCommand } from "../proto
7
7
  export { $Command };
8
8
  export class GetEvaluationJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetFoundationModelCommand, se_GetFoundationModelCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetFoundationModelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetGuardrailCommand, se_GetGuardrailCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class GetGuardrailCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetImportedModelCommand, se_GetImportedModelCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetImportedModelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetInferenceProfileCommand, se_GetInferenceProfileCommand } from "..
6
6
  export { $Command };
7
7
  export class GetInferenceProfileCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetModelCopyJobCommand, se_GetModelCopyJobCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class GetModelCopyJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetModelCustomizationJobCommand, se_GetModelCustomizationJobCommand
6
6
  export { $Command };
7
7
  export class GetModelCustomizationJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetModelImportJobCommand, se_GetModelImportJobCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetModelImportJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetModelInvocationJobCommand, se_GetModelInvocationJobCommand } from
7
7
  export { $Command };
8
8
  export class GetModelInvocationJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetModelInvocationLoggingConfigurationCommand, se_GetModelInvocation
6
6
  export { $Command };
7
7
  export class GetModelInvocationLoggingConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetProvisionedModelThroughputCommand, se_GetProvisionedModelThroughp
6
6
  export { $Command };
7
7
  export class GetProvisionedModelThroughputCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListCustomModelsCommand, se_ListCustomModelsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListCustomModelsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListEvaluationJobsCommand, se_ListEvaluationJobsCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListEvaluationJobsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListFoundationModelsCommand, se_ListFoundationModelsCommand } from "
6
6
  export { $Command };
7
7
  export class ListFoundationModelsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListGuardrailsCommand, se_ListGuardrailsCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class ListGuardrailsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListImportedModelsCommand, se_ListImportedModelsCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListImportedModelsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListInferenceProfilesCommand, se_ListInferenceProfilesCommand } from
6
6
  export { $Command };
7
7
  export class ListInferenceProfilesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListModelCopyJobsCommand, se_ListModelCopyJobsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class ListModelCopyJobsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListModelCustomizationJobsCommand, se_ListModelCustomizationJobsComm
6
6
  export { $Command };
7
7
  export class ListModelCustomizationJobsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListModelImportJobsCommand, se_ListModelImportJobsCommand } from "..
6
6
  export { $Command };
7
7
  export class ListModelImportJobsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListModelInvocationJobsCommand, se_ListModelInvocationJobsCommand }
7
7
  export { $Command };
8
8
  export class ListModelInvocationJobsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListProvisionedModelThroughputsCommand, se_ListProvisionedModelThrou
6
6
  export { $Command };
7
7
  export class ListProvisionedModelThroughputsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutModelInvocationLoggingConfigurationCommand, se_PutModelInvocation
6
6
  export { $Command };
7
7
  export class PutModelInvocationLoggingConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StopEvaluationJobCommand, se_StopEvaluationJobCommand } from "../pro
7
7
  export { $Command };
8
8
  export class StopEvaluationJobCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopModelCustomizationJobCommand, se_StopModelCustomizationJobComman
6
6
  export { $Command };
7
7
  export class StopModelCustomizationJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopModelInvocationJobCommand, se_StopModelInvocationJobCommand } fr
6
6
  export { $Command };
7
7
  export class StopModelInvocationJobCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateGuardrailCommand, se_UpdateGuardrailCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class UpdateGuardrailCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateProvisionedModelThroughputCommand, se_UpdateProvisionedModelTh
6
6
  export { $Command };
7
7
  export class UpdateProvisionedModelThroughputCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock",
3
3
  "description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.651.1",
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",
@@ -20,10 +20,10 @@
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.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
25
- "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.651.1",
24
+ "@aws-sdk/client-sts": "3.651.1",
25
+ "@aws-sdk/core": "3.651.1",
26
+ "@aws-sdk/credential-provider-node": "3.651.1",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }