@aws-sdk/client-cloudwatch 3.36.0 → 3.39.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 (118) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/CloudWatch.js +0 -17
  3. package/dist-cjs/CloudWatchClient.js +0 -22
  4. package/dist-cjs/commands/DeleteAlarmsCommand.js +0 -39
  5. package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +0 -24
  6. package/dist-cjs/commands/DeleteDashboardsCommand.js +0 -26
  7. package/dist-cjs/commands/DeleteInsightRulesCommand.js +0 -27
  8. package/dist-cjs/commands/DeleteMetricStreamCommand.js +0 -24
  9. package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +0 -26
  10. package/dist-cjs/commands/DescribeAlarmsCommand.js +0 -25
  11. package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +0 -28
  12. package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +0 -26
  13. package/dist-cjs/commands/DescribeInsightRulesCommand.js +0 -27
  14. package/dist-cjs/commands/DisableAlarmActionsCommand.js +0 -25
  15. package/dist-cjs/commands/DisableInsightRulesCommand.js +0 -25
  16. package/dist-cjs/commands/EnableAlarmActionsCommand.js +0 -24
  17. package/dist-cjs/commands/EnableInsightRulesCommand.js +0 -24
  18. package/dist-cjs/commands/GetDashboardCommand.js +0 -27
  19. package/dist-cjs/commands/GetInsightRuleReportCommand.js +0 -60
  20. package/dist-cjs/commands/GetMetricDataCommand.js +0 -59
  21. package/dist-cjs/commands/GetMetricStatisticsCommand.js +0 -75
  22. package/dist-cjs/commands/GetMetricStreamCommand.js +0 -24
  23. package/dist-cjs/commands/GetMetricWidgetImageCommand.js +0 -41
  24. package/dist-cjs/commands/ListDashboardsCommand.js +0 -32
  25. package/dist-cjs/commands/ListMetricStreamsCommand.js +0 -24
  26. package/dist-cjs/commands/ListMetricsCommand.js +0 -37
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  28. package/dist-cjs/commands/PutAnomalyDetectorCommand.js +0 -26
  29. package/dist-cjs/commands/PutCompositeAlarmCommand.js +0 -59
  30. package/dist-cjs/commands/PutDashboardCommand.js +0 -37
  31. package/dist-cjs/commands/PutInsightRuleCommand.js +0 -28
  32. package/dist-cjs/commands/PutMetricAlarmCommand.js +0 -87
  33. package/dist-cjs/commands/PutMetricDataCommand.js +0 -68
  34. package/dist-cjs/commands/PutMetricStreamCommand.js +0 -51
  35. package/dist-cjs/commands/SetAlarmStateCommand.js +0 -39
  36. package/dist-cjs/commands/StartMetricStreamsCommand.js +0 -24
  37. package/dist-cjs/commands/StopMetricStreamsCommand.js +0 -24
  38. package/dist-cjs/commands/TagResourceCommand.js +0 -34
  39. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  40. package/dist-cjs/commands/index.js +39 -0
  41. package/dist-cjs/endpoints.js +6 -1
  42. package/dist-cjs/index.js +5 -48
  43. package/dist-cjs/models/models_0.js +0 -315
  44. package/dist-cjs/pagination/DescribeAlarmHistoryPaginator.js +0 -10
  45. package/dist-cjs/pagination/DescribeAlarmsPaginator.js +0 -10
  46. package/dist-cjs/pagination/DescribeInsightRulesPaginator.js +0 -10
  47. package/dist-cjs/pagination/GetMetricDataPaginator.js +0 -10
  48. package/dist-cjs/pagination/ListDashboardsPaginator.js +0 -10
  49. package/dist-cjs/pagination/ListMetricStreamsPaginator.js +0 -10
  50. package/dist-cjs/pagination/ListMetricsPaginator.js +0 -10
  51. package/dist-cjs/pagination/index.js +11 -0
  52. package/dist-cjs/protocols/Aws_query.js +0 -2
  53. package/dist-cjs/runtimeConfig.browser.js +1 -5
  54. package/dist-cjs/runtimeConfig.js +1 -5
  55. package/dist-cjs/runtimeConfig.native.js +0 -3
  56. package/dist-cjs/runtimeConfig.shared.js +0 -3
  57. package/dist-cjs/waiters/index.js +5 -0
  58. package/dist-cjs/waiters/waitForAlarmExists.js +0 -9
  59. package/dist-cjs/waiters/waitForCompositeAlarmExists.js +0 -9
  60. package/dist-es/commands/index.js +36 -0
  61. package/dist-es/endpoints.js +6 -1
  62. package/dist-es/index.js +5 -48
  63. package/dist-es/pagination/index.js +8 -0
  64. package/dist-es/waiters/index.js +2 -0
  65. package/dist-types/commands/index.d.ts +36 -0
  66. package/dist-types/index.d.ts +5 -48
  67. package/dist-types/pagination/index.d.ts +8 -0
  68. package/dist-types/ts3.4/CloudWatch.d.ts +37 -536
  69. package/dist-types/ts3.4/CloudWatchClient.d.ts +24 -103
  70. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +2 -35
  71. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +2 -22
  73. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +2 -23
  74. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +2 -20
  75. package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +2 -22
  76. package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +2 -21
  77. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +2 -24
  78. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +2 -22
  79. package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +2 -23
  80. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +2 -21
  82. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +2 -23
  85. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +2 -56
  86. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +2 -55
  87. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +2 -71
  88. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +2 -37
  90. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +2 -28
  91. package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +2 -33
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  94. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +2 -22
  95. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +2 -55
  96. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +2 -33
  97. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +2 -24
  98. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +2 -83
  99. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +2 -64
  100. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +2 -47
  101. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +2 -35
  102. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -30
  105. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/index.d.ts +36 -0
  107. package/dist-types/ts3.4/index.d.ts +5 -48
  108. package/dist-types/ts3.4/models/models_0.d.ts +481 -2223
  109. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  112. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  113. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  114. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  115. package/dist-types/ts3.4/waiters/waitForAlarmExists.d.ts +2 -9
  116. package/dist-types/ts3.4/waiters/waitForCompositeAlarmExists.d.ts +2 -9
  117. package/dist-types/waiters/index.d.ts +2 -0
  118. package/package.json +33 -33
