@aws-sdk/client-cloudwatch 3.169.0 → 3.170.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 (67) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/CloudWatch.d.ts +688 -195
  3. package/dist-types/ts3.4/CloudWatchClient.d.ts +357 -111
  4. package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +37 -17
  7. package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +38 -17
  8. package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +38 -17
  9. package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +33 -17
  15. package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +38 -17
  16. package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +33 -17
  17. package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +38 -17
  18. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +34 -17
  19. package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +41 -17
  20. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +34 -17
  21. package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +38 -17
  22. package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +37 -17
  23. package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +34 -17
  25. package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +37 -17
  27. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +34 -17
  28. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  29. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +38 -17
  30. package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +32 -17
  31. package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +34 -17
  32. package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +41 -17
  34. package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +32 -17
  35. package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +32 -17
  36. package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +37 -17
  37. package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +32 -17
  38. package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +38 -17
  39. package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +37 -17
  40. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  41. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -17
  42. package/dist-types/ts3.4/commands/index.d.ts +38 -38
  43. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  44. package/dist-types/ts3.4/index.d.ts +7 -7
  45. package/dist-types/ts3.4/models/CloudWatchServiceException.d.ts +8 -6
  46. package/dist-types/ts3.4/models/index.d.ts +1 -1
  47. package/dist-types/ts3.4/models/models_0.d.ts +1470 -1321
  48. package/dist-types/ts3.4/pagination/DescribeAlarmHistoryPaginator.d.ts +11 -4
  49. package/dist-types/ts3.4/pagination/DescribeAlarmsPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/DescribeAnomalyDetectorsPaginator.d.ts +11 -4
  51. package/dist-types/ts3.4/pagination/DescribeInsightRulesPaginator.d.ts +11 -4
  52. package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +11 -4
  53. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  54. package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/ListManagedInsightRulesPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/ListMetricStreamsPaginator.d.ts +11 -4
  57. package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/index.d.ts +10 -10
  59. package/dist-types/ts3.4/protocols/Aws_query.d.ts +461 -116
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  64. package/dist-types/ts3.4/waiters/index.d.ts +2 -2
  65. package/dist-types/ts3.4/waiters/waitForAlarmExists.d.ts +13 -7
  66. package/dist-types/ts3.4/waiters/waitForCompositeAlarmExists.d.ts +13 -7
  67. package/package.json +35 -35
