@aws-sdk/client-cloudwatch 3.1075.0 → 3.1077.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +58 -13
  2. package/dist-cjs/index.js +2210 -24
  3. package/dist-es/CloudWatch.js +4 -0
  4. package/dist-es/commands/PutLogAlarmCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +1 -0
  7. package/dist-es/models/errors.js +12 -0
  8. package/dist-es/runtimeConfig.browser.js +0 -2
  9. package/dist-es/runtimeConfig.js +1 -2
  10. package/dist-es/runtimeConfig.native.js +0 -2
  11. package/dist-es/runtimeConfig.shared.js +2 -0
  12. package/dist-es/schemas/schemas_0.js +77 -7
  13. package/dist-es/waiters/index.js +1 -0
  14. package/dist-es/waiters/waitForLogAlarmExists.js +32 -0
  15. package/dist-types/CloudWatch.d.ts +64 -13
  16. package/dist-types/CloudWatchClient.d.ts +54 -15
  17. package/dist-types/commands/DeleteAlarmMuteRuleCommand.d.ts +7 -3
  18. package/dist-types/commands/DeleteAlarmsCommand.d.ts +8 -5
  19. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeAlarmContributorsCommand.d.ts +3 -1
  21. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeAlarmsCommand.d.ts +54 -3
  23. package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +6 -0
  24. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -1
  26. package/dist-types/commands/GetAlarmMuteRuleCommand.d.ts +11 -5
  27. package/dist-types/commands/GetMetricDataCommand.d.ts +3 -3
  28. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +2 -2
  29. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +1 -1
  30. package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +2 -3
  31. package/dist-types/commands/ListAlarmMuteRulesCommand.d.ts +7 -3
  32. package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
  33. package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +24 -6
  34. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +1 -1
  35. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +6 -6
  36. package/dist-types/commands/PutLogAlarmCommand.d.ts +131 -0
  37. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +4 -4
  38. package/dist-types/commands/PutMetricAlarmCommand.d.ts +16 -10
  39. package/dist-types/commands/PutMetricDataCommand.d.ts +2 -2
  40. package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -6
  41. package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +7 -8
  42. package/dist-types/commands/StopOTelEnrichmentCommand.d.ts +3 -4
  43. package/dist-types/commands/index.d.ts +1 -0
  44. package/dist-types/index.d.ts +51 -13
  45. package/dist-types/models/enums.d.ts +1 -0
  46. package/dist-types/models/errors.d.ts +12 -0
  47. package/dist-types/models/models_0.d.ts +849 -294
  48. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  49. package/dist-types/runtimeConfig.d.ts +2 -2
  50. package/dist-types/runtimeConfig.native.d.ts +2 -2
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/schemas/schemas_0.d.ts +9 -0
  53. package/dist-types/ts3.4/CloudWatch.d.ts +26 -0
  54. package/dist-types/ts3.4/CloudWatchClient.d.ts +6 -0
  55. package/dist-types/ts3.4/commands/PutLogAlarmCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  57. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  58. package/dist-types/ts3.4/models/errors.d.ts +5 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +92 -4
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  65. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  66. package/dist-types/ts3.4/waiters/waitForLogAlarmExists.d.ts +17 -0
  67. package/dist-types/waiters/index.d.ts +1 -0
  68. package/dist-types/waiters/waitForLogAlarmExists.d.ts +15 -0
  69. package/package.json +10 -12
  70. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  71. package/dist-cjs/endpoint/bdd.js +0 -49
  72. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  73. package/dist-cjs/models/CloudWatchServiceException.js +0 -8
  74. package/dist-cjs/models/errors.js +0 -227
  75. package/dist-cjs/runtimeConfig.browser.js +0 -35
  76. package/dist-cjs/runtimeConfig.js +0 -48
  77. package/dist-cjs/runtimeConfig.native.js +0 -12
  78. package/dist-cjs/runtimeConfig.shared.js +0 -40
  79. package/dist-cjs/schemas/schemas_0.js +0 -1600