@@ -45,138 +45,59 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
45
45
  export declare type ServiceInputTypes = DeleteAlarmsCommandInput | DeleteAnomalyDetectorCommandInput | DeleteDashboardsCommandInput | DeleteInsightRulesCommandInput | DeleteMetricStreamCommandInput | DescribeAlarmHistoryCommandInput | DescribeAlarmsCommandInput | DescribeAlarmsForMetricCommandInput | DescribeAnomalyDetectorsCommandInput | DescribeInsightRulesCommandInput | DisableAlarmActionsCommandInput | DisableInsightRulesCommandInput | EnableAlarmActionsCommandInput | EnableInsightRulesCommandInput | GetDashboardCommandInput | GetInsightRuleReportCommandInput | GetMetricDataCommandInput | GetMetricStatisticsCommandInput | GetMetricStreamCommandInput | GetMetricWidgetImageCommandInput | ListDashboardsCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StopMetricStreamsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
46
46
  export declare type ServiceOutputTypes = DeleteAlarmsCommandOutput | DeleteAnomalyDetectorCommandOutput | DeleteDashboardsCommandOutput | DeleteInsightRulesCommandOutput | DeleteMetricStreamCommandOutput | DescribeAlarmHistoryCommandOutput | DescribeAlarmsCommandOutput | DescribeAlarmsForMetricCommandOutput | DescribeAnomalyDetectorsCommandOutput | DescribeInsightRulesCommandOutput | DisableAlarmActionsCommandOutput | DisableInsightRulesCommandOutput | EnableAlarmActionsCommandOutput | EnableInsightRulesCommandOutput | GetDashboardCommandOutput | GetInsightRuleReportCommandOutput | GetMetricDataCommandOutput | GetMetricStatisticsCommandOutput | GetMetricStreamCommandOutput | GetMetricWidgetImageCommandOutput | ListDashboardsCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StopMetricStreamsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