@@ -1,111 +1,357 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput } from "./commands/DeleteAlarmsCommand";
10
- import { DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput } from "./commands/DeleteAnomalyDetectorCommand";
11
- import { DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput } from "./commands/DeleteDashboardsCommand";
12
- import { DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput } from "./commands/DeleteInsightRulesCommand";
13
- import { DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput } from "./commands/DeleteMetricStreamCommand";
14
- import { DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput } from "./commands/DescribeAlarmHistoryCommand";
15
- import { DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput } from "./commands/DescribeAlarmsCommand";
16
- import { DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput } from "./commands/DescribeAlarmsForMetricCommand";
17
- import { DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput } from "./commands/DescribeAnomalyDetectorsCommand";
18
- import { DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput } from "./commands/DescribeInsightRulesCommand";
19
- import { DisableAlarmActionsCommandInput, DisableAlarmActionsCommandOutput } from "./commands/DisableAlarmActionsCommand";
20
- import { DisableInsightRulesCommandInput, DisableInsightRulesCommandOutput } from "./commands/DisableInsightRulesCommand";
21
- import { EnableAlarmActionsCommandInput, EnableAlarmActionsCommandOutput } from "./commands/EnableAlarmActionsCommand";
22
- import { EnableInsightRulesCommandInput, EnableInsightRulesCommandOutput } from "./commands/EnableInsightRulesCommand";
23
- import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
24
- import { GetInsightRuleReportCommandInput, GetInsightRuleReportCommandOutput } from "./commands/GetInsightRuleReportCommand";
25
- import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
26
- import { GetMetricStatisticsCommandInput, GetMetricStatisticsCommandOutput } from "./commands/GetMetricStatisticsCommand";
27
- import { GetMetricStreamCommandInput, GetMetricStreamCommandOutput } from "./commands/GetMetricStreamCommand";
28
- import { GetMetricWidgetImageCommandInput, GetMetricWidgetImageCommandOutput } from "./commands/GetMetricWidgetImageCommand";
29
- import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
30
- import { ListManagedInsightRulesCommandInput, ListManagedInsightRulesCommandOutput } from "./commands/ListManagedInsightRulesCommand";
31
- import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
32
- import { ListMetricStreamsCommandInput, ListMetricStreamsCommandOutput } from "./commands/ListMetricStreamsCommand";
33
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
34
- import { PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput } from "./commands/PutAnomalyDetectorCommand";
35
- import { PutCompositeAlarmCommandInput, PutCompositeAlarmCommandOutput } from "./commands/PutCompositeAlarmCommand";
36
- import { PutDashboardCommandInput, PutDashboardCommandOutput } from "./commands/PutDashboardCommand";
37
- import { PutInsightRuleCommandInput, PutInsightRuleCommandOutput } from "./commands/PutInsightRuleCommand";
38
- import { PutManagedInsightRulesCommandInput, PutManagedInsightRulesCommandOutput } from "./commands/PutManagedInsightRulesCommand";
39
- import { PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput } from "./commands/PutMetricAlarmCommand";
40
- import { PutMetricDataCommandInput, PutMetricDataCommandOutput } from "./commands/PutMetricDataCommand";
41
- import { PutMetricStreamCommandInput, PutMetricStreamCommandOutput } from "./commands/PutMetricStreamCommand";
42
- import { SetAlarmStateCommandInput, SetAlarmStateCommandOutput } from "./commands/SetAlarmStateCommand";
43
- import { StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput } from "./commands/StartMetricStreamsCommand";
44
- import { StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput } from "./commands/StopMetricStreamsCommand";
45
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
46
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
47
- 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 | ListManagedInsightRulesCommandInput | ListMetricStreamsCommandInput | ListMetricsCommandInput | ListTagsForResourceCommandInput | PutAnomalyDetectorCommandInput | PutCompositeAlarmCommandInput | PutDashboardCommandInput | PutInsightRuleCommandInput | PutManagedInsightRulesCommandInput | PutMetricAlarmCommandInput | PutMetricDataCommandInput | PutMetricStreamCommandInput | SetAlarmStateCommandInput | StartMetricStreamsCommandInput | StopMetricStreamsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
48
- 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 | ListManagedInsightRulesCommandOutput | ListMetricStreamsCommandOutput | ListMetricsCommandOutput | ListTagsForResourceCommandOutput | PutAnomalyDetectorCommandOutput | PutCompositeAlarmCommandOutput | PutDashboardCommandOutput | PutInsightRuleCommandOutput | PutManagedInsightRulesCommandOutput | PutMetricAlarmCommandOutput | PutMetricDataCommandOutput | PutMetricStreamCommandOutput | SetAlarmStateCommandOutput | StartMetricStreamsCommandOutput | StopMetricStreamsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
49
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
50
-
51
- requestHandler?: __HttpHandler;
52
-
53
- sha256?: __HashConstructor;
54
-
55
- urlParser?: __UrlParser;
56
-
57
- bodyLengthChecker?: __BodyLengthCalculator;
58
-
59
- streamCollector?: __StreamCollector;
60
-
61
- base64Decoder?: __Decoder;
62
-
63
- base64Encoder?: __Encoder;
64
-
65
- utf8Decoder?: __Decoder;
66
-
67
- utf8Encoder?: __Encoder;
68
-
69
- runtime?: string;
70
-
71
- disableHostPrefix?: boolean;
72
-
73
- maxAttempts?: number | __Provider<number>;
74
-
75
- retryMode?: string | __Provider<string>;
76
-
77
- logger?: __Logger;
78
-
79
- useDualstackEndpoint?: boolean | __Provider<boolean>;
80
-
81
- useFipsEndpoint?: boolean | __Provider<boolean>;
82
-
83
- serviceId?: string;
84
-
85
- region?: string | __Provider<string>;
86
-
87
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
88
-
89
- regionInfoProvider?: RegionInfoProvider;
90
-
91
- defaultUserAgentProvider?: Provider<__UserAgent>;
92
-
93
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
94
- }
95
- declare type CloudWatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
96
-
97
- export interface CloudWatchClientConfig extends CloudWatchClientConfigType {
98
- }
99
- declare type CloudWatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
100
-
101
- export interface CloudWatchClientResolvedConfig extends CloudWatchClientResolvedConfigType {
102
- }
103
-
104
- export declare class CloudWatchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchClientResolvedConfig> {
105
-
106
- readonly config: CloudWatchClientResolvedConfig;
107
- constructor(configuration: CloudWatchClientConfig);
108
-
109
- destroy(): void;
110
- }
111
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ DeleteAlarmsCommandInput,
47
+ DeleteAlarmsCommandOutput,
48
+ } from "./commands/DeleteAlarmsCommand";
49
+ import {
50
+ DeleteAnomalyDetectorCommandInput,
51
+ DeleteAnomalyDetectorCommandOutput,
52
+ } from "./commands/DeleteAnomalyDetectorCommand";
53
+ import {
54
+ DeleteDashboardsCommandInput,
55
+ DeleteDashboardsCommandOutput,
56
+ } from "./commands/DeleteDashboardsCommand";
57
+ import {
58
+ DeleteInsightRulesCommandInput,
59
+ DeleteInsightRulesCommandOutput,
60
+ } from "./commands/DeleteInsightRulesCommand";
61
+ import {
62
+ DeleteMetricStreamCommandInput,
63
+ DeleteMetricStreamCommandOutput,
64
+ } from "./commands/DeleteMetricStreamCommand";
65
+ import {
66
+ DescribeAlarmHistoryCommandInput,
67
+ DescribeAlarmHistoryCommandOutput,
68
+ } from "./commands/DescribeAlarmHistoryCommand";
69
+ import {
70
+ DescribeAlarmsCommandInput,
71
+ DescribeAlarmsCommandOutput,
72
+ } from "./commands/DescribeAlarmsCommand";
73
+ import {
74
+ DescribeAlarmsForMetricCommandInput,
75
+ DescribeAlarmsForMetricCommandOutput,
76
+ } from "./commands/DescribeAlarmsForMetricCommand";
77
+ import {
78
+ DescribeAnomalyDetectorsCommandInput,
79
+ DescribeAnomalyDetectorsCommandOutput,
80
+ } from "./commands/DescribeAnomalyDetectorsCommand";
81
+ import {
82
+ DescribeInsightRulesCommandInput,
83
+ DescribeInsightRulesCommandOutput,
84
+ } from "./commands/DescribeInsightRulesCommand";
85
+ import {
86
+ DisableAlarmActionsCommandInput,
87
+ DisableAlarmActionsCommandOutput,
88
+ } from "./commands/DisableAlarmActionsCommand";
89
+ import {
90
+ DisableInsightRulesCommandInput,
91
+ DisableInsightRulesCommandOutput,
92
+ } from "./commands/DisableInsightRulesCommand";
93
+ import {
94
+ EnableAlarmActionsCommandInput,
95
+ EnableAlarmActionsCommandOutput,
96
+ } from "./commands/EnableAlarmActionsCommand";
97
+ import {
98
+ EnableInsightRulesCommandInput,
99
+ EnableInsightRulesCommandOutput,
100
+ } from "./commands/EnableInsightRulesCommand";
101
+ import {
102
+ GetDashboardCommandInput,
103
+ GetDashboardCommandOutput,
104
+ } from "./commands/GetDashboardCommand";
105
+ import {
106
+ GetInsightRuleReportCommandInput,
107
+ GetInsightRuleReportCommandOutput,
108
+ } from "./commands/GetInsightRuleReportCommand";
109
+ import {
110
+ GetMetricDataCommandInput,
111
+ GetMetricDataCommandOutput,
112
+ } from "./commands/GetMetricDataCommand";
113
+ import {
114
+ GetMetricStatisticsCommandInput,
115
+ GetMetricStatisticsCommandOutput,
116
+ } from "./commands/GetMetricStatisticsCommand";
117
+ import {
118
+ GetMetricStreamCommandInput,
119
+ GetMetricStreamCommandOutput,
120
+ } from "./commands/GetMetricStreamCommand";
121
+ import {
122
+ GetMetricWidgetImageCommandInput,
123
+ GetMetricWidgetImageCommandOutput,
124
+ } from "./commands/GetMetricWidgetImageCommand";
125
+ import {
126
+ ListDashboardsCommandInput,
127
+ ListDashboardsCommandOutput,
128
+ } from "./commands/ListDashboardsCommand";
129
+ import {
130
+ ListManagedInsightRulesCommandInput,
131
+ ListManagedInsightRulesCommandOutput,
132
+ } from "./commands/ListManagedInsightRulesCommand";
133
+ import {
134
+ ListMetricsCommandInput,
135
+ ListMetricsCommandOutput,
136
+ } from "./commands/ListMetricsCommand";
137
+ import {
138
+ ListMetricStreamsCommandInput,
139
+ ListMetricStreamsCommandOutput,
140
+ } from "./commands/ListMetricStreamsCommand";
141
+ import {
142
+ ListTagsForResourceCommandInput,
143
+ ListTagsForResourceCommandOutput,
144
+ } from "./commands/ListTagsForResourceCommand";
145
+ import {
146
+ PutAnomalyDetectorCommandInput,
147
+ PutAnomalyDetectorCommandOutput,
148
+ } from "./commands/PutAnomalyDetectorCommand";
149
+ import {
150
+ PutCompositeAlarmCommandInput,
151
+ PutCompositeAlarmCommandOutput,
152
+ } from "./commands/PutCompositeAlarmCommand";
153
+ import {
154
+ PutDashboardCommandInput,
155
+ PutDashboardCommandOutput,
156
+ } from "./commands/PutDashboardCommand";
157
+ import {
158
+ PutInsightRuleCommandInput,
159
+ PutInsightRuleCommandOutput,
160
+ } from "./commands/PutInsightRuleCommand";
161
+ import {
162
+ PutManagedInsightRulesCommandInput,
163
+ PutManagedInsightRulesCommandOutput,
164
+ } from "./commands/PutManagedInsightRulesCommand";
165
+ import {
166
+ PutMetricAlarmCommandInput,
167
+ PutMetricAlarmCommandOutput,
168
+ } from "./commands/PutMetricAlarmCommand";
169
+ import {
170
+ PutMetricDataCommandInput,
171
+ PutMetricDataCommandOutput,
172
+ } from "./commands/PutMetricDataCommand";
173
+ import {
174
+ PutMetricStreamCommandInput,
175
+ PutMetricStreamCommandOutput,
176
+ } from "./commands/PutMetricStreamCommand";
177
+ import {
178
+ SetAlarmStateCommandInput,
179
+ SetAlarmStateCommandOutput,
180
+ } from "./commands/SetAlarmStateCommand";
181
+ import {
182
+ StartMetricStreamsCommandInput,
183
+ StartMetricStreamsCommandOutput,
184
+ } from "./commands/StartMetricStreamsCommand";
185
+ import {
186
+ StopMetricStreamsCommandInput,
187
+ StopMetricStreamsCommandOutput,
188
+ } from "./commands/StopMetricStreamsCommand";
189
+ import {
190
+ TagResourceCommandInput,
191
+ TagResourceCommandOutput,
192
+ } from "./commands/TagResourceCommand";
193
+ import {
194
+ UntagResourceCommandInput,
195
+ UntagResourceCommandOutput,
196
+ } from "./commands/UntagResourceCommand";
197
+ export declare type ServiceInputTypes =
198
+ | DeleteAlarmsCommandInput
199
+ | DeleteAnomalyDetectorCommandInput
200
+ | DeleteDashboardsCommandInput
201
+ | DeleteInsightRulesCommandInput
202
+ | DeleteMetricStreamCommandInput
203
+ | DescribeAlarmHistoryCommandInput
204
+ | DescribeAlarmsCommandInput
205
+ | DescribeAlarmsForMetricCommandInput
206
+ | DescribeAnomalyDetectorsCommandInput
207
+ | DescribeInsightRulesCommandInput
208
+ | DisableAlarmActionsCommandInput
209
+ | DisableInsightRulesCommandInput
210
+ | EnableAlarmActionsCommandInput
211
+ | EnableInsightRulesCommandInput
212
+ | GetDashboardCommandInput
213
+ | GetInsightRuleReportCommandInput
214
+ | GetMetricDataCommandInput
215
+ | GetMetricStatisticsCommandInput
216
+ | GetMetricStreamCommandInput
217
+ | GetMetricWidgetImageCommandInput
218
+ | ListDashboardsCommandInput
219
+ | ListManagedInsightRulesCommandInput
220
+ | ListMetricStreamsCommandInput
221
+ | ListMetricsCommandInput
222
+ | ListTagsForResourceCommandInput
223
+ | PutAnomalyDetectorCommandInput
224
+ | PutCompositeAlarmCommandInput
225
+ | PutDashboardCommandInput
226
+ | PutInsightRuleCommandInput
227
+ | PutManagedInsightRulesCommandInput
228
+ | PutMetricAlarmCommandInput
229
+ | PutMetricDataCommandInput
230
+ | PutMetricStreamCommandInput
231
+ | SetAlarmStateCommandInput
232
+ | StartMetricStreamsCommandInput
233
+ | StopMetricStreamsCommandInput
234
+ | TagResourceCommandInput
235
+ | UntagResourceCommandInput;
236
+ export declare type ServiceOutputTypes =
237
+ | DeleteAlarmsCommandOutput
238
+ | DeleteAnomalyDetectorCommandOutput
239
+ | DeleteDashboardsCommandOutput
240
+ | DeleteInsightRulesCommandOutput
241
+ | DeleteMetricStreamCommandOutput
242
+ | DescribeAlarmHistoryCommandOutput
243
+ | DescribeAlarmsCommandOutput
244
+ | DescribeAlarmsForMetricCommandOutput
245
+ | DescribeAnomalyDetectorsCommandOutput
246
+ | DescribeInsightRulesCommandOutput
247
+ | DisableAlarmActionsCommandOutput
248
+ | DisableInsightRulesCommandOutput
249
+ | EnableAlarmActionsCommandOutput
250
+ | EnableInsightRulesCommandOutput
251
+ | GetDashboardCommandOutput
252
+ | GetInsightRuleReportCommandOutput
253
+ | GetMetricDataCommandOutput
254
+ | GetMetricStatisticsCommandOutput
255
+ | GetMetricStreamCommandOutput
256
+ | GetMetricWidgetImageCommandOutput
257
+ | ListDashboardsCommandOutput
258
+ | ListManagedInsightRulesCommandOutput
259
+ | ListMetricStreamsCommandOutput
260
+ | ListMetricsCommandOutput
261
+ | ListTagsForResourceCommandOutput
262
+ | PutAnomalyDetectorCommandOutput
263
+ | PutCompositeAlarmCommandOutput
264
+ | PutDashboardCommandOutput
265
+ | PutInsightRuleCommandOutput
266
+ | PutManagedInsightRulesCommandOutput
267
+ | PutMetricAlarmCommandOutput
268
+ | PutMetricDataCommandOutput
269
+ | PutMetricStreamCommandOutput
270
+ | SetAlarmStateCommandOutput
271
+ | StartMetricStreamsCommandOutput
272
+ | StopMetricStreamsCommandOutput
273
+ | TagResourceCommandOutput
274
+ | UntagResourceCommandOutput;
275
+ export interface ClientDefaults
276
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
277
+ requestHandler?: __HttpHandler;
278
+
279
+ sha256?: __HashConstructor;
280
+
281
+ urlParser?: __UrlParser;
282
+
283
+ bodyLengthChecker?: __BodyLengthCalculator;
284
+
285
+ streamCollector?: __StreamCollector;
286
+
287
+ base64Decoder?: __Decoder;
288
+
289
+ base64Encoder?: __Encoder;
290
+
291
+ utf8Decoder?: __Decoder;
292
+
293
+ utf8Encoder?: __Encoder;
294
+
295
+ runtime?: string;
296
+
297
+ disableHostPrefix?: boolean;
298
+
299
+ maxAttempts?: number | __Provider<number>;
300
+
301
+ retryMode?: string | __Provider<string>;
302
+
303
+ logger?: __Logger;
304
+
305
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
306
+
307
+ useFipsEndpoint?: boolean | __Provider<boolean>;
308
+
309
+ serviceId?: string;
310
+
311
+ region?: string | __Provider<string>;
312
+
313
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
314
+
315
+ regionInfoProvider?: RegionInfoProvider;
316
+
317
+ defaultUserAgentProvider?: Provider<__UserAgent>;
318
+
319
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
320
+ }
321
+ declare type CloudWatchClientConfigType = Partial<
322
+ __SmithyConfiguration<__HttpHandlerOptions>
323
+ > &
324
+ ClientDefaults &
325
+ RegionInputConfig &
326
+ EndpointsInputConfig &
327
+ RetryInputConfig &
328
+ HostHeaderInputConfig &
329
+ AwsAuthInputConfig &
330
+ UserAgentInputConfig;
331
+
332
+ export interface CloudWatchClientConfig extends CloudWatchClientConfigType {}
333
+ declare type CloudWatchClientResolvedConfigType =
334
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
335
+ Required<ClientDefaults> &
336
+ RegionResolvedConfig &
337
+ EndpointsResolvedConfig &
338
+ RetryResolvedConfig &
339
+ HostHeaderResolvedConfig &
340
+ AwsAuthResolvedConfig &
341
+ UserAgentResolvedConfig;
342
+
343
+ export interface CloudWatchClientResolvedConfig
344
+ extends CloudWatchClientResolvedConfigType {}
345
+
346
+ export declare class CloudWatchClient extends __Client<
347
+ __HttpHandlerOptions,
348
+ ServiceInputTypes,
349
+ ServiceOutputTypes,
350
+ CloudWatchClientResolvedConfig
351
+ > {
352
+ readonly config: CloudWatchClientResolvedConfig;
353
+ constructor(configuration: CloudWatchClientConfig);
354
+
355
+ destroy(): void;
356
+ }
357
+ export {};
@@ -1,17 +1,32 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
- import { DeleteAlarmsInput } from "../models/models_0";
5
- export interface DeleteAlarmsCommandInput extends DeleteAlarmsInput {
6
- }
7
- export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
8
- }
9
-
10
- export declare class DeleteAlarmsCommand extends $Command<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig> {
11
- readonly input: DeleteAlarmsCommandInput;
12
- constructor(input: DeleteAlarmsCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudWatchClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudWatchClient";
13
+ import { DeleteAlarmsInput } from "../models/models_0";
14
+ export interface DeleteAlarmsCommandInput extends DeleteAlarmsInput {}
15
+ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {}
16
+
17
+ export declare class DeleteAlarmsCommand extends $Command<
18
+ DeleteAlarmsCommandInput,
19
+ DeleteAlarmsCommandOutput,
20
+ CloudWatchClientResolvedConfig
21
+ > {
22
+ readonly input: DeleteAlarmsCommandInput;
23
+ constructor(input: DeleteAlarmsCommandInput);
24
+
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: CloudWatchClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
- import { DeleteAnomalyDetectorInput, DeleteAnomalyDetectorOutput } from "../models/models_0";
5
- export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetectorInput {
6
- }
7
- export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class DeleteAnomalyDetectorCommand extends $Command<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig> {
11
- readonly input: DeleteAnomalyDetectorCommandInput;
12
- constructor(input: DeleteAnomalyDetectorCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudWatchClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudWatchClient";
13
+ import {
14
+ DeleteAnomalyDetectorInput,
15
+ DeleteAnomalyDetectorOutput,
16
+ } from "../models/models_0";
17
+ export interface DeleteAnomalyDetectorCommandInput
18
+ extends DeleteAnomalyDetectorInput {}
19
+ export interface DeleteAnomalyDetectorCommandOutput
20
+ extends DeleteAnomalyDetectorOutput,
21
+ __MetadataBearer {}
22
+
23
+ export declare class DeleteAnomalyDetectorCommand extends $Command<
24
+ DeleteAnomalyDetectorCommandInput,
25
+ DeleteAnomalyDetectorCommandOutput,
26
+ CloudWatchClientResolvedConfig
27
+ > {
28
+ readonly input: DeleteAnomalyDetectorCommandInput;
29
+ constructor(input: DeleteAnomalyDetectorCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudWatchClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DeleteAnomalyDetectorCommandInput,
37
+ DeleteAnomalyDetectorCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,37 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
4
- import { DeleteDashboardsInput, DeleteDashboardsOutput } from "../models/models_0";
5
- export interface DeleteDashboardsCommandInput extends DeleteDashboardsInput {
6
- }
7
- export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, __MetadataBearer {
8
- }
9
-
10
- export declare class DeleteDashboardsCommand extends $Command<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig> {
11
- readonly input: DeleteDashboardsCommandInput;
12
- constructor(input: DeleteDashboardsCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudWatchClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudWatchClient";
13
+ import {
14
+ DeleteDashboardsInput,
15
+ DeleteDashboardsOutput,
16
+ } from "../models/models_0";
17
+ export interface DeleteDashboardsCommandInput extends DeleteDashboardsInput {}
18
+ export interface DeleteDashboardsCommandOutput
19
+ extends DeleteDashboardsOutput,
20
+ __MetadataBearer {}
21
+
22
+ export declare class DeleteDashboardsCommand extends $Command<
23
+ DeleteDashboardsCommandInput,
24
+ DeleteDashboardsCommandOutput,
25
+ CloudWatchClientResolvedConfig
26
+ > {
27
+ readonly input: DeleteDashboardsCommandInput;
28
+ constructor(input: DeleteDashboardsCommandInput);
29
+
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: CloudWatchClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }