@aws-sdk/client-cloudwatch 3.300.0 → 3.301.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-types/commands/DeleteAlarmsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +10 -12
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +2 -2
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/EnableAlarmActionsCommand.d.ts +2 -2
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/GetDashboardCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +2 -2
- package/dist-types/commands/GetMetricDataCommand.d.ts +8 -8
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +5 -5
- package/dist-types/commands/GetMetricStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +1 -1
- package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +13 -15
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +4 -4
- package/dist-types/commands/PutDashboardCommand.d.ts +1 -1
- package/dist-types/commands/PutInsightRuleCommand.d.ts +3 -3
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +5 -5
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +10 -10
- package/dist-types/commands/PutMetricDataCommand.d.ts +8 -8
- package/dist-types/commands/PutMetricStreamCommand.d.ts +10 -10
- package/dist-types/commands/SetAlarmStateCommand.d.ts +1 -1
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +2 -2
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -43,8 +43,8 @@ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* import { CloudWatchClient, DeleteAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
44
44
|
* // const { CloudWatchClient, DeleteAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
45
45
|
* const client = new CloudWatchClient(config);
|
|
46
|
-
* const input = {
|
|
47
|
-
* AlarmNames: [ // required
|
|
46
|
+
* const input = { // DeleteAlarmsInput
|
|
47
|
+
* AlarmNames: [ // AlarmNames // required
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* };
|
|
@@ -34,17 +34,17 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
|
|
|
34
34
|
* import { CloudWatchClient, DeleteAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
35
35
|
* // const { CloudWatchClient, DeleteAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
36
36
|
* const client = new CloudWatchClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // DeleteAnomalyDetectorInput
|
|
38
38
|
* Namespace: "STRING_VALUE",
|
|
39
39
|
* MetricName: "STRING_VALUE",
|
|
40
|
-
* Dimensions: [
|
|
41
|
-
* {
|
|
40
|
+
* Dimensions: [ // Dimensions
|
|
41
|
+
* { // Dimension
|
|
42
42
|
* Name: "STRING_VALUE", // required
|
|
43
43
|
* Value: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
46
|
* Stat: "STRING_VALUE",
|
|
47
|
-
* SingleMetricAnomalyDetector: {
|
|
47
|
+
* SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
|
|
48
48
|
* Namespace: "STRING_VALUE",
|
|
49
49
|
* MetricName: "STRING_VALUE",
|
|
50
50
|
* Dimensions: [
|
|
@@ -55,17 +55,15 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
|
|
|
55
55
|
* ],
|
|
56
56
|
* Stat: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
|
-
* MetricMathAnomalyDetector: {
|
|
59
|
-
* MetricDataQueries: [
|
|
60
|
-
* {
|
|
58
|
+
* MetricMathAnomalyDetector: { // MetricMathAnomalyDetector
|
|
59
|
+
* MetricDataQueries: [ // MetricDataQueries
|
|
60
|
+
* { // MetricDataQuery
|
|
61
61
|
* Id: "STRING_VALUE", // required
|
|
62
|
-
* MetricStat: {
|
|
63
|
-
* Metric: {
|
|
62
|
+
* MetricStat: { // MetricStat
|
|
63
|
+
* Metric: { // Metric
|
|
64
64
|
* Namespace: "STRING_VALUE",
|
|
65
65
|
* MetricName: "STRING_VALUE",
|
|
66
|
-
* Dimensions:
|
|
67
|
-
* "<Dimensions>",
|
|
68
|
-
* ],
|
|
66
|
+
* Dimensions: "<Dimensions>",
|
|
69
67
|
* },
|
|
70
68
|
* Period: Number("int"), // required
|
|
71
69
|
* Stat: "STRING_VALUE", // required
|
|
@@ -28,8 +28,8 @@ export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, _
|
|
|
28
28
|
* import { CloudWatchClient, DeleteDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchClient, DeleteDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchClient(config);
|
|
31
|
-
* const input = {
|
|
32
|
-
* DashboardNames: [ // required
|
|
31
|
+
* const input = { // DeleteDashboardsInput
|
|
32
|
+
* DashboardNames: [ // DashboardNames // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -29,8 +29,8 @@ export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutpu
|
|
|
29
29
|
* import { CloudWatchClient, DeleteInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
30
30
|
* // const { CloudWatchClient, DeleteInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
31
31
|
* const client = new CloudWatchClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* RuleNames: [ // required
|
|
32
|
+
* const input = { // DeleteInsightRulesInput
|
|
33
|
+
* RuleNames: [ // InsightRuleNames // required
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutpu
|
|
|
26
26
|
* import { CloudWatchClient, DeleteMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, DeleteMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteMetricStreamInput
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteMetricStreamCommand(input);
|
|
@@ -31,9 +31,9 @@ export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryO
|
|
|
31
31
|
* import { CloudWatchClient, DescribeAlarmHistoryCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
32
32
|
* // const { CloudWatchClient, DescribeAlarmHistoryCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
33
33
|
* const client = new CloudWatchClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DescribeAlarmHistoryInput
|
|
35
35
|
* AlarmName: "STRING_VALUE",
|
|
36
|
-
* AlarmTypes: [
|
|
36
|
+
* AlarmTypes: [ // AlarmTypes
|
|
37
37
|
* "CompositeAlarm" || "MetricAlarm",
|
|
38
38
|
* ],
|
|
39
39
|
* HistoryItemType: "ConfigurationUpdate" || "StateUpdate" || "Action",
|
|
@@ -30,12 +30,12 @@ export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __Met
|
|
|
30
30
|
* import { CloudWatchClient, DescribeAlarmsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
31
31
|
* // const { CloudWatchClient, DescribeAlarmsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
32
32
|
* const client = new CloudWatchClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* AlarmNames: [
|
|
33
|
+
* const input = { // DescribeAlarmsInput
|
|
34
|
+
* AlarmNames: [ // AlarmNames
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* AlarmNamePrefix: "STRING_VALUE",
|
|
38
|
-
* AlarmTypes: [
|
|
38
|
+
* AlarmTypes: [ // AlarmTypes
|
|
39
39
|
* "CompositeAlarm" || "MetricAlarm",
|
|
40
40
|
* ],
|
|
41
41
|
* ChildrenOfAlarmName: "STRING_VALUE",
|
|
@@ -30,13 +30,13 @@ export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForM
|
|
|
30
30
|
* import { CloudWatchClient, DescribeAlarmsForMetricCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
31
31
|
* // const { CloudWatchClient, DescribeAlarmsForMetricCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
32
32
|
* const client = new CloudWatchClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DescribeAlarmsForMetricInput
|
|
34
34
|
* MetricName: "STRING_VALUE", // required
|
|
35
35
|
* Namespace: "STRING_VALUE", // required
|
|
36
36
|
* Statistic: "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
|
|
37
37
|
* ExtendedStatistic: "STRING_VALUE",
|
|
38
|
-
* Dimensions: [
|
|
39
|
-
* {
|
|
38
|
+
* Dimensions: [ // Dimensions
|
|
39
|
+
* { // Dimension
|
|
40
40
|
* Name: "STRING_VALUE", // required
|
|
41
41
|
* Value: "STRING_VALUE", // required
|
|
42
42
|
* },
|
|
@@ -32,18 +32,18 @@ export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDe
|
|
|
32
32
|
* import { CloudWatchClient, DescribeAnomalyDetectorsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
33
33
|
* // const { CloudWatchClient, DescribeAnomalyDetectorsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
34
34
|
* const client = new CloudWatchClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // DescribeAnomalyDetectorsInput
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
38
38
|
* Namespace: "STRING_VALUE",
|
|
39
39
|
* MetricName: "STRING_VALUE",
|
|
40
|
-
* Dimensions: [
|
|
41
|
-
* {
|
|
40
|
+
* Dimensions: [ // Dimensions
|
|
41
|
+
* { // Dimension
|
|
42
42
|
* Name: "STRING_VALUE", // required
|
|
43
43
|
* Value: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* AnomalyDetectorTypes: [
|
|
46
|
+
* AnomalyDetectorTypes: [ // AnomalyDetectorTypes
|
|
47
47
|
* "SINGLE_METRIC" || "METRIC_MATH",
|
|
48
48
|
* ],
|
|
49
49
|
* };
|
|
@@ -28,7 +28,7 @@ export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesO
|
|
|
28
28
|
* import { CloudWatchClient, DescribeInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchClient, DescribeInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeInsightRulesInput
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
33
33
|
* MaxResults: Number("int"),
|
|
34
34
|
* };
|
|
@@ -27,8 +27,8 @@ export interface DisableAlarmActionsCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { CloudWatchClient, DisableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchClient, DisableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* AlarmNames: [ // required
|
|
30
|
+
* const input = { // DisableAlarmActionsInput
|
|
31
|
+
* AlarmNames: [ // AlarmNames // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,8 +27,8 @@ export interface DisableInsightRulesCommandOutput extends DisableInsightRulesOut
|
|
|
27
27
|
* import { CloudWatchClient, DisableInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchClient, DisableInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* RuleNames: [ // required
|
|
30
|
+
* const input = { // DisableInsightRulesInput
|
|
31
|
+
* RuleNames: [ // InsightRuleNames // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,8 +26,8 @@ export interface EnableAlarmActionsCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { CloudWatchClient, EnableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, EnableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* AlarmNames: [ // required
|
|
29
|
+
* const input = { // EnableAlarmActionsInput
|
|
30
|
+
* AlarmNames: [ // AlarmNames // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -26,8 +26,8 @@ export interface EnableInsightRulesCommandOutput extends EnableInsightRulesOutpu
|
|
|
26
26
|
* import { CloudWatchClient, EnableInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, EnableInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* RuleNames: [ // required
|
|
29
|
+
* const input = { // EnableInsightRulesInput
|
|
30
|
+
* RuleNames: [ // InsightRuleNames // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -29,7 +29,7 @@ export interface GetDashboardCommandOutput extends GetDashboardOutput, __Metadat
|
|
|
29
29
|
* import { CloudWatchClient, GetDashboardCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
30
30
|
* // const { CloudWatchClient, GetDashboardCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
31
31
|
* const client = new CloudWatchClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // GetDashboardInput
|
|
33
33
|
* DashboardName: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new GetDashboardCommand(input);
|
|
@@ -62,13 +62,13 @@ export interface GetInsightRuleReportCommandOutput extends GetInsightRuleReportO
|
|
|
62
62
|
* import { CloudWatchClient, GetInsightRuleReportCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
63
63
|
* // const { CloudWatchClient, GetInsightRuleReportCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
64
64
|
* const client = new CloudWatchClient(config);
|
|
65
|
-
* const input = {
|
|
65
|
+
* const input = { // GetInsightRuleReportInput
|
|
66
66
|
* RuleName: "STRING_VALUE", // required
|
|
67
67
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
68
68
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
69
69
|
* Period: Number("int"), // required
|
|
70
70
|
* MaxContributorCount: Number("int"),
|
|
71
|
-
* Metrics: [
|
|
71
|
+
* Metrics: [ // InsightRuleMetricList
|
|
72
72
|
* "STRING_VALUE",
|
|
73
73
|
* ],
|
|
74
74
|
* OrderBy: "STRING_VALUE",
|
|
@@ -73,16 +73,16 @@ export interface GetMetricDataCommandOutput extends GetMetricDataOutput, __Metad
|
|
|
73
73
|
* import { CloudWatchClient, GetMetricDataCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
74
74
|
* // const { CloudWatchClient, GetMetricDataCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
75
75
|
* const client = new CloudWatchClient(config);
|
|
76
|
-
* const input = {
|
|
77
|
-
* MetricDataQueries: [ // required
|
|
78
|
-
* {
|
|
76
|
+
* const input = { // GetMetricDataInput
|
|
77
|
+
* MetricDataQueries: [ // MetricDataQueries // required
|
|
78
|
+
* { // MetricDataQuery
|
|
79
79
|
* Id: "STRING_VALUE", // required
|
|
80
|
-
* MetricStat: {
|
|
81
|
-
* Metric: {
|
|
80
|
+
* MetricStat: { // MetricStat
|
|
81
|
+
* Metric: { // Metric
|
|
82
82
|
* Namespace: "STRING_VALUE",
|
|
83
83
|
* MetricName: "STRING_VALUE",
|
|
84
|
-
* Dimensions: [
|
|
85
|
-
* {
|
|
84
|
+
* Dimensions: [ // Dimensions
|
|
85
|
+
* { // Dimension
|
|
86
86
|
* Name: "STRING_VALUE", // required
|
|
87
87
|
* Value: "STRING_VALUE", // required
|
|
88
88
|
* },
|
|
@@ -104,7 +104,7 @@ export interface GetMetricDataCommandOutput extends GetMetricDataOutput, __Metad
|
|
|
104
104
|
* NextToken: "STRING_VALUE",
|
|
105
105
|
* ScanBy: "TimestampDescending" || "TimestampAscending",
|
|
106
106
|
* MaxDatapoints: Number("int"),
|
|
107
|
-
* LabelOptions: {
|
|
107
|
+
* LabelOptions: { // LabelOptions
|
|
108
108
|
* Timezone: "STRING_VALUE",
|
|
109
109
|
* },
|
|
110
110
|
* };
|
|
@@ -72,11 +72,11 @@ export interface GetMetricStatisticsCommandOutput extends GetMetricStatisticsOut
|
|
|
72
72
|
* import { CloudWatchClient, GetMetricStatisticsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
73
73
|
* // const { CloudWatchClient, GetMetricStatisticsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
74
74
|
* const client = new CloudWatchClient(config);
|
|
75
|
-
* const input = {
|
|
75
|
+
* const input = { // GetMetricStatisticsInput
|
|
76
76
|
* Namespace: "STRING_VALUE", // required
|
|
77
77
|
* MetricName: "STRING_VALUE", // required
|
|
78
|
-
* Dimensions: [
|
|
79
|
-
* {
|
|
78
|
+
* Dimensions: [ // Dimensions
|
|
79
|
+
* { // Dimension
|
|
80
80
|
* Name: "STRING_VALUE", // required
|
|
81
81
|
* Value: "STRING_VALUE", // required
|
|
82
82
|
* },
|
|
@@ -84,10 +84,10 @@ export interface GetMetricStatisticsCommandOutput extends GetMetricStatisticsOut
|
|
|
84
84
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
85
85
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
86
86
|
* Period: Number("int"), // required
|
|
87
|
-
* Statistics: [
|
|
87
|
+
* Statistics: [ // Statistics
|
|
88
88
|
* "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
|
|
89
89
|
* ],
|
|
90
|
-
* ExtendedStatistics: [
|
|
90
|
+
* ExtendedStatistics: [ // ExtendedStatistics
|
|
91
91
|
* "STRING_VALUE",
|
|
92
92
|
* ],
|
|
93
93
|
* Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
@@ -26,7 +26,7 @@ export interface GetMetricStreamCommandOutput extends GetMetricStreamOutput, __M
|
|
|
26
26
|
* import { CloudWatchClient, GetMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, GetMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetMetricStreamInput
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetMetricStreamCommand(input);
|
|
@@ -41,7 +41,7 @@ export interface GetMetricWidgetImageCommandOutput extends GetMetricWidgetImageO
|
|
|
41
41
|
* import { CloudWatchClient, GetMetricWidgetImageCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
42
42
|
* // const { CloudWatchClient, GetMetricWidgetImageCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
43
43
|
* const client = new CloudWatchClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // GetMetricWidgetImageInput
|
|
45
45
|
* MetricWidget: "STRING_VALUE", // required
|
|
46
46
|
* OutputFormat: "STRING_VALUE",
|
|
47
47
|
* };
|
|
@@ -34,7 +34,7 @@ export interface ListDashboardsCommandOutput extends ListDashboardsOutput, __Met
|
|
|
34
34
|
* import { CloudWatchClient, ListDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
35
35
|
* // const { CloudWatchClient, ListDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
36
36
|
* const client = new CloudWatchClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // ListDashboardsInput
|
|
38
38
|
* DashboardNamePrefix: "STRING_VALUE",
|
|
39
39
|
* NextToken: "STRING_VALUE",
|
|
40
40
|
* };
|
|
@@ -32,7 +32,7 @@ export interface ListManagedInsightRulesCommandOutput extends ListManagedInsight
|
|
|
32
32
|
* import { CloudWatchClient, ListManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
33
33
|
* // const { CloudWatchClient, ListManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
34
34
|
* const client = new CloudWatchClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListManagedInsightRulesInput
|
|
36
36
|
* ResourceARN: "STRING_VALUE", // required
|
|
37
37
|
* NextToken: "STRING_VALUE",
|
|
38
38
|
* MaxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListMetricStreamsCommandOutput extends ListMetricStreamsOutput,
|
|
|
26
26
|
* import { CloudWatchClient, ListMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, ListMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListMetricStreamsInput
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -38,11 +38,11 @@ export interface ListMetricsCommandOutput extends ListMetricsOutput, __MetadataB
|
|
|
38
38
|
* import { CloudWatchClient, ListMetricsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
39
39
|
* // const { CloudWatchClient, ListMetricsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
40
40
|
* const client = new CloudWatchClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // ListMetricsInput
|
|
42
42
|
* Namespace: "STRING_VALUE",
|
|
43
43
|
* MetricName: "STRING_VALUE",
|
|
44
|
-
* Dimensions: [
|
|
45
|
-
* {
|
|
44
|
+
* Dimensions: [ // DimensionFilters
|
|
45
|
+
* { // DimensionFilter
|
|
46
46
|
* Name: "STRING_VALUE", // required
|
|
47
47
|
* Value: "STRING_VALUE",
|
|
48
48
|
* },
|
|
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
27
27
|
* import { CloudWatchClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
28
28
|
* // const { CloudWatchClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
29
29
|
* const client = new CloudWatchClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListTagsForResourceInput
|
|
31
31
|
* ResourceARN: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -28,26 +28,26 @@ export interface PutAnomalyDetectorCommandOutput extends PutAnomalyDetectorOutpu
|
|
|
28
28
|
* import { CloudWatchClient, PutAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
29
29
|
* // const { CloudWatchClient, PutAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
30
30
|
* const client = new CloudWatchClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // PutAnomalyDetectorInput
|
|
32
32
|
* Namespace: "STRING_VALUE",
|
|
33
33
|
* MetricName: "STRING_VALUE",
|
|
34
|
-
* Dimensions: [
|
|
35
|
-
* {
|
|
34
|
+
* Dimensions: [ // Dimensions
|
|
35
|
+
* { // Dimension
|
|
36
36
|
* Name: "STRING_VALUE", // required
|
|
37
37
|
* Value: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
40
|
* Stat: "STRING_VALUE",
|
|
41
|
-
* Configuration: {
|
|
42
|
-
* ExcludedTimeRanges: [
|
|
43
|
-
* {
|
|
41
|
+
* Configuration: { // AnomalyDetectorConfiguration
|
|
42
|
+
* ExcludedTimeRanges: [ // AnomalyDetectorExcludedTimeRanges
|
|
43
|
+
* { // Range
|
|
44
44
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
45
45
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
48
48
|
* MetricTimezone: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
|
-
* SingleMetricAnomalyDetector: {
|
|
50
|
+
* SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
|
|
51
51
|
* Namespace: "STRING_VALUE",
|
|
52
52
|
* MetricName: "STRING_VALUE",
|
|
53
53
|
* Dimensions: [
|
|
@@ -58,17 +58,15 @@ export interface PutAnomalyDetectorCommandOutput extends PutAnomalyDetectorOutpu
|
|
|
58
58
|
* ],
|
|
59
59
|
* Stat: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
|
-
* MetricMathAnomalyDetector: {
|
|
62
|
-
* MetricDataQueries: [
|
|
63
|
-
* {
|
|
61
|
+
* MetricMathAnomalyDetector: { // MetricMathAnomalyDetector
|
|
62
|
+
* MetricDataQueries: [ // MetricDataQueries
|
|
63
|
+
* { // MetricDataQuery
|
|
64
64
|
* Id: "STRING_VALUE", // required
|
|
65
|
-
* MetricStat: {
|
|
66
|
-
* Metric: {
|
|
65
|
+
* MetricStat: { // MetricStat
|
|
66
|
+
* Metric: { // Metric
|
|
67
67
|
* Namespace: "STRING_VALUE",
|
|
68
68
|
* MetricName: "STRING_VALUE",
|
|
69
|
-
* Dimensions:
|
|
70
|
-
* "<Dimensions>",
|
|
71
|
-
* ],
|
|
69
|
+
* Dimensions: "<Dimensions>",
|
|
72
70
|
* },
|
|
73
71
|
* Period: Number("int"), // required
|
|
74
72
|
* Stat: "STRING_VALUE", // required
|
|
@@ -64,9 +64,9 @@ export interface PutCompositeAlarmCommandOutput extends __MetadataBearer {
|
|
|
64
64
|
* import { CloudWatchClient, PutCompositeAlarmCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
65
65
|
* // const { CloudWatchClient, PutCompositeAlarmCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
66
66
|
* const client = new CloudWatchClient(config);
|
|
67
|
-
* const input = {
|
|
67
|
+
* const input = { // PutCompositeAlarmInput
|
|
68
68
|
* ActionsEnabled: true || false,
|
|
69
|
-
* AlarmActions: [
|
|
69
|
+
* AlarmActions: [ // ResourceList
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
72
|
* AlarmDescription: "STRING_VALUE",
|
|
@@ -78,8 +78,8 @@ export interface PutCompositeAlarmCommandOutput extends __MetadataBearer {
|
|
|
78
78
|
* OKActions: [
|
|
79
79
|
* "STRING_VALUE",
|
|
80
80
|
* ],
|
|
81
|
-
* Tags: [
|
|
82
|
-
* {
|
|
81
|
+
* Tags: [ // TagList
|
|
82
|
+
* { // Tag
|
|
83
83
|
* Key: "STRING_VALUE", // required
|
|
84
84
|
* Value: "STRING_VALUE", // required
|
|
85
85
|
* },
|
|
@@ -39,7 +39,7 @@ export interface PutDashboardCommandOutput extends PutDashboardOutput, __Metadat
|
|
|
39
39
|
* import { CloudWatchClient, PutDashboardCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
40
40
|
* // const { CloudWatchClient, PutDashboardCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
41
41
|
* const client = new CloudWatchClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // PutDashboardInput
|
|
43
43
|
* DashboardName: "STRING_VALUE", // required
|
|
44
44
|
* DashboardBody: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
@@ -30,12 +30,12 @@ export interface PutInsightRuleCommandOutput extends PutInsightRuleOutput, __Met
|
|
|
30
30
|
* import { CloudWatchClient, PutInsightRuleCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
31
31
|
* // const { CloudWatchClient, PutInsightRuleCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
32
32
|
* const client = new CloudWatchClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // PutInsightRuleInput
|
|
34
34
|
* RuleName: "STRING_VALUE", // required
|
|
35
35
|
* RuleState: "STRING_VALUE",
|
|
36
36
|
* RuleDefinition: "STRING_VALUE", // required
|
|
37
|
-
* Tags: [
|
|
38
|
-
* {
|
|
37
|
+
* Tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
39
|
* Key: "STRING_VALUE", // required
|
|
40
40
|
* Value: "STRING_VALUE", // required
|
|
41
41
|
* },
|
|
@@ -42,13 +42,13 @@ export interface PutManagedInsightRulesCommandOutput extends PutManagedInsightRu
|
|
|
42
42
|
* import { CloudWatchClient, PutManagedInsightRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
43
43
|
* // const { CloudWatchClient, PutManagedInsightRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
44
44
|
* const client = new CloudWatchClient(config);
|
|
45
|
-
* const input = {
|
|
46
|
-
* ManagedRules: [ // required
|
|
47
|
-
* {
|
|
45
|
+
* const input = { // PutManagedInsightRulesInput
|
|
46
|
+
* ManagedRules: [ // ManagedRules // required
|
|
47
|
+
* { // ManagedRule
|
|
48
48
|
* TemplateName: "STRING_VALUE", // required
|
|
49
49
|
* ResourceARN: "STRING_VALUE", // required
|
|
50
|
-
* Tags: [
|
|
51
|
-
* {
|
|
50
|
+
* Tags: [ // TagList
|
|
51
|
+
* { // Tag
|
|
52
52
|
* Key: "STRING_VALUE", // required
|
|
53
53
|
* Value: "STRING_VALUE", // required
|
|
54
54
|
* },
|
|
@@ -77,11 +77,11 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
|
|
|
77
77
|
* import { CloudWatchClient, PutMetricAlarmCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
78
78
|
* // const { CloudWatchClient, PutMetricAlarmCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
79
79
|
* const client = new CloudWatchClient(config);
|
|
80
|
-
* const input = {
|
|
80
|
+
* const input = { // PutMetricAlarmInput
|
|
81
81
|
* AlarmName: "STRING_VALUE", // required
|
|
82
82
|
* AlarmDescription: "STRING_VALUE",
|
|
83
83
|
* ActionsEnabled: true || false,
|
|
84
|
-
* OKActions: [
|
|
84
|
+
* OKActions: [ // ResourceList
|
|
85
85
|
* "STRING_VALUE",
|
|
86
86
|
* ],
|
|
87
87
|
* AlarmActions: [
|
|
@@ -94,8 +94,8 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
|
|
|
94
94
|
* Namespace: "STRING_VALUE",
|
|
95
95
|
* Statistic: "SampleCount" || "Average" || "Sum" || "Minimum" || "Maximum",
|
|
96
96
|
* ExtendedStatistic: "STRING_VALUE",
|
|
97
|
-
* Dimensions: [
|
|
98
|
-
* {
|
|
97
|
+
* Dimensions: [ // Dimensions
|
|
98
|
+
* { // Dimension
|
|
99
99
|
* Name: "STRING_VALUE", // required
|
|
100
100
|
* Value: "STRING_VALUE", // required
|
|
101
101
|
* },
|
|
@@ -108,11 +108,11 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
|
|
|
108
108
|
* ComparisonOperator: "GreaterThanOrEqualToThreshold" || "GreaterThanThreshold" || "LessThanThreshold" || "LessThanOrEqualToThreshold" || "LessThanLowerOrGreaterThanUpperThreshold" || "LessThanLowerThreshold" || "GreaterThanUpperThreshold", // required
|
|
109
109
|
* TreatMissingData: "STRING_VALUE",
|
|
110
110
|
* EvaluateLowSampleCountPercentile: "STRING_VALUE",
|
|
111
|
-
* Metrics: [
|
|
112
|
-
* {
|
|
111
|
+
* Metrics: [ // MetricDataQueries
|
|
112
|
+
* { // MetricDataQuery
|
|
113
113
|
* Id: "STRING_VALUE", // required
|
|
114
|
-
* MetricStat: {
|
|
115
|
-
* Metric: {
|
|
114
|
+
* MetricStat: { // MetricStat
|
|
115
|
+
* Metric: { // Metric
|
|
116
116
|
* Namespace: "STRING_VALUE",
|
|
117
117
|
* MetricName: "STRING_VALUE",
|
|
118
118
|
* Dimensions: [
|
|
@@ -133,8 +133,8 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
|
|
|
133
133
|
* AccountId: "STRING_VALUE",
|
|
134
134
|
* },
|
|
135
135
|
* ],
|
|
136
|
-
* Tags: [
|
|
137
|
-
* {
|
|
136
|
+
* Tags: [ // TagList
|
|
137
|
+
* { // Tag
|
|
138
138
|
* Key: "STRING_VALUE", // required
|
|
139
139
|
* Value: "STRING_VALUE", // required
|
|
140
140
|
* },
|
|
@@ -68,29 +68,29 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {
|
|
|
68
68
|
* import { CloudWatchClient, PutMetricDataCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
69
69
|
* // const { CloudWatchClient, PutMetricDataCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
70
70
|
* const client = new CloudWatchClient(config);
|
|
71
|
-
* const input = {
|
|
71
|
+
* const input = { // PutMetricDataInput
|
|
72
72
|
* Namespace: "STRING_VALUE", // required
|
|
73
|
-
* MetricData: [ // required
|
|
74
|
-
* {
|
|
73
|
+
* MetricData: [ // MetricData // required
|
|
74
|
+
* { // MetricDatum
|
|
75
75
|
* MetricName: "STRING_VALUE", // required
|
|
76
|
-
* Dimensions: [
|
|
77
|
-
* {
|
|
76
|
+
* Dimensions: [ // Dimensions
|
|
77
|
+
* { // Dimension
|
|
78
78
|
* Name: "STRING_VALUE", // required
|
|
79
79
|
* Value: "STRING_VALUE", // required
|
|
80
80
|
* },
|
|
81
81
|
* ],
|
|
82
82
|
* Timestamp: new Date("TIMESTAMP"),
|
|
83
83
|
* Value: Number("double"),
|
|
84
|
-
* StatisticValues: {
|
|
84
|
+
* StatisticValues: { // StatisticSet
|
|
85
85
|
* SampleCount: Number("double"), // required
|
|
86
86
|
* Sum: Number("double"), // required
|
|
87
87
|
* Minimum: Number("double"), // required
|
|
88
88
|
* Maximum: Number("double"), // required
|
|
89
89
|
* },
|
|
90
|
-
* Values: [
|
|
90
|
+
* Values: [ // Values
|
|
91
91
|
* Number("double"),
|
|
92
92
|
* ],
|
|
93
|
-
* Counts: [
|
|
93
|
+
* Counts: [ // Counts
|
|
94
94
|
* Number("double"),
|
|
95
95
|
* ],
|
|
96
96
|
* Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
@@ -59,10 +59,10 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
|
|
|
59
59
|
* import { CloudWatchClient, PutMetricStreamCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
60
60
|
* // const { CloudWatchClient, PutMetricStreamCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
61
61
|
* const client = new CloudWatchClient(config);
|
|
62
|
-
* const input = {
|
|
62
|
+
* const input = { // PutMetricStreamInput
|
|
63
63
|
* Name: "STRING_VALUE", // required
|
|
64
|
-
* IncludeFilters: [
|
|
65
|
-
* {
|
|
64
|
+
* IncludeFilters: [ // MetricStreamFilters
|
|
65
|
+
* { // MetricStreamFilter
|
|
66
66
|
* Namespace: "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
@@ -74,21 +74,21 @@ export interface PutMetricStreamCommandOutput extends PutMetricStreamOutput, __M
|
|
|
74
74
|
* FirehoseArn: "STRING_VALUE", // required
|
|
75
75
|
* RoleArn: "STRING_VALUE", // required
|
|
76
76
|
* OutputFormat: "json" || "opentelemetry0.7", // required
|
|
77
|
-
* Tags: [
|
|
78
|
-
* {
|
|
77
|
+
* Tags: [ // TagList
|
|
78
|
+
* { // Tag
|
|
79
79
|
* Key: "STRING_VALUE", // required
|
|
80
80
|
* Value: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
82
82
|
* ],
|
|
83
|
-
* StatisticsConfigurations: [
|
|
84
|
-
* {
|
|
85
|
-
* IncludeMetrics: [ // required
|
|
86
|
-
* {
|
|
83
|
+
* StatisticsConfigurations: [ // MetricStreamStatisticsConfigurations
|
|
84
|
+
* { // MetricStreamStatisticsConfiguration
|
|
85
|
+
* IncludeMetrics: [ // MetricStreamStatisticsIncludeMetrics // required
|
|
86
|
+
* { // MetricStreamStatisticsMetric
|
|
87
87
|
* Namespace: "STRING_VALUE", // required
|
|
88
88
|
* MetricName: "STRING_VALUE", // required
|
|
89
89
|
* },
|
|
90
90
|
* ],
|
|
91
|
-
* AdditionalStatistics: [ // required
|
|
91
|
+
* AdditionalStatistics: [ // MetricStreamStatisticsAdditionalStatistics // required
|
|
92
92
|
* "STRING_VALUE",
|
|
93
93
|
* ],
|
|
94
94
|
* },
|
|
@@ -41,7 +41,7 @@ export interface SetAlarmStateCommandOutput extends __MetadataBearer {
|
|
|
41
41
|
* import { CloudWatchClient, SetAlarmStateCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
42
42
|
* // const { CloudWatchClient, SetAlarmStateCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
43
43
|
* const client = new CloudWatchClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // SetAlarmStateInput
|
|
45
45
|
* AlarmName: "STRING_VALUE", // required
|
|
46
46
|
* StateValue: "OK" || "ALARM" || "INSUFFICIENT_DATA", // required
|
|
47
47
|
* StateReason: "STRING_VALUE", // required
|
|
@@ -26,8 +26,8 @@ export interface StartMetricStreamsCommandOutput extends StartMetricStreamsOutpu
|
|
|
26
26
|
* import { CloudWatchClient, StartMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, StartMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* Names: [ // required
|
|
29
|
+
* const input = { // StartMetricStreamsInput
|
|
30
|
+
* Names: [ // MetricStreamNames // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -26,8 +26,8 @@ export interface StopMetricStreamsCommandOutput extends StopMetricStreamsOutput,
|
|
|
26
26
|
* import { CloudWatchClient, StopMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, StopMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* Names: [ // required
|
|
29
|
+
* const input = { // StopMetricStreamsInput
|
|
30
|
+
* Names: [ // MetricStreamNames // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -36,10 +36,10 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
36
36
|
* import { CloudWatchClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
37
37
|
* // const { CloudWatchClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
38
38
|
* const client = new CloudWatchClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // TagResourceInput
|
|
40
40
|
* ResourceARN: "STRING_VALUE", // required
|
|
41
|
-
* Tags: [ // required
|
|
42
|
-
* {
|
|
41
|
+
* Tags: [ // TagList // required
|
|
42
|
+
* { // Tag
|
|
43
43
|
* Key: "STRING_VALUE", // required
|
|
44
44
|
* Value: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { CloudWatchClient, UntagResourceCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
27
27
|
* // const { CloudWatchClient, UntagResourceCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
28
28
|
* const client = new CloudWatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceInput
|
|
30
30
|
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
-
* TagKeys: [ // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|