47
47
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
48
- /**
49
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
50
- */
48
+
51
49
  requestHandler?: __HttpHandler;
52
- /**
53
- * A constructor for a class implementing the {@link __Hash} interface
54
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
55
- * @internal
56
- */
50
+
57
51
  sha256?: __HashConstructor;
58
- /**
59
- * The function that will be used to convert strings into HTTP endpoints.
60
- * @internal
61
- */
52
+
62
53
  urlParser?: __UrlParser;
63
- /**
64
- * A function that can calculate the length of a request body.
65
- * @internal
66
- */
54
+
67
55
  bodyLengthChecker?: (body: any) => number | undefined;
68
- /**
69
- * A function that converts a stream into an array of bytes.
70
- * @internal
71
- */
56
+
72
57
  streamCollector?: __StreamCollector;
73
- /**
74
- * The function that will be used to convert a base64-encoded string to a byte array.
75
- * @internal
76
- */
58
+
77
59
  base64Decoder?: __Decoder;
78
- /**
79
- * The function that will be used to convert binary data to a base64-encoded string.
80
- * @internal
81
- */
60
+
82
61
  base64Encoder?: __Encoder;
83
- /**
84
- * The function that will be used to convert a UTF8-encoded string to a byte array.
85
- * @internal
86
- */
62
+
87
63
  utf8Decoder?: __Decoder;
88
- /**
89
- * The function that will be used to convert binary data to a UTF-8 encoded string.
90
- * @internal
91
- */
64
+
92
65
  utf8Encoder?: __Encoder;
93
- /**
94
- * The runtime environment.
95
- * @internal
96
- */
66
+
97
67
  runtime?: string;
98
- /**
99
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
100
- * trait of an operation.
101
- */
68
+
102
69
  disableHostPrefix?: boolean;
103
- /**
104
- * Value for how many times a request will be made at most in case of retry.
105
- */
70
+
106
71
  maxAttempts?: number | __Provider<number>;
107
- /**
108
- * Specifies which retry algorithm to use.
109
- */
72
+
110
73
  retryMode?: string | __Provider<string>;
111
- /**
112
- * Optional logger for logging debug/info/warn/error.
113
- */
74
+
114
75
  logger?: __Logger;
115
- /**
116
- * Unique service identifier.
117
- * @internal
118
- */
76
+
119
77
  serviceId?: string;
120
- /**
121
- * The AWS region to which this client will send requests
122
- */
78
+
123
79
  region?: string | __Provider<string>;
124
- /**
125
- * Default credentials provider; Not available in browser runtime.
126
- * @internal
127
- */
80
+
128
81
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
129
- /**
130
- * Fetch related hostname, signing name or signing region with given region.
131
- * @internal
132
- */
82
+
133
83
  regionInfoProvider?: RegionInfoProvider;
134
- /**
135
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
136
- * @internal
137
- */
84
+
138
85
  defaultUserAgentProvider?: Provider<__UserAgent>;
139
86
  }
140
87
  declare type CloudWatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
141
- /**
142
- * The configuration interface of CloudWatchClient class constructor that set the region, credentials and other options.
143
- */
88
+
144
89
  export interface CloudWatchClientConfig extends CloudWatchClientConfigType {
145
90
  }
146
91
  declare type CloudWatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
147
- /**
148
- * The resolved configuration interface of CloudWatchClient class. This is resolved and normalized from the {@link CloudWatchClientConfig | constructor configuration interface}.
149
- */
92
+
150
93
  export interface CloudWatchClientResolvedConfig extends CloudWatchClientResolvedConfigType {
151
94
  }
