@aws-sdk/client-application-signals 3.637.0 → 3.646.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/models/models_0.js +21 -5
- package/dist-cjs/protocols/Aws_restJson1.js +22 -0
- package/dist-es/models/models_0.js +20 -4
- package/dist-es/protocols/Aws_restJson1.js +22 -0
- package/dist-types/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +94 -3
- package/dist-types/commands/CreateServiceLevelObjectiveCommand.d.ts +221 -19
- package/dist-types/commands/GetServiceLevelObjectiveCommand.d.ts +91 -2
- package/dist-types/commands/UpdateServiceLevelObjectiveCommand.d.ts +183 -4
- package/dist-types/models/models_0.d.ts +331 -27
- package/dist-types/ts3.4/models/models_0.d.ts +82 -8
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceQuotaExceededException = exports.ConflictException = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.ConflictException = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.MonitoredRequestCountMetricDataQueries = exports.StandardUnit = exports.ServiceLevelIndicatorMetricType = exports.ServiceLevelIndicatorComparisonOperator = exports.Interval = exports.DurationUnit = exports.EvaluationType = exports.ServiceLevelObjectiveBudgetStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
const ApplicationSignalsServiceException_1 = require("./ApplicationSignalsServiceException");
|
|
5
5
|
class AccessDeniedException extends ApplicationSignalsServiceException_1.ApplicationSignalsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -22,8 +22,14 @@ exports.ServiceLevelObjectiveBudgetStatus = {
|
|
|
22
22
|
OK: "OK",
|
|
23
23
|
WARNING: "WARNING",
|
|
24
24
|
};
|
|
25
|
+
exports.EvaluationType = {
|
|
26
|
+
PERIOD_BASED: "PeriodBased",
|
|
27
|
+
REQUEST_BASED: "RequestBased",
|
|
28
|
+
};
|
|
25
29
|
exports.DurationUnit = {
|
|
26
30
|
DAY: "DAY",
|
|
31
|
+
HOUR: "HOUR",
|
|
32
|
+
MINUTE: "MINUTE",
|
|
27
33
|
MONTH: "MONTH",
|
|
28
34
|
};
|
|
29
35
|
var Interval;
|
|
@@ -42,6 +48,10 @@ exports.ServiceLevelIndicatorComparisonOperator = {
|
|
|
42
48
|
LESS_THAN: "LessThan",
|
|
43
49
|
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
44
50
|
};
|
|
51
|
+
exports.ServiceLevelIndicatorMetricType = {
|
|
52
|
+
AVAILABILITY: "AVAILABILITY",
|
|
53
|
+
LATENCY: "LATENCY",
|
|
54
|
+
};
|
|
45
55
|
exports.StandardUnit = {
|
|
46
56
|
BITS: "Bits",
|
|
47
57
|
BITS_SECOND: "Bits/Second",
|
|
@@ -71,10 +81,16 @@ exports.StandardUnit = {
|
|
|
71
81
|
TERABYTES: "Terabytes",
|
|
72
82
|
TERABYTES_SECOND: "Terabytes/Second",
|
|
73
83
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
84
|
+
var MonitoredRequestCountMetricDataQueries;
|
|
85
|
+
(function (MonitoredRequestCountMetricDataQueries) {
|
|
86
|
+
MonitoredRequestCountMetricDataQueries.visit = (value, visitor) => {
|
|
87
|
+
if (value.GoodCountMetric !== undefined)
|
|
88
|
+
return visitor.GoodCountMetric(value.GoodCountMetric);
|
|
89
|
+
if (value.BadCountMetric !== undefined)
|
|
90
|
+
return visitor.BadCountMetric(value.BadCountMetric);
|
|
91
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
92
|
+
};
|
|
93
|
+
})(MonitoredRequestCountMetricDataQueries = exports.MonitoredRequestCountMetricDataQueries || (exports.MonitoredRequestCountMetricDataQueries = {}));
|
|
78
94
|
class ThrottlingException extends ApplicationSignalsServiceException_1.ApplicationSignalsServiceException {
|
|
79
95
|
constructor(opts) {
|
|
80
96
|
super({
|
|
@@ -32,6 +32,7 @@ const se_CreateServiceLevelObjectiveCommand = async (input, context) => {
|
|
|
32
32
|
Description: [],
|
|
33
33
|
Goal: (_) => se_Goal(_, context),
|
|
34
34
|
Name: [],
|
|
35
|
+
RequestBasedSliConfig: (_) => se_RequestBasedServiceLevelIndicatorConfig(_, context),
|
|
35
36
|
SliConfig: (_) => se_ServiceLevelIndicatorConfig(_, context),
|
|
36
37
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
37
38
|
}));
|
|
@@ -233,6 +234,7 @@ const se_UpdateServiceLevelObjectiveCommand = async (input, context) => {
|
|
|
233
234
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
234
235
|
Description: [],
|
|
235
236
|
Goal: (_) => se_Goal(_, context),
|
|
237
|
+
RequestBasedSliConfig: (_) => se_RequestBasedServiceLevelIndicatorConfig(_, context),
|
|
236
238
|
SliConfig: (_) => se_ServiceLevelIndicatorConfig(_, context),
|
|
237
239
|
}));
|
|
238
240
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -602,6 +604,13 @@ const se_Interval = (input, context) => {
|
|
|
602
604
|
_: (name, value) => ({ name: value }),
|
|
603
605
|
});
|
|
604
606
|
};
|
|
607
|
+
const se_RequestBasedServiceLevelIndicatorConfig = (input, context) => {
|
|
608
|
+
return (0, smithy_client_1.take)(input, {
|
|
609
|
+
ComparisonOperator: [],
|
|
610
|
+
MetricThreshold: smithy_client_1.serializeFloat,
|
|
611
|
+
RequestBasedSliMetricConfig: smithy_client_1._json,
|
|
612
|
+
});
|
|
613
|
+
};
|
|
605
614
|
const se_ServiceLevelIndicatorConfig = (input, context) => {
|
|
606
615
|
return (0, smithy_client_1.take)(input, {
|
|
607
616
|
ComparisonOperator: [],
|
|
@@ -636,6 +645,13 @@ const de_Interval = (output, context) => {
|
|
|
636
645
|
}
|
|
637
646
|
return { $unknown: Object.entries(output)[0] };
|
|
638
647
|
};
|
|
648
|
+
const de_RequestBasedServiceLevelIndicator = (output, context) => {
|
|
649
|
+
return (0, smithy_client_1.take)(output, {
|
|
650
|
+
ComparisonOperator: smithy_client_1.expectString,
|
|
651
|
+
MetricThreshold: smithy_client_1.limitedParseDouble,
|
|
652
|
+
RequestBasedSliMetric: smithy_client_1._json,
|
|
653
|
+
});
|
|
654
|
+
};
|
|
639
655
|
const de_ServiceLevelIndicator = (output, context) => {
|
|
640
656
|
return (0, smithy_client_1.take)(output, {
|
|
641
657
|
ComparisonOperator: smithy_client_1.expectString,
|
|
@@ -648,9 +664,11 @@ const de_ServiceLevelObjective = (output, context) => {
|
|
|
648
664
|
Arn: smithy_client_1.expectString,
|
|
649
665
|
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
650
666
|
Description: smithy_client_1.expectString,
|
|
667
|
+
EvaluationType: smithy_client_1.expectString,
|
|
651
668
|
Goal: (_) => de_Goal(_, context),
|
|
652
669
|
LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
653
670
|
Name: smithy_client_1.expectString,
|
|
671
|
+
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_, context),
|
|
654
672
|
Sli: (_) => de_ServiceLevelIndicator(_, context),
|
|
655
673
|
});
|
|
656
674
|
};
|
|
@@ -658,11 +676,15 @@ const de_ServiceLevelObjectiveBudgetReport = (output, context) => {
|
|
|
658
676
|
return (0, smithy_client_1.take)(output, {
|
|
659
677
|
Arn: smithy_client_1.expectString,
|
|
660
678
|
Attainment: smithy_client_1.limitedParseDouble,
|
|
679
|
+
BudgetRequestsRemaining: smithy_client_1.expectInt32,
|
|
661
680
|
BudgetSecondsRemaining: smithy_client_1.expectInt32,
|
|
662
681
|
BudgetStatus: smithy_client_1.expectString,
|
|
682
|
+
EvaluationType: smithy_client_1.expectString,
|
|
663
683
|
Goal: (_) => de_Goal(_, context),
|
|
664
684
|
Name: smithy_client_1.expectString,
|
|
685
|
+
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_, context),
|
|
665
686
|
Sli: (_) => de_ServiceLevelIndicator(_, context),
|
|
687
|
+
TotalBudgetRequests: smithy_client_1.expectInt32,
|
|
666
688
|
TotalBudgetSeconds: smithy_client_1.expectInt32,
|
|
667
689
|
});
|
|
668
690
|
};
|
|
@@ -18,8 +18,14 @@ export const ServiceLevelObjectiveBudgetStatus = {
|
|
|
18
18
|
OK: "OK",
|
|
19
19
|
WARNING: "WARNING",
|
|
20
20
|
};
|
|
21
|
+
export const EvaluationType = {
|
|
22
|
+
PERIOD_BASED: "PeriodBased",
|
|
23
|
+
REQUEST_BASED: "RequestBased",
|
|
24
|
+
};
|
|
21
25
|
export const DurationUnit = {
|
|
22
26
|
DAY: "DAY",
|
|
27
|
+
HOUR: "HOUR",
|
|
28
|
+
MINUTE: "MINUTE",
|
|
23
29
|
MONTH: "MONTH",
|
|
24
30
|
};
|
|
25
31
|
export var Interval;
|
|
@@ -38,6 +44,10 @@ export const ServiceLevelIndicatorComparisonOperator = {
|
|
|
38
44
|
LESS_THAN: "LessThan",
|
|
39
45
|
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
40
46
|
};
|
|
47
|
+
export const ServiceLevelIndicatorMetricType = {
|
|
48
|
+
AVAILABILITY: "AVAILABILITY",
|
|
49
|
+
LATENCY: "LATENCY",
|
|
50
|
+
};
|
|
41
51
|
export const StandardUnit = {
|
|
42
52
|
BITS: "Bits",
|
|
43
53
|
BITS_SECOND: "Bits/Second",
|
|
@@ -67,10 +77,16 @@ export const StandardUnit = {
|
|
|
67
77
|
TERABYTES: "Terabytes",
|
|
68
78
|
TERABYTES_SECOND: "Terabytes/Second",
|
|
69
79
|
};
|
|
70
|
-
export
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
80
|
+
export var MonitoredRequestCountMetricDataQueries;
|
|
81
|
+
(function (MonitoredRequestCountMetricDataQueries) {
|
|
82
|
+
MonitoredRequestCountMetricDataQueries.visit = (value, visitor) => {
|
|
83
|
+
if (value.GoodCountMetric !== undefined)
|
|
84
|
+
return visitor.GoodCountMetric(value.GoodCountMetric);
|
|
85
|
+
if (value.BadCountMetric !== undefined)
|
|
86
|
+
return visitor.BadCountMetric(value.BadCountMetric);
|
|
87
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
88
|
+
};
|
|
89
|
+
})(MonitoredRequestCountMetricDataQueries || (MonitoredRequestCountMetricDataQueries = {}));
|
|
74
90
|
export class ThrottlingException extends __BaseException {
|
|
75
91
|
constructor(opts) {
|
|
76
92
|
super({
|
|
@@ -28,6 +28,7 @@ export const se_CreateServiceLevelObjectiveCommand = async (input, context) => {
|
|
|
28
28
|
Description: [],
|
|
29
29
|
Goal: (_) => se_Goal(_, context),
|
|
30
30
|
Name: [],
|
|
31
|
+
RequestBasedSliConfig: (_) => se_RequestBasedServiceLevelIndicatorConfig(_, context),
|
|
31
32
|
SliConfig: (_) => se_ServiceLevelIndicatorConfig(_, context),
|
|
32
33
|
Tags: (_) => _json(_),
|
|
33
34
|
}));
|
|
@@ -216,6 +217,7 @@ export const se_UpdateServiceLevelObjectiveCommand = async (input, context) => {
|
|
|
216
217
|
body = JSON.stringify(take(input, {
|
|
217
218
|
Description: [],
|
|
218
219
|
Goal: (_) => se_Goal(_, context),
|
|
220
|
+
RequestBasedSliConfig: (_) => se_RequestBasedServiceLevelIndicatorConfig(_, context),
|
|
219
221
|
SliConfig: (_) => se_ServiceLevelIndicatorConfig(_, context),
|
|
220
222
|
}));
|
|
221
223
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -569,6 +571,13 @@ const se_Interval = (input, context) => {
|
|
|
569
571
|
_: (name, value) => ({ name: value }),
|
|
570
572
|
});
|
|
571
573
|
};
|
|
574
|
+
const se_RequestBasedServiceLevelIndicatorConfig = (input, context) => {
|
|
575
|
+
return take(input, {
|
|
576
|
+
ComparisonOperator: [],
|
|
577
|
+
MetricThreshold: __serializeFloat,
|
|
578
|
+
RequestBasedSliMetricConfig: _json,
|
|
579
|
+
});
|
|
580
|
+
};
|
|
572
581
|
const se_ServiceLevelIndicatorConfig = (input, context) => {
|
|
573
582
|
return take(input, {
|
|
574
583
|
ComparisonOperator: [],
|
|
@@ -603,6 +612,13 @@ const de_Interval = (output, context) => {
|
|
|
603
612
|
}
|
|
604
613
|
return { $unknown: Object.entries(output)[0] };
|
|
605
614
|
};
|
|
615
|
+
const de_RequestBasedServiceLevelIndicator = (output, context) => {
|
|
616
|
+
return take(output, {
|
|
617
|
+
ComparisonOperator: __expectString,
|
|
618
|
+
MetricThreshold: __limitedParseDouble,
|
|
619
|
+
RequestBasedSliMetric: _json,
|
|
620
|
+
});
|
|
621
|
+
};
|
|
606
622
|
const de_ServiceLevelIndicator = (output, context) => {
|
|
607
623
|
return take(output, {
|
|
608
624
|
ComparisonOperator: __expectString,
|
|
@@ -615,9 +631,11 @@ const de_ServiceLevelObjective = (output, context) => {
|
|
|
615
631
|
Arn: __expectString,
|
|
616
632
|
CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
617
633
|
Description: __expectString,
|
|
634
|
+
EvaluationType: __expectString,
|
|
618
635
|
Goal: (_) => de_Goal(_, context),
|
|
619
636
|
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
620
637
|
Name: __expectString,
|
|
638
|
+
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_, context),
|
|
621
639
|
Sli: (_) => de_ServiceLevelIndicator(_, context),
|
|
622
640
|
});
|
|
623
641
|
};
|
|
@@ -625,11 +643,15 @@ const de_ServiceLevelObjectiveBudgetReport = (output, context) => {
|
|
|
625
643
|
return take(output, {
|
|
626
644
|
Arn: __expectString,
|
|
627
645
|
Attainment: __limitedParseDouble,
|
|
646
|
+
BudgetRequestsRemaining: __expectInt32,
|
|
628
647
|
BudgetSecondsRemaining: __expectInt32,
|
|
629
648
|
BudgetStatus: __expectString,
|
|
649
|
+
EvaluationType: __expectString,
|
|
630
650
|
Goal: (_) => de_Goal(_, context),
|
|
631
651
|
Name: __expectString,
|
|
652
|
+
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_, context),
|
|
632
653
|
Sli: (_) => de_ServiceLevelIndicator(_, context),
|
|
654
|
+
TotalBudgetRequests: __expectInt32,
|
|
633
655
|
TotalBudgetSeconds: __expectInt32,
|
|
634
656
|
});
|
|
635
657
|
};
|
|
@@ -28,7 +28,7 @@ declare const BatchGetServiceLevelObjectiveBudgetReportCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Use this operation to retrieve one or more <i>service level objective (SLO) budget reports</i>.</p>
|
|
31
|
-
* <p>An <i>error budget</i> is the amount of time in unhealthy
|
|
31
|
+
* <p>An <i>error budget</i> is the amount of time or requests in an unhealthy state that your service can
|
|
32
32
|
* accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be
|
|
33
33
|
* unmet. For example, an SLO with a threshold of 99.95% and a monthly interval
|
|
34
34
|
* translates to an error budget of 21.9 minutes of
|
|
@@ -58,10 +58,13 @@ declare const BatchGetServiceLevelObjectiveBudgetReportCommand_base: {
|
|
|
58
58
|
* // { // ServiceLevelObjectiveBudgetReport
|
|
59
59
|
* // Arn: "STRING_VALUE", // required
|
|
60
60
|
* // Name: "STRING_VALUE", // required
|
|
61
|
+
* // EvaluationType: "PeriodBased" || "RequestBased",
|
|
61
62
|
* // BudgetStatus: "OK" || "WARNING" || "BREACHED" || "INSUFFICIENT_DATA", // required
|
|
62
63
|
* // Attainment: Number("double"),
|
|
63
64
|
* // TotalBudgetSeconds: Number("int"),
|
|
64
65
|
* // BudgetSecondsRemaining: Number("int"),
|
|
66
|
+
* // TotalBudgetRequests: Number("int"),
|
|
67
|
+
* // BudgetRequestsRemaining: Number("int"),
|
|
65
68
|
* // Sli: { // ServiceLevelIndicator
|
|
66
69
|
* // SliMetric: { // ServiceLevelIndicatorMetric
|
|
67
70
|
* // KeyAttributes: { // Attributes
|
|
@@ -98,15 +101,103 @@ declare const BatchGetServiceLevelObjectiveBudgetReportCommand_base: {
|
|
|
98
101
|
* // MetricThreshold: Number("double"), // required
|
|
99
102
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
100
103
|
* // },
|
|
104
|
+
* // RequestBasedSli: { // RequestBasedServiceLevelIndicator
|
|
105
|
+
* // RequestBasedSliMetric: { // RequestBasedServiceLevelIndicatorMetric
|
|
106
|
+
* // KeyAttributes: {
|
|
107
|
+
* // "<keys>": "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // OperationName: "STRING_VALUE",
|
|
110
|
+
* // MetricType: "LATENCY" || "AVAILABILITY",
|
|
111
|
+
* // TotalRequestCountMetric: [ // required
|
|
112
|
+
* // {
|
|
113
|
+
* // Id: "STRING_VALUE", // required
|
|
114
|
+
* // MetricStat: {
|
|
115
|
+
* // Metric: {
|
|
116
|
+
* // Namespace: "STRING_VALUE",
|
|
117
|
+
* // MetricName: "STRING_VALUE",
|
|
118
|
+
* // Dimensions: [
|
|
119
|
+
* // {
|
|
120
|
+
* // Name: "STRING_VALUE", // required
|
|
121
|
+
* // Value: "STRING_VALUE", // required
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // },
|
|
125
|
+
* // Period: Number("int"), // required
|
|
126
|
+
* // Stat: "STRING_VALUE", // required
|
|
127
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "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",
|
|
128
|
+
* // },
|
|
129
|
+
* // Expression: "STRING_VALUE",
|
|
130
|
+
* // Label: "STRING_VALUE",
|
|
131
|
+
* // ReturnData: true || false,
|
|
132
|
+
* // Period: Number("int"),
|
|
133
|
+
* // AccountId: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // MonitoredRequestCountMetric: { // MonitoredRequestCountMetricDataQueries Union: only one key present
|
|
137
|
+
* // GoodCountMetric: [
|
|
138
|
+
* // {
|
|
139
|
+
* // Id: "STRING_VALUE", // required
|
|
140
|
+
* // MetricStat: {
|
|
141
|
+
* // Metric: {
|
|
142
|
+
* // Namespace: "STRING_VALUE",
|
|
143
|
+
* // MetricName: "STRING_VALUE",
|
|
144
|
+
* // Dimensions: [
|
|
145
|
+
* // {
|
|
146
|
+
* // Name: "STRING_VALUE", // required
|
|
147
|
+
* // Value: "STRING_VALUE", // required
|
|
148
|
+
* // },
|
|
149
|
+
* // ],
|
|
150
|
+
* // },
|
|
151
|
+
* // Period: Number("int"), // required
|
|
152
|
+
* // Stat: "STRING_VALUE", // required
|
|
153
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "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",
|
|
154
|
+
* // },
|
|
155
|
+
* // Expression: "STRING_VALUE",
|
|
156
|
+
* // Label: "STRING_VALUE",
|
|
157
|
+
* // ReturnData: true || false,
|
|
158
|
+
* // Period: Number("int"),
|
|
159
|
+
* // AccountId: "STRING_VALUE",
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // BadCountMetric: [
|
|
163
|
+
* // {
|
|
164
|
+
* // Id: "STRING_VALUE", // required
|
|
165
|
+
* // MetricStat: {
|
|
166
|
+
* // Metric: {
|
|
167
|
+
* // Namespace: "STRING_VALUE",
|
|
168
|
+
* // MetricName: "STRING_VALUE",
|
|
169
|
+
* // Dimensions: [
|
|
170
|
+
* // {
|
|
171
|
+
* // Name: "STRING_VALUE", // required
|
|
172
|
+
* // Value: "STRING_VALUE", // required
|
|
173
|
+
* // },
|
|
174
|
+
* // ],
|
|
175
|
+
* // },
|
|
176
|
+
* // Period: Number("int"), // required
|
|
177
|
+
* // Stat: "STRING_VALUE", // required
|
|
178
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "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",
|
|
179
|
+
* // },
|
|
180
|
+
* // Expression: "STRING_VALUE",
|
|
181
|
+
* // Label: "STRING_VALUE",
|
|
182
|
+
* // ReturnData: true || false,
|
|
183
|
+
* // Period: Number("int"),
|
|
184
|
+
* // AccountId: "STRING_VALUE",
|
|
185
|
+
* // },
|
|
186
|
+
* // ],
|
|
187
|
+
* // },
|
|
188
|
+
* // },
|
|
189
|
+
* // MetricThreshold: Number("double"),
|
|
190
|
+
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
191
|
+
* // },
|
|
101
192
|
* // Goal: { // Goal
|
|
102
193
|
* // Interval: { // Interval Union: only one key present
|
|
103
194
|
* // RollingInterval: { // RollingInterval
|
|
104
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
195
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
105
196
|
* // Duration: Number("int"), // required
|
|
106
197
|
* // },
|
|
107
198
|
* // CalendarInterval: { // CalendarInterval
|
|
108
199
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
109
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
200
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
110
201
|
* // Duration: Number("int"), // required
|
|
111
202
|
* // },
|
|
112
203
|
* // },
|