@aws-sdk/client-cloudwatch 3.1074.0 → 3.1076.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 (72) hide show
  1. package/README.md +58 -13
  2. package/dist-cjs/index.js +2188 -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/schemas/schemas_0.js +55 -3
  9. package/dist-es/waiters/index.js +1 -0
  10. package/dist-es/waiters/waitForLogAlarmExists.js +32 -0
  11. package/dist-types/CloudWatch.d.ts +64 -13
  12. package/dist-types/CloudWatchClient.d.ts +54 -15
  13. package/dist-types/commands/DeleteAlarmMuteRuleCommand.d.ts +7 -3
  14. package/dist-types/commands/DeleteAlarmsCommand.d.ts +8 -5
  15. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeAlarmContributorsCommand.d.ts +3 -1
  17. package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +3 -3
  18. package/dist-types/commands/DescribeAlarmsCommand.d.ts +48 -3
  19. package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -1
  21. package/dist-types/commands/GetAlarmMuteRuleCommand.d.ts +11 -5
  22. package/dist-types/commands/GetMetricDataCommand.d.ts +3 -3
  23. package/dist-types/commands/GetMetricStatisticsCommand.d.ts +2 -2
  24. package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +1 -1
  25. package/dist-types/commands/GetOTelEnrichmentCommand.d.ts +2 -3
  26. package/dist-types/commands/ListAlarmMuteRulesCommand.d.ts +7 -3
  27. package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
  28. package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +24 -6
  29. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +1 -1
  30. package/dist-types/commands/PutCompositeAlarmCommand.d.ts +6 -6
  31. package/dist-types/commands/PutLogAlarmCommand.d.ts +131 -0
  32. package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +4 -4
  33. package/dist-types/commands/PutMetricAlarmCommand.d.ts +10 -10
  34. package/dist-types/commands/PutMetricDataCommand.d.ts +2 -2
  35. package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -6
  36. package/dist-types/commands/StartOTelEnrichmentCommand.d.ts +7 -8
  37. package/dist-types/commands/StopOTelEnrichmentCommand.d.ts +3 -4
  38. package/dist-types/commands/index.d.ts +1 -0
  39. package/dist-types/index.d.ts +51 -13
  40. package/dist-types/models/enums.d.ts +1 -0
  41. package/dist-types/models/errors.d.ts +12 -0
  42. package/dist-types/models/models_0.d.ts +733 -294
  43. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  44. package/dist-types/runtimeConfig.d.ts +1 -1
  45. package/dist-types/runtimeConfig.native.d.ts +1 -1
  46. package/dist-types/schemas/schemas_0.d.ts +6 -0
  47. package/dist-types/ts3.4/CloudWatch.d.ts +26 -0
  48. package/dist-types/ts3.4/CloudWatchClient.d.ts +6 -0
  49. package/dist-types/ts3.4/commands/PutLogAlarmCommand.d.ts +47 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  51. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  52. package/dist-types/ts3.4/models/errors.d.ts +5 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +60 -4
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  58. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  59. package/dist-types/ts3.4/waiters/waitForLogAlarmExists.d.ts +17 -0
  60. package/dist-types/waiters/index.d.ts +1 -0
  61. package/dist-types/waiters/waitForLogAlarmExists.d.ts +15 -0
  62. package/package.json +10 -10
  63. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  64. package/dist-cjs/endpoint/bdd.js +0 -49
  65. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  66. package/dist-cjs/models/CloudWatchServiceException.js +0 -8
  67. package/dist-cjs/models/errors.js +0 -227
  68. package/dist-cjs/runtimeConfig.browser.js +0 -35
  69. package/dist-cjs/runtimeConfig.js +0 -48
  70. package/dist-cjs/runtimeConfig.native.js +0 -12
  71. package/dist-cjs/runtimeConfig.shared.js +0 -40
  72. package/dist-cjs/schemas/schemas_0.js +0 -1600