152
- /**
153
- * <p>Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the
154
- * applications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track
155
- * metrics, which are the variables you want to measure for your resources and
156
- * applications.</p>
157
- *
158
- * <p>CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules
159
- * that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2
160
- * instances. Then, use this data to determine whether you should launch
161
- * additional instances to handle increased load. You can also use this data to stop
162
- * under-used instances to save
163
- * money.</p>
164
- *
165
- * <p>In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor
166
- * your own custom metrics. With CloudWatch, you gain system-wide visibility into resource
167
- * utilization, application performance, and operational health.</p>
168
- */
95
+
169
96
  export declare class CloudWatchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchClientResolvedConfig> {
170
- /**
171
- * The resolved configuration of CloudWatchClient class. This is resolved and normalized from the {@link CloudWatchClientConfig | constructor configuration interface}.
172
- */
97
+
173
98
  readonly config: CloudWatchClientResolvedConfig;
174
99
  constructor(configuration: CloudWatchClientConfig);
175
- /**
176
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
177
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
178
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
179
- */
100
+
180
101
  destroy(): void;
181
102
  }
182
103
  export {};
@@ -6,44 +6,11 @@ export interface DeleteAlarmsCommandInput extends DeleteAlarmsInput {
6
6
  }
7
7
  export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified alarms. You can delete up to 100 alarms in one operation. However, this total can include no more
11
- * than one composite alarm. For example, you could delete 99 metric alarms and one composite alarms with one operation, but you can't
12
- * delete two composite alarms with one operation.</p>
13
- * <p>
14
- * In the event of an error, no alarms are
15
- * deleted.</p>
16
- * <note>
17
- * <p>It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and
18
- * composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle
19
- * because there is always still a composite alarm that depends on that alarm that you want to delete.</p>
20
- * <p>To get out of such a situation, you must
21
- * break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest
22
- * change to make to break a cycle is to change the <code>AlarmRule</code> of one of the alarms to <code>False</code>. </p>
23
- * <p>Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path.
24
- * </p>
25
- * </note>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { CloudWatchClient, DeleteAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
30
- * // const { CloudWatchClient, DeleteAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
31
- * const client = new CloudWatchClient(config);
32
- * const command = new DeleteAlarmsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteAlarmsCommandInput} for command's `input` shape.
37
- * @see {@link DeleteAlarmsCommandOutput} for command's `response` shape.
38
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
9
+
41
10
  export declare class DeleteAlarmsCommand extends $Command<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig> {
42
11
  readonly input: DeleteAlarmsCommandInput;
43
12
  constructor(input: DeleteAlarmsCommandInput);
44
- /**
45
- * @internal
46
- */
13
+
47
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput>;
48
15
  private serialize;
49
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
6
6
  }
7
7
  export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified anomaly detection model from your account.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchClient, DeleteAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
