@aws-sdk/client-cloudwatch 3.649.0 → 3.650.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist-cjs/index.js +38 -114
  2. package/dist-es/commands/DeleteAlarmsCommand.js +1 -3
  3. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +1 -3
  4. package/dist-es/commands/DeleteDashboardsCommand.js +1 -3
  5. package/dist-es/commands/DeleteInsightRulesCommand.js +1 -3
  6. package/dist-es/commands/DeleteMetricStreamCommand.js +1 -3
  7. package/dist-es/commands/DescribeAlarmHistoryCommand.js +1 -3
  8. package/dist-es/commands/DescribeAlarmsCommand.js +1 -3
  9. package/dist-es/commands/DescribeAlarmsForMetricCommand.js +1 -3
  10. package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +1 -3
  11. package/dist-es/commands/DescribeInsightRulesCommand.js +1 -3
  12. package/dist-es/commands/DisableAlarmActionsCommand.js +1 -3
  13. package/dist-es/commands/DisableInsightRulesCommand.js +1 -3
  14. package/dist-es/commands/EnableAlarmActionsCommand.js +1 -3
  15. package/dist-es/commands/EnableInsightRulesCommand.js +1 -3
  16. package/dist-es/commands/GetDashboardCommand.js +1 -3
  17. package/dist-es/commands/GetInsightRuleReportCommand.js +1 -3
  18. package/dist-es/commands/GetMetricDataCommand.js +1 -3
  19. package/dist-es/commands/GetMetricStatisticsCommand.js +1 -3
  20. package/dist-es/commands/GetMetricStreamCommand.js +1 -3
  21. package/dist-es/commands/GetMetricWidgetImageCommand.js +1 -3
  22. package/dist-es/commands/ListDashboardsCommand.js +1 -3
  23. package/dist-es/commands/ListManagedInsightRulesCommand.js +1 -3
  24. package/dist-es/commands/ListMetricStreamsCommand.js +1 -3
  25. package/dist-es/commands/ListMetricsCommand.js +1 -3
  26. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  27. package/dist-es/commands/PutAnomalyDetectorCommand.js +1 -3
  28. package/dist-es/commands/PutCompositeAlarmCommand.js +1 -3
  29. package/dist-es/commands/PutDashboardCommand.js +1 -3
  30. package/dist-es/commands/PutInsightRuleCommand.js +1 -3
  31. package/dist-es/commands/PutManagedInsightRulesCommand.js +1 -3
  32. package/dist-es/commands/PutMetricAlarmCommand.js +1 -3
  33. package/dist-es/commands/PutMetricDataCommand.js +1 -3
  34. package/dist-es/commands/PutMetricStreamCommand.js +1 -3
  35. package/dist-es/commands/SetAlarmStateCommand.js +1 -3
  36. package/dist-es/commands/StartMetricStreamsCommand.js +1 -3
  37. package/dist-es/commands/StopMetricStreamsCommand.js +1 -3
  38. package/dist-es/commands/TagResourceCommand.js +1 -3
  39. package/dist-es/commands/UntagResourceCommand.js +1 -3
  40. package/dist-es/endpoint/endpointResolver.js +7 -3
  41. package/package.json +4 -4
  42. package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js CHANGED
@@ -4718,9 +4718,7 @@ var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
4718
4718
  }, "loadQueryErrorCode");
4719
4719
 
4720
4720
  // src/commands/DeleteAlarmsCommand.ts
