@aws-sdk/client-cloudwatch 3.296.0 → 3.298.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.
- package/dist-cjs/commands/DeleteAlarmsCommand.js +2 -3
- package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +2 -3
- package/dist-cjs/commands/DeleteDashboardsCommand.js +2 -3
- package/dist-cjs/commands/DeleteInsightRulesCommand.js +2 -3
- package/dist-cjs/commands/DeleteMetricStreamCommand.js +2 -3
- package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +2 -3
- package/dist-cjs/commands/DescribeAlarmsCommand.js +2 -3
- package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +2 -3
- package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +2 -3
- package/dist-cjs/commands/DescribeInsightRulesCommand.js +2 -3
- package/dist-cjs/commands/DisableAlarmActionsCommand.js +2 -3
- package/dist-cjs/commands/DisableInsightRulesCommand.js +2 -3
- package/dist-cjs/commands/EnableAlarmActionsCommand.js +2 -3
- package/dist-cjs/commands/EnableInsightRulesCommand.js +2 -3
- package/dist-cjs/commands/GetDashboardCommand.js +2 -3
- package/dist-cjs/commands/GetInsightRuleReportCommand.js +2 -3
- package/dist-cjs/commands/GetMetricDataCommand.js +2 -3
- package/dist-cjs/commands/GetMetricStatisticsCommand.js +2 -3
- package/dist-cjs/commands/GetMetricStreamCommand.js +2 -3
- package/dist-cjs/commands/GetMetricWidgetImageCommand.js +2 -3
- package/dist-cjs/commands/ListDashboardsCommand.js +2 -3
- package/dist-cjs/commands/ListManagedInsightRulesCommand.js +2 -3
- package/dist-cjs/commands/ListMetricStreamsCommand.js +2 -3
- package/dist-cjs/commands/ListMetricsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/PutAnomalyDetectorCommand.js +2 -3
- package/dist-cjs/commands/PutCompositeAlarmCommand.js +2 -3
- package/dist-cjs/commands/PutDashboardCommand.js +2 -3
- package/dist-cjs/commands/PutInsightRuleCommand.js +2 -3
- package/dist-cjs/commands/PutManagedInsightRulesCommand.js +2 -3
- package/dist-cjs/commands/PutMetricAlarmCommand.js +2 -3
- package/dist-cjs/commands/PutMetricDataCommand.js +2 -3
- package/dist-cjs/commands/PutMetricStreamCommand.js +2 -3
- package/dist-cjs/commands/SetAlarmStateCommand.js +2 -3
- package/dist-cjs/commands/StartMetricStreamsCommand.js +2 -3
- package/dist-cjs/commands/StopMetricStreamsCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -415
- package/dist-cjs/protocols/Aws_query.js +64 -347
- package/dist-es/commands/DeleteAlarmsCommand.js +2 -3
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -3
- package/dist-es/commands/DeleteDashboardsCommand.js +2 -3
- package/dist-es/commands/DeleteInsightRulesCommand.js +2 -3
- package/dist-es/commands/DeleteMetricStreamCommand.js +2 -3
- package/dist-es/commands/DescribeAlarmHistoryCommand.js +2 -3
- package/dist-es/commands/DescribeAlarmsCommand.js +2 -3
- package/dist-es/commands/DescribeAlarmsForMetricCommand.js +2 -3
- package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +2 -3
- package/dist-es/commands/DescribeInsightRulesCommand.js +2 -3
- package/dist-es/commands/DisableAlarmActionsCommand.js +2 -3
- package/dist-es/commands/DisableInsightRulesCommand.js +2 -3
- package/dist-es/commands/EnableAlarmActionsCommand.js +2 -3
- package/dist-es/commands/EnableInsightRulesCommand.js +2 -3
- package/dist-es/commands/GetDashboardCommand.js +2 -3
- package/dist-es/commands/GetInsightRuleReportCommand.js +2 -3
- package/dist-es/commands/GetMetricDataCommand.js +2 -3
- package/dist-es/commands/GetMetricStatisticsCommand.js +2 -3
- package/dist-es/commands/GetMetricStreamCommand.js +2 -3
- package/dist-es/commands/GetMetricWidgetImageCommand.js +2 -3
- package/dist-es/commands/ListDashboardsCommand.js +2 -3
- package/dist-es/commands/ListManagedInsightRulesCommand.js +2 -3
- package/dist-es/commands/ListMetricStreamsCommand.js +2 -3
- package/dist-es/commands/ListMetricsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -3
- package/dist-es/commands/PutCompositeAlarmCommand.js +2 -3
- package/dist-es/commands/PutDashboardCommand.js +2 -3
- package/dist-es/commands/PutInsightRuleCommand.js +2 -3
- package/dist-es/commands/PutManagedInsightRulesCommand.js +2 -3
- package/dist-es/commands/PutMetricAlarmCommand.js +2 -3
- package/dist-es/commands/PutMetricDataCommand.js +2 -3
- package/dist-es/commands/PutMetricStreamCommand.js +2 -3
- package/dist-es/commands/SetAlarmStateCommand.js +2 -3
- package/dist-es/commands/StartMetricStreamsCommand.js +2 -3
- package/dist-es/commands/StopMetricStreamsCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -309
- package/dist-es/protocols/Aws_query.js +64 -347
- package/dist-types/CloudWatch.d.ts +39 -0
- package/dist-types/CloudWatchClient.d.ts +24 -4
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +16 -0
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/EnableAlarmActionsCommand.d.ts +16 -0
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/GetDashboardCommand.d.ts +16 -0
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricDataCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricStreamCommand.d.ts +16 -0
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +16 -0
- package/dist-types/commands/ListDashboardsCommand.d.ts +16 -0
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +16 -0
- package/dist-types/commands/ListMetricsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +16 -0
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +16 -0
- package/dist-types/commands/PutDashboardCommand.d.ts +16 -0
- package/dist-types/commands/PutInsightRuleCommand.d.ts +16 -0
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricDataCommand.d.ts +16 -0
- package/dist-types/commands/PutMetricStreamCommand.d.ts +16 -0
- package/dist-types/commands/SetAlarmStateCommand.d.ts +16 -0
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +16 -0
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/models/CloudWatchServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +298 -414
- package/dist-types/pagination/DescribeAlarmHistoryPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeAlarmsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeAnomalyDetectorsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeInsightRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetMetricDataPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListDashboardsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListManagedInsightRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMetricStreamsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMetricsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -283
- package/package.json +4 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { PutMetricAlarmInput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutMetricAlarmCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutMetricAlarmCommandInput extends PutMetricAlarmInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutMetricAlarmCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates an alarm and associates it with the specified metric, metric math expression,
|
|
18
23
|
* anomaly detection model, or Metrics Insights query. For more information about using
|
|
19
24
|
* a Metrics Insights query for an alarm, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html">Create alarms on Metrics Insights queries</a>.</p>
|
|
@@ -76,6 +81,8 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
|
|
|
76
81
|
* const response = await client.send(command);
|
|
77
82
|
* ```
|
|
78
83
|
*
|
|
84
|
+
* @param PutMetricAlarmCommandInput - {@link PutMetricAlarmCommandInput}
|
|
85
|
+
* @returns {@link PutMetricAlarmCommandOutput}
|
|
79
86
|
* @see {@link PutMetricAlarmCommandInput} for command's `input` shape.
|
|
80
87
|
* @see {@link PutMetricAlarmCommandOutput} for command's `response` shape.
|
|
81
88
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -88,11 +95,20 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
|
|
|
88
95
|
export declare class PutMetricAlarmCommand extends $Command<PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput, CloudWatchClientResolvedConfig> {
|
|
89
96
|
readonly input: PutMetricAlarmCommandInput;
|
|
90
97
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
91
101
|
constructor(input: PutMetricAlarmCommandInput);
|
|
92
102
|
/**
|
|
93
103
|
* @internal
|
|
94
104
|
*/
|
|
95
105
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutMetricAlarmCommandInput, PutMetricAlarmCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
96
109
|
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
97
113
|
private deserialize;
|
|
98
114
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { PutMetricDataInput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutMetricDataCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutMetricDataCommandInput extends PutMetricDataInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutMetricDataCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutMetricDataCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Publishes metric data points to Amazon CloudWatch. CloudWatch associates
|
|
18
23
|
* the data points with the specified metric. If the specified metric does not exist,
|
|
19
24
|
* CloudWatch creates the metric. When CloudWatch creates a metric, it can
|
|
@@ -67,6 +72,8 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {
|
|
|
67
72
|
* const response = await client.send(command);
|
|
68
73
|
* ```
|
|
69
74
|
*
|
|
75
|
+
* @param PutMetricDataCommandInput - {@link PutMetricDataCommandInput}
|
|
76
|
+
* @returns {@link PutMetricDataCommandOutput}
|
|
70
77
|
* @see {@link PutMetricDataCommandInput} for command's `input` shape.
|
|
71
78
|
* @see {@link PutMetricDataCommandOutput} for command's `response` shape.
|
|
72
79
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -88,11 +95,20 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {
|
|
|
88
95
|
export declare class PutMetricDataCommand extends $Command<PutMetricDataCommandInput, PutMetricDataCommandOutput, CloudWatchClientResolvedConfig> {
|
|
89
96
|
readonly input: PutMetricDataCommandInput;
|
|
90
97
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
91
101
|
constructor(input: PutMetricDataCommandInput);
|
|
92
102
|
/**
|
|
93
103
|
* @internal
|
|
94
104
|
*/
|
|
95
105
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutMetricDataCommandInput, PutMetricDataCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
96
109
|
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
97
113
|
private deserialize;
|
|
98
114
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { PutMetricStreamInput, PutMetricStreamOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutMetricStreamCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutMetricStreamCommandInput extends PutMetricStreamInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutMetricStreamCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates a metric stream. Metric streams can automatically stream CloudWatch
|
|
18
23
|
* metrics to Amazon Web Services destinations, including Amazon S3, and to many third-party
|
|
19
24
|
* solutions.</p>
|
|
@@ -58,6 +63,8 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
|
|
|
58
63
|
* const response = await client.send(command);
|
|
59
64
|
* ```
|
|
60
65
|
*
|
|
66
|
+
* @param PutMetricStreamCommandInput - {@link PutMetricStreamCommandInput}
|
|
67
|
+
* @returns {@link PutMetricStreamCommandOutput}
|
|
61
68
|
* @see {@link PutMetricStreamCommandInput} for command's `input` shape.
|
|
62
69
|
* @see {@link PutMetricStreamCommandOutput} for command's `response` shape.
|
|
63
70
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -82,11 +89,20 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
|
|
|
82
89
|
export declare class PutMetricStreamCommand extends $Command<PutMetricStreamCommandInput, PutMetricStreamCommandOutput, CloudWatchClientResolvedConfig> {
|
|
83
90
|
readonly input: PutMetricStreamCommandInput;
|
|
84
91
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
85
95
|
constructor(input: PutMetricStreamCommandInput);
|
|
86
96
|
/**
|
|
87
97
|
* @internal
|
|
88
98
|
*/
|
|
89
99
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutMetricStreamCommandInput, PutMetricStreamCommandOutput>;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
90
103
|
private serialize;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
91
107
|
private deserialize;
|
|
92
108
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { SetAlarmStateInput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link SetAlarmStateCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface SetAlarmStateCommandInput extends SetAlarmStateInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link SetAlarmStateCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface SetAlarmStateCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Temporarily sets the state of an alarm for testing purposes. When the updated
|
|
18
23
|
* state differs from the previous value, the action configured for
|
|
19
24
|
* the appropriate state is invoked. For example, if your alarm is configured to send an
|
|
@@ -40,6 +45,8 @@ export interface SetAlarmStateCommandOutput extends __MetadataBearer {
|
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
48
|
+
* @param SetAlarmStateCommandInput - {@link SetAlarmStateCommandInput}
|
|
49
|
+
* @returns {@link SetAlarmStateCommandOutput}
|
|
43
50
|
* @see {@link SetAlarmStateCommandInput} for command's `input` shape.
|
|
44
51
|
* @see {@link SetAlarmStateCommandOutput} for command's `response` shape.
|
|
45
52
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -55,11 +62,20 @@ export interface SetAlarmStateCommandOutput extends __MetadataBearer {
|
|
|
55
62
|
export declare class SetAlarmStateCommand extends $Command<SetAlarmStateCommandInput, SetAlarmStateCommandOutput, CloudWatchClientResolvedConfig> {
|
|
56
63
|
readonly input: SetAlarmStateCommandInput;
|
|
57
64
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
58
68
|
constructor(input: SetAlarmStateCommandInput);
|
|
59
69
|
/**
|
|
60
70
|
* @internal
|
|
61
71
|
*/
|
|
62
72
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetAlarmStateCommandInput, SetAlarmStateCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
63
76
|
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
64
80
|
private deserialize;
|
|
65
81
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { StartMetricStreamsInput, StartMetricStreamsOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartMetricStreamsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartMetricStreamsCommandInput extends StartMetricStreamsInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartMetricStreamsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartMetricStreamsCommandOutput extends StartMetricStreamsOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts the streaming of metrics for one or more of your metric streams.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface StartMetricStreamsCommandOutput extends StartMetricStreamsOutpu
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param StartMetricStreamsCommandInput - {@link StartMetricStreamsCommandInput}
|
|
34
|
+
* @returns {@link StartMetricStreamsCommandOutput}
|
|
28
35
|
* @see {@link StartMetricStreamsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link StartMetricStreamsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface StartMetricStreamsCommandOutput extends StartMetricStreamsOutpu
|
|
|
43
50
|
export declare class StartMetricStreamsCommand extends $Command<StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput, CloudWatchClientResolvedConfig> {
|
|
44
51
|
readonly input: StartMetricStreamsCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: StartMetricStreamsCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartMetricStreamsCommandInput, StartMetricStreamsCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { StopMetricStreamsInput, StopMetricStreamsOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StopMetricStreamsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StopMetricStreamsCommandInput extends StopMetricStreamsInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StopMetricStreamsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StopMetricStreamsCommandOutput extends StopMetricStreamsOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Stops the streaming of metrics for one or more of your metric streams.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface StopMetricStreamsCommandOutput extends StopMetricStreamsOutput,
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param StopMetricStreamsCommandInput - {@link StopMetricStreamsCommandInput}
|
|
34
|
+
* @returns {@link StopMetricStreamsCommandOutput}
|
|
28
35
|
* @see {@link StopMetricStreamsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link StopMetricStreamsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface StopMetricStreamsCommandOutput extends StopMetricStreamsOutput,
|
|
|
43
50
|
export declare class StopMetricStreamsCommand extends $Command<StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput, CloudWatchClientResolvedConfig> {
|
|
44
51
|
readonly input: StopMetricStreamsCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: StopMetricStreamsCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopMetricStreamsCommandInput, StopMetricStreamsCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Assigns one or more tags (key-value pairs) to the specified CloudWatch resource. Currently, the only CloudWatch resources that
|
|
18
23
|
* can be tagged are alarms and Contributor Insights rules.</p>
|
|
19
24
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
@@ -35,6 +40,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
43
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
44
|
+
* @returns {@link TagResourceCommandOutput}
|
|
38
45
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
39
46
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
40
47
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
56
63
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudWatchClientResolvedConfig> {
|
|
57
64
|
readonly input: TagResourceCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: TagResourceCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
5
|
import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes one or more tags from the specified resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
46
53
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudWatchClientResolvedConfig> {
|
|
47
54
|
readonly input: UntagResourceCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: UntagResourceCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from CloudWatch service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class CloudWatchServiceException extends __ServiceException {
|