15
- * // const { CloudWatchClient, DeleteAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
16
- * const client = new CloudWatchClient(config);
17
- * const command = new DeleteAnomalyDetectorCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteAnomalyDetectorCommandInput} for command's `input` shape.
22
- * @see {@link DeleteAnomalyDetectorCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteAnomalyDetectorCommand extends $Command<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig> {
27
11
  readonly input: DeleteAnomalyDetectorCommandInput;
28
12
  constructor(input: DeleteAnomalyDetectorCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DeleteDashboardsCommandInput extends DeleteDashboardsInput {
6
6
  }
7
7
  export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes all dashboards that you specify. You
11
- * can specify up to 100 dashboards to delete. If there is an error during this call, no dashboards are
12
- * deleted.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchClient, DeleteDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
17
- * // const { CloudWatchClient, DeleteDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
18
- * const client = new CloudWatchClient(config);
19
- * const command = new DeleteDashboardsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteDashboardsCommandInput} for command's `input` shape.
24
- * @see {@link DeleteDashboardsCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DeleteDashboardsCommand extends $Command<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig> {
29
11
  readonly input: DeleteDashboardsCommandInput;
30
12
  constructor(input: DeleteDashboardsCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface DeleteInsightRulesCommandInput extends DeleteInsightRulesInput
6
6
  }
7
7
  export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Permanently deletes the specified Contributor Insights rules.</p>
11
- * <p>If you create a rule, delete it, and then re-create it with the same name, historical data from the first time
12
- * the rule was created might
13
- * not be available.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CloudWatchClient, DeleteInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
18
- * // const { CloudWatchClient, DeleteInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
19
- * const client = new CloudWatchClient(config);
20
- * const command = new DeleteInsightRulesCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DeleteInsightRulesCommandInput} for command's `input` shape.
25
- * @see {@link DeleteInsightRulesCommandOutput} for command's `response` shape.
26
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class DeleteInsightRulesCommand extends $Command<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
30
11
  readonly input: DeleteInsightRulesCommandInput;
31
12
  constructor(input: DeleteInsightRulesCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteMetricStreamCommandInput extends DeleteMetricStreamInput
6
6
  }
7
7
  export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Permanently deletes the metric stream that you specify.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchClient, DeleteMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
15
- * // const { CloudWatchClient, DeleteMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
16
- * const client = new CloudWatchClient(config);
17
- * const command = new DeleteMetricStreamCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteMetricStreamCommandInput} for command's `input` shape.
22
- * @see {@link DeleteMetricStreamCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteMetricStreamCommand extends $Command<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, CloudWatchClientResolvedConfig> {
27
11
  readonly input: DeleteMetricStreamCommandInput;
28
12
  constructor(input: DeleteMetricStreamCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeAlarmHistoryCommandInput extends DescribeAlarmHistoryIn
6
6
  }
7
7
  export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the history for the specified alarm. You can filter the results by date range or item type.
11
- * If an alarm name is not specified, the histories for either all metric alarms or all composite alarms are returned.</p>
12
- * <p>CloudWatch retains the history of an alarm even if you delete the alarm.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchClient, DescribeAlarmHistoryCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
17
- * // const { CloudWatchClient, DescribeAlarmHistoryCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
18
- * const client = new CloudWatchClient(config);
19
- * const command = new DescribeAlarmHistoryCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeAlarmHistoryCommandInput} for command's `input` shape.
24
- * @see {@link DescribeAlarmHistoryCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DescribeAlarmHistoryCommand extends $Command<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig> {
29
11
  readonly input: DescribeAlarmHistoryCommandInput;
30
12
  constructor(input: DescribeAlarmHistoryCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface DescribeAlarmsCommandInput extends DescribeAlarmsInput {
6
6
  }
7
7
  export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the specified alarms. You can filter the results by specifying a prefix for the alarm
11
- * name, the alarm state, or a prefix for any action.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudWatchClient, DescribeAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
16
- * // const { CloudWatchClient, DescribeAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
17
- * const client = new CloudWatchClient(config);
18
- * const command = new DescribeAlarmsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeAlarmsCommandInput} for command's `input` shape.
23
- * @see {@link DescribeAlarmsCommandOutput} for command's `response` shape.
24
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DescribeAlarmsCommand extends $Command<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig> {
28
11
  readonly input: DescribeAlarmsCommandInput;
29
12
  constructor(input: DescribeAlarmsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface DescribeAlarmsForMetricCommandInput extends DescribeAlarmsForMe
6
6
  }
7
7
  export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForMetricOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the alarms for the specified metric. To
11
- * filter the results, specify a statistic, period, or unit.</p>
12
- * <p>This operation retrieves only standard alarms that are based on
13
- * the specified metric. It does not return alarms based on math expressions that
14
- * use the specified metric, or composite alarms that use the specified metric.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CloudWatchClient, DescribeAlarmsForMetricCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
19
- * // const { CloudWatchClient, DescribeAlarmsForMetricCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
20
- * const client = new CloudWatchClient(config);
21
- * const command = new DescribeAlarmsForMetricCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DescribeAlarmsForMetricCommandInput} for command's `input` shape.
26
- * @see {@link DescribeAlarmsForMetricCommandOutput} for command's `response` shape.
27
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class DescribeAlarmsForMetricCommand extends $Command<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig> {
31
11
  readonly input: DescribeAlarmsForMetricCommandInput;
32
12
  constructor(input: DescribeAlarmsForMetricCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeAnomalyDetectorsCommandInput extends DescribeAnomalyDet
6
6
  }
7
7
  export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDetectorsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists the anomaly detection models that you have created in your account. You can list all
11
- * models in your account or filter the results to only the models that are related to a
12
- * certain namespace, metric name, or metric dimension.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchClient, DescribeAnomalyDetectorsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
17
- * // const { CloudWatchClient, DescribeAnomalyDetectorsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
18
- * const client = new CloudWatchClient(config);
19
- * const command = new DescribeAnomalyDetectorsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeAnomalyDetectorsCommandInput} for command's `input` shape.
24
- * @see {@link DescribeAnomalyDetectorsCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DescribeAnomalyDetectorsCommand extends $Command<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig> {
29
11
  readonly input: DescribeAnomalyDetectorsCommandInput;
30
12
  constructor(input: DescribeAnomalyDetectorsCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface DescribeInsightRulesCommandInput extends DescribeInsightRulesIn
6
6
  }
7
7
  export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns a list of all the Contributor Insights rules in your account.</p>
11
- *
12
- * <p>For more information about Contributor Insights, see
13
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html">Using Contributor Insights to Analyze High-Cardinality Data</a>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CloudWatchClient, DescribeInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
18
- * // const { CloudWatchClient, DescribeInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
19
- * const client = new CloudWatchClient(config);
20
- * const command = new DescribeInsightRulesCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeInsightRulesCommandInput} for command's `input` shape.
25
- * @see {@link DescribeInsightRulesCommandOutput} for command's `response` shape.
26
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class DescribeInsightRulesCommand extends $Command<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
30
11
  readonly input: DescribeInsightRulesCommandInput;
31
12
  constructor(input: DescribeInsightRulesCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface DisableAlarmActionsCommandInput extends DisableAlarmActionsInpu
6
6
  }
7
7
  export interface DisableAlarmActionsCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Disables the actions for the specified alarms. When an alarm's actions are disabled, the
11
- * alarm actions do not execute when the alarm state changes.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudWatchClient, DisableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
16
- * // const { CloudWatchClient, DisableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
17
- * const client = new CloudWatchClient(config);
18
- * const command = new DisableAlarmActionsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DisableAlarmActionsCommandInput} for command's `input` shape.
23
- * @see {@link DisableAlarmActionsCommandOutput} for command's `response` shape.
24
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DisableAlarmActionsCommand extends $Command<DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig> {
28
11
  readonly input: DisableAlarmActionsCommandInput;
29
12
  constructor(input: DisableAlarmActionsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface DisableInsightRulesCommandInput extends DisableInsightRulesInpu
6
6
  }
7
7
  export interface DisableInsightRulesCommandOutput extends DisableInsightRulesOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Disables the specified Contributor Insights rules. When rules are disabled, they do not analyze log groups and do
11
- * not incur costs.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudWatchClient, DisableInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
16
- * // const { CloudWatchClient, DisableInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
17
- * const client = new CloudWatchClient(config);
18
- * const command = new DisableInsightRulesCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DisableInsightRulesCommandInput} for command's `input` shape.
23
- * @see {@link DisableInsightRulesCommandOutput} for command's `response` shape.
24
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DisableInsightRulesCommand extends $Command<DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput, CloudWatchClientResolvedConfig> {
28
11
  readonly input: DisableInsightRulesCommandInput;
29
12
  constructor(input: DisableInsightRulesCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface EnableAlarmActionsCommandInput extends EnableAlarmActionsInput
6
6
  }
7
7
  export interface EnableAlarmActionsCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Enables the actions for the specified alarms.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchClient, EnableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
15
- * // const { CloudWatchClient, EnableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
16
- * const client = new CloudWatchClient(config);
17
- * const command = new EnableAlarmActionsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link EnableAlarmActionsCommandInput} for command's `input` shape.
22
- * @see {@link EnableAlarmActionsCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class EnableAlarmActionsCommand extends $Command<EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig> {
27
11
  readonly input: EnableAlarmActionsCommandInput;
28
12
  constructor(input: EnableAlarmActionsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;