package/README.md CHANGED
@@ -6,19 +6,57 @@
6
6
 
7
7
  AWS SDK for JavaScript CloudWatch Client for Node.js, Browser and React Native.
8
8
 
9
- <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)
10
- resources and the applications you run on Amazon Web Services in real time. You can use
11
- CloudWatch to collect and track metrics, which are the variables you want to
12
- measure for your resources and applications.</p>
13
- <p>CloudWatch alarms send notifications or automatically change the resources you are
14
- monitoring based on rules that you define. For example, you can monitor the CPU usage
15
- and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine
16
- whether you should launch additional instances to handle increased load. You can also
17
- use this data to stop under-used instances to save money.</p>
18
- <p>In addition to monitoring the built-in metrics that come with Amazon Web Services,
19
- you can monitor your own custom metrics. With CloudWatch, you gain system-wide
20
- visibility into resource utilization, application performance, and operational
21
- health.</p>
9
+ <p>Amazon CloudWatch enables you to publish, monitor, and manage various metrics, as well
10
+ as configure alarm actions based on data from metrics. This guide provides detailed
11
+ information about CloudWatch actions, data types, parameters, and errors. For
12
+ more information about CloudWatch features, see <a href="https://aws.amazon.com/cloudwatch">Amazon CloudWatch</a> and the
13
+ <i>Amazon CloudWatch User Guide</i>.</p>
14
+ <p>For information about the metrics that other Amazon Web Services products send to
15
+ CloudWatch, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon CloudWatch
16
+ Metrics and Dimensions Reference</a> in the <i>Amazon CloudWatch User
17
+ Guide</i>.</p>
18
+ <p>Use the following links to get started using the CloudWatch Query API:</p>
19
+ <p>: An alphabetical list of all CloudWatch
20
+ actions.</p>
21
+ <p>: An alphabetical list of all CloudWatch data
22
+ types.</p>
23
+ <p>
24
+ <a>CommonParameters</a>: Parameters that all Query actions can use.</p>
25
+ <p>
26
+ <a>CommonErrors</a>: Client and server errors that all actions can
27
+ return.</p>
28
+ <p>
29
+ <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region">Regions and Endpoints</a>: Supported regions and endpoints for all Amazon Web
30
+ Services products.</p>
31
+ <p>Alternatively, you can use one of the <a href="https://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access CloudWatch using an API tailored
32
+ to your programming language or platform.</p>
33
+ <p>Developers in the Amazon Web Services developer community also provide their own
34
+ libraries, which you can find at the following Amazon Web Services developer
35
+ centers:</p>
36
+ <p>
37
+ <a href="http://aws.amazon.com/java/">Java Developer Center</a>
38
+ </p>
39
+ <p>
40
+ <a href="http://aws.amazon.com/javascript/">JavaScript Developer
41
+ Center</a>
42
+ </p>
43
+ <p>
44
+ <a href="http://aws.amazon.com/mobile/">Amazon Web Services Mobile
45
+ Services</a>
46
+ </p>
47
+ <p>
48
+ <a href="http://aws.amazon.com/php/">PHP Developer Center</a>
49
+ </p>
50
+ <p>
51
+ <a href="http://aws.amazon.com/python/">Python Developer Center</a>
52
+ </p>
53
+ <p>
54
+ <a href="http://aws.amazon.com/ruby/">Ruby Developer Center</a>
55
+ </p>
56
+ <p>
57
+ <a href="http://aws.amazon.com/net/">Windows and .NET Developer
58
+ Center</a>
59
+ </p>
22
60
 
23
61
  ## Installing
24
62
 
@@ -520,6 +558,13 @@ PutInsightRule
520
558
  </details>
521
559
  <details>
522
560
  <summary>
561
+ PutLogAlarm
562
+ </summary>
563
+
564
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/PutLogAlarmCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/PutLogAlarmCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/PutLogAlarmCommandOutput/)
565
+ </details>
566
+ <details>
567
+ <summary>
523
568
  PutManagedInsightRules
524
569
  </summary>
525
570