4721
- var _DeleteAlarmsCommand = class _DeleteAlarmsCommand extends import_smithy_client.Command.classBuilder().ep({
4722
- ...commonParams
4723
- }).m(function(Command, cs, config, o) {
4721
+ var _DeleteAlarmsCommand = class _DeleteAlarmsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4724
4722
  return [
4725
4723
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4726
4724
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4734,9 +4732,7 @@ var DeleteAlarmsCommand = _DeleteAlarmsCommand;
4734
4732
 
4735
4733
 
4736
4734
 
4737
- var _DeleteAnomalyDetectorCommand = class _DeleteAnomalyDetectorCommand extends import_smithy_client.Command.classBuilder().ep({
4738
- ...commonParams
4739
- }).m(function(Command, cs, config, o) {
4735
+ var _DeleteAnomalyDetectorCommand = class _DeleteAnomalyDetectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4740
4736
  return [
4741
4737
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4742
4738
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4750,9 +4746,7 @@ var DeleteAnomalyDetectorCommand = _DeleteAnomalyDetectorCommand;
4750
4746
 
4751
4747
 
4752
4748
 
4753
- var _DeleteDashboardsCommand = class _DeleteDashboardsCommand extends import_smithy_client.Command.classBuilder().ep({
4754
- ...commonParams
4755
- }).m(function(Command, cs, config, o) {
4749
+ var _DeleteDashboardsCommand = class _DeleteDashboardsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4756
4750
  return [
4757
4751
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4758
4752
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4766,9 +4760,7 @@ var DeleteDashboardsCommand = _DeleteDashboardsCommand;
4766
4760
 
4767
4761
 
4768
4762
 
4769
- var _DeleteInsightRulesCommand = class _DeleteInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep({
4770
- ...commonParams
4771
- }).m(function(Command, cs, config, o) {
4763
+ var _DeleteInsightRulesCommand = class _DeleteInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4772
4764
  return [
4773
4765
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4774
4766
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4782,9 +4774,7 @@ var DeleteInsightRulesCommand = _DeleteInsightRulesCommand;
4782
4774
 
4783
4775
 
4784
4776
 
4785
- var _DeleteMetricStreamCommand = class _DeleteMetricStreamCommand extends import_smithy_client.Command.classBuilder().ep({
4786
- ...commonParams
4787
- }).m(function(Command, cs, config, o) {
4777
+ var _DeleteMetricStreamCommand = class _DeleteMetricStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4788
4778
  return [
4789
4779
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4790
4780
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4798,9 +4788,7 @@ var DeleteMetricStreamCommand = _DeleteMetricStreamCommand;
4798
4788
 
4799
4789
 
4800
4790
 
4801
- var _DescribeAlarmHistoryCommand = class _DescribeAlarmHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
4802
- ...commonParams
4803
- }).m(function(Command, cs, config, o) {
4791
+ var _DescribeAlarmHistoryCommand = class _DescribeAlarmHistoryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4804
4792
  return [
4805
4793
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4806
4794
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4814,9 +4802,7 @@ var DescribeAlarmHistoryCommand = _DescribeAlarmHistoryCommand;
4814
4802
 
4815
4803
 
4816
4804
 
4817
- var _DescribeAlarmsCommand = class _DescribeAlarmsCommand extends import_smithy_client.Command.classBuilder().ep({
4818
- ...commonParams
4819
- }).m(function(Command, cs, config, o) {
4805
+ var _DescribeAlarmsCommand = class _DescribeAlarmsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4820
4806
  return [
4821
4807
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4822
4808
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4830,9 +4816,7 @@ var DescribeAlarmsCommand = _DescribeAlarmsCommand;
4830
4816
 
4831
4817
 
4832
4818
 
4833
- var _DescribeAlarmsForMetricCommand = class _DescribeAlarmsForMetricCommand extends import_smithy_client.Command.classBuilder().ep({
4834
- ...commonParams
4835
- }).m(function(Command, cs, config, o) {
4819
+ var _DescribeAlarmsForMetricCommand = class _DescribeAlarmsForMetricCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4836
4820
  return [
4837
4821
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4838
4822
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4846,9 +4830,7 @@ var DescribeAlarmsForMetricCommand = _DescribeAlarmsForMetricCommand;
4846
4830
 
4847
4831
 
4848
4832
 
4849
- var _DescribeAnomalyDetectorsCommand = class _DescribeAnomalyDetectorsCommand extends import_smithy_client.Command.classBuilder().ep({
4850
- ...commonParams
4851
- }).m(function(Command, cs, config, o) {
4833
+ var _DescribeAnomalyDetectorsCommand = class _DescribeAnomalyDetectorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4852
4834
  return [
4853
4835
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4854
4836
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4862,9 +4844,7 @@ var DescribeAnomalyDetectorsCommand = _DescribeAnomalyDetectorsCommand;
4862
4844
 
4863
4845
 
4864
4846
 
4865
- var _DescribeInsightRulesCommand = class _DescribeInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep({
4866
- ...commonParams
4867
- }).m(function(Command, cs, config, o) {
4847
+ var _DescribeInsightRulesCommand = class _DescribeInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4868
4848
  return [
4869
4849
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4870
4850
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4878,9 +4858,7 @@ var DescribeInsightRulesCommand = _DescribeInsightRulesCommand;
4878
4858
 
4879
4859
 
4880
4860
 
4881
- var _DisableAlarmActionsCommand = class _DisableAlarmActionsCommand extends import_smithy_client.Command.classBuilder().ep({
4882
- ...commonParams
4883
- }).m(function(Command, cs, config, o) {
4861
+ var _DisableAlarmActionsCommand = class _DisableAlarmActionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4884
4862
  return [
4885
4863
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4886
4864
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4894,9 +4872,7 @@ var DisableAlarmActionsCommand = _DisableAlarmActionsCommand;
4894
4872
 
4895
4873
 
4896
4874
 
4897
- var _DisableInsightRulesCommand = class _DisableInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep({
4898
- ...commonParams
4899
- }).m(function(Command, cs, config, o) {
4875
+ var _DisableInsightRulesCommand = class _DisableInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4900
4876
  return [
4901
4877
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4902
4878
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4910,9 +4886,7 @@ var DisableInsightRulesCommand = _DisableInsightRulesCommand;
4910
4886
 
4911
4887
 
4912
4888
 
4913
- var _EnableAlarmActionsCommand = class _EnableAlarmActionsCommand extends import_smithy_client.Command.classBuilder().ep({
4914
- ...commonParams
4915
- }).m(function(Command, cs, config, o) {
4889
+ var _EnableAlarmActionsCommand = class _EnableAlarmActionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4916
4890
  return [
4917
4891
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4918
4892
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4926,9 +4900,7 @@ var EnableAlarmActionsCommand = _EnableAlarmActionsCommand;
4926
4900
 
4927
4901
 
4928
4902
 
4929
- var _EnableInsightRulesCommand = class _EnableInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep({
4930
- ...commonParams
4931
- }).m(function(Command, cs, config, o) {
4903
+ var _EnableInsightRulesCommand = class _EnableInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4932
4904
  return [
4933
4905
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4934
4906
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4942,9 +4914,7 @@ var EnableInsightRulesCommand = _EnableInsightRulesCommand;
4942
4914
 
4943
4915
 
4944
4916
 
4945
- var _GetDashboardCommand = class _GetDashboardCommand extends import_smithy_client.Command.classBuilder().ep({
4946
- ...commonParams
4947
- }).m(function(Command, cs, config, o) {
4917
+ var _GetDashboardCommand = class _GetDashboardCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4948
4918
  return [
4949
4919
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4950
4920
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4958,9 +4928,7 @@ var GetDashboardCommand = _GetDashboardCommand;
4958
4928
 
4959
4929
 
4960
4930
 
4961
- var _GetInsightRuleReportCommand = class _GetInsightRuleReportCommand extends import_smithy_client.Command.classBuilder().ep({
4962
- ...commonParams
4963
- }).m(function(Command, cs, config, o) {
4931
+ var _GetInsightRuleReportCommand = class _GetInsightRuleReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4964
4932
  return [
4965
4933
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4966
4934
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4974,9 +4942,7 @@ var GetInsightRuleReportCommand = _GetInsightRuleReportCommand;
4974
4942
 
4975
4943
 
4976
4944
 
4977
- var _GetMetricDataCommand = class _GetMetricDataCommand extends import_smithy_client.Command.classBuilder().ep({
4978
- ...commonParams
4979
- }).m(function(Command, cs, config, o) {
4945
+ var _GetMetricDataCommand = class _GetMetricDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4980
4946
  return [
4981
4947
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4982
4948
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4990,9 +4956,7 @@ var GetMetricDataCommand = _GetMetricDataCommand;
4990
4956
 
4991
4957
 
4992
4958
 
4993
- var _GetMetricStatisticsCommand = class _GetMetricStatisticsCommand extends import_smithy_client.Command.classBuilder().ep({
4994
- ...commonParams
4995
- }).m(function(Command, cs, config, o) {
4959
+ var _GetMetricStatisticsCommand = class _GetMetricStatisticsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4996
4960
  return [
4997
4961
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4998
4962
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5006,9 +4970,7 @@ var GetMetricStatisticsCommand = _GetMetricStatisticsCommand;
5006
4970
 
5007
4971
 
5008
4972
 
5009
- var _GetMetricStreamCommand = class _GetMetricStreamCommand extends import_smithy_client.Command.classBuilder().ep({
5010
- ...commonParams
5011
- }).m(function(Command, cs, config, o) {
4973
+ var _GetMetricStreamCommand = class _GetMetricStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5012
4974
  return [
5013
4975
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5014
4976
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5022,9 +4984,7 @@ var GetMetricStreamCommand = _GetMetricStreamCommand;
5022
4984
 
5023
4985
 
5024
4986
 
5025
- var _GetMetricWidgetImageCommand = class _GetMetricWidgetImageCommand extends import_smithy_client.Command.classBuilder().ep({
5026
- ...commonParams
5027
- }).m(function(Command, cs, config, o) {
4987
+ var _GetMetricWidgetImageCommand = class _GetMetricWidgetImageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5028
4988
  return [
5029
4989
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5030
4990
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5038,9 +4998,7 @@ var GetMetricWidgetImageCommand = _GetMetricWidgetImageCommand;
5038
4998
 
5039
4999
 
5040
5000
 
5041
- var _ListDashboardsCommand = class _ListDashboardsCommand extends import_smithy_client.Command.classBuilder().ep({
5042
- ...commonParams
5043
- }).m(function(Command, cs, config, o) {
5001
+ var _ListDashboardsCommand = class _ListDashboardsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5044
5002
  return [
5045
5003
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5046
5004
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5054,9 +5012,7 @@ var ListDashboardsCommand = _ListDashboardsCommand;
5054
5012
 
5055
5013
 
5056
5014
 
5057
- var _ListManagedInsightRulesCommand = class _ListManagedInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep({
5058
- ...commonParams
5059
- }).m(function(Command, cs, config, o) {
5015
+ var _ListManagedInsightRulesCommand = class _ListManagedInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5060
5016
  return [
5061
5017
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5062
5018
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5070,9 +5026,7 @@ var ListManagedInsightRulesCommand = _ListManagedInsightRulesCommand;
5070
5026
 
5071
5027
 
5072
5028
 
5073
- var _ListMetricsCommand = class _ListMetricsCommand extends import_smithy_client.Command.classBuilder().ep({
5074
- ...commonParams
5075
- }).m(function(Command, cs, config, o) {
5029
+ var _ListMetricsCommand = class _ListMetricsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5076
5030
  return [
5077
5031
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5078
5032
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5086,9 +5040,7 @@ var ListMetricsCommand = _ListMetricsCommand;
5086
5040
 
5087
5041
 
5088
5042
 
5089
- var _ListMetricStreamsCommand = class _ListMetricStreamsCommand extends import_smithy_client.Command.classBuilder().ep({
5090
- ...commonParams
5091
- }).m(function(Command, cs, config, o) {
5043
+ var _ListMetricStreamsCommand = class _ListMetricStreamsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5092
5044
  return [
5093
5045
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5094
5046
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5102,9 +5054,7 @@ var ListMetricStreamsCommand = _ListMetricStreamsCommand;
5102
5054
 
5103
5055
 
5104
5056
 
5105
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
5106
- ...commonParams
5107
- }).m(function(Command, cs, config, o) {
5057
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5108
5058
  return [
5109
5059
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5110
5060
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5118,9 +5068,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
5118
5068
 
5119
5069
 
5120
5070
 
5121
- var _PutAnomalyDetectorCommand = class _PutAnomalyDetectorCommand extends import_smithy_client.Command.classBuilder().ep({
5122
- ...commonParams
5123
- }).m(function(Command, cs, config, o) {
5071
+ var _PutAnomalyDetectorCommand = class _PutAnomalyDetectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5124
5072
  return [
5125
5073
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5126
5074
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5134,9 +5082,7 @@ var PutAnomalyDetectorCommand = _PutAnomalyDetectorCommand;
5134
5082
 
5135
5083
 
5136
5084
 
5137
- var _PutCompositeAlarmCommand = class _PutCompositeAlarmCommand extends import_smithy_client.Command.classBuilder().ep({
5138
- ...commonParams
5139
- }).m(function(Command, cs, config, o) {
5085
+ var _PutCompositeAlarmCommand = class _PutCompositeAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5140
5086
  return [
5141
5087
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5142
5088
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5150,9 +5096,7 @@ var PutCompositeAlarmCommand = _PutCompositeAlarmCommand;
5150
5096
 
5151
5097
 
5152
5098
 
5153
- var _PutDashboardCommand = class _PutDashboardCommand extends import_smithy_client.Command.classBuilder().ep({
5154
- ...commonParams
5155
- }).m(function(Command, cs, config, o) {
5099
+ var _PutDashboardCommand = class _PutDashboardCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5156
5100
  return [
5157
5101
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5158
5102
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5166,9 +5110,7 @@ var PutDashboardCommand = _PutDashboardCommand;
5166
5110
 
5167
5111
 
5168
5112
 
5169
- var _PutInsightRuleCommand = class _PutInsightRuleCommand extends import_smithy_client.Command.classBuilder().ep({
5170
- ...commonParams
5171
- }).m(function(Command, cs, config, o) {
5113
+ var _PutInsightRuleCommand = class _PutInsightRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5172
5114
  return [
5173
5115
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5174
5116
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5182,9 +5124,7 @@ var PutInsightRuleCommand = _PutInsightRuleCommand;
5182
5124
 
5183
5125
 
5184
5126
 
5185
- var _PutManagedInsightRulesCommand = class _PutManagedInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep({
5186
- ...commonParams
5187
- }).m(function(Command, cs, config, o) {
5127
+ var _PutManagedInsightRulesCommand = class _PutManagedInsightRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5188
5128
  return [
5189
5129
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5190
5130
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5198,9 +5138,7 @@ var PutManagedInsightRulesCommand = _PutManagedInsightRulesCommand;
5198
5138
 
5199
5139
 
5200
5140
 
5201
- var _PutMetricAlarmCommand = class _PutMetricAlarmCommand extends import_smithy_client.Command.classBuilder().ep({
5202
- ...commonParams
5203
- }).m(function(Command, cs, config, o) {
5141
+ var _PutMetricAlarmCommand = class _PutMetricAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5204
5142
  return [
5205
5143
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5206
5144
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5215,9 +5153,7 @@ var PutMetricAlarmCommand = _PutMetricAlarmCommand;
5215
5153
 
5216
5154
 
5217
5155
 
5218
- var _PutMetricDataCommand = class _PutMetricDataCommand extends import_smithy_client.Command.classBuilder().ep({
5219
- ...commonParams
5220
- }).m(function(Command, cs, config, o) {
5156
+ var _PutMetricDataCommand = class _PutMetricDataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5221
5157
  return [
5222
5158
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5223
5159
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -5234,9 +5170,7 @@ var PutMetricDataCommand = _PutMetricDataCommand;
5234
5170
 
5235
5171
 
5236
5172
 
5237
- var _PutMetricStreamCommand = class _PutMetricStreamCommand extends import_smithy_client.Command.classBuilder().ep({
5238
- ...commonParams
5239
- }).m(function(Command, cs, config, o) {
5173
+ var _PutMetricStreamCommand = class _PutMetricStreamCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5240
5174
  return [
5241
5175
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5242
5176
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5250,9 +5184,7 @@ var PutMetricStreamCommand = _PutMetricStreamCommand;
5250
5184
 
5251
5185
 
5252
5186
 
5253
- var _SetAlarmStateCommand = class _SetAlarmStateCommand extends import_smithy_client.Command.classBuilder().ep({
5254
- ...commonParams
5255
- }).m(function(Command, cs, config, o) {
5187
+ var _SetAlarmStateCommand = class _SetAlarmStateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5256
5188
  return [
5257
5189
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5258
5190
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5266,9 +5198,7 @@ var SetAlarmStateCommand = _SetAlarmStateCommand;
5266
5198
 
5267
5199
 
5268
5200
 
5269
- var _StartMetricStreamsCommand = class _StartMetricStreamsCommand extends import_smithy_client.Command.classBuilder().ep({
5270
- ...commonParams
5271
- }).m(function(Command, cs, config, o) {
5201
+ var _StartMetricStreamsCommand = class _StartMetricStreamsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5272
5202
  return [
5273
5203
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5274
5204
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5282,9 +5212,7 @@ var StartMetricStreamsCommand = _StartMetricStreamsCommand;
5282
5212
 
5283
5213
 
5284
5214
 
5285
- var _StopMetricStreamsCommand = class _StopMetricStreamsCommand extends import_smithy_client.Command.classBuilder().ep({
5286
- ...commonParams
5287
- }).m(function(Command, cs, config, o) {
5215
+ var _StopMetricStreamsCommand = class _StopMetricStreamsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5288
5216
  return [
5289
5217
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5290
5218
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5298,9 +5226,7 @@ var StopMetricStreamsCommand = _StopMetricStreamsCommand;
5298
5226
 
5299
5227
 
5300
5228
 
5301
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
5302
- ...commonParams
5303
- }).m(function(Command, cs, config, o) {
5229
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5304
5230
  return [
5305
5231
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5306
5232
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -5314,9 +5240,7 @@ var TagResourceCommand = _TagResourceCommand;
5314
5240
 
5315
5241
 
5316
5242
 
5317
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
5318
- ...commonParams
5319
- }).m(function(Command, cs, config, o) {
5243
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5320
5244
  return [
5321
5245
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5322
5246
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_DeleteAlarmsCommand, se_DeleteAlarmsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DeleteAlarmsCommand 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_DeleteAnomalyDetectorCommand, se_DeleteAnomalyDetectorCommand } from
6
6
  export { $Command };
7
7
  export class DeleteAnomalyDetectorCommand 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_DeleteDashboardsCommand, se_DeleteDashboardsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteDashboardsCommand 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_DeleteInsightRulesCommand, se_DeleteInsightRulesCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeleteInsightRulesCommand 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_DeleteMetricStreamCommand, se_DeleteMetricStreamCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeleteMetricStreamCommand 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_DescribeAlarmHistoryCommand, se_DescribeAlarmHistoryCommand } from "
6
6
  export { $Command };
7
7
  export class DescribeAlarmHistoryCommand 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_DescribeAlarmsCommand, se_DescribeAlarmsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeAlarmsCommand 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_DescribeAlarmsForMetricCommand, se_DescribeAlarmsForMetricCommand }
6
6
  export { $Command };
7
7
  export class DescribeAlarmsForMetricCommand 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_DescribeAnomalyDetectorsCommand, se_DescribeAnomalyDetectorsCommand
6
6
  export { $Command };
7
7
  export class DescribeAnomalyDetectorsCommand 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_DescribeInsightRulesCommand, se_DescribeInsightRulesCommand } from "
6
6
  export { $Command };
7
7
  export class DescribeInsightRulesCommand 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_DisableAlarmActionsCommand, se_DisableAlarmActionsCommand } from "..
6
6
  export { $Command };
7
7
  export class DisableAlarmActionsCommand 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_DisableInsightRulesCommand, se_DisableInsightRulesCommand } from "..
6
6
  export { $Command };
7
7
  export class DisableInsightRulesCommand 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_EnableAlarmActionsCommand, se_EnableAlarmActionsCommand } from "../p
6
6
  export { $Command };
7
7
  export class EnableAlarmActionsCommand 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_EnableInsightRulesCommand, se_EnableInsightRulesCommand } from "../p
6
6
  export { $Command };
7
7
  export class EnableInsightRulesCommand 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_GetDashboardCommand, se_GetDashboardCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class GetDashboardCommand 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_GetInsightRuleReportCommand, se_GetInsightRuleReportCommand } from "
6
6
  export { $Command };
7
7
  export class GetInsightRuleReportCommand 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_GetMetricDataCommand, se_GetMetricDataCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class GetMetricDataCommand 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_GetMetricStatisticsCommand, se_GetMetricStatisticsCommand } from "..
6
6
  export { $Command };
7
7
  export class GetMetricStatisticsCommand 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_GetMetricStreamCommand, se_GetMetricStreamCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class GetMetricStreamCommand 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_GetMetricWidgetImageCommand, se_GetMetricWidgetImageCommand } from "
6
6
  export { $Command };
7
7
  export class GetMetricWidgetImageCommand 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_ListDashboardsCommand, se_ListDashboardsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListDashboardsCommand 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_ListManagedInsightRulesCommand, se_ListManagedInsightRulesCommand }
6
6
  export { $Command };
7
7
  export class ListManagedInsightRulesCommand 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_ListMetricStreamsCommand, se_ListMetricStreamsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class ListMetricStreamsCommand 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_ListMetricsCommand, se_ListMetricsCommand } from "../protocols/Aws_q
6
6
  export { $Command };
7
7
  export class ListMetricsCommand 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_PutAnomalyDetectorCommand, se_PutAnomalyDetectorCommand } from "../p
6
6
  export { $Command };
7
7
  export class PutAnomalyDetectorCommand 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_PutCompositeAlarmCommand, se_PutCompositeAlarmCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutCompositeAlarmCommand 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_PutDashboardCommand, se_PutDashboardCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class PutDashboardCommand 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_PutInsightRuleCommand, se_PutInsightRuleCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class PutInsightRuleCommand 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_PutManagedInsightRulesCommand, se_PutManagedInsightRulesCommand } fr
6
6
  export { $Command };
7
7
  export class PutManagedInsightRulesCommand 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_PutMetricAlarmCommand, se_PutMetricAlarmCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class PutMetricAlarmCommand 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_PutMetricDataCommand, se_PutMetricDataCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class PutMetricDataCommand 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_PutMetricStreamCommand, se_PutMetricStreamCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class PutMetricStreamCommand 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_SetAlarmStateCommand, se_SetAlarmStateCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class SetAlarmStateCommand 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_StartMetricStreamsCommand, se_StartMetricStreamsCommand } from "../p
6
6
  export { $Command };
7
7
  export class StartMetricStreamsCommand 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_StopMetricStreamsCommand, se_StopMetricStreamsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class StopMetricStreamsCommand 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_q
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),
@@ -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-cloudwatch",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.650.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-cloudwatch",
@@ -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",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
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
- }