@@ -1,17 +1,55 @@
1
1
  /**
2
- * <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services)
3
- * resources and the applications you run on Amazon Web Services in real time. You can use
4
- * CloudWatch to collect and track metrics, which are the variables you want to
5
- * measure for your resources and applications.</p>
6
- * <p>CloudWatch alarms send notifications or automatically change the resources you are
7
- * monitoring based on rules that you define. For example, you can monitor the CPU usage
8
- * and disk reads and writes of your Amazon EC2 instances. Then, use this data to determine
9
- * whether you should launch additional instances to handle increased load. You can also
10
- * use this data to stop under-used instances to save money.</p>
11
- * <p>In addition to monitoring the built-in metrics that come with Amazon Web Services,
12
- * you can monitor your own custom metrics. With CloudWatch, you gain system-wide
13
- * visibility into resource utilization, application performance, and operational
14
- * health.</p>
2
+ * <p>Amazon CloudWatch enables you to publish, monitor, and manage various metrics, as well
3
+ * as configure alarm actions based on data from metrics. This guide provides detailed
4
+ * information about CloudWatch actions, data types, parameters, and errors. For
5
+ * more information about CloudWatch features, see <a href="https://aws.amazon.com/cloudwatch">Amazon CloudWatch</a> and the
6
+ * <i>Amazon CloudWatch User Guide</i>.</p>
7
+ * <p>For information about the metrics that other Amazon Web Services products send to
8
+ * CloudWatch, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon CloudWatch
9
+ * Metrics and Dimensions Reference</a> in the <i>Amazon CloudWatch User
10
+ * Guide</i>.</p>
11
+ * <p>Use the following links to get started using the CloudWatch Query API:</p>
12
+ * <p>: An alphabetical list of all CloudWatch
13
+ * actions.</p>
14
+ * <p>: An alphabetical list of all CloudWatch data
15
+ * types.</p>
16
+ * <p>
17
+ * <a>CommonParameters</a>: Parameters that all Query actions can use.</p>
18
+ * <p>
19
+ * <a>CommonErrors</a>: Client and server errors that all actions can
20
+ * return.</p>
21
+ * <p>
22
+ * <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
23
+ * Services products.</p>
24
+ * <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
25
+ * to your programming language or platform.</p>
26
+ * <p>Developers in the Amazon Web Services developer community also provide their own
27
+ * libraries, which you can find at the following Amazon Web Services developer
28
+ * centers:</p>
29
+ * <p>
30
+ * <a href="http://aws.amazon.com/java/">Java Developer Center</a>
31
+ * </p>
32
+ * <p>
33
+ * <a href="http://aws.amazon.com/javascript/">JavaScript Developer
34
+ * Center</a>
35
+ * </p>
36
+ * <p>
37
+ * <a href="http://aws.amazon.com/mobile/">Amazon Web Services Mobile
38
+ * Services</a>
39
+ * </p>
40
+ * <p>
41
+ * <a href="http://aws.amazon.com/php/">PHP Developer Center</a>
42
+ * </p>
43
+ * <p>
44
+ * <a href="http://aws.amazon.com/python/">Python Developer Center</a>
45
+ * </p>
46
+ * <p>
47
+ * <a href="http://aws.amazon.com/ruby/">Ruby Developer Center</a>
48
+ * </p>
49
+ * <p>
50
+ * <a href="http://aws.amazon.com/net/">Windows and .NET Developer
51
+ * Center</a>
52
+ * </p>
15
53
  *
16
54
  * @packageDocumentation
17
55
  */
@@ -17,6 +17,7 @@ export type ActionsSuppressedBy = (typeof ActionsSuppressedBy)[keyof typeof Acti
17
17
  */
18
18
  export declare const AlarmType: {
19
19
  readonly CompositeAlarm: "CompositeAlarm";
20
+ readonly LogAlarm: "LogAlarm";
20
21
  readonly MetricAlarm: "MetricAlarm";
21
22
  };
22
23
  /**
@@ -118,6 +118,18 @@ export declare class DashboardNotFoundError extends __BaseException {
118
118
  */
119
119
  constructor(opts: __ExceptionOptionType<DashboardNotFoundError, __BaseException>);
120
120
  }
121
+ /**
122
+ * <p>The operation could not be completed because the request conflicts with the current state of the alarm or its underlying scheduled query resource.</p>
123
+ * @public
124
+ */
125
+ export declare class ResourceConflict extends __BaseException {
126
+ readonly name: "ResourceConflict";
127
+ readonly $fault: "client";
128
+ /**
129
+ * @internal
130
+ */
131
+ constructor(opts: __ExceptionOptionType<ResourceConflict, __BaseException>);
132
+ }
121
133
  /**
122
134
  * <p>The named resource does not exist.</p>
123
135
  * @public