@aws-sdk/client-cloudwatch 3.303.0 → 3.309.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 -2
- package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +2 -2
- package/dist-cjs/commands/DeleteDashboardsCommand.js +2 -2
- package/dist-cjs/commands/DeleteInsightRulesCommand.js +2 -2
- package/dist-cjs/commands/DeleteMetricStreamCommand.js +2 -2
- package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +2 -2
- package/dist-cjs/commands/DescribeAlarmsCommand.js +2 -2
- package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +2 -2
- package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +2 -2
- package/dist-cjs/commands/DescribeInsightRulesCommand.js +2 -2
- package/dist-cjs/commands/DisableAlarmActionsCommand.js +2 -2
- package/dist-cjs/commands/DisableInsightRulesCommand.js +2 -2
- package/dist-cjs/commands/EnableAlarmActionsCommand.js +2 -2
- package/dist-cjs/commands/EnableInsightRulesCommand.js +2 -2
- package/dist-cjs/commands/GetDashboardCommand.js +2 -2
- package/dist-cjs/commands/GetInsightRuleReportCommand.js +2 -2
- package/dist-cjs/commands/GetMetricDataCommand.js +2 -2
- package/dist-cjs/commands/GetMetricStatisticsCommand.js +2 -2
- package/dist-cjs/commands/GetMetricStreamCommand.js +2 -2
- package/dist-cjs/commands/GetMetricWidgetImageCommand.js +2 -2
- package/dist-cjs/commands/ListDashboardsCommand.js +2 -2
- package/dist-cjs/commands/ListManagedInsightRulesCommand.js +2 -2
- package/dist-cjs/commands/ListMetricStreamsCommand.js +2 -2
- package/dist-cjs/commands/ListMetricsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutAnomalyDetectorCommand.js +2 -2
- package/dist-cjs/commands/PutCompositeAlarmCommand.js +2 -2
- package/dist-cjs/commands/PutDashboardCommand.js +2 -2
- package/dist-cjs/commands/PutInsightRuleCommand.js +2 -2
- package/dist-cjs/commands/PutManagedInsightRulesCommand.js +2 -2
- package/dist-cjs/commands/PutMetricAlarmCommand.js +2 -2
- package/dist-cjs/commands/PutMetricDataCommand.js +2 -2
- package/dist-cjs/commands/PutMetricStreamCommand.js +2 -2
- package/dist-cjs/commands/SetAlarmStateCommand.js +2 -2
- package/dist-cjs/commands/StartMetricStreamsCommand.js +2 -2
- package/dist-cjs/commands/StopMetricStreamsCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/protocols/Aws_query.js +753 -753
- package/dist-es/commands/DeleteAlarmsCommand.js +3 -3
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +3 -3
- package/dist-es/commands/DeleteDashboardsCommand.js +3 -3
- package/dist-es/commands/DeleteInsightRulesCommand.js +3 -3
- package/dist-es/commands/DeleteMetricStreamCommand.js +3 -3
- package/dist-es/commands/DescribeAlarmHistoryCommand.js +3 -3
- package/dist-es/commands/DescribeAlarmsCommand.js +3 -3
- package/dist-es/commands/DescribeAlarmsForMetricCommand.js +3 -3
- package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +3 -3
- package/dist-es/commands/DescribeInsightRulesCommand.js +3 -3
- package/dist-es/commands/DisableAlarmActionsCommand.js +3 -3
- package/dist-es/commands/DisableInsightRulesCommand.js +3 -3
- package/dist-es/commands/EnableAlarmActionsCommand.js +3 -3
- package/dist-es/commands/EnableInsightRulesCommand.js +3 -3
- package/dist-es/commands/GetDashboardCommand.js +3 -3
- package/dist-es/commands/GetInsightRuleReportCommand.js +3 -3
- package/dist-es/commands/GetMetricDataCommand.js +3 -3
- package/dist-es/commands/GetMetricStatisticsCommand.js +3 -3
- package/dist-es/commands/GetMetricStreamCommand.js +3 -3
- package/dist-es/commands/GetMetricWidgetImageCommand.js +3 -3
- package/dist-es/commands/ListDashboardsCommand.js +3 -3
- package/dist-es/commands/ListManagedInsightRulesCommand.js +3 -3
- package/dist-es/commands/ListMetricStreamsCommand.js +3 -3
- package/dist-es/commands/ListMetricsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutAnomalyDetectorCommand.js +3 -3
- package/dist-es/commands/PutCompositeAlarmCommand.js +3 -3
- package/dist-es/commands/PutDashboardCommand.js +3 -3
- package/dist-es/commands/PutInsightRuleCommand.js +3 -3
- package/dist-es/commands/PutManagedInsightRulesCommand.js +3 -3
- package/dist-es/commands/PutMetricAlarmCommand.js +3 -3
- package/dist-es/commands/PutMetricDataCommand.js +3 -3
- package/dist-es/commands/PutMetricStreamCommand.js +3 -3
- package/dist-es/commands/SetAlarmStateCommand.js +3 -3
- package/dist-es/commands/StartMetricStreamsCommand.js +3 -3
- package/dist-es/commands/StopMetricStreamsCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/protocols/Aws_query.js +675 -675
- package/dist-types/protocols/Aws_query.d.ts +304 -76
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +76 -76
- package/package.json +30 -30
|
@@ -1,509 +1,509 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_DisableInsightRulesCommand = exports.de_DisableAlarmActionsCommand = exports.de_DescribeInsightRulesCommand = exports.de_DescribeAnomalyDetectorsCommand = exports.de_DescribeAlarmsForMetricCommand = exports.de_DescribeAlarmsCommand = exports.de_DescribeAlarmHistoryCommand = exports.de_DeleteMetricStreamCommand = exports.de_DeleteInsightRulesCommand = exports.de_DeleteDashboardsCommand = exports.de_DeleteAnomalyDetectorCommand = exports.de_DeleteAlarmsCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopMetricStreamsCommand = exports.se_StartMetricStreamsCommand = exports.se_SetAlarmStateCommand = exports.se_PutMetricStreamCommand = exports.se_PutMetricDataCommand = exports.se_PutMetricAlarmCommand = exports.se_PutManagedInsightRulesCommand = exports.se_PutInsightRuleCommand = exports.se_PutDashboardCommand = exports.se_PutCompositeAlarmCommand = exports.se_PutAnomalyDetectorCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMetricStreamsCommand = exports.se_ListMetricsCommand = exports.se_ListManagedInsightRulesCommand = exports.se_ListDashboardsCommand = exports.se_GetMetricWidgetImageCommand = exports.se_GetMetricStreamCommand = exports.se_GetMetricStatisticsCommand = exports.se_GetMetricDataCommand = exports.se_GetInsightRuleReportCommand = exports.se_GetDashboardCommand = exports.se_EnableInsightRulesCommand = exports.se_EnableAlarmActionsCommand = exports.se_DisableInsightRulesCommand = exports.se_DisableAlarmActionsCommand = exports.se_DescribeInsightRulesCommand = exports.se_DescribeAnomalyDetectorsCommand = exports.se_DescribeAlarmsForMetricCommand = exports.se_DescribeAlarmsCommand = exports.se_DescribeAlarmHistoryCommand = exports.se_DeleteMetricStreamCommand = exports.se_DeleteInsightRulesCommand = exports.se_DeleteDashboardsCommand = exports.se_DeleteAnomalyDetectorCommand = exports.se_DeleteAlarmsCommand = void 0;
|
|
4
|
+
exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopMetricStreamsCommand = exports.de_StartMetricStreamsCommand = exports.de_SetAlarmStateCommand = exports.de_PutMetricStreamCommand = exports.de_PutMetricDataCommand = exports.de_PutMetricAlarmCommand = exports.de_PutManagedInsightRulesCommand = exports.de_PutInsightRuleCommand = exports.de_PutDashboardCommand = exports.de_PutCompositeAlarmCommand = exports.de_PutAnomalyDetectorCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMetricStreamsCommand = exports.de_ListMetricsCommand = exports.de_ListManagedInsightRulesCommand = exports.de_ListDashboardsCommand = exports.de_GetMetricWidgetImageCommand = exports.de_GetMetricStreamCommand = exports.de_GetMetricStatisticsCommand = exports.de_GetMetricDataCommand = exports.de_GetInsightRuleReportCommand = exports.de_GetDashboardCommand = exports.de_EnableInsightRulesCommand = exports.de_EnableAlarmActionsCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
8
8
|
const CloudWatchServiceException_1 = require("../models/CloudWatchServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const
|
|
10
|
+
const se_DeleteAlarmsCommand = async (input, context) => {
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/x-www-form-urlencoded",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
15
|
body = buildFormUrlencodedString({
|
|
16
|
-
...
|
|
16
|
+
...se_DeleteAlarmsInput(input, context),
|
|
17
17
|
Action: "DeleteAlarms",
|
|
18
18
|
Version: "2010-08-01",
|
|
19
19
|
});
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
|
-
exports.
|
|
23
|
-
const
|
|
22
|
+
exports.se_DeleteAlarmsCommand = se_DeleteAlarmsCommand;
|
|
23
|
+
const se_DeleteAnomalyDetectorCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-www-form-urlencoded",
|
|
26
26
|
};
|
|
27
27
|
let body;
|
|
28
28
|
body = buildFormUrlencodedString({
|
|
29
|
-
...
|
|
29
|
+
...se_DeleteAnomalyDetectorInput(input, context),
|
|
30
30
|
Action: "DeleteAnomalyDetector",
|
|
31
31
|
Version: "2010-08-01",
|
|
32
32
|
});
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
|
-
exports.
|
|
36
|
-
const
|
|
35
|
+
exports.se_DeleteAnomalyDetectorCommand = se_DeleteAnomalyDetectorCommand;
|
|
36
|
+
const se_DeleteDashboardsCommand = async (input, context) => {
|
|
37
37
|
const headers = {
|
|
38
38
|
"content-type": "application/x-www-form-urlencoded",
|
|
39
39
|
};
|
|
40
40
|
let body;
|
|
41
41
|
body = buildFormUrlencodedString({
|
|
42
|
-
...
|
|
42
|
+
...se_DeleteDashboardsInput(input, context),
|
|
43
43
|
Action: "DeleteDashboards",
|
|
44
44
|
Version: "2010-08-01",
|
|
45
45
|
});
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_DeleteDashboardsCommand = se_DeleteDashboardsCommand;
|
|
49
|
+
const se_DeleteInsightRulesCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-www-form-urlencoded",
|
|
52
52
|
};
|
|
53
53
|
let body;
|
|
54
54
|
body = buildFormUrlencodedString({
|
|
55
|
-
...
|
|
55
|
+
...se_DeleteInsightRulesInput(input, context),
|
|
56
56
|
Action: "DeleteInsightRules",
|
|
57
57
|
Version: "2010-08-01",
|
|
58
58
|
});
|
|
59
59
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
60
|
};
|
|
61
|
-
exports.
|
|
62
|
-
const
|
|
61
|
+
exports.se_DeleteInsightRulesCommand = se_DeleteInsightRulesCommand;
|
|
62
|
+
const se_DeleteMetricStreamCommand = async (input, context) => {
|
|
63
63
|
const headers = {
|
|
64
64
|
"content-type": "application/x-www-form-urlencoded",
|
|
65
65
|
};
|
|
66
66
|
let body;
|
|
67
67
|
body = buildFormUrlencodedString({
|
|
68
|
-
...
|
|
68
|
+
...se_DeleteMetricStreamInput(input, context),
|
|
69
69
|
Action: "DeleteMetricStream",
|
|
70
70
|
Version: "2010-08-01",
|
|
71
71
|
});
|
|
72
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
73
73
|
};
|
|
74
|
-
exports.
|
|
75
|
-
const
|
|
74
|
+
exports.se_DeleteMetricStreamCommand = se_DeleteMetricStreamCommand;
|
|
75
|
+
const se_DescribeAlarmHistoryCommand = async (input, context) => {
|
|
76
76
|
const headers = {
|
|
77
77
|
"content-type": "application/x-www-form-urlencoded",
|
|
78
78
|
};
|
|
79
79
|
let body;
|
|
80
80
|
body = buildFormUrlencodedString({
|
|
81
|
-
...
|
|
81
|
+
...se_DescribeAlarmHistoryInput(input, context),
|
|
82
82
|
Action: "DescribeAlarmHistory",
|
|
83
83
|
Version: "2010-08-01",
|
|
84
84
|
});
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
88
|
-
const
|
|
87
|
+
exports.se_DescribeAlarmHistoryCommand = se_DescribeAlarmHistoryCommand;
|
|
88
|
+
const se_DescribeAlarmsCommand = async (input, context) => {
|
|
89
89
|
const headers = {
|
|
90
90
|
"content-type": "application/x-www-form-urlencoded",
|
|
91
91
|
};
|
|
92
92
|
let body;
|
|
93
93
|
body = buildFormUrlencodedString({
|
|
94
|
-
...
|
|
94
|
+
...se_DescribeAlarmsInput(input, context),
|
|
95
95
|
Action: "DescribeAlarms",
|
|
96
96
|
Version: "2010-08-01",
|
|
97
97
|
});
|
|
98
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
99
|
};
|
|
100
|
-
exports.
|
|
101
|
-
const
|
|
100
|
+
exports.se_DescribeAlarmsCommand = se_DescribeAlarmsCommand;
|
|
101
|
+
const se_DescribeAlarmsForMetricCommand = async (input, context) => {
|
|
102
102
|
const headers = {
|
|
103
103
|
"content-type": "application/x-www-form-urlencoded",
|
|
104
104
|
};
|
|
105
105
|
let body;
|
|
106
106
|
body = buildFormUrlencodedString({
|
|
107
|
-
...
|
|
107
|
+
...se_DescribeAlarmsForMetricInput(input, context),
|
|
108
108
|
Action: "DescribeAlarmsForMetric",
|
|
109
109
|
Version: "2010-08-01",
|
|
110
110
|
});
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
exports.
|
|
114
|
-
const
|
|
113
|
+
exports.se_DescribeAlarmsForMetricCommand = se_DescribeAlarmsForMetricCommand;
|
|
114
|
+
const se_DescribeAnomalyDetectorsCommand = async (input, context) => {
|
|
115
115
|
const headers = {
|
|
116
116
|
"content-type": "application/x-www-form-urlencoded",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
119
|
body = buildFormUrlencodedString({
|
|
120
|
-
...
|
|
120
|
+
...se_DescribeAnomalyDetectorsInput(input, context),
|
|
121
121
|
Action: "DescribeAnomalyDetectors",
|
|
122
122
|
Version: "2010-08-01",
|
|
123
123
|
});
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
127
|
-
const
|
|
126
|
+
exports.se_DescribeAnomalyDetectorsCommand = se_DescribeAnomalyDetectorsCommand;
|
|
127
|
+
const se_DescribeInsightRulesCommand = async (input, context) => {
|
|
128
128
|
const headers = {
|
|
129
129
|
"content-type": "application/x-www-form-urlencoded",
|
|
130
130
|
};
|
|
131
131
|
let body;
|
|
132
132
|
body = buildFormUrlencodedString({
|
|
133
|
-
...
|
|
133
|
+
...se_DescribeInsightRulesInput(input, context),
|
|
134
134
|
Action: "DescribeInsightRules",
|
|
135
135
|
Version: "2010-08-01",
|
|
136
136
|
});
|
|
137
137
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
138
|
};
|
|
139
|
-
exports.
|
|
140
|
-
const
|
|
139
|
+
exports.se_DescribeInsightRulesCommand = se_DescribeInsightRulesCommand;
|
|
140
|
+
const se_DisableAlarmActionsCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-www-form-urlencoded",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
145
|
body = buildFormUrlencodedString({
|
|
146
|
-
...
|
|
146
|
+
...se_DisableAlarmActionsInput(input, context),
|
|
147
147
|
Action: "DisableAlarmActions",
|
|
148
148
|
Version: "2010-08-01",
|
|
149
149
|
});
|
|
150
150
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
151
151
|
};
|
|
152
|
-
exports.
|
|
153
|
-
const
|
|
152
|
+
exports.se_DisableAlarmActionsCommand = se_DisableAlarmActionsCommand;
|
|
153
|
+
const se_DisableInsightRulesCommand = async (input, context) => {
|
|
154
154
|
const headers = {
|
|
155
155
|
"content-type": "application/x-www-form-urlencoded",
|
|
156
156
|
};
|
|
157
157
|
let body;
|
|
158
158
|
body = buildFormUrlencodedString({
|
|
159
|
-
...
|
|
159
|
+
...se_DisableInsightRulesInput(input, context),
|
|
160
160
|
Action: "DisableInsightRules",
|
|
161
161
|
Version: "2010-08-01",
|
|
162
162
|
});
|
|
163
163
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
164
164
|
};
|
|
165
|
-
exports.
|
|
166
|
-
const
|
|
165
|
+
exports.se_DisableInsightRulesCommand = se_DisableInsightRulesCommand;
|
|
166
|
+
const se_EnableAlarmActionsCommand = async (input, context) => {
|
|
167
167
|
const headers = {
|
|
168
168
|
"content-type": "application/x-www-form-urlencoded",
|
|
169
169
|
};
|
|
170
170
|
let body;
|
|
171
171
|
body = buildFormUrlencodedString({
|
|
172
|
-
...
|
|
172
|
+
...se_EnableAlarmActionsInput(input, context),
|
|
173
173
|
Action: "EnableAlarmActions",
|
|
174
174
|
Version: "2010-08-01",
|
|
175
175
|
});
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_EnableAlarmActionsCommand = se_EnableAlarmActionsCommand;
|
|
179
|
+
const se_EnableInsightRulesCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-www-form-urlencoded",
|
|
182
182
|
};
|
|
183
183
|
let body;
|
|
184
184
|
body = buildFormUrlencodedString({
|
|
185
|
-
...
|
|
185
|
+
...se_EnableInsightRulesInput(input, context),
|
|
186
186
|
Action: "EnableInsightRules",
|
|
187
187
|
Version: "2010-08-01",
|
|
188
188
|
});
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
|
-
exports.
|
|
192
|
-
const
|
|
191
|
+
exports.se_EnableInsightRulesCommand = se_EnableInsightRulesCommand;
|
|
192
|
+
const se_GetDashboardCommand = async (input, context) => {
|
|
193
193
|
const headers = {
|
|
194
194
|
"content-type": "application/x-www-form-urlencoded",
|
|
195
195
|
};
|
|
196
196
|
let body;
|
|
197
197
|
body = buildFormUrlencodedString({
|
|
198
|
-
...
|
|
198
|
+
...se_GetDashboardInput(input, context),
|
|
199
199
|
Action: "GetDashboard",
|
|
200
200
|
Version: "2010-08-01",
|
|
201
201
|
});
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
|
-
exports.
|
|
205
|
-
const
|
|
204
|
+
exports.se_GetDashboardCommand = se_GetDashboardCommand;
|
|
205
|
+
const se_GetInsightRuleReportCommand = async (input, context) => {
|
|
206
206
|
const headers = {
|
|
207
207
|
"content-type": "application/x-www-form-urlencoded",
|
|
208
208
|
};
|
|
209
209
|
let body;
|
|
210
210
|
body = buildFormUrlencodedString({
|
|
211
|
-
...
|
|
211
|
+
...se_GetInsightRuleReportInput(input, context),
|
|
212
212
|
Action: "GetInsightRuleReport",
|
|
213
213
|
Version: "2010-08-01",
|
|
214
214
|
});
|
|
215
215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
216
|
};
|
|
217
|
-
exports.
|
|
218
|
-
const
|
|
217
|
+
exports.se_GetInsightRuleReportCommand = se_GetInsightRuleReportCommand;
|
|
218
|
+
const se_GetMetricDataCommand = async (input, context) => {
|
|
219
219
|
const headers = {
|
|
220
220
|
"content-type": "application/x-www-form-urlencoded",
|
|
221
221
|
};
|
|
222
222
|
let body;
|
|
223
223
|
body = buildFormUrlencodedString({
|
|
224
|
-
...
|
|
224
|
+
...se_GetMetricDataInput(input, context),
|
|
225
225
|
Action: "GetMetricData",
|
|
226
226
|
Version: "2010-08-01",
|
|
227
227
|
});
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
exports.
|
|
231
|
-
const
|
|
230
|
+
exports.se_GetMetricDataCommand = se_GetMetricDataCommand;
|
|
231
|
+
const se_GetMetricStatisticsCommand = async (input, context) => {
|
|
232
232
|
const headers = {
|
|
233
233
|
"content-type": "application/x-www-form-urlencoded",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
236
|
body = buildFormUrlencodedString({
|
|
237
|
-
...
|
|
237
|
+
...se_GetMetricStatisticsInput(input, context),
|
|
238
238
|
Action: "GetMetricStatistics",
|
|
239
239
|
Version: "2010-08-01",
|
|
240
240
|
});
|
|
241
241
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
242
242
|
};
|
|
243
|
-
exports.
|
|
244
|
-
const
|
|
243
|
+
exports.se_GetMetricStatisticsCommand = se_GetMetricStatisticsCommand;
|
|
244
|
+
const se_GetMetricStreamCommand = async (input, context) => {
|
|
245
245
|
const headers = {
|
|
246
246
|
"content-type": "application/x-www-form-urlencoded",
|
|
247
247
|
};
|
|
248
248
|
let body;
|
|
249
249
|
body = buildFormUrlencodedString({
|
|
250
|
-
...
|
|
250
|
+
...se_GetMetricStreamInput(input, context),
|
|
251
251
|
Action: "GetMetricStream",
|
|
252
252
|
Version: "2010-08-01",
|
|
253
253
|
});
|
|
254
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
255
255
|
};
|
|
256
|
-
exports.
|
|
257
|
-
const
|
|
256
|
+
exports.se_GetMetricStreamCommand = se_GetMetricStreamCommand;
|
|
257
|
+
const se_GetMetricWidgetImageCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-www-form-urlencoded",
|
|
260
260
|
};
|
|
261
261
|
let body;
|
|
262
262
|
body = buildFormUrlencodedString({
|
|
263
|
-
...
|
|
263
|
+
...se_GetMetricWidgetImageInput(input, context),
|
|
264
264
|
Action: "GetMetricWidgetImage",
|
|
265
265
|
Version: "2010-08-01",
|
|
266
266
|
});
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
|
-
exports.
|
|
270
|
-
const
|
|
269
|
+
exports.se_GetMetricWidgetImageCommand = se_GetMetricWidgetImageCommand;
|
|
270
|
+
const se_ListDashboardsCommand = async (input, context) => {
|
|
271
271
|
const headers = {
|
|
272
272
|
"content-type": "application/x-www-form-urlencoded",
|
|
273
273
|
};
|
|
274
274
|
let body;
|
|
275
275
|
body = buildFormUrlencodedString({
|
|
276
|
-
...
|
|
276
|
+
...se_ListDashboardsInput(input, context),
|
|
277
277
|
Action: "ListDashboards",
|
|
278
278
|
Version: "2010-08-01",
|
|
279
279
|
});
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
|
-
exports.
|
|
283
|
-
const
|
|
282
|
+
exports.se_ListDashboardsCommand = se_ListDashboardsCommand;
|
|
283
|
+
const se_ListManagedInsightRulesCommand = async (input, context) => {
|
|
284
284
|
const headers = {
|
|
285
285
|
"content-type": "application/x-www-form-urlencoded",
|
|
286
286
|
};
|
|
287
287
|
let body;
|
|
288
288
|
body = buildFormUrlencodedString({
|
|
289
|
-
...
|
|
289
|
+
...se_ListManagedInsightRulesInput(input, context),
|
|
290
290
|
Action: "ListManagedInsightRules",
|
|
291
291
|
Version: "2010-08-01",
|
|
292
292
|
});
|
|
293
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
294
|
};
|
|
295
|
-
exports.
|
|
296
|
-
const
|
|
295
|
+
exports.se_ListManagedInsightRulesCommand = se_ListManagedInsightRulesCommand;
|
|
296
|
+
const se_ListMetricsCommand = async (input, context) => {
|
|
297
297
|
const headers = {
|
|
298
298
|
"content-type": "application/x-www-form-urlencoded",
|
|
299
299
|
};
|
|
300
300
|
let body;
|
|
301
301
|
body = buildFormUrlencodedString({
|
|
302
|
-
...
|
|
302
|
+
...se_ListMetricsInput(input, context),
|
|
303
303
|
Action: "ListMetrics",
|
|
304
304
|
Version: "2010-08-01",
|
|
305
305
|
});
|
|
306
306
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
307
|
};
|
|
308
|
-
exports.
|
|
309
|
-
const
|
|
308
|
+
exports.se_ListMetricsCommand = se_ListMetricsCommand;
|
|
309
|
+
const se_ListMetricStreamsCommand = async (input, context) => {
|
|
310
310
|
const headers = {
|
|
311
311
|
"content-type": "application/x-www-form-urlencoded",
|
|
312
312
|
};
|
|
313
313
|
let body;
|
|
314
314
|
body = buildFormUrlencodedString({
|
|
315
|
-
...
|
|
315
|
+
...se_ListMetricStreamsInput(input, context),
|
|
316
316
|
Action: "ListMetricStreams",
|
|
317
317
|
Version: "2010-08-01",
|
|
318
318
|
});
|
|
319
319
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
320
320
|
};
|
|
321
|
-
exports.
|
|
322
|
-
const
|
|
321
|
+
exports.se_ListMetricStreamsCommand = se_ListMetricStreamsCommand;
|
|
322
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
323
323
|
const headers = {
|
|
324
324
|
"content-type": "application/x-www-form-urlencoded",
|
|
325
325
|
};
|
|
326
326
|
let body;
|
|
327
327
|
body = buildFormUrlencodedString({
|
|
328
|
-
...
|
|
328
|
+
...se_ListTagsForResourceInput(input, context),
|
|
329
329
|
Action: "ListTagsForResource",
|
|
330
330
|
Version: "2010-08-01",
|
|
331
331
|
});
|
|
332
332
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
333
333
|
};
|
|
334
|
-
exports.
|
|
335
|
-
const
|
|
334
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
335
|
+
const se_PutAnomalyDetectorCommand = async (input, context) => {
|
|
336
336
|
const headers = {
|
|
337
337
|
"content-type": "application/x-www-form-urlencoded",
|
|
338
338
|
};
|
|
339
339
|
let body;
|
|
340
340
|
body = buildFormUrlencodedString({
|
|
341
|
-
...
|
|
341
|
+
...se_PutAnomalyDetectorInput(input, context),
|
|
342
342
|
Action: "PutAnomalyDetector",
|
|
343
343
|
Version: "2010-08-01",
|
|
344
344
|
});
|
|
345
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
346
|
};
|
|
347
|
-
exports.
|
|
348
|
-
const
|
|
347
|
+
exports.se_PutAnomalyDetectorCommand = se_PutAnomalyDetectorCommand;
|
|
348
|
+
const se_PutCompositeAlarmCommand = async (input, context) => {
|
|
349
349
|
const headers = {
|
|
350
350
|
"content-type": "application/x-www-form-urlencoded",
|
|
351
351
|
};
|
|
352
352
|
let body;
|
|
353
353
|
body = buildFormUrlencodedString({
|
|
354
|
-
...
|
|
354
|
+
...se_PutCompositeAlarmInput(input, context),
|
|
355
355
|
Action: "PutCompositeAlarm",
|
|
356
356
|
Version: "2010-08-01",
|
|
357
357
|
});
|
|
358
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
359
|
};
|
|
360
|
-
exports.
|
|
361
|
-
const
|
|
360
|
+
exports.se_PutCompositeAlarmCommand = se_PutCompositeAlarmCommand;
|
|
361
|
+
const se_PutDashboardCommand = async (input, context) => {
|
|
362
362
|
const headers = {
|
|
363
363
|
"content-type": "application/x-www-form-urlencoded",
|
|
364
364
|
};
|
|
365
365
|
let body;
|
|
366
366
|
body = buildFormUrlencodedString({
|
|
367
|
-
...
|
|
367
|
+
...se_PutDashboardInput(input, context),
|
|
368
368
|
Action: "PutDashboard",
|
|
369
369
|
Version: "2010-08-01",
|
|
370
370
|
});
|
|
371
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
372
|
};
|
|
373
|
-
exports.
|
|
374
|
-
const
|
|
373
|
+
exports.se_PutDashboardCommand = se_PutDashboardCommand;
|
|
374
|
+
const se_PutInsightRuleCommand = async (input, context) => {
|
|
375
375
|
const headers = {
|
|
376
376
|
"content-type": "application/x-www-form-urlencoded",
|
|
377
377
|
};
|
|
378
378
|
let body;
|
|
379
379
|
body = buildFormUrlencodedString({
|
|
380
|
-
...
|
|
380
|
+
...se_PutInsightRuleInput(input, context),
|
|
381
381
|
Action: "PutInsightRule",
|
|
382
382
|
Version: "2010-08-01",
|
|
383
383
|
});
|
|
384
384
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
385
385
|
};
|
|
386
|
-
exports.
|
|
387
|
-
const
|
|
386
|
+
exports.se_PutInsightRuleCommand = se_PutInsightRuleCommand;
|
|
387
|
+
const se_PutManagedInsightRulesCommand = async (input, context) => {
|
|
388
388
|
const headers = {
|
|
389
389
|
"content-type": "application/x-www-form-urlencoded",
|
|
390
390
|
};
|
|
391
391
|
let body;
|
|
392
392
|
body = buildFormUrlencodedString({
|
|
393
|
-
...
|
|
393
|
+
...se_PutManagedInsightRulesInput(input, context),
|
|
394
394
|
Action: "PutManagedInsightRules",
|
|
395
395
|
Version: "2010-08-01",
|
|
396
396
|
});
|
|
397
397
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
398
398
|
};
|
|
399
|
-
exports.
|
|
400
|
-
const
|
|
399
|
+
exports.se_PutManagedInsightRulesCommand = se_PutManagedInsightRulesCommand;
|
|
400
|
+
const se_PutMetricAlarmCommand = async (input, context) => {
|
|
401
401
|
const headers = {
|
|
402
402
|
"content-type": "application/x-www-form-urlencoded",
|
|
403
403
|
};
|
|
404
404
|
let body;
|
|
405
405
|
body = buildFormUrlencodedString({
|
|
406
|
-
...
|
|
406
|
+
...se_PutMetricAlarmInput(input, context),
|
|
407
407
|
Action: "PutMetricAlarm",
|
|
408
408
|
Version: "2010-08-01",
|
|
409
409
|
});
|
|
410
410
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
411
411
|
};
|
|
412
|
-
exports.
|
|
413
|
-
const
|
|
412
|
+
exports.se_PutMetricAlarmCommand = se_PutMetricAlarmCommand;
|
|
413
|
+
const se_PutMetricDataCommand = async (input, context) => {
|
|
414
414
|
const headers = {
|
|
415
415
|
"content-type": "application/x-www-form-urlencoded",
|
|
416
416
|
};
|
|
417
417
|
let body;
|
|
418
418
|
body = buildFormUrlencodedString({
|
|
419
|
-
...
|
|
419
|
+
...se_PutMetricDataInput(input, context),
|
|
420
420
|
Action: "PutMetricData",
|
|
421
421
|
Version: "2010-08-01",
|
|
422
422
|
});
|
|
423
423
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
424
424
|
};
|
|
425
|
-
exports.
|
|
426
|
-
const
|
|
425
|
+
exports.se_PutMetricDataCommand = se_PutMetricDataCommand;
|
|
426
|
+
const se_PutMetricStreamCommand = async (input, context) => {
|
|
427
427
|
const headers = {
|
|
428
428
|
"content-type": "application/x-www-form-urlencoded",
|
|
429
429
|
};
|
|
430
430
|
let body;
|
|
431
431
|
body = buildFormUrlencodedString({
|
|
432
|
-
...
|
|
432
|
+
...se_PutMetricStreamInput(input, context),
|
|
433
433
|
Action: "PutMetricStream",
|
|
434
434
|
Version: "2010-08-01",
|
|
435
435
|
});
|
|
436
436
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
437
|
};
|
|
438
|
-
exports.
|
|
439
|
-
const
|
|
438
|
+
exports.se_PutMetricStreamCommand = se_PutMetricStreamCommand;
|
|
439
|
+
const se_SetAlarmStateCommand = async (input, context) => {
|
|
440
440
|
const headers = {
|
|
441
441
|
"content-type": "application/x-www-form-urlencoded",
|
|
442
442
|
};
|
|
443
443
|
let body;
|
|
444
444
|
body = buildFormUrlencodedString({
|
|
445
|
-
...
|
|
445
|
+
...se_SetAlarmStateInput(input, context),
|
|
446
446
|
Action: "SetAlarmState",
|
|
447
447
|
Version: "2010-08-01",
|
|
448
448
|
});
|
|
449
449
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
450
450
|
};
|
|
451
|
-
exports.
|
|
452
|
-
const
|
|
451
|
+
exports.se_SetAlarmStateCommand = se_SetAlarmStateCommand;
|
|
452
|
+
const se_StartMetricStreamsCommand = async (input, context) => {
|
|
453
453
|
const headers = {
|
|
454
454
|
"content-type": "application/x-www-form-urlencoded",
|
|
455
455
|
};
|
|
456
456
|
let body;
|
|
457
457
|
body = buildFormUrlencodedString({
|
|
458
|
-
...
|
|
458
|
+
...se_StartMetricStreamsInput(input, context),
|
|
459
459
|
Action: "StartMetricStreams",
|
|
460
460
|
Version: "2010-08-01",
|
|
461
461
|
});
|
|
462
462
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
463
463
|
};
|
|
464
|
-
exports.
|
|
465
|
-
const
|
|
464
|
+
exports.se_StartMetricStreamsCommand = se_StartMetricStreamsCommand;
|
|
465
|
+
const se_StopMetricStreamsCommand = async (input, context) => {
|
|
466
466
|
const headers = {
|
|
467
467
|
"content-type": "application/x-www-form-urlencoded",
|
|
468
468
|
};
|
|
469
469
|
let body;
|
|
470
470
|
body = buildFormUrlencodedString({
|
|
471
|
-
...
|
|
471
|
+
...se_StopMetricStreamsInput(input, context),
|
|
472
472
|
Action: "StopMetricStreams",
|
|
473
473
|
Version: "2010-08-01",
|
|
474
474
|
});
|
|
475
475
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
476
476
|
};
|
|
477
|
-
exports.
|
|
478
|
-
const
|
|
477
|
+
exports.se_StopMetricStreamsCommand = se_StopMetricStreamsCommand;
|
|
478
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
479
479
|
const headers = {
|
|
480
480
|
"content-type": "application/x-www-form-urlencoded",
|
|
481
481
|
};
|
|
482
482
|
let body;
|
|
483
483
|
body = buildFormUrlencodedString({
|
|
484
|
-
...
|
|
484
|
+
...se_TagResourceInput(input, context),
|
|
485
485
|
Action: "TagResource",
|
|
486
486
|
Version: "2010-08-01",
|
|
487
487
|
});
|
|
488
488
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
489
489
|
};
|
|
490
|
-
exports.
|
|
491
|
-
const
|
|
490
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
491
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
492
492
|
const headers = {
|
|
493
493
|
"content-type": "application/x-www-form-urlencoded",
|
|
494
494
|
};
|
|
495
495
|
let body;
|
|
496
496
|
body = buildFormUrlencodedString({
|
|
497
|
-
...
|
|
497
|
+
...se_UntagResourceInput(input, context),
|
|
498
498
|
Action: "UntagResource",
|
|
499
499
|
Version: "2010-08-01",
|
|
500
500
|
});
|
|
501
501
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
502
502
|
};
|
|
503
|
-
exports.
|
|
504
|
-
const
|
|
503
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
504
|
+
const de_DeleteAlarmsCommand = async (output, context) => {
|
|
505
505
|
if (output.statusCode >= 300) {
|
|
506
|
-
return
|
|
506
|
+
return de_DeleteAlarmsCommandError(output, context);
|
|
507
507
|
}
|
|
508
508
|
await collectBody(output.body, context);
|
|
509
509
|
const response = {
|
|
@@ -511,8 +511,8 @@ const deserializeAws_queryDeleteAlarmsCommand = async (output, context) => {
|
|
|
511
511
|
};
|
|
512
512
|
return Promise.resolve(response);
|
|
513
513
|
};
|
|
514
|
-
exports.
|
|
515
|
-
const
|
|
514
|
+
exports.de_DeleteAlarmsCommand = de_DeleteAlarmsCommand;
|
|
515
|
+
const de_DeleteAlarmsCommandError = async (output, context) => {
|
|
516
516
|
const parsedOutput = {
|
|
517
517
|
...output,
|
|
518
518
|
body: await parseErrorBody(output.body, context),
|
|
@@ -521,7 +521,7 @@ const deserializeAws_queryDeleteAlarmsCommandError = async (output, context) =>
|
|
|
521
521
|
switch (errorCode) {
|
|
522
522
|
case "ResourceNotFound":
|
|
523
523
|
case "com.amazonaws.cloudwatch#ResourceNotFound":
|
|
524
|
-
throw await
|
|
524
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
525
525
|
default:
|
|
526
526
|
const parsedBody = parsedOutput.body;
|
|
527
527
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -532,21 +532,21 @@ const deserializeAws_queryDeleteAlarmsCommandError = async (output, context) =>
|
|
|
532
532
|
});
|
|
533
533
|
}
|
|
534
534
|
};
|
|
535
|
-
const
|
|
535
|
+
const de_DeleteAnomalyDetectorCommand = async (output, context) => {
|
|
536
536
|
if (output.statusCode >= 300) {
|
|
537
|
-
return
|
|
537
|
+
return de_DeleteAnomalyDetectorCommandError(output, context);
|
|
538
538
|
}
|
|
539
539
|
const data = await parseBody(output.body, context);
|
|
540
540
|
let contents = {};
|
|
541
|
-
contents =
|
|
541
|
+
contents = de_DeleteAnomalyDetectorOutput(data.DeleteAnomalyDetectorResult, context);
|
|
542
542
|
const response = {
|
|
543
543
|
$metadata: deserializeMetadata(output),
|
|
544
544
|
...contents,
|
|
545
545
|
};
|
|
546
546
|
return Promise.resolve(response);
|
|
547
547
|
};
|
|
548
|
-
exports.
|
|
549
|
-
const
|
|
548
|
+
exports.de_DeleteAnomalyDetectorCommand = de_DeleteAnomalyDetectorCommand;
|
|
549
|
+
const de_DeleteAnomalyDetectorCommandError = async (output, context) => {
|
|
550
550
|
const parsedOutput = {
|
|
551
551
|
...output,
|
|
552
552
|
body: await parseErrorBody(output.body, context),
|
|
@@ -555,19 +555,19 @@ const deserializeAws_queryDeleteAnomalyDetectorCommandError = async (output, con
|
|
|
555
555
|
switch (errorCode) {
|
|
556
556
|
case "InternalServiceError":
|
|
557
557
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
558
|
-
throw await
|
|
558
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
559
559
|
case "InvalidParameterCombination":
|
|
560
560
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException":
|
|
561
|
-
throw await
|
|
561
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
562
562
|
case "InvalidParameterValue":
|
|
563
563
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
564
|
-
throw await
|
|
564
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
565
565
|
case "MissingParameter":
|
|
566
566
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
568
568
|
case "ResourceNotFoundException":
|
|
569
569
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
571
571
|
default:
|
|
572
572
|
const parsedBody = parsedOutput.body;
|
|
573
573
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -578,21 +578,21 @@ const deserializeAws_queryDeleteAnomalyDetectorCommandError = async (output, con
|
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
|
-
const
|
|
581
|
+
const de_DeleteDashboardsCommand = async (output, context) => {
|
|
582
582
|
if (output.statusCode >= 300) {
|
|
583
|
-
return
|
|
583
|
+
return de_DeleteDashboardsCommandError(output, context);
|
|
584
584
|
}
|
|
585
585
|
const data = await parseBody(output.body, context);
|
|
586
586
|
let contents = {};
|
|
587
|
-
contents =
|
|
587
|
+
contents = de_DeleteDashboardsOutput(data.DeleteDashboardsResult, context);
|
|
588
588
|
const response = {
|
|
589
589
|
$metadata: deserializeMetadata(output),
|
|
590
590
|
...contents,
|
|
591
591
|
};
|
|
592
592
|
return Promise.resolve(response);
|
|
593
593
|
};
|
|
594
|
-
exports.
|
|
595
|
-
const
|
|
594
|
+
exports.de_DeleteDashboardsCommand = de_DeleteDashboardsCommand;
|
|
595
|
+
const de_DeleteDashboardsCommandError = async (output, context) => {
|
|
596
596
|
const parsedOutput = {
|
|
597
597
|
...output,
|
|
598
598
|
body: await parseErrorBody(output.body, context),
|
|
@@ -601,13 +601,13 @@ const deserializeAws_queryDeleteDashboardsCommandError = async (output, context)
|
|
|
601
601
|
switch (errorCode) {
|
|
602
602
|
case "InternalServiceError":
|
|
603
603
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
604
|
-
throw await
|
|
604
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
605
605
|
case "InvalidParameterValue":
|
|
606
606
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
607
|
-
throw await
|
|
607
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
608
608
|
case "ResourceNotFound":
|
|
609
609
|
case "com.amazonaws.cloudwatch#DashboardNotFoundError":
|
|
610
|
-
throw await
|
|
610
|
+
throw await de_DashboardNotFoundErrorRes(parsedOutput, context);
|
|
611
611
|
default:
|
|
612
612
|
const parsedBody = parsedOutput.body;
|
|
613
613
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -618,21 +618,21 @@ const deserializeAws_queryDeleteDashboardsCommandError = async (output, context)
|
|
|
618
618
|
});
|
|
619
619
|
}
|
|
620
620
|
};
|
|
621
|
-
const
|
|
621
|
+
const de_DeleteInsightRulesCommand = async (output, context) => {
|
|
622
622
|
if (output.statusCode >= 300) {
|
|
623
|
-
return
|
|
623
|
+
return de_DeleteInsightRulesCommandError(output, context);
|
|
624
624
|
}
|
|
625
625
|
const data = await parseBody(output.body, context);
|
|
626
626
|
let contents = {};
|
|
627
|
-
contents =
|
|
627
|
+
contents = de_DeleteInsightRulesOutput(data.DeleteInsightRulesResult, context);
|
|
628
628
|
const response = {
|
|
629
629
|
$metadata: deserializeMetadata(output),
|
|
630
630
|
...contents,
|
|
631
631
|
};
|
|
632
632
|
return Promise.resolve(response);
|
|
633
633
|
};
|
|
634
|
-
exports.
|
|
635
|
-
const
|
|
634
|
+
exports.de_DeleteInsightRulesCommand = de_DeleteInsightRulesCommand;
|
|
635
|
+
const de_DeleteInsightRulesCommandError = async (output, context) => {
|
|
636
636
|
const parsedOutput = {
|
|
637
637
|
...output,
|
|
638
638
|
body: await parseErrorBody(output.body, context),
|
|
@@ -641,10 +641,10 @@ const deserializeAws_queryDeleteInsightRulesCommandError = async (output, contex
|
|
|
641
641
|
switch (errorCode) {
|
|
642
642
|
case "InvalidParameterValue":
|
|
643
643
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
644
|
-
throw await
|
|
644
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
645
645
|
case "MissingParameter":
|
|
646
646
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
647
|
-
throw await
|
|
647
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
648
648
|
default:
|
|
649
649
|
const parsedBody = parsedOutput.body;
|
|
650
650
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -655,21 +655,21 @@ const deserializeAws_queryDeleteInsightRulesCommandError = async (output, contex
|
|
|
655
655
|
});
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
|
-
const
|
|
658
|
+
const de_DeleteMetricStreamCommand = async (output, context) => {
|
|
659
659
|
if (output.statusCode >= 300) {
|
|
660
|
-
return
|
|
660
|
+
return de_DeleteMetricStreamCommandError(output, context);
|
|
661
661
|
}
|
|
662
662
|
const data = await parseBody(output.body, context);
|
|
663
663
|
let contents = {};
|
|
664
|
-
contents =
|
|
664
|
+
contents = de_DeleteMetricStreamOutput(data.DeleteMetricStreamResult, context);
|
|
665
665
|
const response = {
|
|
666
666
|
$metadata: deserializeMetadata(output),
|
|
667
667
|
...contents,
|
|
668
668
|
};
|
|
669
669
|
return Promise.resolve(response);
|
|
670
670
|
};
|
|
671
|
-
exports.
|
|
672
|
-
const
|
|
671
|
+
exports.de_DeleteMetricStreamCommand = de_DeleteMetricStreamCommand;
|
|
672
|
+
const de_DeleteMetricStreamCommandError = async (output, context) => {
|
|
673
673
|
const parsedOutput = {
|
|
674
674
|
...output,
|
|
675
675
|
body: await parseErrorBody(output.body, context),
|
|
@@ -678,13 +678,13 @@ const deserializeAws_queryDeleteMetricStreamCommandError = async (output, contex
|
|
|
678
678
|
switch (errorCode) {
|
|
679
679
|
case "InternalServiceError":
|
|
680
680
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
681
|
-
throw await
|
|
681
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
682
682
|
case "InvalidParameterValue":
|
|
683
683
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
685
685
|
case "MissingParameter":
|
|
686
686
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
687
|
-
throw await
|
|
687
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
688
688
|
default:
|
|
689
689
|
const parsedBody = parsedOutput.body;
|
|
690
690
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -695,21 +695,21 @@ const deserializeAws_queryDeleteMetricStreamCommandError = async (output, contex
|
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
const
|
|
698
|
+
const de_DescribeAlarmHistoryCommand = async (output, context) => {
|
|
699
699
|
if (output.statusCode >= 300) {
|
|
700
|
-
return
|
|
700
|
+
return de_DescribeAlarmHistoryCommandError(output, context);
|
|
701
701
|
}
|
|
702
702
|
const data = await parseBody(output.body, context);
|
|
703
703
|
let contents = {};
|
|
704
|
-
contents =
|
|
704
|
+
contents = de_DescribeAlarmHistoryOutput(data.DescribeAlarmHistoryResult, context);
|
|
705
705
|
const response = {
|
|
706
706
|
$metadata: deserializeMetadata(output),
|
|
707
707
|
...contents,
|
|
708
708
|
};
|
|
709
709
|
return Promise.resolve(response);
|
|
710
710
|
};
|
|
711
|
-
exports.
|
|
712
|
-
const
|
|
711
|
+
exports.de_DescribeAlarmHistoryCommand = de_DescribeAlarmHistoryCommand;
|
|
712
|
+
const de_DescribeAlarmHistoryCommandError = async (output, context) => {
|
|
713
713
|
const parsedOutput = {
|
|
714
714
|
...output,
|
|
715
715
|
body: await parseErrorBody(output.body, context),
|
|
@@ -718,7 +718,7 @@ const deserializeAws_queryDescribeAlarmHistoryCommandError = async (output, cont
|
|
|
718
718
|
switch (errorCode) {
|
|
719
719
|
case "InvalidNextToken":
|
|
720
720
|
case "com.amazonaws.cloudwatch#InvalidNextToken":
|
|
721
|
-
throw await
|
|
721
|
+
throw await de_InvalidNextTokenRes(parsedOutput, context);
|
|
722
722
|
default:
|
|
723
723
|
const parsedBody = parsedOutput.body;
|
|
724
724
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -729,21 +729,21 @@ const deserializeAws_queryDescribeAlarmHistoryCommandError = async (output, cont
|
|
|
729
729
|
});
|
|
730
730
|
}
|
|
731
731
|
};
|
|
732
|
-
const
|
|
732
|
+
const de_DescribeAlarmsCommand = async (output, context) => {
|
|
733
733
|
if (output.statusCode >= 300) {
|
|
734
|
-
return
|
|
734
|
+
return de_DescribeAlarmsCommandError(output, context);
|
|
735
735
|
}
|
|
736
736
|
const data = await parseBody(output.body, context);
|
|
737
737
|
let contents = {};
|
|
738
|
-
contents =
|
|
738
|
+
contents = de_DescribeAlarmsOutput(data.DescribeAlarmsResult, context);
|
|
739
739
|
const response = {
|
|
740
740
|
$metadata: deserializeMetadata(output),
|
|
741
741
|
...contents,
|
|
742
742
|
};
|
|
743
743
|
return Promise.resolve(response);
|
|
744
744
|
};
|
|
745
|
-
exports.
|
|
746
|
-
const
|
|
745
|
+
exports.de_DescribeAlarmsCommand = de_DescribeAlarmsCommand;
|
|
746
|
+
const de_DescribeAlarmsCommandError = async (output, context) => {
|
|
747
747
|
const parsedOutput = {
|
|
748
748
|
...output,
|
|
749
749
|
body: await parseErrorBody(output.body, context),
|
|
@@ -752,7 +752,7 @@ const deserializeAws_queryDescribeAlarmsCommandError = async (output, context) =
|
|
|
752
752
|
switch (errorCode) {
|
|
753
753
|
case "InvalidNextToken":
|
|
754
754
|
case "com.amazonaws.cloudwatch#InvalidNextToken":
|
|
755
|
-
throw await
|
|
755
|
+
throw await de_InvalidNextTokenRes(parsedOutput, context);
|
|
756
756
|
default:
|
|
757
757
|
const parsedBody = parsedOutput.body;
|
|
758
758
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -763,21 +763,21 @@ const deserializeAws_queryDescribeAlarmsCommandError = async (output, context) =
|
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
|
-
const
|
|
766
|
+
const de_DescribeAlarmsForMetricCommand = async (output, context) => {
|
|
767
767
|
if (output.statusCode >= 300) {
|
|
768
|
-
return
|
|
768
|
+
return de_DescribeAlarmsForMetricCommandError(output, context);
|
|
769
769
|
}
|
|
770
770
|
const data = await parseBody(output.body, context);
|
|
771
771
|
let contents = {};
|
|
772
|
-
contents =
|
|
772
|
+
contents = de_DescribeAlarmsForMetricOutput(data.DescribeAlarmsForMetricResult, context);
|
|
773
773
|
const response = {
|
|
774
774
|
$metadata: deserializeMetadata(output),
|
|
775
775
|
...contents,
|
|
776
776
|
};
|
|
777
777
|
return Promise.resolve(response);
|
|
778
778
|
};
|
|
779
|
-
exports.
|
|
780
|
-
const
|
|
779
|
+
exports.de_DescribeAlarmsForMetricCommand = de_DescribeAlarmsForMetricCommand;
|
|
780
|
+
const de_DescribeAlarmsForMetricCommandError = async (output, context) => {
|
|
781
781
|
const parsedOutput = {
|
|
782
782
|
...output,
|
|
783
783
|
body: await parseErrorBody(output.body, context),
|
|
@@ -791,21 +791,21 @@ const deserializeAws_queryDescribeAlarmsForMetricCommandError = async (output, c
|
|
|
791
791
|
errorCode,
|
|
792
792
|
});
|
|
793
793
|
};
|
|
794
|
-
const
|
|
794
|
+
const de_DescribeAnomalyDetectorsCommand = async (output, context) => {
|
|
795
795
|
if (output.statusCode >= 300) {
|
|
796
|
-
return
|
|
796
|
+
return de_DescribeAnomalyDetectorsCommandError(output, context);
|
|
797
797
|
}
|
|
798
798
|
const data = await parseBody(output.body, context);
|
|
799
799
|
let contents = {};
|
|
800
|
-
contents =
|
|
800
|
+
contents = de_DescribeAnomalyDetectorsOutput(data.DescribeAnomalyDetectorsResult, context);
|
|
801
801
|
const response = {
|
|
802
802
|
$metadata: deserializeMetadata(output),
|
|
803
803
|
...contents,
|
|
804
804
|
};
|
|
805
805
|
return Promise.resolve(response);
|
|
806
806
|
};
|
|
807
|
-
exports.
|
|
808
|
-
const
|
|
807
|
+
exports.de_DescribeAnomalyDetectorsCommand = de_DescribeAnomalyDetectorsCommand;
|
|
808
|
+
const de_DescribeAnomalyDetectorsCommandError = async (output, context) => {
|
|
809
809
|
const parsedOutput = {
|
|
810
810
|
...output,
|
|
811
811
|
body: await parseErrorBody(output.body, context),
|
|
@@ -814,16 +814,16 @@ const deserializeAws_queryDescribeAnomalyDetectorsCommandError = async (output,
|
|
|
814
814
|
switch (errorCode) {
|
|
815
815
|
case "InternalServiceError":
|
|
816
816
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
817
|
-
throw await
|
|
817
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
818
818
|
case "InvalidNextToken":
|
|
819
819
|
case "com.amazonaws.cloudwatch#InvalidNextToken":
|
|
820
|
-
throw await
|
|
820
|
+
throw await de_InvalidNextTokenRes(parsedOutput, context);
|
|
821
821
|
case "InvalidParameterCombination":
|
|
822
822
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException":
|
|
823
|
-
throw await
|
|
823
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
824
824
|
case "InvalidParameterValue":
|
|
825
825
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
826
|
-
throw await
|
|
826
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
827
827
|
default:
|
|
828
828
|
const parsedBody = parsedOutput.body;
|
|
829
829
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -834,21 +834,21 @@ const deserializeAws_queryDescribeAnomalyDetectorsCommandError = async (output,
|
|
|
834
834
|
});
|
|
835
835
|
}
|
|
836
836
|
};
|
|
837
|
-
const
|
|
837
|
+
const de_DescribeInsightRulesCommand = async (output, context) => {
|
|
838
838
|
if (output.statusCode >= 300) {
|
|
839
|
-
return
|
|
839
|
+
return de_DescribeInsightRulesCommandError(output, context);
|
|
840
840
|
}
|
|
841
841
|
const data = await parseBody(output.body, context);
|
|
842
842
|
let contents = {};
|
|
843
|
-
contents =
|
|
843
|
+
contents = de_DescribeInsightRulesOutput(data.DescribeInsightRulesResult, context);
|
|
844
844
|
const response = {
|
|
845
845
|
$metadata: deserializeMetadata(output),
|
|
846
846
|
...contents,
|
|
847
847
|
};
|
|
848
848
|
return Promise.resolve(response);
|
|
849
849
|
};
|
|
850
|
-
exports.
|
|
851
|
-
const
|
|
850
|
+
exports.de_DescribeInsightRulesCommand = de_DescribeInsightRulesCommand;
|
|
851
|
+
const de_DescribeInsightRulesCommandError = async (output, context) => {
|
|
852
852
|
const parsedOutput = {
|
|
853
853
|
...output,
|
|
854
854
|
body: await parseErrorBody(output.body, context),
|
|
@@ -857,7 +857,7 @@ const deserializeAws_queryDescribeInsightRulesCommandError = async (output, cont
|
|
|
857
857
|
switch (errorCode) {
|
|
858
858
|
case "InvalidNextToken":
|
|
859
859
|
case "com.amazonaws.cloudwatch#InvalidNextToken":
|
|
860
|
-
throw await
|
|
860
|
+
throw await de_InvalidNextTokenRes(parsedOutput, context);
|
|
861
861
|
default:
|
|
862
862
|
const parsedBody = parsedOutput.body;
|
|
863
863
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -868,9 +868,9 @@ const deserializeAws_queryDescribeInsightRulesCommandError = async (output, cont
|
|
|
868
868
|
});
|
|
869
869
|
}
|
|
870
870
|
};
|
|
871
|
-
const
|
|
871
|
+
const de_DisableAlarmActionsCommand = async (output, context) => {
|
|
872
872
|
if (output.statusCode >= 300) {
|
|
873
|
-
return
|
|
873
|
+
return de_DisableAlarmActionsCommandError(output, context);
|
|
874
874
|
}
|
|
875
875
|
await collectBody(output.body, context);
|
|
876
876
|
const response = {
|
|
@@ -878,8 +878,8 @@ const deserializeAws_queryDisableAlarmActionsCommand = async (output, context) =
|
|
|
878
878
|
};
|
|
879
879
|
return Promise.resolve(response);
|
|
880
880
|
};
|
|
881
|
-
exports.
|
|
882
|
-
const
|
|
881
|
+
exports.de_DisableAlarmActionsCommand = de_DisableAlarmActionsCommand;
|
|
882
|
+
const de_DisableAlarmActionsCommandError = async (output, context) => {
|
|
883
883
|
const parsedOutput = {
|
|
884
884
|
...output,
|
|
885
885
|
body: await parseErrorBody(output.body, context),
|
|
@@ -893,21 +893,21 @@ const deserializeAws_queryDisableAlarmActionsCommandError = async (output, conte
|
|
|
893
893
|
errorCode,
|
|
894
894
|
});
|
|
895
895
|
};
|
|
896
|
-
const
|
|
896
|
+
const de_DisableInsightRulesCommand = async (output, context) => {
|
|
897
897
|
if (output.statusCode >= 300) {
|
|
898
|
-
return
|
|
898
|
+
return de_DisableInsightRulesCommandError(output, context);
|
|
899
899
|
}
|
|
900
900
|
const data = await parseBody(output.body, context);
|
|
901
901
|
let contents = {};
|
|
902
|
-
contents =
|
|
902
|
+
contents = de_DisableInsightRulesOutput(data.DisableInsightRulesResult, context);
|
|
903
903
|
const response = {
|
|
904
904
|
$metadata: deserializeMetadata(output),
|
|
905
905
|
...contents,
|
|
906
906
|
};
|
|
907
907
|
return Promise.resolve(response);
|
|
908
908
|
};
|
|
909
|
-
exports.
|
|
910
|
-
const
|
|
909
|
+
exports.de_DisableInsightRulesCommand = de_DisableInsightRulesCommand;
|
|
910
|
+
const de_DisableInsightRulesCommandError = async (output, context) => {
|
|
911
911
|
const parsedOutput = {
|
|
912
912
|
...output,
|
|
913
913
|
body: await parseErrorBody(output.body, context),
|
|
@@ -916,10 +916,10 @@ const deserializeAws_queryDisableInsightRulesCommandError = async (output, conte
|
|
|
916
916
|
switch (errorCode) {
|
|
917
917
|
case "InvalidParameterValue":
|
|
918
918
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
919
|
-
throw await
|
|
919
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
920
920
|
case "MissingParameter":
|
|
921
921
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
922
|
-
throw await
|
|
922
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
923
923
|
default:
|
|
924
924
|
const parsedBody = parsedOutput.body;
|
|
925
925
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -930,9 +930,9 @@ const deserializeAws_queryDisableInsightRulesCommandError = async (output, conte
|
|
|
930
930
|
});
|
|
931
931
|
}
|
|
932
932
|
};
|
|
933
|
-
const
|
|
933
|
+
const de_EnableAlarmActionsCommand = async (output, context) => {
|
|
934
934
|
if (output.statusCode >= 300) {
|
|
935
|
-
return
|
|
935
|
+
return de_EnableAlarmActionsCommandError(output, context);
|
|
936
936
|
}
|
|
937
937
|
await collectBody(output.body, context);
|
|
938
938
|
const response = {
|
|
@@ -940,8 +940,8 @@ const deserializeAws_queryEnableAlarmActionsCommand = async (output, context) =>
|
|
|
940
940
|
};
|
|
941
941
|
return Promise.resolve(response);
|
|
942
942
|
};
|
|
943
|
-
exports.
|
|
944
|
-
const
|
|
943
|
+
exports.de_EnableAlarmActionsCommand = de_EnableAlarmActionsCommand;
|
|
944
|
+
const de_EnableAlarmActionsCommandError = async (output, context) => {
|
|
945
945
|
const parsedOutput = {
|
|
946
946
|
...output,
|
|
947
947
|
body: await parseErrorBody(output.body, context),
|
|
@@ -955,21 +955,21 @@ const deserializeAws_queryEnableAlarmActionsCommandError = async (output, contex
|
|
|
955
955
|
errorCode,
|
|
956
956
|
});
|
|
957
957
|
};
|
|
958
|
-
const
|
|
958
|
+
const de_EnableInsightRulesCommand = async (output, context) => {
|
|
959
959
|
if (output.statusCode >= 300) {
|
|
960
|
-
return
|
|
960
|
+
return de_EnableInsightRulesCommandError(output, context);
|
|
961
961
|
}
|
|
962
962
|
const data = await parseBody(output.body, context);
|
|
963
963
|
let contents = {};
|
|
964
|
-
contents =
|
|
964
|
+
contents = de_EnableInsightRulesOutput(data.EnableInsightRulesResult, context);
|
|
965
965
|
const response = {
|
|
966
966
|
$metadata: deserializeMetadata(output),
|
|
967
967
|
...contents,
|
|
968
968
|
};
|
|
969
969
|
return Promise.resolve(response);
|
|
970
970
|
};
|
|
971
|
-
exports.
|
|
972
|
-
const
|
|
971
|
+
exports.de_EnableInsightRulesCommand = de_EnableInsightRulesCommand;
|
|
972
|
+
const de_EnableInsightRulesCommandError = async (output, context) => {
|
|
973
973
|
const parsedOutput = {
|
|
974
974
|
...output,
|
|
975
975
|
body: await parseErrorBody(output.body, context),
|
|
@@ -978,13 +978,13 @@ const deserializeAws_queryEnableInsightRulesCommandError = async (output, contex
|
|
|
978
978
|
switch (errorCode) {
|
|
979
979
|
case "InvalidParameterValue":
|
|
980
980
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
981
|
-
throw await
|
|
981
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
982
982
|
case "LimitExceededException":
|
|
983
983
|
case "com.amazonaws.cloudwatch#LimitExceededException":
|
|
984
|
-
throw await
|
|
984
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
985
985
|
case "MissingParameter":
|
|
986
986
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
987
|
-
throw await
|
|
987
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
988
988
|
default:
|
|
989
989
|
const parsedBody = parsedOutput.body;
|
|
990
990
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -995,21 +995,21 @@ const deserializeAws_queryEnableInsightRulesCommandError = async (output, contex
|
|
|
995
995
|
});
|
|
996
996
|
}
|
|
997
997
|
};
|
|
998
|
-
const
|
|
998
|
+
const de_GetDashboardCommand = async (output, context) => {
|
|
999
999
|
if (output.statusCode >= 300) {
|
|
1000
|
-
return
|
|
1000
|
+
return de_GetDashboardCommandError(output, context);
|
|
1001
1001
|
}
|
|
1002
1002
|
const data = await parseBody(output.body, context);
|
|
1003
1003
|
let contents = {};
|
|
1004
|
-
contents =
|
|
1004
|
+
contents = de_GetDashboardOutput(data.GetDashboardResult, context);
|
|
1005
1005
|
const response = {
|
|
1006
1006
|
$metadata: deserializeMetadata(output),
|
|
1007
1007
|
...contents,
|
|
1008
1008
|
};
|
|
1009
1009
|
return Promise.resolve(response);
|
|
1010
1010
|
};
|
|
1011
|
-
exports.
|
|
1012
|
-
const
|
|
1011
|
+
exports.de_GetDashboardCommand = de_GetDashboardCommand;
|
|
1012
|
+
const de_GetDashboardCommandError = async (output, context) => {
|
|
1013
1013
|
const parsedOutput = {
|
|
1014
1014
|
...output,
|
|
1015
1015
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1018,13 +1018,13 @@ const deserializeAws_queryGetDashboardCommandError = async (output, context) =>
|
|
|
1018
1018
|
switch (errorCode) {
|
|
1019
1019
|
case "InternalServiceError":
|
|
1020
1020
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1021
|
-
throw await
|
|
1021
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1022
1022
|
case "InvalidParameterValue":
|
|
1023
1023
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1024
|
-
throw await
|
|
1024
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1025
1025
|
case "ResourceNotFound":
|
|
1026
1026
|
case "com.amazonaws.cloudwatch#DashboardNotFoundError":
|
|
1027
|
-
throw await
|
|
1027
|
+
throw await de_DashboardNotFoundErrorRes(parsedOutput, context);
|
|
1028
1028
|
default:
|
|
1029
1029
|
const parsedBody = parsedOutput.body;
|
|
1030
1030
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1035,21 +1035,21 @@ const deserializeAws_queryGetDashboardCommandError = async (output, context) =>
|
|
|
1035
1035
|
});
|
|
1036
1036
|
}
|
|
1037
1037
|
};
|
|
1038
|
-
const
|
|
1038
|
+
const de_GetInsightRuleReportCommand = async (output, context) => {
|
|
1039
1039
|
if (output.statusCode >= 300) {
|
|
1040
|
-
return
|
|
1040
|
+
return de_GetInsightRuleReportCommandError(output, context);
|
|
1041
1041
|
}
|
|
1042
1042
|
const data = await parseBody(output.body, context);
|
|
1043
1043
|
let contents = {};
|
|
1044
|
-
contents =
|
|
1044
|
+
contents = de_GetInsightRuleReportOutput(data.GetInsightRuleReportResult, context);
|
|
1045
1045
|
const response = {
|
|
1046
1046
|
$metadata: deserializeMetadata(output),
|
|
1047
1047
|
...contents,
|
|
1048
1048
|
};
|
|
1049
1049
|
return Promise.resolve(response);
|
|
1050
1050
|
};
|
|
1051
|
-
exports.
|
|
1052
|
-
const
|
|
1051
|
+
exports.de_GetInsightRuleReportCommand = de_GetInsightRuleReportCommand;
|
|
1052
|
+
const de_GetInsightRuleReportCommandError = async (output, context) => {
|
|
1053
1053
|
const parsedOutput = {
|
|
1054
1054
|
...output,
|
|
1055
1055
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1058,13 +1058,13 @@ const deserializeAws_queryGetInsightRuleReportCommandError = async (output, cont
|
|
|
1058
1058
|
switch (errorCode) {
|
|
1059
1059
|
case "InvalidParameterValue":
|
|
1060
1060
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1061
|
-
throw await
|
|
1061
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1062
1062
|
case "MissingParameter":
|
|
1063
1063
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1064
|
-
throw await
|
|
1064
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1065
1065
|
case "ResourceNotFoundException":
|
|
1066
1066
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException":
|
|
1067
|
-
throw await
|
|
1067
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1068
1068
|
default:
|
|
1069
1069
|
const parsedBody = parsedOutput.body;
|
|
1070
1070
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1075,21 +1075,21 @@ const deserializeAws_queryGetInsightRuleReportCommandError = async (output, cont
|
|
|
1075
1075
|
});
|
|
1076
1076
|
}
|
|
1077
1077
|
};
|
|
1078
|
-
const
|
|
1078
|
+
const de_GetMetricDataCommand = async (output, context) => {
|
|
1079
1079
|
if (output.statusCode >= 300) {
|
|
1080
|
-
return
|
|
1080
|
+
return de_GetMetricDataCommandError(output, context);
|
|
1081
1081
|
}
|
|
1082
1082
|
const data = await parseBody(output.body, context);
|
|
1083
1083
|
let contents = {};
|
|
1084
|
-
contents =
|
|
1084
|
+
contents = de_GetMetricDataOutput(data.GetMetricDataResult, context);
|
|
1085
1085
|
const response = {
|
|
1086
1086
|
$metadata: deserializeMetadata(output),
|
|
1087
1087
|
...contents,
|
|
1088
1088
|
};
|
|
1089
1089
|
return Promise.resolve(response);
|
|
1090
1090
|
};
|
|
1091
|
-
exports.
|
|
1092
|
-
const
|
|
1091
|
+
exports.de_GetMetricDataCommand = de_GetMetricDataCommand;
|
|
1092
|
+
const de_GetMetricDataCommandError = async (output, context) => {
|
|
1093
1093
|
const parsedOutput = {
|
|
1094
1094
|
...output,
|
|
1095
1095
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1098,7 +1098,7 @@ const deserializeAws_queryGetMetricDataCommandError = async (output, context) =>
|
|
|
1098
1098
|
switch (errorCode) {
|
|
1099
1099
|
case "InvalidNextToken":
|
|
1100
1100
|
case "com.amazonaws.cloudwatch#InvalidNextToken":
|
|
1101
|
-
throw await
|
|
1101
|
+
throw await de_InvalidNextTokenRes(parsedOutput, context);
|
|
1102
1102
|
default:
|
|
1103
1103
|
const parsedBody = parsedOutput.body;
|
|
1104
1104
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1109,21 +1109,21 @@ const deserializeAws_queryGetMetricDataCommandError = async (output, context) =>
|
|
|
1109
1109
|
});
|
|
1110
1110
|
}
|
|
1111
1111
|
};
|
|
1112
|
-
const
|
|
1112
|
+
const de_GetMetricStatisticsCommand = async (output, context) => {
|
|
1113
1113
|
if (output.statusCode >= 300) {
|
|
1114
|
-
return
|
|
1114
|
+
return de_GetMetricStatisticsCommandError(output, context);
|
|
1115
1115
|
}
|
|
1116
1116
|
const data = await parseBody(output.body, context);
|
|
1117
1117
|
let contents = {};
|
|
1118
|
-
contents =
|
|
1118
|
+
contents = de_GetMetricStatisticsOutput(data.GetMetricStatisticsResult, context);
|
|
1119
1119
|
const response = {
|
|
1120
1120
|
$metadata: deserializeMetadata(output),
|
|
1121
1121
|
...contents,
|
|
1122
1122
|
};
|
|
1123
1123
|
return Promise.resolve(response);
|
|
1124
1124
|
};
|
|
1125
|
-
exports.
|
|
1126
|
-
const
|
|
1125
|
+
exports.de_GetMetricStatisticsCommand = de_GetMetricStatisticsCommand;
|
|
1126
|
+
const de_GetMetricStatisticsCommandError = async (output, context) => {
|
|
1127
1127
|
const parsedOutput = {
|
|
1128
1128
|
...output,
|
|
1129
1129
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1132,16 +1132,16 @@ const deserializeAws_queryGetMetricStatisticsCommandError = async (output, conte
|
|
|
1132
1132
|
switch (errorCode) {
|
|
1133
1133
|
case "InternalServiceError":
|
|
1134
1134
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1135
|
-
throw await
|
|
1135
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1136
1136
|
case "InvalidParameterCombination":
|
|
1137
1137
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException":
|
|
1138
|
-
throw await
|
|
1138
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1139
1139
|
case "InvalidParameterValue":
|
|
1140
1140
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1141
|
-
throw await
|
|
1141
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1142
1142
|
case "MissingParameter":
|
|
1143
1143
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1144
|
-
throw await
|
|
1144
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1145
1145
|
default:
|
|
1146
1146
|
const parsedBody = parsedOutput.body;
|
|
1147
1147
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1152,21 +1152,21 @@ const deserializeAws_queryGetMetricStatisticsCommandError = async (output, conte
|
|
|
1152
1152
|
});
|
|
1153
1153
|
}
|
|
1154
1154
|
};
|
|
1155
|
-
const
|
|
1155
|
+
const de_GetMetricStreamCommand = async (output, context) => {
|
|
1156
1156
|
if (output.statusCode >= 300) {
|
|
1157
|
-
return
|
|
1157
|
+
return de_GetMetricStreamCommandError(output, context);
|
|
1158
1158
|
}
|
|
1159
1159
|
const data = await parseBody(output.body, context);
|
|
1160
1160
|
let contents = {};
|
|
1161
|
-
contents =
|
|
1161
|
+
contents = de_GetMetricStreamOutput(data.GetMetricStreamResult, context);
|
|
1162
1162
|
const response = {
|
|
1163
1163
|
$metadata: deserializeMetadata(output),
|
|
1164
1164
|
...contents,
|
|
1165
1165
|
};
|
|
1166
1166
|
return Promise.resolve(response);
|
|
1167
1167
|
};
|
|
1168
|
-
exports.
|
|
1169
|
-
const
|
|
1168
|
+
exports.de_GetMetricStreamCommand = de_GetMetricStreamCommand;
|
|
1169
|
+
const de_GetMetricStreamCommandError = async (output, context) => {
|
|
1170
1170
|
const parsedOutput = {
|
|
1171
1171
|
...output,
|
|
1172
1172
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1175,19 +1175,19 @@ const deserializeAws_queryGetMetricStreamCommandError = async (output, context)
|
|
|
1175
1175
|
switch (errorCode) {
|
|
1176
1176
|
case "InternalServiceError":
|
|
1177
1177
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1178
|
-
throw await
|
|
1178
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1179
1179
|
case "InvalidParameterCombination":
|
|
1180
1180
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException":
|
|
1181
|
-
throw await
|
|
1181
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1182
1182
|
case "InvalidParameterValue":
|
|
1183
1183
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1184
|
-
throw await
|
|
1184
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1185
1185
|
case "MissingParameter":
|
|
1186
1186
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1187
|
-
throw await
|
|
1187
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1188
1188
|
case "ResourceNotFoundException":
|
|
1189
1189
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException":
|
|
1190
|
-
throw await
|
|
1190
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1191
1191
|
default:
|
|
1192
1192
|
const parsedBody = parsedOutput.body;
|
|
1193
1193
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1198,21 +1198,21 @@ const deserializeAws_queryGetMetricStreamCommandError = async (output, context)
|
|
|
1198
1198
|
});
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
|
-
const
|
|
1201
|
+
const de_GetMetricWidgetImageCommand = async (output, context) => {
|
|
1202
1202
|
if (output.statusCode >= 300) {
|
|
1203
|
-
return
|
|
1203
|
+
return de_GetMetricWidgetImageCommandError(output, context);
|
|
1204
1204
|
}
|
|
1205
1205
|
const data = await parseBody(output.body, context);
|
|
1206
1206
|
let contents = {};
|
|
1207
|
-
contents =
|
|
1207
|
+
contents = de_GetMetricWidgetImageOutput(data.GetMetricWidgetImageResult, context);
|
|
1208
1208
|
const response = {
|
|
1209
1209
|
$metadata: deserializeMetadata(output),
|
|
1210
1210
|
...contents,
|
|
1211
1211
|
};
|
|
1212
1212
|
return Promise.resolve(response);
|
|
1213
1213
|
};
|
|
1214
|
-
exports.
|
|
1215
|
-
const
|
|
1214
|
+
exports.de_GetMetricWidgetImageCommand = de_GetMetricWidgetImageCommand;
|
|
1215
|
+
const de_GetMetricWidgetImageCommandError = async (output, context) => {
|
|
1216
1216
|
const parsedOutput = {
|
|
1217
1217
|
...output,
|
|
1218
1218
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1226,21 +1226,21 @@ const deserializeAws_queryGetMetricWidgetImageCommandError = async (output, cont
|
|
|
1226
1226
|
errorCode,
|
|
1227
1227
|
});
|
|
1228
1228
|
};
|
|
1229
|
-
const
|
|
1229
|
+
const de_ListDashboardsCommand = async (output, context) => {
|
|
1230
1230
|
if (output.statusCode >= 300) {
|
|
1231
|
-
return
|
|
1231
|
+
return de_ListDashboardsCommandError(output, context);
|
|
1232
1232
|
}
|
|
1233
1233
|
const data = await parseBody(output.body, context);
|
|
1234
1234
|
let contents = {};
|
|
1235
|
-
contents =
|
|
1235
|
+
contents = de_ListDashboardsOutput(data.ListDashboardsResult, context);
|
|
1236
1236
|
const response = {
|
|
1237
1237
|
$metadata: deserializeMetadata(output),
|
|
1238
1238
|
...contents,
|
|
1239
1239
|
};
|
|
1240
1240
|
return Promise.resolve(response);
|
|
1241
1241
|
};
|
|
1242
|
-
exports.
|
|
1243
|
-
const
|
|
1242
|
+
exports.de_ListDashboardsCommand = de_ListDashboardsCommand;
|
|
1243
|
+
const de_ListDashboardsCommandError = async (output, context) => {
|
|
1244
1244
|
const parsedOutput = {
|
|
1245
1245
|
...output,
|
|
1246
1246
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1249,10 +1249,10 @@ const deserializeAws_queryListDashboardsCommandError = async (output, context) =
|
|
|
1249
1249
|
switch (errorCode) {
|
|
1250
1250
|
case "InternalServiceError":
|
|
1251
1251
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1252
|
-
throw await
|
|
1252
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1253
1253
|
case "InvalidParameterValue":
|
|
1254
1254
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1255
|
-
throw await
|
|
1255
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1256
1256
|
default:
|
|
1257
1257
|
const parsedBody = parsedOutput.body;
|
|
1258
1258
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1263,21 +1263,21 @@ const deserializeAws_queryListDashboardsCommandError = async (output, context) =
|
|
|
1263
1263
|
});
|
|
1264
1264
|
}
|
|
1265
1265
|
};
|
|
1266
|
-
const
|
|
1266
|
+
const de_ListManagedInsightRulesCommand = async (output, context) => {
|
|
1267
1267
|
if (output.statusCode >= 300) {
|
|
1268
|
-
return
|
|
1268
|
+
return de_ListManagedInsightRulesCommandError(output, context);
|
|
1269
1269
|
}
|
|
1270
1270
|
const data = await parseBody(output.body, context);
|
|
1271
1271
|
let contents = {};
|
|
1272
|
-
contents =
|
|
1272
|
+
contents = de_ListManagedInsightRulesOutput(data.ListManagedInsightRulesResult, context);
|
|
1273
1273
|
const response = {
|
|
1274
1274
|
$metadata: deserializeMetadata(output),
|
|
1275
1275
|
...contents,
|
|
1276
1276
|
};
|
|
1277
1277
|
return Promise.resolve(response);
|
|
1278
1278
|
};
|
|
1279
|
-
exports.
|
|
1280
|
-
const
|
|
1279
|
+
exports.de_ListManagedInsightRulesCommand = de_ListManagedInsightRulesCommand;
|
|
1280
|
+
const de_ListManagedInsightRulesCommandError = async (output, context) => {
|
|
1281
1281
|
const parsedOutput = {
|
|
1282
1282
|
...output,
|
|
1283
1283
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1286,13 +1286,13 @@ const deserializeAws_queryListManagedInsightRulesCommandError = async (output, c
|
|
|
1286
1286
|
switch (errorCode) {
|
|
1287
1287
|
case "InvalidNextToken":
|
|
1288
1288
|
case "com.amazonaws.cloudwatch#InvalidNextToken":
|
|
1289
|
-
throw await
|
|
1289
|
+
throw await de_InvalidNextTokenRes(parsedOutput, context);
|
|
1290
1290
|
case "InvalidParameterValue":
|
|
1291
1291
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1292
|
-
throw await
|
|
1292
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1293
1293
|
case "MissingParameter":
|
|
1294
1294
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1295
|
-
throw await
|
|
1295
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1296
1296
|
default:
|
|
1297
1297
|
const parsedBody = parsedOutput.body;
|
|
1298
1298
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1303,21 +1303,21 @@ const deserializeAws_queryListManagedInsightRulesCommandError = async (output, c
|
|
|
1303
1303
|
});
|
|
1304
1304
|
}
|
|
1305
1305
|
};
|
|
1306
|
-
const
|
|
1306
|
+
const de_ListMetricsCommand = async (output, context) => {
|
|
1307
1307
|
if (output.statusCode >= 300) {
|
|
1308
|
-
return
|
|
1308
|
+
return de_ListMetricsCommandError(output, context);
|
|
1309
1309
|
}
|
|
1310
1310
|
const data = await parseBody(output.body, context);
|
|
1311
1311
|
let contents = {};
|
|
1312
|
-
contents =
|
|
1312
|
+
contents = de_ListMetricsOutput(data.ListMetricsResult, context);
|
|
1313
1313
|
const response = {
|
|
1314
1314
|
$metadata: deserializeMetadata(output),
|
|
1315
1315
|
...contents,
|
|
1316
1316
|
};
|
|
1317
1317
|
return Promise.resolve(response);
|
|
1318
1318
|
};
|
|
1319
|
-
exports.
|
|
1320
|
-
const
|
|
1319
|
+
exports.de_ListMetricsCommand = de_ListMetricsCommand;
|
|
1320
|
+
const de_ListMetricsCommandError = async (output, context) => {
|
|
1321
1321
|
const parsedOutput = {
|
|
1322
1322
|
...output,
|
|
1323
1323
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1326,10 +1326,10 @@ const deserializeAws_queryListMetricsCommandError = async (output, context) => {
|
|
|
1326
1326
|
switch (errorCode) {
|
|
1327
1327
|
case "InternalServiceError":
|
|
1328
1328
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1329
|
-
throw await
|
|
1329
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1330
1330
|
case "InvalidParameterValue":
|
|
1331
1331
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1332
|
-
throw await
|
|
1332
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1333
1333
|
default:
|
|
1334
1334
|
const parsedBody = parsedOutput.body;
|
|
1335
1335
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1340,21 +1340,21 @@ const deserializeAws_queryListMetricsCommandError = async (output, context) => {
|
|
|
1340
1340
|
});
|
|
1341
1341
|
}
|
|
1342
1342
|
};
|
|
1343
|
-
const
|
|
1343
|
+
const de_ListMetricStreamsCommand = async (output, context) => {
|
|
1344
1344
|
if (output.statusCode >= 300) {
|
|
1345
|
-
return
|
|
1345
|
+
return de_ListMetricStreamsCommandError(output, context);
|
|
1346
1346
|
}
|
|
1347
1347
|
const data = await parseBody(output.body, context);
|
|
1348
1348
|
let contents = {};
|
|
1349
|
-
contents =
|
|
1349
|
+
contents = de_ListMetricStreamsOutput(data.ListMetricStreamsResult, context);
|
|
1350
1350
|
const response = {
|
|
1351
1351
|
$metadata: deserializeMetadata(output),
|
|
1352
1352
|
...contents,
|
|
1353
1353
|
};
|
|
1354
1354
|
return Promise.resolve(response);
|
|
1355
1355
|
};
|
|
1356
|
-
exports.
|
|
1357
|
-
const
|
|
1356
|
+
exports.de_ListMetricStreamsCommand = de_ListMetricStreamsCommand;
|
|
1357
|
+
const de_ListMetricStreamsCommandError = async (output, context) => {
|
|
1358
1358
|
const parsedOutput = {
|
|
1359
1359
|
...output,
|
|
1360
1360
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1363,16 +1363,16 @@ const deserializeAws_queryListMetricStreamsCommandError = async (output, context
|
|
|
1363
1363
|
switch (errorCode) {
|
|
1364
1364
|
case "InternalServiceError":
|
|
1365
1365
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1366
|
-
throw await
|
|
1366
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1367
1367
|
case "InvalidNextToken":
|
|
1368
1368
|
case "com.amazonaws.cloudwatch#InvalidNextToken":
|
|
1369
|
-
throw await
|
|
1369
|
+
throw await de_InvalidNextTokenRes(parsedOutput, context);
|
|
1370
1370
|
case "InvalidParameterValue":
|
|
1371
1371
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1372
|
-
throw await
|
|
1372
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1373
1373
|
case "MissingParameter":
|
|
1374
1374
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1375
|
-
throw await
|
|
1375
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1376
1376
|
default:
|
|
1377
1377
|
const parsedBody = parsedOutput.body;
|
|
1378
1378
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1383,21 +1383,21 @@ const deserializeAws_queryListMetricStreamsCommandError = async (output, context
|
|
|
1383
1383
|
});
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
|
-
const
|
|
1386
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1387
1387
|
if (output.statusCode >= 300) {
|
|
1388
|
-
return
|
|
1388
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1389
1389
|
}
|
|
1390
1390
|
const data = await parseBody(output.body, context);
|
|
1391
1391
|
let contents = {};
|
|
1392
|
-
contents =
|
|
1392
|
+
contents = de_ListTagsForResourceOutput(data.ListTagsForResourceResult, context);
|
|
1393
1393
|
const response = {
|
|
1394
1394
|
$metadata: deserializeMetadata(output),
|
|
1395
1395
|
...contents,
|
|
1396
1396
|
};
|
|
1397
1397
|
return Promise.resolve(response);
|
|
1398
1398
|
};
|
|
1399
|
-
exports.
|
|
1400
|
-
const
|
|
1399
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1400
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1401
1401
|
const parsedOutput = {
|
|
1402
1402
|
...output,
|
|
1403
1403
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1406,13 +1406,13 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
|
|
|
1406
1406
|
switch (errorCode) {
|
|
1407
1407
|
case "InternalServiceError":
|
|
1408
1408
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1409
|
-
throw await
|
|
1409
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1410
1410
|
case "InvalidParameterValue":
|
|
1411
1411
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1412
|
-
throw await
|
|
1412
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1413
1413
|
case "ResourceNotFoundException":
|
|
1414
1414
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException":
|
|
1415
|
-
throw await
|
|
1415
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1416
1416
|
default:
|
|
1417
1417
|
const parsedBody = parsedOutput.body;
|
|
1418
1418
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1423,21 +1423,21 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
|
|
|
1423
1423
|
});
|
|
1424
1424
|
}
|
|
1425
1425
|
};
|
|
1426
|
-
const
|
|
1426
|
+
const de_PutAnomalyDetectorCommand = async (output, context) => {
|
|
1427
1427
|
if (output.statusCode >= 300) {
|
|
1428
|
-
return
|
|
1428
|
+
return de_PutAnomalyDetectorCommandError(output, context);
|
|
1429
1429
|
}
|
|
1430
1430
|
const data = await parseBody(output.body, context);
|
|
1431
1431
|
let contents = {};
|
|
1432
|
-
contents =
|
|
1432
|
+
contents = de_PutAnomalyDetectorOutput(data.PutAnomalyDetectorResult, context);
|
|
1433
1433
|
const response = {
|
|
1434
1434
|
$metadata: deserializeMetadata(output),
|
|
1435
1435
|
...contents,
|
|
1436
1436
|
};
|
|
1437
1437
|
return Promise.resolve(response);
|
|
1438
1438
|
};
|
|
1439
|
-
exports.
|
|
1440
|
-
const
|
|
1439
|
+
exports.de_PutAnomalyDetectorCommand = de_PutAnomalyDetectorCommand;
|
|
1440
|
+
const de_PutAnomalyDetectorCommandError = async (output, context) => {
|
|
1441
1441
|
const parsedOutput = {
|
|
1442
1442
|
...output,
|
|
1443
1443
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1446,19 +1446,19 @@ const deserializeAws_queryPutAnomalyDetectorCommandError = async (output, contex
|
|
|
1446
1446
|
switch (errorCode) {
|
|
1447
1447
|
case "InternalServiceError":
|
|
1448
1448
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1449
|
-
throw await
|
|
1449
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1450
1450
|
case "InvalidParameterCombination":
|
|
1451
1451
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException":
|
|
1452
|
-
throw await
|
|
1452
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1453
1453
|
case "InvalidParameterValue":
|
|
1454
1454
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1455
|
-
throw await
|
|
1455
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1456
1456
|
case "LimitExceededException":
|
|
1457
1457
|
case "com.amazonaws.cloudwatch#LimitExceededException":
|
|
1458
|
-
throw await
|
|
1458
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1459
1459
|
case "MissingParameter":
|
|
1460
1460
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1461
|
-
throw await
|
|
1461
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1462
1462
|
default:
|
|
1463
1463
|
const parsedBody = parsedOutput.body;
|
|
1464
1464
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1469,9 +1469,9 @@ const deserializeAws_queryPutAnomalyDetectorCommandError = async (output, contex
|
|
|
1469
1469
|
});
|
|
1470
1470
|
}
|
|
1471
1471
|
};
|
|
1472
|
-
const
|
|
1472
|
+
const de_PutCompositeAlarmCommand = async (output, context) => {
|
|
1473
1473
|
if (output.statusCode >= 300) {
|
|
1474
|
-
return
|
|
1474
|
+
return de_PutCompositeAlarmCommandError(output, context);
|
|
1475
1475
|
}
|
|
1476
1476
|
await collectBody(output.body, context);
|
|
1477
1477
|
const response = {
|
|
@@ -1479,8 +1479,8 @@ const deserializeAws_queryPutCompositeAlarmCommand = async (output, context) =>
|
|
|
1479
1479
|
};
|
|
1480
1480
|
return Promise.resolve(response);
|
|
1481
1481
|
};
|
|
1482
|
-
exports.
|
|
1483
|
-
const
|
|
1482
|
+
exports.de_PutCompositeAlarmCommand = de_PutCompositeAlarmCommand;
|
|
1483
|
+
const de_PutCompositeAlarmCommandError = async (output, context) => {
|
|
1484
1484
|
const parsedOutput = {
|
|
1485
1485
|
...output,
|
|
1486
1486
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1489,7 +1489,7 @@ const deserializeAws_queryPutCompositeAlarmCommandError = async (output, context
|
|
|
1489
1489
|
switch (errorCode) {
|
|
1490
1490
|
case "LimitExceeded":
|
|
1491
1491
|
case "com.amazonaws.cloudwatch#LimitExceededFault":
|
|
1492
|
-
throw await
|
|
1492
|
+
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
1493
1493
|
default:
|
|
1494
1494
|
const parsedBody = parsedOutput.body;
|
|
1495
1495
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1500,21 +1500,21 @@ const deserializeAws_queryPutCompositeAlarmCommandError = async (output, context
|
|
|
1500
1500
|
});
|
|
1501
1501
|
}
|
|
1502
1502
|
};
|
|
1503
|
-
const
|
|
1503
|
+
const de_PutDashboardCommand = async (output, context) => {
|
|
1504
1504
|
if (output.statusCode >= 300) {
|
|
1505
|
-
return
|
|
1505
|
+
return de_PutDashboardCommandError(output, context);
|
|
1506
1506
|
}
|
|
1507
1507
|
const data = await parseBody(output.body, context);
|
|
1508
1508
|
let contents = {};
|
|
1509
|
-
contents =
|
|
1509
|
+
contents = de_PutDashboardOutput(data.PutDashboardResult, context);
|
|
1510
1510
|
const response = {
|
|
1511
1511
|
$metadata: deserializeMetadata(output),
|
|
1512
1512
|
...contents,
|
|
1513
1513
|
};
|
|
1514
1514
|
return Promise.resolve(response);
|
|
1515
1515
|
};
|
|
1516
|
-
exports.
|
|
1517
|
-
const
|
|
1516
|
+
exports.de_PutDashboardCommand = de_PutDashboardCommand;
|
|
1517
|
+
const de_PutDashboardCommandError = async (output, context) => {
|
|
1518
1518
|
const parsedOutput = {
|
|
1519
1519
|
...output,
|
|
1520
1520
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1523,10 +1523,10 @@ const deserializeAws_queryPutDashboardCommandError = async (output, context) =>
|
|
|
1523
1523
|
switch (errorCode) {
|
|
1524
1524
|
case "InternalServiceError":
|
|
1525
1525
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1526
|
-
throw await
|
|
1526
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1527
1527
|
case "InvalidParameterInput":
|
|
1528
1528
|
case "com.amazonaws.cloudwatch#DashboardInvalidInputError":
|
|
1529
|
-
throw await
|
|
1529
|
+
throw await de_DashboardInvalidInputErrorRes(parsedOutput, context);
|
|
1530
1530
|
default:
|
|
1531
1531
|
const parsedBody = parsedOutput.body;
|
|
1532
1532
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1537,21 +1537,21 @@ const deserializeAws_queryPutDashboardCommandError = async (output, context) =>
|
|
|
1537
1537
|
});
|
|
1538
1538
|
}
|
|
1539
1539
|
};
|
|
1540
|
-
const
|
|
1540
|
+
const de_PutInsightRuleCommand = async (output, context) => {
|
|
1541
1541
|
if (output.statusCode >= 300) {
|
|
1542
|
-
return
|
|
1542
|
+
return de_PutInsightRuleCommandError(output, context);
|
|
1543
1543
|
}
|
|
1544
1544
|
const data = await parseBody(output.body, context);
|
|
1545
1545
|
let contents = {};
|
|
1546
|
-
contents =
|
|
1546
|
+
contents = de_PutInsightRuleOutput(data.PutInsightRuleResult, context);
|
|
1547
1547
|
const response = {
|
|
1548
1548
|
$metadata: deserializeMetadata(output),
|
|
1549
1549
|
...contents,
|
|
1550
1550
|
};
|
|
1551
1551
|
return Promise.resolve(response);
|
|
1552
1552
|
};
|
|
1553
|
-
exports.
|
|
1554
|
-
const
|
|
1553
|
+
exports.de_PutInsightRuleCommand = de_PutInsightRuleCommand;
|
|
1554
|
+
const de_PutInsightRuleCommandError = async (output, context) => {
|
|
1555
1555
|
const parsedOutput = {
|
|
1556
1556
|
...output,
|
|
1557
1557
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1560,13 +1560,13 @@ const deserializeAws_queryPutInsightRuleCommandError = async (output, context) =
|
|
|
1560
1560
|
switch (errorCode) {
|
|
1561
1561
|
case "InvalidParameterValue":
|
|
1562
1562
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1563
|
-
throw await
|
|
1563
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1564
1564
|
case "LimitExceededException":
|
|
1565
1565
|
case "com.amazonaws.cloudwatch#LimitExceededException":
|
|
1566
|
-
throw await
|
|
1566
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1567
1567
|
case "MissingParameter":
|
|
1568
1568
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1569
|
-
throw await
|
|
1569
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1570
1570
|
default:
|
|
1571
1571
|
const parsedBody = parsedOutput.body;
|
|
1572
1572
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1577,21 +1577,21 @@ const deserializeAws_queryPutInsightRuleCommandError = async (output, context) =
|
|
|
1577
1577
|
});
|
|
1578
1578
|
}
|
|
1579
1579
|
};
|
|
1580
|
-
const
|
|
1580
|
+
const de_PutManagedInsightRulesCommand = async (output, context) => {
|
|
1581
1581
|
if (output.statusCode >= 300) {
|
|
1582
|
-
return
|
|
1582
|
+
return de_PutManagedInsightRulesCommandError(output, context);
|
|
1583
1583
|
}
|
|
1584
1584
|
const data = await parseBody(output.body, context);
|
|
1585
1585
|
let contents = {};
|
|
1586
|
-
contents =
|
|
1586
|
+
contents = de_PutManagedInsightRulesOutput(data.PutManagedInsightRulesResult, context);
|
|
1587
1587
|
const response = {
|
|
1588
1588
|
$metadata: deserializeMetadata(output),
|
|
1589
1589
|
...contents,
|
|
1590
1590
|
};
|
|
1591
1591
|
return Promise.resolve(response);
|
|
1592
1592
|
};
|
|
1593
|
-
exports.
|
|
1594
|
-
const
|
|
1593
|
+
exports.de_PutManagedInsightRulesCommand = de_PutManagedInsightRulesCommand;
|
|
1594
|
+
const de_PutManagedInsightRulesCommandError = async (output, context) => {
|
|
1595
1595
|
const parsedOutput = {
|
|
1596
1596
|
...output,
|
|
1597
1597
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1600,10 +1600,10 @@ const deserializeAws_queryPutManagedInsightRulesCommandError = async (output, co
|
|
|
1600
1600
|
switch (errorCode) {
|
|
1601
1601
|
case "InvalidParameterValue":
|
|
1602
1602
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1603
|
-
throw await
|
|
1603
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1604
1604
|
case "MissingParameter":
|
|
1605
1605
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1606
|
-
throw await
|
|
1606
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1607
1607
|
default:
|
|
1608
1608
|
const parsedBody = parsedOutput.body;
|
|
1609
1609
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1614,9 +1614,9 @@ const deserializeAws_queryPutManagedInsightRulesCommandError = async (output, co
|
|
|
1614
1614
|
});
|
|
1615
1615
|
}
|
|
1616
1616
|
};
|
|
1617
|
-
const
|
|
1617
|
+
const de_PutMetricAlarmCommand = async (output, context) => {
|
|
1618
1618
|
if (output.statusCode >= 300) {
|
|
1619
|
-
return
|
|
1619
|
+
return de_PutMetricAlarmCommandError(output, context);
|
|
1620
1620
|
}
|
|
1621
1621
|
await collectBody(output.body, context);
|
|
1622
1622
|
const response = {
|
|
@@ -1624,8 +1624,8 @@ const deserializeAws_queryPutMetricAlarmCommand = async (output, context) => {
|
|
|
1624
1624
|
};
|
|
1625
1625
|
return Promise.resolve(response);
|
|
1626
1626
|
};
|
|
1627
|
-
exports.
|
|
1628
|
-
const
|
|
1627
|
+
exports.de_PutMetricAlarmCommand = de_PutMetricAlarmCommand;
|
|
1628
|
+
const de_PutMetricAlarmCommandError = async (output, context) => {
|
|
1629
1629
|
const parsedOutput = {
|
|
1630
1630
|
...output,
|
|
1631
1631
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1634,7 +1634,7 @@ const deserializeAws_queryPutMetricAlarmCommandError = async (output, context) =
|
|
|
1634
1634
|
switch (errorCode) {
|
|
1635
1635
|
case "LimitExceeded":
|
|
1636
1636
|
case "com.amazonaws.cloudwatch#LimitExceededFault":
|
|
1637
|
-
throw await
|
|
1637
|
+
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
1638
1638
|
default:
|
|
1639
1639
|
const parsedBody = parsedOutput.body;
|
|
1640
1640
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1645,9 +1645,9 @@ const deserializeAws_queryPutMetricAlarmCommandError = async (output, context) =
|
|
|
1645
1645
|
});
|
|
1646
1646
|
}
|
|
1647
1647
|
};
|
|
1648
|
-
const
|
|
1648
|
+
const de_PutMetricDataCommand = async (output, context) => {
|
|
1649
1649
|
if (output.statusCode >= 300) {
|
|
1650
|
-
return
|
|
1650
|
+
return de_PutMetricDataCommandError(output, context);
|
|
1651
1651
|
}
|
|
1652
1652
|
await collectBody(output.body, context);
|
|
1653
1653
|
const response = {
|
|
@@ -1655,8 +1655,8 @@ const deserializeAws_queryPutMetricDataCommand = async (output, context) => {
|
|
|
1655
1655
|
};
|
|
1656
1656
|
return Promise.resolve(response);
|
|
1657
1657
|
};
|
|
1658
|
-
exports.
|
|
1659
|
-
const
|
|
1658
|
+
exports.de_PutMetricDataCommand = de_PutMetricDataCommand;
|
|
1659
|
+
const de_PutMetricDataCommandError = async (output, context) => {
|
|
1660
1660
|
const parsedOutput = {
|
|
1661
1661
|
...output,
|
|
1662
1662
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1665,16 +1665,16 @@ const deserializeAws_queryPutMetricDataCommandError = async (output, context) =>
|
|
|
1665
1665
|
switch (errorCode) {
|
|
1666
1666
|
case "InternalServiceError":
|
|
1667
1667
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1668
|
-
throw await
|
|
1668
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1669
1669
|
case "InvalidParameterCombination":
|
|
1670
1670
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException":
|
|
1671
|
-
throw await
|
|
1671
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1672
1672
|
case "InvalidParameterValue":
|
|
1673
1673
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1674
|
-
throw await
|
|
1674
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1675
1675
|
case "MissingParameter":
|
|
1676
1676
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1677
|
-
throw await
|
|
1677
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1678
1678
|
default:
|
|
1679
1679
|
const parsedBody = parsedOutput.body;
|
|
1680
1680
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1685,21 +1685,21 @@ const deserializeAws_queryPutMetricDataCommandError = async (output, context) =>
|
|
|
1685
1685
|
});
|
|
1686
1686
|
}
|
|
1687
1687
|
};
|
|
1688
|
-
const
|
|
1688
|
+
const de_PutMetricStreamCommand = async (output, context) => {
|
|
1689
1689
|
if (output.statusCode >= 300) {
|
|
1690
|
-
return
|
|
1690
|
+
return de_PutMetricStreamCommandError(output, context);
|
|
1691
1691
|
}
|
|
1692
1692
|
const data = await parseBody(output.body, context);
|
|
1693
1693
|
let contents = {};
|
|
1694
|
-
contents =
|
|
1694
|
+
contents = de_PutMetricStreamOutput(data.PutMetricStreamResult, context);
|
|
1695
1695
|
const response = {
|
|
1696
1696
|
$metadata: deserializeMetadata(output),
|
|
1697
1697
|
...contents,
|
|
1698
1698
|
};
|
|
1699
1699
|
return Promise.resolve(response);
|
|
1700
1700
|
};
|
|
1701
|
-
exports.
|
|
1702
|
-
const
|
|
1701
|
+
exports.de_PutMetricStreamCommand = de_PutMetricStreamCommand;
|
|
1702
|
+
const de_PutMetricStreamCommandError = async (output, context) => {
|
|
1703
1703
|
const parsedOutput = {
|
|
1704
1704
|
...output,
|
|
1705
1705
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1708,19 +1708,19 @@ const deserializeAws_queryPutMetricStreamCommandError = async (output, context)
|
|
|
1708
1708
|
switch (errorCode) {
|
|
1709
1709
|
case "ConcurrentModificationException":
|
|
1710
1710
|
case "com.amazonaws.cloudwatch#ConcurrentModificationException":
|
|
1711
|
-
throw await
|
|
1711
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1712
1712
|
case "InternalServiceError":
|
|
1713
1713
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1714
|
-
throw await
|
|
1714
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1715
1715
|
case "InvalidParameterCombination":
|
|
1716
1716
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException":
|
|
1717
|
-
throw await
|
|
1717
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1718
1718
|
case "InvalidParameterValue":
|
|
1719
1719
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1720
|
-
throw await
|
|
1720
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1721
1721
|
case "MissingParameter":
|
|
1722
1722
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1723
|
-
throw await
|
|
1723
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1724
1724
|
default:
|
|
1725
1725
|
const parsedBody = parsedOutput.body;
|
|
1726
1726
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1731,9 +1731,9 @@ const deserializeAws_queryPutMetricStreamCommandError = async (output, context)
|
|
|
1731
1731
|
});
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
1734
|
-
const
|
|
1734
|
+
const de_SetAlarmStateCommand = async (output, context) => {
|
|
1735
1735
|
if (output.statusCode >= 300) {
|
|
1736
|
-
return
|
|
1736
|
+
return de_SetAlarmStateCommandError(output, context);
|
|
1737
1737
|
}
|
|
1738
1738
|
await collectBody(output.body, context);
|
|
1739
1739
|
const response = {
|
|
@@ -1741,8 +1741,8 @@ const deserializeAws_querySetAlarmStateCommand = async (output, context) => {
|
|
|
1741
1741
|
};
|
|
1742
1742
|
return Promise.resolve(response);
|
|
1743
1743
|
};
|
|
1744
|
-
exports.
|
|
1745
|
-
const
|
|
1744
|
+
exports.de_SetAlarmStateCommand = de_SetAlarmStateCommand;
|
|
1745
|
+
const de_SetAlarmStateCommandError = async (output, context) => {
|
|
1746
1746
|
const parsedOutput = {
|
|
1747
1747
|
...output,
|
|
1748
1748
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1751,10 +1751,10 @@ const deserializeAws_querySetAlarmStateCommandError = async (output, context) =>
|
|
|
1751
1751
|
switch (errorCode) {
|
|
1752
1752
|
case "InvalidFormat":
|
|
1753
1753
|
case "com.amazonaws.cloudwatch#InvalidFormatFault":
|
|
1754
|
-
throw await
|
|
1754
|
+
throw await de_InvalidFormatFaultRes(parsedOutput, context);
|
|
1755
1755
|
case "ResourceNotFound":
|
|
1756
1756
|
case "com.amazonaws.cloudwatch#ResourceNotFound":
|
|
1757
|
-
throw await
|
|
1757
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1758
1758
|
default:
|
|
1759
1759
|
const parsedBody = parsedOutput.body;
|
|
1760
1760
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1765,21 +1765,21 @@ const deserializeAws_querySetAlarmStateCommandError = async (output, context) =>
|
|
|
1765
1765
|
});
|
|
1766
1766
|
}
|
|
1767
1767
|
};
|
|
1768
|
-
const
|
|
1768
|
+
const de_StartMetricStreamsCommand = async (output, context) => {
|
|
1769
1769
|
if (output.statusCode >= 300) {
|
|
1770
|
-
return
|
|
1770
|
+
return de_StartMetricStreamsCommandError(output, context);
|
|
1771
1771
|
}
|
|
1772
1772
|
const data = await parseBody(output.body, context);
|
|
1773
1773
|
let contents = {};
|
|
1774
|
-
contents =
|
|
1774
|
+
contents = de_StartMetricStreamsOutput(data.StartMetricStreamsResult, context);
|
|
1775
1775
|
const response = {
|
|
1776
1776
|
$metadata: deserializeMetadata(output),
|
|
1777
1777
|
...contents,
|
|
1778
1778
|
};
|
|
1779
1779
|
return Promise.resolve(response);
|
|
1780
1780
|
};
|
|
1781
|
-
exports.
|
|
1782
|
-
const
|
|
1781
|
+
exports.de_StartMetricStreamsCommand = de_StartMetricStreamsCommand;
|
|
1782
|
+
const de_StartMetricStreamsCommandError = async (output, context) => {
|
|
1783
1783
|
const parsedOutput = {
|
|
1784
1784
|
...output,
|
|
1785
1785
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1788,13 +1788,13 @@ const deserializeAws_queryStartMetricStreamsCommandError = async (output, contex
|
|
|
1788
1788
|
switch (errorCode) {
|
|
1789
1789
|
case "InternalServiceError":
|
|
1790
1790
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1791
|
-
throw await
|
|
1791
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1792
1792
|
case "InvalidParameterValue":
|
|
1793
1793
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1794
|
-
throw await
|
|
1794
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1795
1795
|
case "MissingParameter":
|
|
1796
1796
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1797
|
-
throw await
|
|
1797
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1798
1798
|
default:
|
|
1799
1799
|
const parsedBody = parsedOutput.body;
|
|
1800
1800
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1805,21 +1805,21 @@ const deserializeAws_queryStartMetricStreamsCommandError = async (output, contex
|
|
|
1805
1805
|
});
|
|
1806
1806
|
}
|
|
1807
1807
|
};
|
|
1808
|
-
const
|
|
1808
|
+
const de_StopMetricStreamsCommand = async (output, context) => {
|
|
1809
1809
|
if (output.statusCode >= 300) {
|
|
1810
|
-
return
|
|
1810
|
+
return de_StopMetricStreamsCommandError(output, context);
|
|
1811
1811
|
}
|
|
1812
1812
|
const data = await parseBody(output.body, context);
|
|
1813
1813
|
let contents = {};
|
|
1814
|
-
contents =
|
|
1814
|
+
contents = de_StopMetricStreamsOutput(data.StopMetricStreamsResult, context);
|
|
1815
1815
|
const response = {
|
|
1816
1816
|
$metadata: deserializeMetadata(output),
|
|
1817
1817
|
...contents,
|
|
1818
1818
|
};
|
|
1819
1819
|
return Promise.resolve(response);
|
|
1820
1820
|
};
|
|
1821
|
-
exports.
|
|
1822
|
-
const
|
|
1821
|
+
exports.de_StopMetricStreamsCommand = de_StopMetricStreamsCommand;
|
|
1822
|
+
const de_StopMetricStreamsCommandError = async (output, context) => {
|
|
1823
1823
|
const parsedOutput = {
|
|
1824
1824
|
...output,
|
|
1825
1825
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1828,13 +1828,13 @@ const deserializeAws_queryStopMetricStreamsCommandError = async (output, context
|
|
|
1828
1828
|
switch (errorCode) {
|
|
1829
1829
|
case "InternalServiceError":
|
|
1830
1830
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1831
|
-
throw await
|
|
1831
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1832
1832
|
case "InvalidParameterValue":
|
|
1833
1833
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1834
|
-
throw await
|
|
1834
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1835
1835
|
case "MissingParameter":
|
|
1836
1836
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException":
|
|
1837
|
-
throw await
|
|
1837
|
+
throw await de_MissingRequiredParameterExceptionRes(parsedOutput, context);
|
|
1838
1838
|
default:
|
|
1839
1839
|
const parsedBody = parsedOutput.body;
|
|
1840
1840
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1845,21 +1845,21 @@ const deserializeAws_queryStopMetricStreamsCommandError = async (output, context
|
|
|
1845
1845
|
});
|
|
1846
1846
|
}
|
|
1847
1847
|
};
|
|
1848
|
-
const
|
|
1848
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1849
1849
|
if (output.statusCode >= 300) {
|
|
1850
|
-
return
|
|
1850
|
+
return de_TagResourceCommandError(output, context);
|
|
1851
1851
|
}
|
|
1852
1852
|
const data = await parseBody(output.body, context);
|
|
1853
1853
|
let contents = {};
|
|
1854
|
-
contents =
|
|
1854
|
+
contents = de_TagResourceOutput(data.TagResourceResult, context);
|
|
1855
1855
|
const response = {
|
|
1856
1856
|
$metadata: deserializeMetadata(output),
|
|
1857
1857
|
...contents,
|
|
1858
1858
|
};
|
|
1859
1859
|
return Promise.resolve(response);
|
|
1860
1860
|
};
|
|
1861
|
-
exports.
|
|
1862
|
-
const
|
|
1861
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1862
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1863
1863
|
const parsedOutput = {
|
|
1864
1864
|
...output,
|
|
1865
1865
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1868,16 +1868,16 @@ const deserializeAws_queryTagResourceCommandError = async (output, context) => {
|
|
|
1868
1868
|
switch (errorCode) {
|
|
1869
1869
|
case "ConcurrentModificationException":
|
|
1870
1870
|
case "com.amazonaws.cloudwatch#ConcurrentModificationException":
|
|
1871
|
-
throw await
|
|
1871
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1872
1872
|
case "InternalServiceError":
|
|
1873
1873
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1874
|
-
throw await
|
|
1874
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1875
1875
|
case "InvalidParameterValue":
|
|
1876
1876
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1877
|
-
throw await
|
|
1877
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1878
1878
|
case "ResourceNotFoundException":
|
|
1879
1879
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException":
|
|
1880
|
-
throw await
|
|
1880
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1881
1881
|
default:
|
|
1882
1882
|
const parsedBody = parsedOutput.body;
|
|
1883
1883
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1888,21 +1888,21 @@ const deserializeAws_queryTagResourceCommandError = async (output, context) => {
|
|
|
1888
1888
|
});
|
|
1889
1889
|
}
|
|
1890
1890
|
};
|
|
1891
|
-
const
|
|
1891
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1892
1892
|
if (output.statusCode >= 300) {
|
|
1893
|
-
return
|
|
1893
|
+
return de_UntagResourceCommandError(output, context);
|
|
1894
1894
|
}
|
|
1895
1895
|
const data = await parseBody(output.body, context);
|
|
1896
1896
|
let contents = {};
|
|
1897
|
-
contents =
|
|
1897
|
+
contents = de_UntagResourceOutput(data.UntagResourceResult, context);
|
|
1898
1898
|
const response = {
|
|
1899
1899
|
$metadata: deserializeMetadata(output),
|
|
1900
1900
|
...contents,
|
|
1901
1901
|
};
|
|
1902
1902
|
return Promise.resolve(response);
|
|
1903
1903
|
};
|
|
1904
|
-
exports.
|
|
1905
|
-
const
|
|
1904
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1905
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1906
1906
|
const parsedOutput = {
|
|
1907
1907
|
...output,
|
|
1908
1908
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1911,16 +1911,16 @@ const deserializeAws_queryUntagResourceCommandError = async (output, context) =>
|
|
|
1911
1911
|
switch (errorCode) {
|
|
1912
1912
|
case "ConcurrentModificationException":
|
|
1913
1913
|
case "com.amazonaws.cloudwatch#ConcurrentModificationException":
|
|
1914
|
-
throw await
|
|
1914
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1915
1915
|
case "InternalServiceError":
|
|
1916
1916
|
case "com.amazonaws.cloudwatch#InternalServiceFault":
|
|
1917
|
-
throw await
|
|
1917
|
+
throw await de_InternalServiceFaultRes(parsedOutput, context);
|
|
1918
1918
|
case "InvalidParameterValue":
|
|
1919
1919
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException":
|
|
1920
|
-
throw await
|
|
1920
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1921
1921
|
case "ResourceNotFoundException":
|
|
1922
1922
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException":
|
|
1923
|
-
throw await
|
|
1923
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1924
1924
|
default:
|
|
1925
1925
|
const parsedBody = parsedOutput.body;
|
|
1926
1926
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1931,124 +1931,124 @@ const deserializeAws_queryUntagResourceCommandError = async (output, context) =>
|
|
|
1931
1931
|
});
|
|
1932
1932
|
}
|
|
1933
1933
|
};
|
|
1934
|
-
const
|
|
1934
|
+
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
1935
1935
|
const body = parsedOutput.body;
|
|
1936
|
-
const deserialized =
|
|
1936
|
+
const deserialized = de_ConcurrentModificationException(body.Error, context);
|
|
1937
1937
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
1938
1938
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1939
1939
|
...deserialized,
|
|
1940
1940
|
});
|
|
1941
1941
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1942
1942
|
};
|
|
1943
|
-
const
|
|
1943
|
+
const de_DashboardInvalidInputErrorRes = async (parsedOutput, context) => {
|
|
1944
1944
|
const body = parsedOutput.body;
|
|
1945
|
-
const deserialized =
|
|
1945
|
+
const deserialized = de_DashboardInvalidInputError(body.Error, context);
|
|
1946
1946
|
const exception = new models_0_1.DashboardInvalidInputError({
|
|
1947
1947
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1948
1948
|
...deserialized,
|
|
1949
1949
|
});
|
|
1950
1950
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1951
1951
|
};
|
|
1952
|
-
const
|
|
1952
|
+
const de_DashboardNotFoundErrorRes = async (parsedOutput, context) => {
|
|
1953
1953
|
const body = parsedOutput.body;
|
|
1954
|
-
const deserialized =
|
|
1954
|
+
const deserialized = de_DashboardNotFoundError(body.Error, context);
|
|
1955
1955
|
const exception = new models_0_1.DashboardNotFoundError({
|
|
1956
1956
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1957
1957
|
...deserialized,
|
|
1958
1958
|
});
|
|
1959
1959
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1960
1960
|
};
|
|
1961
|
-
const
|
|
1961
|
+
const de_InternalServiceFaultRes = async (parsedOutput, context) => {
|
|
1962
1962
|
const body = parsedOutput.body;
|
|
1963
|
-
const deserialized =
|
|
1963
|
+
const deserialized = de_InternalServiceFault(body.Error, context);
|
|
1964
1964
|
const exception = new models_0_1.InternalServiceFault({
|
|
1965
1965
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1966
1966
|
...deserialized,
|
|
1967
1967
|
});
|
|
1968
1968
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1969
1969
|
};
|
|
1970
|
-
const
|
|
1970
|
+
const de_InvalidFormatFaultRes = async (parsedOutput, context) => {
|
|
1971
1971
|
const body = parsedOutput.body;
|
|
1972
|
-
const deserialized =
|
|
1972
|
+
const deserialized = de_InvalidFormatFault(body.Error, context);
|
|
1973
1973
|
const exception = new models_0_1.InvalidFormatFault({
|
|
1974
1974
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1975
1975
|
...deserialized,
|
|
1976
1976
|
});
|
|
1977
1977
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1978
1978
|
};
|
|
1979
|
-
const
|
|
1979
|
+
const de_InvalidNextTokenRes = async (parsedOutput, context) => {
|
|
1980
1980
|
const body = parsedOutput.body;
|
|
1981
|
-
const deserialized =
|
|
1981
|
+
const deserialized = de_InvalidNextToken(body.Error, context);
|
|
1982
1982
|
const exception = new models_0_1.InvalidNextToken({
|
|
1983
1983
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1984
1984
|
...deserialized,
|
|
1985
1985
|
});
|
|
1986
1986
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1987
1987
|
};
|
|
1988
|
-
const
|
|
1988
|
+
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
1989
1989
|
const body = parsedOutput.body;
|
|
1990
|
-
const deserialized =
|
|
1990
|
+
const deserialized = de_InvalidParameterCombinationException(body.Error, context);
|
|
1991
1991
|
const exception = new models_0_1.InvalidParameterCombinationException({
|
|
1992
1992
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1993
1993
|
...deserialized,
|
|
1994
1994
|
});
|
|
1995
1995
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1996
1996
|
};
|
|
1997
|
-
const
|
|
1997
|
+
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
1998
1998
|
const body = parsedOutput.body;
|
|
1999
|
-
const deserialized =
|
|
1999
|
+
const deserialized = de_InvalidParameterValueException(body.Error, context);
|
|
2000
2000
|
const exception = new models_0_1.InvalidParameterValueException({
|
|
2001
2001
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2002
2002
|
...deserialized,
|
|
2003
2003
|
});
|
|
2004
2004
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2005
2005
|
};
|
|
2006
|
-
const
|
|
2006
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2007
2007
|
const body = parsedOutput.body;
|
|
2008
|
-
const deserialized =
|
|
2008
|
+
const deserialized = de_LimitExceededException(body.Error, context);
|
|
2009
2009
|
const exception = new models_0_1.LimitExceededException({
|
|
2010
2010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2011
2011
|
...deserialized,
|
|
2012
2012
|
});
|
|
2013
2013
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2014
2014
|
};
|
|
2015
|
-
const
|
|
2015
|
+
const de_LimitExceededFaultRes = async (parsedOutput, context) => {
|
|
2016
2016
|
const body = parsedOutput.body;
|
|
2017
|
-
const deserialized =
|
|
2017
|
+
const deserialized = de_LimitExceededFault(body.Error, context);
|
|
2018
2018
|
const exception = new models_0_1.LimitExceededFault({
|
|
2019
2019
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2020
2020
|
...deserialized,
|
|
2021
2021
|
});
|
|
2022
2022
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2023
2023
|
};
|
|
2024
|
-
const
|
|
2024
|
+
const de_MissingRequiredParameterExceptionRes = async (parsedOutput, context) => {
|
|
2025
2025
|
const body = parsedOutput.body;
|
|
2026
|
-
const deserialized =
|
|
2026
|
+
const deserialized = de_MissingRequiredParameterException(body.Error, context);
|
|
2027
2027
|
const exception = new models_0_1.MissingRequiredParameterException({
|
|
2028
2028
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2029
2029
|
...deserialized,
|
|
2030
2030
|
});
|
|
2031
2031
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2032
2032
|
};
|
|
2033
|
-
const
|
|
2033
|
+
const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
2034
2034
|
const body = parsedOutput.body;
|
|
2035
|
-
const deserialized =
|
|
2035
|
+
const deserialized = de_ResourceNotFound(body.Error, context);
|
|
2036
2036
|
const exception = new models_0_1.ResourceNotFound({
|
|
2037
2037
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2038
2038
|
...deserialized,
|
|
2039
2039
|
});
|
|
2040
2040
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2041
2041
|
};
|
|
2042
|
-
const
|
|
2042
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2043
2043
|
const body = parsedOutput.body;
|
|
2044
|
-
const deserialized =
|
|
2044
|
+
const deserialized = de_ResourceNotFoundException(body.Error, context);
|
|
2045
2045
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2046
2046
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2047
2047
|
...deserialized,
|
|
2048
2048
|
});
|
|
2049
2049
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2050
2050
|
};
|
|
2051
|
-
const
|
|
2051
|
+
const se_AlarmNames = (input, context) => {
|
|
2052
2052
|
const entries = {};
|
|
2053
2053
|
let counter = 1;
|
|
2054
2054
|
for (const entry of input) {
|
|
@@ -2060,7 +2060,7 @@ const serializeAws_queryAlarmNames = (input, context) => {
|
|
|
2060
2060
|
}
|
|
2061
2061
|
return entries;
|
|
2062
2062
|
};
|
|
2063
|
-
const
|
|
2063
|
+
const se_AlarmTypes = (input, context) => {
|
|
2064
2064
|
const entries = {};
|
|
2065
2065
|
let counter = 1;
|
|
2066
2066
|
for (const entry of input) {
|
|
@@ -2072,10 +2072,10 @@ const serializeAws_queryAlarmTypes = (input, context) => {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
return entries;
|
|
2074
2074
|
};
|
|
2075
|
-
const
|
|
2075
|
+
const se_AnomalyDetectorConfiguration = (input, context) => {
|
|
2076
2076
|
const entries = {};
|
|
2077
2077
|
if (input.ExcludedTimeRanges != null) {
|
|
2078
|
-
const memberEntries =
|
|
2078
|
+
const memberEntries = se_AnomalyDetectorExcludedTimeRanges(input.ExcludedTimeRanges, context);
|
|
2079
2079
|
if (input.ExcludedTimeRanges?.length === 0) {
|
|
2080
2080
|
entries.ExcludedTimeRanges = [];
|
|
2081
2081
|
}
|
|
@@ -2089,14 +2089,14 @@ const serializeAws_queryAnomalyDetectorConfiguration = (input, context) => {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
return entries;
|
|
2091
2091
|
};
|
|
2092
|
-
const
|
|
2092
|
+
const se_AnomalyDetectorExcludedTimeRanges = (input, context) => {
|
|
2093
2093
|
const entries = {};
|
|
2094
2094
|
let counter = 1;
|
|
2095
2095
|
for (const entry of input) {
|
|
2096
2096
|
if (entry === null) {
|
|
2097
2097
|
continue;
|
|
2098
2098
|
}
|
|
2099
|
-
const memberEntries =
|
|
2099
|
+
const memberEntries = se_Range(entry, context);
|
|
2100
2100
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2101
2101
|
entries[`member.${counter}.${key}`] = value;
|
|
2102
2102
|
});
|
|
@@ -2104,7 +2104,7 @@ const serializeAws_queryAnomalyDetectorExcludedTimeRanges = (input, context) =>
|
|
|
2104
2104
|
}
|
|
2105
2105
|
return entries;
|
|
2106
2106
|
};
|
|
2107
|
-
const
|
|
2107
|
+
const se_AnomalyDetectorTypes = (input, context) => {
|
|
2108
2108
|
const entries = {};
|
|
2109
2109
|
let counter = 1;
|
|
2110
2110
|
for (const entry of input) {
|
|
@@ -2116,7 +2116,7 @@ const serializeAws_queryAnomalyDetectorTypes = (input, context) => {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
return entries;
|
|
2118
2118
|
};
|
|
2119
|
-
const
|
|
2119
|
+
const se_Counts = (input, context) => {
|
|
2120
2120
|
const entries = {};
|
|
2121
2121
|
let counter = 1;
|
|
2122
2122
|
for (const entry of input) {
|
|
@@ -2128,7 +2128,7 @@ const serializeAws_queryCounts = (input, context) => {
|
|
|
2128
2128
|
}
|
|
2129
2129
|
return entries;
|
|
2130
2130
|
};
|
|
2131
|
-
const
|
|
2131
|
+
const se_DashboardNames = (input, context) => {
|
|
2132
2132
|
const entries = {};
|
|
2133
2133
|
let counter = 1;
|
|
2134
2134
|
for (const entry of input) {
|
|
@@ -2140,10 +2140,10 @@ const serializeAws_queryDashboardNames = (input, context) => {
|
|
|
2140
2140
|
}
|
|
2141
2141
|
return entries;
|
|
2142
2142
|
};
|
|
2143
|
-
const
|
|
2143
|
+
const se_DeleteAlarmsInput = (input, context) => {
|
|
2144
2144
|
const entries = {};
|
|
2145
2145
|
if (input.AlarmNames != null) {
|
|
2146
|
-
const memberEntries =
|
|
2146
|
+
const memberEntries = se_AlarmNames(input.AlarmNames, context);
|
|
2147
2147
|
if (input.AlarmNames?.length === 0) {
|
|
2148
2148
|
entries.AlarmNames = [];
|
|
2149
2149
|
}
|
|
@@ -2154,7 +2154,7 @@ const serializeAws_queryDeleteAlarmsInput = (input, context) => {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
return entries;
|
|
2156
2156
|
};
|
|
2157
|
-
const
|
|
2157
|
+
const se_DeleteAnomalyDetectorInput = (input, context) => {
|
|
2158
2158
|
const entries = {};
|
|
2159
2159
|
if (input.Namespace != null) {
|
|
2160
2160
|
entries["Namespace"] = input.Namespace;
|
|
@@ -2163,7 +2163,7 @@ const serializeAws_queryDeleteAnomalyDetectorInput = (input, context) => {
|
|
|
2163
2163
|
entries["MetricName"] = input.MetricName;
|
|
2164
2164
|
}
|
|
2165
2165
|
if (input.Dimensions != null) {
|
|
2166
|
-
const memberEntries =
|
|
2166
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
2167
2167
|
if (input.Dimensions?.length === 0) {
|
|
2168
2168
|
entries.Dimensions = [];
|
|
2169
2169
|
}
|
|
@@ -2176,14 +2176,14 @@ const serializeAws_queryDeleteAnomalyDetectorInput = (input, context) => {
|
|
|
2176
2176
|
entries["Stat"] = input.Stat;
|
|
2177
2177
|
}
|
|
2178
2178
|
if (input.SingleMetricAnomalyDetector != null) {
|
|
2179
|
-
const memberEntries =
|
|
2179
|
+
const memberEntries = se_SingleMetricAnomalyDetector(input.SingleMetricAnomalyDetector, context);
|
|
2180
2180
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2181
2181
|
const loc = `SingleMetricAnomalyDetector.${key}`;
|
|
2182
2182
|
entries[loc] = value;
|
|
2183
2183
|
});
|
|
2184
2184
|
}
|
|
2185
2185
|
if (input.MetricMathAnomalyDetector != null) {
|
|
2186
|
-
const memberEntries =
|
|
2186
|
+
const memberEntries = se_MetricMathAnomalyDetector(input.MetricMathAnomalyDetector, context);
|
|
2187
2187
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2188
2188
|
const loc = `MetricMathAnomalyDetector.${key}`;
|
|
2189
2189
|
entries[loc] = value;
|
|
@@ -2191,10 +2191,10 @@ const serializeAws_queryDeleteAnomalyDetectorInput = (input, context) => {
|
|
|
2191
2191
|
}
|
|
2192
2192
|
return entries;
|
|
2193
2193
|
};
|
|
2194
|
-
const
|
|
2194
|
+
const se_DeleteDashboardsInput = (input, context) => {
|
|
2195
2195
|
const entries = {};
|
|
2196
2196
|
if (input.DashboardNames != null) {
|
|
2197
|
-
const memberEntries =
|
|
2197
|
+
const memberEntries = se_DashboardNames(input.DashboardNames, context);
|
|
2198
2198
|
if (input.DashboardNames?.length === 0) {
|
|
2199
2199
|
entries.DashboardNames = [];
|
|
2200
2200
|
}
|
|
@@ -2205,10 +2205,10 @@ const serializeAws_queryDeleteDashboardsInput = (input, context) => {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
return entries;
|
|
2207
2207
|
};
|
|
2208
|
-
const
|
|
2208
|
+
const se_DeleteInsightRulesInput = (input, context) => {
|
|
2209
2209
|
const entries = {};
|
|
2210
2210
|
if (input.RuleNames != null) {
|
|
2211
|
-
const memberEntries =
|
|
2211
|
+
const memberEntries = se_InsightRuleNames(input.RuleNames, context);
|
|
2212
2212
|
if (input.RuleNames?.length === 0) {
|
|
2213
2213
|
entries.RuleNames = [];
|
|
2214
2214
|
}
|
|
@@ -2219,20 +2219,20 @@ const serializeAws_queryDeleteInsightRulesInput = (input, context) => {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
return entries;
|
|
2221
2221
|
};
|
|
2222
|
-
const
|
|
2222
|
+
const se_DeleteMetricStreamInput = (input, context) => {
|
|
2223
2223
|
const entries = {};
|
|
2224
2224
|
if (input.Name != null) {
|
|
2225
2225
|
entries["Name"] = input.Name;
|
|
2226
2226
|
}
|
|
2227
2227
|
return entries;
|
|
2228
2228
|
};
|
|
2229
|
-
const
|
|
2229
|
+
const se_DescribeAlarmHistoryInput = (input, context) => {
|
|
2230
2230
|
const entries = {};
|
|
2231
2231
|
if (input.AlarmName != null) {
|
|
2232
2232
|
entries["AlarmName"] = input.AlarmName;
|
|
2233
2233
|
}
|
|
2234
2234
|
if (input.AlarmTypes != null) {
|
|
2235
|
-
const memberEntries =
|
|
2235
|
+
const memberEntries = se_AlarmTypes(input.AlarmTypes, context);
|
|
2236
2236
|
if (input.AlarmTypes?.length === 0) {
|
|
2237
2237
|
entries.AlarmTypes = [];
|
|
2238
2238
|
}
|
|
@@ -2261,7 +2261,7 @@ const serializeAws_queryDescribeAlarmHistoryInput = (input, context) => {
|
|
|
2261
2261
|
}
|
|
2262
2262
|
return entries;
|
|
2263
2263
|
};
|
|
2264
|
-
const
|
|
2264
|
+
const se_DescribeAlarmsForMetricInput = (input, context) => {
|
|
2265
2265
|
const entries = {};
|
|
2266
2266
|
if (input.MetricName != null) {
|
|
2267
2267
|
entries["MetricName"] = input.MetricName;
|
|
@@ -2276,7 +2276,7 @@ const serializeAws_queryDescribeAlarmsForMetricInput = (input, context) => {
|
|
|
2276
2276
|
entries["ExtendedStatistic"] = input.ExtendedStatistic;
|
|
2277
2277
|
}
|
|
2278
2278
|
if (input.Dimensions != null) {
|
|
2279
|
-
const memberEntries =
|
|
2279
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
2280
2280
|
if (input.Dimensions?.length === 0) {
|
|
2281
2281
|
entries.Dimensions = [];
|
|
2282
2282
|
}
|
|
@@ -2293,10 +2293,10 @@ const serializeAws_queryDescribeAlarmsForMetricInput = (input, context) => {
|
|
|
2293
2293
|
}
|
|
2294
2294
|
return entries;
|
|
2295
2295
|
};
|
|
2296
|
-
const
|
|
2296
|
+
const se_DescribeAlarmsInput = (input, context) => {
|
|
2297
2297
|
const entries = {};
|
|
2298
2298
|
if (input.AlarmNames != null) {
|
|
2299
|
-
const memberEntries =
|
|
2299
|
+
const memberEntries = se_AlarmNames(input.AlarmNames, context);
|
|
2300
2300
|
if (input.AlarmNames?.length === 0) {
|
|
2301
2301
|
entries.AlarmNames = [];
|
|
2302
2302
|
}
|
|
@@ -2309,7 +2309,7 @@ const serializeAws_queryDescribeAlarmsInput = (input, context) => {
|
|
|
2309
2309
|
entries["AlarmNamePrefix"] = input.AlarmNamePrefix;
|
|
2310
2310
|
}
|
|
2311
2311
|
if (input.AlarmTypes != null) {
|
|
2312
|
-
const memberEntries =
|
|
2312
|
+
const memberEntries = se_AlarmTypes(input.AlarmTypes, context);
|
|
2313
2313
|
if (input.AlarmTypes?.length === 0) {
|
|
2314
2314
|
entries.AlarmTypes = [];
|
|
2315
2315
|
}
|
|
@@ -2338,7 +2338,7 @@ const serializeAws_queryDescribeAlarmsInput = (input, context) => {
|
|
|
2338
2338
|
}
|
|
2339
2339
|
return entries;
|
|
2340
2340
|
};
|
|
2341
|
-
const
|
|
2341
|
+
const se_DescribeAnomalyDetectorsInput = (input, context) => {
|
|
2342
2342
|
const entries = {};
|
|
2343
2343
|
if (input.NextToken != null) {
|
|
2344
2344
|
entries["NextToken"] = input.NextToken;
|
|
@@ -2353,7 +2353,7 @@ const serializeAws_queryDescribeAnomalyDetectorsInput = (input, context) => {
|
|
|
2353
2353
|
entries["MetricName"] = input.MetricName;
|
|
2354
2354
|
}
|
|
2355
2355
|
if (input.Dimensions != null) {
|
|
2356
|
-
const memberEntries =
|
|
2356
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
2357
2357
|
if (input.Dimensions?.length === 0) {
|
|
2358
2358
|
entries.Dimensions = [];
|
|
2359
2359
|
}
|
|
@@ -2363,7 +2363,7 @@ const serializeAws_queryDescribeAnomalyDetectorsInput = (input, context) => {
|
|
|
2363
2363
|
});
|
|
2364
2364
|
}
|
|
2365
2365
|
if (input.AnomalyDetectorTypes != null) {
|
|
2366
|
-
const memberEntries =
|
|
2366
|
+
const memberEntries = se_AnomalyDetectorTypes(input.AnomalyDetectorTypes, context);
|
|
2367
2367
|
if (input.AnomalyDetectorTypes?.length === 0) {
|
|
2368
2368
|
entries.AnomalyDetectorTypes = [];
|
|
2369
2369
|
}
|
|
@@ -2374,7 +2374,7 @@ const serializeAws_queryDescribeAnomalyDetectorsInput = (input, context) => {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
return entries;
|
|
2376
2376
|
};
|
|
2377
|
-
const
|
|
2377
|
+
const se_DescribeInsightRulesInput = (input, context) => {
|
|
2378
2378
|
const entries = {};
|
|
2379
2379
|
if (input.NextToken != null) {
|
|
2380
2380
|
entries["NextToken"] = input.NextToken;
|
|
@@ -2384,7 +2384,7 @@ const serializeAws_queryDescribeInsightRulesInput = (input, context) => {
|
|
|
2384
2384
|
}
|
|
2385
2385
|
return entries;
|
|
2386
2386
|
};
|
|
2387
|
-
const
|
|
2387
|
+
const se_Dimension = (input, context) => {
|
|
2388
2388
|
const entries = {};
|
|
2389
2389
|
if (input.Name != null) {
|
|
2390
2390
|
entries["Name"] = input.Name;
|
|
@@ -2394,7 +2394,7 @@ const serializeAws_queryDimension = (input, context) => {
|
|
|
2394
2394
|
}
|
|
2395
2395
|
return entries;
|
|
2396
2396
|
};
|
|
2397
|
-
const
|
|
2397
|
+
const se_DimensionFilter = (input, context) => {
|
|
2398
2398
|
const entries = {};
|
|
2399
2399
|
if (input.Name != null) {
|
|
2400
2400
|
entries["Name"] = input.Name;
|
|
@@ -2404,14 +2404,14 @@ const serializeAws_queryDimensionFilter = (input, context) => {
|
|
|
2404
2404
|
}
|
|
2405
2405
|
return entries;
|
|
2406
2406
|
};
|
|
2407
|
-
const
|
|
2407
|
+
const se_DimensionFilters = (input, context) => {
|
|
2408
2408
|
const entries = {};
|
|
2409
2409
|
let counter = 1;
|
|
2410
2410
|
for (const entry of input) {
|
|
2411
2411
|
if (entry === null) {
|
|
2412
2412
|
continue;
|
|
2413
2413
|
}
|
|
2414
|
-
const memberEntries =
|
|
2414
|
+
const memberEntries = se_DimensionFilter(entry, context);
|
|
2415
2415
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2416
2416
|
entries[`member.${counter}.${key}`] = value;
|
|
2417
2417
|
});
|
|
@@ -2419,14 +2419,14 @@ const serializeAws_queryDimensionFilters = (input, context) => {
|
|
|
2419
2419
|
}
|
|
2420
2420
|
return entries;
|
|
2421
2421
|
};
|
|
2422
|
-
const
|
|
2422
|
+
const se_Dimensions = (input, context) => {
|
|
2423
2423
|
const entries = {};
|
|
2424
2424
|
let counter = 1;
|
|
2425
2425
|
for (const entry of input) {
|
|
2426
2426
|
if (entry === null) {
|
|
2427
2427
|
continue;
|
|
2428
2428
|
}
|
|
2429
|
-
const memberEntries =
|
|
2429
|
+
const memberEntries = se_Dimension(entry, context);
|
|
2430
2430
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2431
2431
|
entries[`member.${counter}.${key}`] = value;
|
|
2432
2432
|
});
|
|
@@ -2434,10 +2434,10 @@ const serializeAws_queryDimensions = (input, context) => {
|
|
|
2434
2434
|
}
|
|
2435
2435
|
return entries;
|
|
2436
2436
|
};
|
|
2437
|
-
const
|
|
2437
|
+
const se_DisableAlarmActionsInput = (input, context) => {
|
|
2438
2438
|
const entries = {};
|
|
2439
2439
|
if (input.AlarmNames != null) {
|
|
2440
|
-
const memberEntries =
|
|
2440
|
+
const memberEntries = se_AlarmNames(input.AlarmNames, context);
|
|
2441
2441
|
if (input.AlarmNames?.length === 0) {
|
|
2442
2442
|
entries.AlarmNames = [];
|
|
2443
2443
|
}
|
|
@@ -2448,10 +2448,10 @@ const serializeAws_queryDisableAlarmActionsInput = (input, context) => {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
return entries;
|
|
2450
2450
|
};
|
|
2451
|
-
const
|
|
2451
|
+
const se_DisableInsightRulesInput = (input, context) => {
|
|
2452
2452
|
const entries = {};
|
|
2453
2453
|
if (input.RuleNames != null) {
|
|
2454
|
-
const memberEntries =
|
|
2454
|
+
const memberEntries = se_InsightRuleNames(input.RuleNames, context);
|
|
2455
2455
|
if (input.RuleNames?.length === 0) {
|
|
2456
2456
|
entries.RuleNames = [];
|
|
2457
2457
|
}
|
|
@@ -2462,10 +2462,10 @@ const serializeAws_queryDisableInsightRulesInput = (input, context) => {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
return entries;
|
|
2464
2464
|
};
|
|
2465
|
-
const
|
|
2465
|
+
const se_EnableAlarmActionsInput = (input, context) => {
|
|
2466
2466
|
const entries = {};
|
|
2467
2467
|
if (input.AlarmNames != null) {
|
|
2468
|
-
const memberEntries =
|
|
2468
|
+
const memberEntries = se_AlarmNames(input.AlarmNames, context);
|
|
2469
2469
|
if (input.AlarmNames?.length === 0) {
|
|
2470
2470
|
entries.AlarmNames = [];
|
|
2471
2471
|
}
|
|
@@ -2476,10 +2476,10 @@ const serializeAws_queryEnableAlarmActionsInput = (input, context) => {
|
|
|
2476
2476
|
}
|
|
2477
2477
|
return entries;
|
|
2478
2478
|
};
|
|
2479
|
-
const
|
|
2479
|
+
const se_EnableInsightRulesInput = (input, context) => {
|
|
2480
2480
|
const entries = {};
|
|
2481
2481
|
if (input.RuleNames != null) {
|
|
2482
|
-
const memberEntries =
|
|
2482
|
+
const memberEntries = se_InsightRuleNames(input.RuleNames, context);
|
|
2483
2483
|
if (input.RuleNames?.length === 0) {
|
|
2484
2484
|
entries.RuleNames = [];
|
|
2485
2485
|
}
|
|
@@ -2490,7 +2490,7 @@ const serializeAws_queryEnableInsightRulesInput = (input, context) => {
|
|
|
2490
2490
|
}
|
|
2491
2491
|
return entries;
|
|
2492
2492
|
};
|
|
2493
|
-
const
|
|
2493
|
+
const se_ExtendedStatistics = (input, context) => {
|
|
2494
2494
|
const entries = {};
|
|
2495
2495
|
let counter = 1;
|
|
2496
2496
|
for (const entry of input) {
|
|
@@ -2502,14 +2502,14 @@ const serializeAws_queryExtendedStatistics = (input, context) => {
|
|
|
2502
2502
|
}
|
|
2503
2503
|
return entries;
|
|
2504
2504
|
};
|
|
2505
|
-
const
|
|
2505
|
+
const se_GetDashboardInput = (input, context) => {
|
|
2506
2506
|
const entries = {};
|
|
2507
2507
|
if (input.DashboardName != null) {
|
|
2508
2508
|
entries["DashboardName"] = input.DashboardName;
|
|
2509
2509
|
}
|
|
2510
2510
|
return entries;
|
|
2511
2511
|
};
|
|
2512
|
-
const
|
|
2512
|
+
const se_GetInsightRuleReportInput = (input, context) => {
|
|
2513
2513
|
const entries = {};
|
|
2514
2514
|
if (input.RuleName != null) {
|
|
2515
2515
|
entries["RuleName"] = input.RuleName;
|
|
@@ -2527,7 +2527,7 @@ const serializeAws_queryGetInsightRuleReportInput = (input, context) => {
|
|
|
2527
2527
|
entries["MaxContributorCount"] = input.MaxContributorCount;
|
|
2528
2528
|
}
|
|
2529
2529
|
if (input.Metrics != null) {
|
|
2530
|
-
const memberEntries =
|
|
2530
|
+
const memberEntries = se_InsightRuleMetricList(input.Metrics, context);
|
|
2531
2531
|
if (input.Metrics?.length === 0) {
|
|
2532
2532
|
entries.Metrics = [];
|
|
2533
2533
|
}
|
|
@@ -2541,10 +2541,10 @@ const serializeAws_queryGetInsightRuleReportInput = (input, context) => {
|
|
|
2541
2541
|
}
|
|
2542
2542
|
return entries;
|
|
2543
2543
|
};
|
|
2544
|
-
const
|
|
2544
|
+
const se_GetMetricDataInput = (input, context) => {
|
|
2545
2545
|
const entries = {};
|
|
2546
2546
|
if (input.MetricDataQueries != null) {
|
|
2547
|
-
const memberEntries =
|
|
2547
|
+
const memberEntries = se_MetricDataQueries(input.MetricDataQueries, context);
|
|
2548
2548
|
if (input.MetricDataQueries?.length === 0) {
|
|
2549
2549
|
entries.MetricDataQueries = [];
|
|
2550
2550
|
}
|
|
@@ -2569,7 +2569,7 @@ const serializeAws_queryGetMetricDataInput = (input, context) => {
|
|
|
2569
2569
|
entries["MaxDatapoints"] = input.MaxDatapoints;
|
|
2570
2570
|
}
|
|
2571
2571
|
if (input.LabelOptions != null) {
|
|
2572
|
-
const memberEntries =
|
|
2572
|
+
const memberEntries = se_LabelOptions(input.LabelOptions, context);
|
|
2573
2573
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2574
2574
|
const loc = `LabelOptions.${key}`;
|
|
2575
2575
|
entries[loc] = value;
|
|
@@ -2577,7 +2577,7 @@ const serializeAws_queryGetMetricDataInput = (input, context) => {
|
|
|
2577
2577
|
}
|
|
2578
2578
|
return entries;
|
|
2579
2579
|
};
|
|
2580
|
-
const
|
|
2580
|
+
const se_GetMetricStatisticsInput = (input, context) => {
|
|
2581
2581
|
const entries = {};
|
|
2582
2582
|
if (input.Namespace != null) {
|
|
2583
2583
|
entries["Namespace"] = input.Namespace;
|
|
@@ -2586,7 +2586,7 @@ const serializeAws_queryGetMetricStatisticsInput = (input, context) => {
|
|
|
2586
2586
|
entries["MetricName"] = input.MetricName;
|
|
2587
2587
|
}
|
|
2588
2588
|
if (input.Dimensions != null) {
|
|
2589
|
-
const memberEntries =
|
|
2589
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
2590
2590
|
if (input.Dimensions?.length === 0) {
|
|
2591
2591
|
entries.Dimensions = [];
|
|
2592
2592
|
}
|
|
@@ -2605,7 +2605,7 @@ const serializeAws_queryGetMetricStatisticsInput = (input, context) => {
|
|
|
2605
2605
|
entries["Period"] = input.Period;
|
|
2606
2606
|
}
|
|
2607
2607
|
if (input.Statistics != null) {
|
|
2608
|
-
const memberEntries =
|
|
2608
|
+
const memberEntries = se_Statistics(input.Statistics, context);
|
|
2609
2609
|
if (input.Statistics?.length === 0) {
|
|
2610
2610
|
entries.Statistics = [];
|
|
2611
2611
|
}
|
|
@@ -2615,7 +2615,7 @@ const serializeAws_queryGetMetricStatisticsInput = (input, context) => {
|
|
|
2615
2615
|
});
|
|
2616
2616
|
}
|
|
2617
2617
|
if (input.ExtendedStatistics != null) {
|
|
2618
|
-
const memberEntries =
|
|
2618
|
+
const memberEntries = se_ExtendedStatistics(input.ExtendedStatistics, context);
|
|
2619
2619
|
if (input.ExtendedStatistics?.length === 0) {
|
|
2620
2620
|
entries.ExtendedStatistics = [];
|
|
2621
2621
|
}
|
|
@@ -2629,14 +2629,14 @@ const serializeAws_queryGetMetricStatisticsInput = (input, context) => {
|
|
|
2629
2629
|
}
|
|
2630
2630
|
return entries;
|
|
2631
2631
|
};
|
|
2632
|
-
const
|
|
2632
|
+
const se_GetMetricStreamInput = (input, context) => {
|
|
2633
2633
|
const entries = {};
|
|
2634
2634
|
if (input.Name != null) {
|
|
2635
2635
|
entries["Name"] = input.Name;
|
|
2636
2636
|
}
|
|
2637
2637
|
return entries;
|
|
2638
2638
|
};
|
|
2639
|
-
const
|
|
2639
|
+
const se_GetMetricWidgetImageInput = (input, context) => {
|
|
2640
2640
|
const entries = {};
|
|
2641
2641
|
if (input.MetricWidget != null) {
|
|
2642
2642
|
entries["MetricWidget"] = input.MetricWidget;
|
|
@@ -2646,7 +2646,7 @@ const serializeAws_queryGetMetricWidgetImageInput = (input, context) => {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
return entries;
|
|
2648
2648
|
};
|
|
2649
|
-
const
|
|
2649
|
+
const se_InsightRuleMetricList = (input, context) => {
|
|
2650
2650
|
const entries = {};
|
|
2651
2651
|
let counter = 1;
|
|
2652
2652
|
for (const entry of input) {
|
|
@@ -2658,7 +2658,7 @@ const serializeAws_queryInsightRuleMetricList = (input, context) => {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
return entries;
|
|
2660
2660
|
};
|
|
2661
|
-
const
|
|
2661
|
+
const se_InsightRuleNames = (input, context) => {
|
|
2662
2662
|
const entries = {};
|
|
2663
2663
|
let counter = 1;
|
|
2664
2664
|
for (const entry of input) {
|
|
@@ -2670,14 +2670,14 @@ const serializeAws_queryInsightRuleNames = (input, context) => {
|
|
|
2670
2670
|
}
|
|
2671
2671
|
return entries;
|
|
2672
2672
|
};
|
|
2673
|
-
const
|
|
2673
|
+
const se_LabelOptions = (input, context) => {
|
|
2674
2674
|
const entries = {};
|
|
2675
2675
|
if (input.Timezone != null) {
|
|
2676
2676
|
entries["Timezone"] = input.Timezone;
|
|
2677
2677
|
}
|
|
2678
2678
|
return entries;
|
|
2679
2679
|
};
|
|
2680
|
-
const
|
|
2680
|
+
const se_ListDashboardsInput = (input, context) => {
|
|
2681
2681
|
const entries = {};
|
|
2682
2682
|
if (input.DashboardNamePrefix != null) {
|
|
2683
2683
|
entries["DashboardNamePrefix"] = input.DashboardNamePrefix;
|
|
@@ -2687,7 +2687,7 @@ const serializeAws_queryListDashboardsInput = (input, context) => {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
return entries;
|
|
2689
2689
|
};
|
|
2690
|
-
const
|
|
2690
|
+
const se_ListManagedInsightRulesInput = (input, context) => {
|
|
2691
2691
|
const entries = {};
|
|
2692
2692
|
if (input.ResourceARN != null) {
|
|
2693
2693
|
entries["ResourceARN"] = input.ResourceARN;
|
|
@@ -2700,7 +2700,7 @@ const serializeAws_queryListManagedInsightRulesInput = (input, context) => {
|
|
|
2700
2700
|
}
|
|
2701
2701
|
return entries;
|
|
2702
2702
|
};
|
|
2703
|
-
const
|
|
2703
|
+
const se_ListMetricsInput = (input, context) => {
|
|
2704
2704
|
const entries = {};
|
|
2705
2705
|
if (input.Namespace != null) {
|
|
2706
2706
|
entries["Namespace"] = input.Namespace;
|
|
@@ -2709,7 +2709,7 @@ const serializeAws_queryListMetricsInput = (input, context) => {
|
|
|
2709
2709
|
entries["MetricName"] = input.MetricName;
|
|
2710
2710
|
}
|
|
2711
2711
|
if (input.Dimensions != null) {
|
|
2712
|
-
const memberEntries =
|
|
2712
|
+
const memberEntries = se_DimensionFilters(input.Dimensions, context);
|
|
2713
2713
|
if (input.Dimensions?.length === 0) {
|
|
2714
2714
|
entries.Dimensions = [];
|
|
2715
2715
|
}
|
|
@@ -2732,7 +2732,7 @@ const serializeAws_queryListMetricsInput = (input, context) => {
|
|
|
2732
2732
|
}
|
|
2733
2733
|
return entries;
|
|
2734
2734
|
};
|
|
2735
|
-
const
|
|
2735
|
+
const se_ListMetricStreamsInput = (input, context) => {
|
|
2736
2736
|
const entries = {};
|
|
2737
2737
|
if (input.NextToken != null) {
|
|
2738
2738
|
entries["NextToken"] = input.NextToken;
|
|
@@ -2742,14 +2742,14 @@ const serializeAws_queryListMetricStreamsInput = (input, context) => {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
return entries;
|
|
2744
2744
|
};
|
|
2745
|
-
const
|
|
2745
|
+
const se_ListTagsForResourceInput = (input, context) => {
|
|
2746
2746
|
const entries = {};
|
|
2747
2747
|
if (input.ResourceARN != null) {
|
|
2748
2748
|
entries["ResourceARN"] = input.ResourceARN;
|
|
2749
2749
|
}
|
|
2750
2750
|
return entries;
|
|
2751
2751
|
};
|
|
2752
|
-
const
|
|
2752
|
+
const se_ManagedRule = (input, context) => {
|
|
2753
2753
|
const entries = {};
|
|
2754
2754
|
if (input.TemplateName != null) {
|
|
2755
2755
|
entries["TemplateName"] = input.TemplateName;
|
|
@@ -2758,7 +2758,7 @@ const serializeAws_queryManagedRule = (input, context) => {
|
|
|
2758
2758
|
entries["ResourceARN"] = input.ResourceARN;
|
|
2759
2759
|
}
|
|
2760
2760
|
if (input.Tags != null) {
|
|
2761
|
-
const memberEntries =
|
|
2761
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
2762
2762
|
if (input.Tags?.length === 0) {
|
|
2763
2763
|
entries.Tags = [];
|
|
2764
2764
|
}
|
|
@@ -2769,14 +2769,14 @@ const serializeAws_queryManagedRule = (input, context) => {
|
|
|
2769
2769
|
}
|
|
2770
2770
|
return entries;
|
|
2771
2771
|
};
|
|
2772
|
-
const
|
|
2772
|
+
const se_ManagedRules = (input, context) => {
|
|
2773
2773
|
const entries = {};
|
|
2774
2774
|
let counter = 1;
|
|
2775
2775
|
for (const entry of input) {
|
|
2776
2776
|
if (entry === null) {
|
|
2777
2777
|
continue;
|
|
2778
2778
|
}
|
|
2779
|
-
const memberEntries =
|
|
2779
|
+
const memberEntries = se_ManagedRule(entry, context);
|
|
2780
2780
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2781
2781
|
entries[`member.${counter}.${key}`] = value;
|
|
2782
2782
|
});
|
|
@@ -2784,7 +2784,7 @@ const serializeAws_queryManagedRules = (input, context) => {
|
|
|
2784
2784
|
}
|
|
2785
2785
|
return entries;
|
|
2786
2786
|
};
|
|
2787
|
-
const
|
|
2787
|
+
const se_Metric = (input, context) => {
|
|
2788
2788
|
const entries = {};
|
|
2789
2789
|
if (input.Namespace != null) {
|
|
2790
2790
|
entries["Namespace"] = input.Namespace;
|
|
@@ -2793,7 +2793,7 @@ const serializeAws_queryMetric = (input, context) => {
|
|
|
2793
2793
|
entries["MetricName"] = input.MetricName;
|
|
2794
2794
|
}
|
|
2795
2795
|
if (input.Dimensions != null) {
|
|
2796
|
-
const memberEntries =
|
|
2796
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
2797
2797
|
if (input.Dimensions?.length === 0) {
|
|
2798
2798
|
entries.Dimensions = [];
|
|
2799
2799
|
}
|
|
@@ -2804,14 +2804,14 @@ const serializeAws_queryMetric = (input, context) => {
|
|
|
2804
2804
|
}
|
|
2805
2805
|
return entries;
|
|
2806
2806
|
};
|
|
2807
|
-
const
|
|
2807
|
+
const se_MetricData = (input, context) => {
|
|
2808
2808
|
const entries = {};
|
|
2809
2809
|
let counter = 1;
|
|
2810
2810
|
for (const entry of input) {
|
|
2811
2811
|
if (entry === null) {
|
|
2812
2812
|
continue;
|
|
2813
2813
|
}
|
|
2814
|
-
const memberEntries =
|
|
2814
|
+
const memberEntries = se_MetricDatum(entry, context);
|
|
2815
2815
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2816
2816
|
entries[`member.${counter}.${key}`] = value;
|
|
2817
2817
|
});
|
|
@@ -2819,14 +2819,14 @@ const serializeAws_queryMetricData = (input, context) => {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
return entries;
|
|
2821
2821
|
};
|
|
2822
|
-
const
|
|
2822
|
+
const se_MetricDataQueries = (input, context) => {
|
|
2823
2823
|
const entries = {};
|
|
2824
2824
|
let counter = 1;
|
|
2825
2825
|
for (const entry of input) {
|
|
2826
2826
|
if (entry === null) {
|
|
2827
2827
|
continue;
|
|
2828
2828
|
}
|
|
2829
|
-
const memberEntries =
|
|
2829
|
+
const memberEntries = se_MetricDataQuery(entry, context);
|
|
2830
2830
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2831
2831
|
entries[`member.${counter}.${key}`] = value;
|
|
2832
2832
|
});
|
|
@@ -2834,13 +2834,13 @@ const serializeAws_queryMetricDataQueries = (input, context) => {
|
|
|
2834
2834
|
}
|
|
2835
2835
|
return entries;
|
|
2836
2836
|
};
|
|
2837
|
-
const
|
|
2837
|
+
const se_MetricDataQuery = (input, context) => {
|
|
2838
2838
|
const entries = {};
|
|
2839
2839
|
if (input.Id != null) {
|
|
2840
2840
|
entries["Id"] = input.Id;
|
|
2841
2841
|
}
|
|
2842
2842
|
if (input.MetricStat != null) {
|
|
2843
|
-
const memberEntries =
|
|
2843
|
+
const memberEntries = se_MetricStat(input.MetricStat, context);
|
|
2844
2844
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2845
2845
|
const loc = `MetricStat.${key}`;
|
|
2846
2846
|
entries[loc] = value;
|
|
@@ -2863,13 +2863,13 @@ const serializeAws_queryMetricDataQuery = (input, context) => {
|
|
|
2863
2863
|
}
|
|
2864
2864
|
return entries;
|
|
2865
2865
|
};
|
|
2866
|
-
const
|
|
2866
|
+
const se_MetricDatum = (input, context) => {
|
|
2867
2867
|
const entries = {};
|
|
2868
2868
|
if (input.MetricName != null) {
|
|
2869
2869
|
entries["MetricName"] = input.MetricName;
|
|
2870
2870
|
}
|
|
2871
2871
|
if (input.Dimensions != null) {
|
|
2872
|
-
const memberEntries =
|
|
2872
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
2873
2873
|
if (input.Dimensions?.length === 0) {
|
|
2874
2874
|
entries.Dimensions = [];
|
|
2875
2875
|
}
|
|
@@ -2885,14 +2885,14 @@ const serializeAws_queryMetricDatum = (input, context) => {
|
|
|
2885
2885
|
entries["Value"] = (0, smithy_client_1.serializeFloat)(input.Value);
|
|
2886
2886
|
}
|
|
2887
2887
|
if (input.StatisticValues != null) {
|
|
2888
|
-
const memberEntries =
|
|
2888
|
+
const memberEntries = se_StatisticSet(input.StatisticValues, context);
|
|
2889
2889
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2890
2890
|
const loc = `StatisticValues.${key}`;
|
|
2891
2891
|
entries[loc] = value;
|
|
2892
2892
|
});
|
|
2893
2893
|
}
|
|
2894
2894
|
if (input.Values != null) {
|
|
2895
|
-
const memberEntries =
|
|
2895
|
+
const memberEntries = se_Values(input.Values, context);
|
|
2896
2896
|
if (input.Values?.length === 0) {
|
|
2897
2897
|
entries.Values = [];
|
|
2898
2898
|
}
|
|
@@ -2902,7 +2902,7 @@ const serializeAws_queryMetricDatum = (input, context) => {
|
|
|
2902
2902
|
});
|
|
2903
2903
|
}
|
|
2904
2904
|
if (input.Counts != null) {
|
|
2905
|
-
const memberEntries =
|
|
2905
|
+
const memberEntries = se_Counts(input.Counts, context);
|
|
2906
2906
|
if (input.Counts?.length === 0) {
|
|
2907
2907
|
entries.Counts = [];
|
|
2908
2908
|
}
|
|
@@ -2919,10 +2919,10 @@ const serializeAws_queryMetricDatum = (input, context) => {
|
|
|
2919
2919
|
}
|
|
2920
2920
|
return entries;
|
|
2921
2921
|
};
|
|
2922
|
-
const
|
|
2922
|
+
const se_MetricMathAnomalyDetector = (input, context) => {
|
|
2923
2923
|
const entries = {};
|
|
2924
2924
|
if (input.MetricDataQueries != null) {
|
|
2925
|
-
const memberEntries =
|
|
2925
|
+
const memberEntries = se_MetricDataQueries(input.MetricDataQueries, context);
|
|
2926
2926
|
if (input.MetricDataQueries?.length === 0) {
|
|
2927
2927
|
entries.MetricDataQueries = [];
|
|
2928
2928
|
}
|
|
@@ -2933,10 +2933,10 @@ const serializeAws_queryMetricMathAnomalyDetector = (input, context) => {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
return entries;
|
|
2935
2935
|
};
|
|
2936
|
-
const
|
|
2936
|
+
const se_MetricStat = (input, context) => {
|
|
2937
2937
|
const entries = {};
|
|
2938
2938
|
if (input.Metric != null) {
|
|
2939
|
-
const memberEntries =
|
|
2939
|
+
const memberEntries = se_Metric(input.Metric, context);
|
|
2940
2940
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2941
2941
|
const loc = `Metric.${key}`;
|
|
2942
2942
|
entries[loc] = value;
|
|
@@ -2953,21 +2953,21 @@ const serializeAws_queryMetricStat = (input, context) => {
|
|
|
2953
2953
|
}
|
|
2954
2954
|
return entries;
|
|
2955
2955
|
};
|
|
2956
|
-
const
|
|
2956
|
+
const se_MetricStreamFilter = (input, context) => {
|
|
2957
2957
|
const entries = {};
|
|
2958
2958
|
if (input.Namespace != null) {
|
|
2959
2959
|
entries["Namespace"] = input.Namespace;
|
|
2960
2960
|
}
|
|
2961
2961
|
return entries;
|
|
2962
2962
|
};
|
|
2963
|
-
const
|
|
2963
|
+
const se_MetricStreamFilters = (input, context) => {
|
|
2964
2964
|
const entries = {};
|
|
2965
2965
|
let counter = 1;
|
|
2966
2966
|
for (const entry of input) {
|
|
2967
2967
|
if (entry === null) {
|
|
2968
2968
|
continue;
|
|
2969
2969
|
}
|
|
2970
|
-
const memberEntries =
|
|
2970
|
+
const memberEntries = se_MetricStreamFilter(entry, context);
|
|
2971
2971
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2972
2972
|
entries[`member.${counter}.${key}`] = value;
|
|
2973
2973
|
});
|
|
@@ -2975,7 +2975,7 @@ const serializeAws_queryMetricStreamFilters = (input, context) => {
|
|
|
2975
2975
|
}
|
|
2976
2976
|
return entries;
|
|
2977
2977
|
};
|
|
2978
|
-
const
|
|
2978
|
+
const se_MetricStreamNames = (input, context) => {
|
|
2979
2979
|
const entries = {};
|
|
2980
2980
|
let counter = 1;
|
|
2981
2981
|
for (const entry of input) {
|
|
@@ -2987,7 +2987,7 @@ const serializeAws_queryMetricStreamNames = (input, context) => {
|
|
|
2987
2987
|
}
|
|
2988
2988
|
return entries;
|
|
2989
2989
|
};
|
|
2990
|
-
const
|
|
2990
|
+
const se_MetricStreamStatisticsAdditionalStatistics = (input, context) => {
|
|
2991
2991
|
const entries = {};
|
|
2992
2992
|
let counter = 1;
|
|
2993
2993
|
for (const entry of input) {
|
|
@@ -2999,10 +2999,10 @@ const serializeAws_queryMetricStreamStatisticsAdditionalStatistics = (input, con
|
|
|
2999
2999
|
}
|
|
3000
3000
|
return entries;
|
|
3001
3001
|
};
|
|
3002
|
-
const
|
|
3002
|
+
const se_MetricStreamStatisticsConfiguration = (input, context) => {
|
|
3003
3003
|
const entries = {};
|
|
3004
3004
|
if (input.IncludeMetrics != null) {
|
|
3005
|
-
const memberEntries =
|
|
3005
|
+
const memberEntries = se_MetricStreamStatisticsIncludeMetrics(input.IncludeMetrics, context);
|
|
3006
3006
|
if (input.IncludeMetrics?.length === 0) {
|
|
3007
3007
|
entries.IncludeMetrics = [];
|
|
3008
3008
|
}
|
|
@@ -3012,7 +3012,7 @@ const serializeAws_queryMetricStreamStatisticsConfiguration = (input, context) =
|
|
|
3012
3012
|
});
|
|
3013
3013
|
}
|
|
3014
3014
|
if (input.AdditionalStatistics != null) {
|
|
3015
|
-
const memberEntries =
|
|
3015
|
+
const memberEntries = se_MetricStreamStatisticsAdditionalStatistics(input.AdditionalStatistics, context);
|
|
3016
3016
|
if (input.AdditionalStatistics?.length === 0) {
|
|
3017
3017
|
entries.AdditionalStatistics = [];
|
|
3018
3018
|
}
|
|
@@ -3023,14 +3023,14 @@ const serializeAws_queryMetricStreamStatisticsConfiguration = (input, context) =
|
|
|
3023
3023
|
}
|
|
3024
3024
|
return entries;
|
|
3025
3025
|
};
|
|
3026
|
-
const
|
|
3026
|
+
const se_MetricStreamStatisticsConfigurations = (input, context) => {
|
|
3027
3027
|
const entries = {};
|
|
3028
3028
|
let counter = 1;
|
|
3029
3029
|
for (const entry of input) {
|
|
3030
3030
|
if (entry === null) {
|
|
3031
3031
|
continue;
|
|
3032
3032
|
}
|
|
3033
|
-
const memberEntries =
|
|
3033
|
+
const memberEntries = se_MetricStreamStatisticsConfiguration(entry, context);
|
|
3034
3034
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3035
3035
|
entries[`member.${counter}.${key}`] = value;
|
|
3036
3036
|
});
|
|
@@ -3038,14 +3038,14 @@ const serializeAws_queryMetricStreamStatisticsConfigurations = (input, context)
|
|
|
3038
3038
|
}
|
|
3039
3039
|
return entries;
|
|
3040
3040
|
};
|
|
3041
|
-
const
|
|
3041
|
+
const se_MetricStreamStatisticsIncludeMetrics = (input, context) => {
|
|
3042
3042
|
const entries = {};
|
|
3043
3043
|
let counter = 1;
|
|
3044
3044
|
for (const entry of input) {
|
|
3045
3045
|
if (entry === null) {
|
|
3046
3046
|
continue;
|
|
3047
3047
|
}
|
|
3048
|
-
const memberEntries =
|
|
3048
|
+
const memberEntries = se_MetricStreamStatisticsMetric(entry, context);
|
|
3049
3049
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3050
3050
|
entries[`member.${counter}.${key}`] = value;
|
|
3051
3051
|
});
|
|
@@ -3053,7 +3053,7 @@ const serializeAws_queryMetricStreamStatisticsIncludeMetrics = (input, context)
|
|
|
3053
3053
|
}
|
|
3054
3054
|
return entries;
|
|
3055
3055
|
};
|
|
3056
|
-
const
|
|
3056
|
+
const se_MetricStreamStatisticsMetric = (input, context) => {
|
|
3057
3057
|
const entries = {};
|
|
3058
3058
|
if (input.Namespace != null) {
|
|
3059
3059
|
entries["Namespace"] = input.Namespace;
|
|
@@ -3063,7 +3063,7 @@ const serializeAws_queryMetricStreamStatisticsMetric = (input, context) => {
|
|
|
3063
3063
|
}
|
|
3064
3064
|
return entries;
|
|
3065
3065
|
};
|
|
3066
|
-
const
|
|
3066
|
+
const se_PutAnomalyDetectorInput = (input, context) => {
|
|
3067
3067
|
const entries = {};
|
|
3068
3068
|
if (input.Namespace != null) {
|
|
3069
3069
|
entries["Namespace"] = input.Namespace;
|
|
@@ -3072,7 +3072,7 @@ const serializeAws_queryPutAnomalyDetectorInput = (input, context) => {
|
|
|
3072
3072
|
entries["MetricName"] = input.MetricName;
|
|
3073
3073
|
}
|
|
3074
3074
|
if (input.Dimensions != null) {
|
|
3075
|
-
const memberEntries =
|
|
3075
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
3076
3076
|
if (input.Dimensions?.length === 0) {
|
|
3077
3077
|
entries.Dimensions = [];
|
|
3078
3078
|
}
|
|
@@ -3085,21 +3085,21 @@ const serializeAws_queryPutAnomalyDetectorInput = (input, context) => {
|
|
|
3085
3085
|
entries["Stat"] = input.Stat;
|
|
3086
3086
|
}
|
|
3087
3087
|
if (input.Configuration != null) {
|
|
3088
|
-
const memberEntries =
|
|
3088
|
+
const memberEntries = se_AnomalyDetectorConfiguration(input.Configuration, context);
|
|
3089
3089
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3090
3090
|
const loc = `Configuration.${key}`;
|
|
3091
3091
|
entries[loc] = value;
|
|
3092
3092
|
});
|
|
3093
3093
|
}
|
|
3094
3094
|
if (input.SingleMetricAnomalyDetector != null) {
|
|
3095
|
-
const memberEntries =
|
|
3095
|
+
const memberEntries = se_SingleMetricAnomalyDetector(input.SingleMetricAnomalyDetector, context);
|
|
3096
3096
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3097
3097
|
const loc = `SingleMetricAnomalyDetector.${key}`;
|
|
3098
3098
|
entries[loc] = value;
|
|
3099
3099
|
});
|
|
3100
3100
|
}
|
|
3101
3101
|
if (input.MetricMathAnomalyDetector != null) {
|
|
3102
|
-
const memberEntries =
|
|
3102
|
+
const memberEntries = se_MetricMathAnomalyDetector(input.MetricMathAnomalyDetector, context);
|
|
3103
3103
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3104
3104
|
const loc = `MetricMathAnomalyDetector.${key}`;
|
|
3105
3105
|
entries[loc] = value;
|
|
@@ -3107,13 +3107,13 @@ const serializeAws_queryPutAnomalyDetectorInput = (input, context) => {
|
|
|
3107
3107
|
}
|
|
3108
3108
|
return entries;
|
|
3109
3109
|
};
|
|
3110
|
-
const
|
|
3110
|
+
const se_PutCompositeAlarmInput = (input, context) => {
|
|
3111
3111
|
const entries = {};
|
|
3112
3112
|
if (input.ActionsEnabled != null) {
|
|
3113
3113
|
entries["ActionsEnabled"] = input.ActionsEnabled;
|
|
3114
3114
|
}
|
|
3115
3115
|
if (input.AlarmActions != null) {
|
|
3116
|
-
const memberEntries =
|
|
3116
|
+
const memberEntries = se_ResourceList(input.AlarmActions, context);
|
|
3117
3117
|
if (input.AlarmActions?.length === 0) {
|
|
3118
3118
|
entries.AlarmActions = [];
|
|
3119
3119
|
}
|
|
@@ -3132,7 +3132,7 @@ const serializeAws_queryPutCompositeAlarmInput = (input, context) => {
|
|
|
3132
3132
|
entries["AlarmRule"] = input.AlarmRule;
|
|
3133
3133
|
}
|
|
3134
3134
|
if (input.InsufficientDataActions != null) {
|
|
3135
|
-
const memberEntries =
|
|
3135
|
+
const memberEntries = se_ResourceList(input.InsufficientDataActions, context);
|
|
3136
3136
|
if (input.InsufficientDataActions?.length === 0) {
|
|
3137
3137
|
entries.InsufficientDataActions = [];
|
|
3138
3138
|
}
|
|
@@ -3142,7 +3142,7 @@ const serializeAws_queryPutCompositeAlarmInput = (input, context) => {
|
|
|
3142
3142
|
});
|
|
3143
3143
|
}
|
|
3144
3144
|
if (input.OKActions != null) {
|
|
3145
|
-
const memberEntries =
|
|
3145
|
+
const memberEntries = se_ResourceList(input.OKActions, context);
|
|
3146
3146
|
if (input.OKActions?.length === 0) {
|
|
3147
3147
|
entries.OKActions = [];
|
|
3148
3148
|
}
|
|
@@ -3152,7 +3152,7 @@ const serializeAws_queryPutCompositeAlarmInput = (input, context) => {
|
|
|
3152
3152
|
});
|
|
3153
3153
|
}
|
|
3154
3154
|
if (input.Tags != null) {
|
|
3155
|
-
const memberEntries =
|
|
3155
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
3156
3156
|
if (input.Tags?.length === 0) {
|
|
3157
3157
|
entries.Tags = [];
|
|
3158
3158
|
}
|
|
@@ -3172,7 +3172,7 @@ const serializeAws_queryPutCompositeAlarmInput = (input, context) => {
|
|
|
3172
3172
|
}
|
|
3173
3173
|
return entries;
|
|
3174
3174
|
};
|
|
3175
|
-
const
|
|
3175
|
+
const se_PutDashboardInput = (input, context) => {
|
|
3176
3176
|
const entries = {};
|
|
3177
3177
|
if (input.DashboardName != null) {
|
|
3178
3178
|
entries["DashboardName"] = input.DashboardName;
|
|
@@ -3182,7 +3182,7 @@ const serializeAws_queryPutDashboardInput = (input, context) => {
|
|
|
3182
3182
|
}
|
|
3183
3183
|
return entries;
|
|
3184
3184
|
};
|
|
3185
|
-
const
|
|
3185
|
+
const se_PutInsightRuleInput = (input, context) => {
|
|
3186
3186
|
const entries = {};
|
|
3187
3187
|
if (input.RuleName != null) {
|
|
3188
3188
|
entries["RuleName"] = input.RuleName;
|
|
@@ -3194,7 +3194,7 @@ const serializeAws_queryPutInsightRuleInput = (input, context) => {
|
|
|
3194
3194
|
entries["RuleDefinition"] = input.RuleDefinition;
|
|
3195
3195
|
}
|
|
3196
3196
|
if (input.Tags != null) {
|
|
3197
|
-
const memberEntries =
|
|
3197
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
3198
3198
|
if (input.Tags?.length === 0) {
|
|
3199
3199
|
entries.Tags = [];
|
|
3200
3200
|
}
|
|
@@ -3205,10 +3205,10 @@ const serializeAws_queryPutInsightRuleInput = (input, context) => {
|
|
|
3205
3205
|
}
|
|
3206
3206
|
return entries;
|
|
3207
3207
|
};
|
|
3208
|
-
const
|
|
3208
|
+
const se_PutManagedInsightRulesInput = (input, context) => {
|
|
3209
3209
|
const entries = {};
|
|
3210
3210
|
if (input.ManagedRules != null) {
|
|
3211
|
-
const memberEntries =
|
|
3211
|
+
const memberEntries = se_ManagedRules(input.ManagedRules, context);
|
|
3212
3212
|
if (input.ManagedRules?.length === 0) {
|
|
3213
3213
|
entries.ManagedRules = [];
|
|
3214
3214
|
}
|
|
@@ -3219,7 +3219,7 @@ const serializeAws_queryPutManagedInsightRulesInput = (input, context) => {
|
|
|
3219
3219
|
}
|
|
3220
3220
|
return entries;
|
|
3221
3221
|
};
|
|
3222
|
-
const
|
|
3222
|
+
const se_PutMetricAlarmInput = (input, context) => {
|
|
3223
3223
|
const entries = {};
|
|
3224
3224
|
if (input.AlarmName != null) {
|
|
3225
3225
|
entries["AlarmName"] = input.AlarmName;
|
|
@@ -3231,7 +3231,7 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3231
3231
|
entries["ActionsEnabled"] = input.ActionsEnabled;
|
|
3232
3232
|
}
|
|
3233
3233
|
if (input.OKActions != null) {
|
|
3234
|
-
const memberEntries =
|
|
3234
|
+
const memberEntries = se_ResourceList(input.OKActions, context);
|
|
3235
3235
|
if (input.OKActions?.length === 0) {
|
|
3236
3236
|
entries.OKActions = [];
|
|
3237
3237
|
}
|
|
@@ -3241,7 +3241,7 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3241
3241
|
});
|
|
3242
3242
|
}
|
|
3243
3243
|
if (input.AlarmActions != null) {
|
|
3244
|
-
const memberEntries =
|
|
3244
|
+
const memberEntries = se_ResourceList(input.AlarmActions, context);
|
|
3245
3245
|
if (input.AlarmActions?.length === 0) {
|
|
3246
3246
|
entries.AlarmActions = [];
|
|
3247
3247
|
}
|
|
@@ -3251,7 +3251,7 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3251
3251
|
});
|
|
3252
3252
|
}
|
|
3253
3253
|
if (input.InsufficientDataActions != null) {
|
|
3254
|
-
const memberEntries =
|
|
3254
|
+
const memberEntries = se_ResourceList(input.InsufficientDataActions, context);
|
|
3255
3255
|
if (input.InsufficientDataActions?.length === 0) {
|
|
3256
3256
|
entries.InsufficientDataActions = [];
|
|
3257
3257
|
}
|
|
@@ -3273,7 +3273,7 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3273
3273
|
entries["ExtendedStatistic"] = input.ExtendedStatistic;
|
|
3274
3274
|
}
|
|
3275
3275
|
if (input.Dimensions != null) {
|
|
3276
|
-
const memberEntries =
|
|
3276
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
3277
3277
|
if (input.Dimensions?.length === 0) {
|
|
3278
3278
|
entries.Dimensions = [];
|
|
3279
3279
|
}
|
|
@@ -3307,7 +3307,7 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3307
3307
|
entries["EvaluateLowSampleCountPercentile"] = input.EvaluateLowSampleCountPercentile;
|
|
3308
3308
|
}
|
|
3309
3309
|
if (input.Metrics != null) {
|
|
3310
|
-
const memberEntries =
|
|
3310
|
+
const memberEntries = se_MetricDataQueries(input.Metrics, context);
|
|
3311
3311
|
if (input.Metrics?.length === 0) {
|
|
3312
3312
|
entries.Metrics = [];
|
|
3313
3313
|
}
|
|
@@ -3317,7 +3317,7 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3317
3317
|
});
|
|
3318
3318
|
}
|
|
3319
3319
|
if (input.Tags != null) {
|
|
3320
|
-
const memberEntries =
|
|
3320
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
3321
3321
|
if (input.Tags?.length === 0) {
|
|
3322
3322
|
entries.Tags = [];
|
|
3323
3323
|
}
|
|
@@ -3331,13 +3331,13 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3331
3331
|
}
|
|
3332
3332
|
return entries;
|
|
3333
3333
|
};
|
|
3334
|
-
const
|
|
3334
|
+
const se_PutMetricDataInput = (input, context) => {
|
|
3335
3335
|
const entries = {};
|
|
3336
3336
|
if (input.Namespace != null) {
|
|
3337
3337
|
entries["Namespace"] = input.Namespace;
|
|
3338
3338
|
}
|
|
3339
3339
|
if (input.MetricData != null) {
|
|
3340
|
-
const memberEntries =
|
|
3340
|
+
const memberEntries = se_MetricData(input.MetricData, context);
|
|
3341
3341
|
if (input.MetricData?.length === 0) {
|
|
3342
3342
|
entries.MetricData = [];
|
|
3343
3343
|
}
|
|
@@ -3348,13 +3348,13 @@ const serializeAws_queryPutMetricDataInput = (input, context) => {
|
|
|
3348
3348
|
}
|
|
3349
3349
|
return entries;
|
|
3350
3350
|
};
|
|
3351
|
-
const
|
|
3351
|
+
const se_PutMetricStreamInput = (input, context) => {
|
|
3352
3352
|
const entries = {};
|
|
3353
3353
|
if (input.Name != null) {
|
|
3354
3354
|
entries["Name"] = input.Name;
|
|
3355
3355
|
}
|
|
3356
3356
|
if (input.IncludeFilters != null) {
|
|
3357
|
-
const memberEntries =
|
|
3357
|
+
const memberEntries = se_MetricStreamFilters(input.IncludeFilters, context);
|
|
3358
3358
|
if (input.IncludeFilters?.length === 0) {
|
|
3359
3359
|
entries.IncludeFilters = [];
|
|
3360
3360
|
}
|
|
@@ -3364,7 +3364,7 @@ const serializeAws_queryPutMetricStreamInput = (input, context) => {
|
|
|
3364
3364
|
});
|
|
3365
3365
|
}
|
|
3366
3366
|
if (input.ExcludeFilters != null) {
|
|
3367
|
-
const memberEntries =
|
|
3367
|
+
const memberEntries = se_MetricStreamFilters(input.ExcludeFilters, context);
|
|
3368
3368
|
if (input.ExcludeFilters?.length === 0) {
|
|
3369
3369
|
entries.ExcludeFilters = [];
|
|
3370
3370
|
}
|
|
@@ -3383,7 +3383,7 @@ const serializeAws_queryPutMetricStreamInput = (input, context) => {
|
|
|
3383
3383
|
entries["OutputFormat"] = input.OutputFormat;
|
|
3384
3384
|
}
|
|
3385
3385
|
if (input.Tags != null) {
|
|
3386
|
-
const memberEntries =
|
|
3386
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
3387
3387
|
if (input.Tags?.length === 0) {
|
|
3388
3388
|
entries.Tags = [];
|
|
3389
3389
|
}
|
|
@@ -3393,7 +3393,7 @@ const serializeAws_queryPutMetricStreamInput = (input, context) => {
|
|
|
3393
3393
|
});
|
|
3394
3394
|
}
|
|
3395
3395
|
if (input.StatisticsConfigurations != null) {
|
|
3396
|
-
const memberEntries =
|
|
3396
|
+
const memberEntries = se_MetricStreamStatisticsConfigurations(input.StatisticsConfigurations, context);
|
|
3397
3397
|
if (input.StatisticsConfigurations?.length === 0) {
|
|
3398
3398
|
entries.StatisticsConfigurations = [];
|
|
3399
3399
|
}
|
|
@@ -3407,7 +3407,7 @@ const serializeAws_queryPutMetricStreamInput = (input, context) => {
|
|
|
3407
3407
|
}
|
|
3408
3408
|
return entries;
|
|
3409
3409
|
};
|
|
3410
|
-
const
|
|
3410
|
+
const se_Range = (input, context) => {
|
|
3411
3411
|
const entries = {};
|
|
3412
3412
|
if (input.StartTime != null) {
|
|
3413
3413
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
@@ -3417,7 +3417,7 @@ const serializeAws_queryRange = (input, context) => {
|
|
|
3417
3417
|
}
|
|
3418
3418
|
return entries;
|
|
3419
3419
|
};
|
|
3420
|
-
const
|
|
3420
|
+
const se_ResourceList = (input, context) => {
|
|
3421
3421
|
const entries = {};
|
|
3422
3422
|
let counter = 1;
|
|
3423
3423
|
for (const entry of input) {
|
|
@@ -3429,7 +3429,7 @@ const serializeAws_queryResourceList = (input, context) => {
|
|
|
3429
3429
|
}
|
|
3430
3430
|
return entries;
|
|
3431
3431
|
};
|
|
3432
|
-
const
|
|
3432
|
+
const se_SetAlarmStateInput = (input, context) => {
|
|
3433
3433
|
const entries = {};
|
|
3434
3434
|
if (input.AlarmName != null) {
|
|
3435
3435
|
entries["AlarmName"] = input.AlarmName;
|
|
@@ -3445,7 +3445,7 @@ const serializeAws_querySetAlarmStateInput = (input, context) => {
|
|
|
3445
3445
|
}
|
|
3446
3446
|
return entries;
|
|
3447
3447
|
};
|
|
3448
|
-
const
|
|
3448
|
+
const se_SingleMetricAnomalyDetector = (input, context) => {
|
|
3449
3449
|
const entries = {};
|
|
3450
3450
|
if (input.Namespace != null) {
|
|
3451
3451
|
entries["Namespace"] = input.Namespace;
|
|
@@ -3454,7 +3454,7 @@ const serializeAws_querySingleMetricAnomalyDetector = (input, context) => {
|
|
|
3454
3454
|
entries["MetricName"] = input.MetricName;
|
|
3455
3455
|
}
|
|
3456
3456
|
if (input.Dimensions != null) {
|
|
3457
|
-
const memberEntries =
|
|
3457
|
+
const memberEntries = se_Dimensions(input.Dimensions, context);
|
|
3458
3458
|
if (input.Dimensions?.length === 0) {
|
|
3459
3459
|
entries.Dimensions = [];
|
|
3460
3460
|
}
|
|
@@ -3468,10 +3468,10 @@ const serializeAws_querySingleMetricAnomalyDetector = (input, context) => {
|
|
|
3468
3468
|
}
|
|
3469
3469
|
return entries;
|
|
3470
3470
|
};
|
|
3471
|
-
const
|
|
3471
|
+
const se_StartMetricStreamsInput = (input, context) => {
|
|
3472
3472
|
const entries = {};
|
|
3473
3473
|
if (input.Names != null) {
|
|
3474
|
-
const memberEntries =
|
|
3474
|
+
const memberEntries = se_MetricStreamNames(input.Names, context);
|
|
3475
3475
|
if (input.Names?.length === 0) {
|
|
3476
3476
|
entries.Names = [];
|
|
3477
3477
|
}
|
|
@@ -3482,7 +3482,7 @@ const serializeAws_queryStartMetricStreamsInput = (input, context) => {
|
|
|
3482
3482
|
}
|
|
3483
3483
|
return entries;
|
|
3484
3484
|
};
|
|
3485
|
-
const
|
|
3485
|
+
const se_Statistics = (input, context) => {
|
|
3486
3486
|
const entries = {};
|
|
3487
3487
|
let counter = 1;
|
|
3488
3488
|
for (const entry of input) {
|
|
@@ -3494,7 +3494,7 @@ const serializeAws_queryStatistics = (input, context) => {
|
|
|
3494
3494
|
}
|
|
3495
3495
|
return entries;
|
|
3496
3496
|
};
|
|
3497
|
-
const
|
|
3497
|
+
const se_StatisticSet = (input, context) => {
|
|
3498
3498
|
const entries = {};
|
|
3499
3499
|
if (input.SampleCount != null) {
|
|
3500
3500
|
entries["SampleCount"] = (0, smithy_client_1.serializeFloat)(input.SampleCount);
|
|
@@ -3510,10 +3510,10 @@ const serializeAws_queryStatisticSet = (input, context) => {
|
|
|
3510
3510
|
}
|
|
3511
3511
|
return entries;
|
|
3512
3512
|
};
|
|
3513
|
-
const
|
|
3513
|
+
const se_StopMetricStreamsInput = (input, context) => {
|
|
3514
3514
|
const entries = {};
|
|
3515
3515
|
if (input.Names != null) {
|
|
3516
|
-
const memberEntries =
|
|
3516
|
+
const memberEntries = se_MetricStreamNames(input.Names, context);
|
|
3517
3517
|
if (input.Names?.length === 0) {
|
|
3518
3518
|
entries.Names = [];
|
|
3519
3519
|
}
|
|
@@ -3524,7 +3524,7 @@ const serializeAws_queryStopMetricStreamsInput = (input, context) => {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
return entries;
|
|
3526
3526
|
};
|
|
3527
|
-
const
|
|
3527
|
+
const se_Tag = (input, context) => {
|
|
3528
3528
|
const entries = {};
|
|
3529
3529
|
if (input.Key != null) {
|
|
3530
3530
|
entries["Key"] = input.Key;
|
|
@@ -3534,7 +3534,7 @@ const serializeAws_queryTag = (input, context) => {
|
|
|
3534
3534
|
}
|
|
3535
3535
|
return entries;
|
|
3536
3536
|
};
|
|
3537
|
-
const
|
|
3537
|
+
const se_TagKeyList = (input, context) => {
|
|
3538
3538
|
const entries = {};
|
|
3539
3539
|
let counter = 1;
|
|
3540
3540
|
for (const entry of input) {
|
|
@@ -3546,14 +3546,14 @@ const serializeAws_queryTagKeyList = (input, context) => {
|
|
|
3546
3546
|
}
|
|
3547
3547
|
return entries;
|
|
3548
3548
|
};
|
|
3549
|
-
const
|
|
3549
|
+
const se_TagList = (input, context) => {
|
|
3550
3550
|
const entries = {};
|
|
3551
3551
|
let counter = 1;
|
|
3552
3552
|
for (const entry of input) {
|
|
3553
3553
|
if (entry === null) {
|
|
3554
3554
|
continue;
|
|
3555
3555
|
}
|
|
3556
|
-
const memberEntries =
|
|
3556
|
+
const memberEntries = se_Tag(entry, context);
|
|
3557
3557
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3558
3558
|
entries[`member.${counter}.${key}`] = value;
|
|
3559
3559
|
});
|
|
@@ -3561,13 +3561,13 @@ const serializeAws_queryTagList = (input, context) => {
|
|
|
3561
3561
|
}
|
|
3562
3562
|
return entries;
|
|
3563
3563
|
};
|
|
3564
|
-
const
|
|
3564
|
+
const se_TagResourceInput = (input, context) => {
|
|
3565
3565
|
const entries = {};
|
|
3566
3566
|
if (input.ResourceARN != null) {
|
|
3567
3567
|
entries["ResourceARN"] = input.ResourceARN;
|
|
3568
3568
|
}
|
|
3569
3569
|
if (input.Tags != null) {
|
|
3570
|
-
const memberEntries =
|
|
3570
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
3571
3571
|
if (input.Tags?.length === 0) {
|
|
3572
3572
|
entries.Tags = [];
|
|
3573
3573
|
}
|
|
@@ -3578,13 +3578,13 @@ const serializeAws_queryTagResourceInput = (input, context) => {
|
|
|
3578
3578
|
}
|
|
3579
3579
|
return entries;
|
|
3580
3580
|
};
|
|
3581
|
-
const
|
|
3581
|
+
const se_UntagResourceInput = (input, context) => {
|
|
3582
3582
|
const entries = {};
|
|
3583
3583
|
if (input.ResourceARN != null) {
|
|
3584
3584
|
entries["ResourceARN"] = input.ResourceARN;
|
|
3585
3585
|
}
|
|
3586
3586
|
if (input.TagKeys != null) {
|
|
3587
|
-
const memberEntries =
|
|
3587
|
+
const memberEntries = se_TagKeyList(input.TagKeys, context);
|
|
3588
3588
|
if (input.TagKeys?.length === 0) {
|
|
3589
3589
|
entries.TagKeys = [];
|
|
3590
3590
|
}
|
|
@@ -3595,7 +3595,7 @@ const serializeAws_queryUntagResourceInput = (input, context) => {
|
|
|
3595
3595
|
}
|
|
3596
3596
|
return entries;
|
|
3597
3597
|
};
|
|
3598
|
-
const
|
|
3598
|
+
const se_Values = (input, context) => {
|
|
3599
3599
|
const entries = {};
|
|
3600
3600
|
let counter = 1;
|
|
3601
3601
|
for (const entry of input) {
|
|
@@ -3607,7 +3607,7 @@ const serializeAws_queryValues = (input, context) => {
|
|
|
3607
3607
|
}
|
|
3608
3608
|
return entries;
|
|
3609
3609
|
};
|
|
3610
|
-
const
|
|
3610
|
+
const de_AlarmHistoryItem = (output, context) => {
|
|
3611
3611
|
const contents = {};
|
|
3612
3612
|
if (output["AlarmName"] !== undefined) {
|
|
3613
3613
|
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
@@ -3629,14 +3629,14 @@ const deserializeAws_queryAlarmHistoryItem = (output, context) => {
|
|
|
3629
3629
|
}
|
|
3630
3630
|
return contents;
|
|
3631
3631
|
};
|
|
3632
|
-
const
|
|
3632
|
+
const de_AlarmHistoryItems = (output, context) => {
|
|
3633
3633
|
return (output || [])
|
|
3634
3634
|
.filter((e) => e != null)
|
|
3635
3635
|
.map((entry) => {
|
|
3636
|
-
return
|
|
3636
|
+
return de_AlarmHistoryItem(entry, context);
|
|
3637
3637
|
});
|
|
3638
3638
|
};
|
|
3639
|
-
const
|
|
3639
|
+
const de_AnomalyDetector = (output, context) => {
|
|
3640
3640
|
const contents = {};
|
|
3641
3641
|
if (output["Namespace"] !== undefined) {
|
|
3642
3642
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
@@ -3648,60 +3648,60 @@ const deserializeAws_queryAnomalyDetector = (output, context) => {
|
|
|
3648
3648
|
contents.Dimensions = [];
|
|
3649
3649
|
}
|
|
3650
3650
|
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
3651
|
-
contents.Dimensions =
|
|
3651
|
+
contents.Dimensions = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
3652
3652
|
}
|
|
3653
3653
|
if (output["Stat"] !== undefined) {
|
|
3654
3654
|
contents.Stat = (0, smithy_client_1.expectString)(output["Stat"]);
|
|
3655
3655
|
}
|
|
3656
3656
|
if (output["Configuration"] !== undefined) {
|
|
3657
|
-
contents.Configuration =
|
|
3657
|
+
contents.Configuration = de_AnomalyDetectorConfiguration(output["Configuration"], context);
|
|
3658
3658
|
}
|
|
3659
3659
|
if (output["StateValue"] !== undefined) {
|
|
3660
3660
|
contents.StateValue = (0, smithy_client_1.expectString)(output["StateValue"]);
|
|
3661
3661
|
}
|
|
3662
3662
|
if (output["SingleMetricAnomalyDetector"] !== undefined) {
|
|
3663
|
-
contents.SingleMetricAnomalyDetector =
|
|
3663
|
+
contents.SingleMetricAnomalyDetector = de_SingleMetricAnomalyDetector(output["SingleMetricAnomalyDetector"], context);
|
|
3664
3664
|
}
|
|
3665
3665
|
if (output["MetricMathAnomalyDetector"] !== undefined) {
|
|
3666
|
-
contents.MetricMathAnomalyDetector =
|
|
3666
|
+
contents.MetricMathAnomalyDetector = de_MetricMathAnomalyDetector(output["MetricMathAnomalyDetector"], context);
|
|
3667
3667
|
}
|
|
3668
3668
|
return contents;
|
|
3669
3669
|
};
|
|
3670
|
-
const
|
|
3670
|
+
const de_AnomalyDetectorConfiguration = (output, context) => {
|
|
3671
3671
|
const contents = {};
|
|
3672
3672
|
if (output.ExcludedTimeRanges === "") {
|
|
3673
3673
|
contents.ExcludedTimeRanges = [];
|
|
3674
3674
|
}
|
|
3675
3675
|
else if (output["ExcludedTimeRanges"] !== undefined && output["ExcludedTimeRanges"]["member"] !== undefined) {
|
|
3676
|
-
contents.ExcludedTimeRanges =
|
|
3676
|
+
contents.ExcludedTimeRanges = de_AnomalyDetectorExcludedTimeRanges((0, smithy_client_1.getArrayIfSingleItem)(output["ExcludedTimeRanges"]["member"]), context);
|
|
3677
3677
|
}
|
|
3678
3678
|
if (output["MetricTimezone"] !== undefined) {
|
|
3679
3679
|
contents.MetricTimezone = (0, smithy_client_1.expectString)(output["MetricTimezone"]);
|
|
3680
3680
|
}
|
|
3681
3681
|
return contents;
|
|
3682
3682
|
};
|
|
3683
|
-
const
|
|
3683
|
+
const de_AnomalyDetectorExcludedTimeRanges = (output, context) => {
|
|
3684
3684
|
return (output || [])
|
|
3685
3685
|
.filter((e) => e != null)
|
|
3686
3686
|
.map((entry) => {
|
|
3687
|
-
return
|
|
3687
|
+
return de_Range(entry, context);
|
|
3688
3688
|
});
|
|
3689
3689
|
};
|
|
3690
|
-
const
|
|
3690
|
+
const de_AnomalyDetectors = (output, context) => {
|
|
3691
3691
|
return (output || [])
|
|
3692
3692
|
.filter((e) => e != null)
|
|
3693
3693
|
.map((entry) => {
|
|
3694
|
-
return
|
|
3694
|
+
return de_AnomalyDetector(entry, context);
|
|
3695
3695
|
});
|
|
3696
3696
|
};
|
|
3697
|
-
const
|
|
3697
|
+
const de_BatchFailures = (output, context) => {
|
|
3698
3698
|
return (output || [])
|
|
3699
3699
|
.filter((e) => e != null)
|
|
3700
3700
|
.map((entry) => {
|
|
3701
|
-
return
|
|
3701
|
+
return de_PartialFailure(entry, context);
|
|
3702
3702
|
});
|
|
3703
3703
|
};
|
|
3704
|
-
const
|
|
3704
|
+
const de_CompositeAlarm = (output, context) => {
|
|
3705
3705
|
const contents = {};
|
|
3706
3706
|
if (output["ActionsEnabled"] !== undefined) {
|
|
3707
3707
|
contents.ActionsEnabled = (0, smithy_client_1.parseBoolean)(output["ActionsEnabled"]);
|
|
@@ -3710,7 +3710,7 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
|
3710
3710
|
contents.AlarmActions = [];
|
|
3711
3711
|
}
|
|
3712
3712
|
else if (output["AlarmActions"] !== undefined && output["AlarmActions"]["member"] !== undefined) {
|
|
3713
|
-
contents.AlarmActions =
|
|
3713
|
+
contents.AlarmActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["AlarmActions"]["member"]), context);
|
|
3714
3714
|
}
|
|
3715
3715
|
if (output["AlarmArn"] !== undefined) {
|
|
3716
3716
|
contents.AlarmArn = (0, smithy_client_1.expectString)(output["AlarmArn"]);
|
|
@@ -3732,13 +3732,13 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
|
3732
3732
|
}
|
|
3733
3733
|
else if (output["InsufficientDataActions"] !== undefined &&
|
|
3734
3734
|
output["InsufficientDataActions"]["member"] !== undefined) {
|
|
3735
|
-
contents.InsufficientDataActions =
|
|
3735
|
+
contents.InsufficientDataActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["InsufficientDataActions"]["member"]), context);
|
|
3736
3736
|
}
|
|
3737
3737
|
if (output.OKActions === "") {
|
|
3738
3738
|
contents.OKActions = [];
|
|
3739
3739
|
}
|
|
3740
3740
|
else if (output["OKActions"] !== undefined && output["OKActions"]["member"] !== undefined) {
|
|
3741
|
-
contents.OKActions =
|
|
3741
|
+
contents.OKActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["OKActions"]["member"]), context);
|
|
3742
3742
|
}
|
|
3743
3743
|
if (output["StateReason"] !== undefined) {
|
|
3744
3744
|
contents.StateReason = (0, smithy_client_1.expectString)(output["StateReason"]);
|
|
@@ -3772,28 +3772,28 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
|
3772
3772
|
}
|
|
3773
3773
|
return contents;
|
|
3774
3774
|
};
|
|
3775
|
-
const
|
|
3775
|
+
const de_CompositeAlarms = (output, context) => {
|
|
3776
3776
|
return (output || [])
|
|
3777
3777
|
.filter((e) => e != null)
|
|
3778
3778
|
.map((entry) => {
|
|
3779
|
-
return
|
|
3779
|
+
return de_CompositeAlarm(entry, context);
|
|
3780
3780
|
});
|
|
3781
3781
|
};
|
|
3782
|
-
const
|
|
3782
|
+
const de_ConcurrentModificationException = (output, context) => {
|
|
3783
3783
|
const contents = {};
|
|
3784
3784
|
if (output["Message"] !== undefined) {
|
|
3785
3785
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3786
3786
|
}
|
|
3787
3787
|
return contents;
|
|
3788
3788
|
};
|
|
3789
|
-
const
|
|
3789
|
+
const de_DashboardEntries = (output, context) => {
|
|
3790
3790
|
return (output || [])
|
|
3791
3791
|
.filter((e) => e != null)
|
|
3792
3792
|
.map((entry) => {
|
|
3793
|
-
return
|
|
3793
|
+
return de_DashboardEntry(entry, context);
|
|
3794
3794
|
});
|
|
3795
3795
|
};
|
|
3796
|
-
const
|
|
3796
|
+
const de_DashboardEntry = (output, context) => {
|
|
3797
3797
|
const contents = {};
|
|
3798
3798
|
if (output["DashboardName"] !== undefined) {
|
|
3799
3799
|
contents.DashboardName = (0, smithy_client_1.expectString)(output["DashboardName"]);
|
|
@@ -3809,7 +3809,7 @@ const deserializeAws_queryDashboardEntry = (output, context) => {
|
|
|
3809
3809
|
}
|
|
3810
3810
|
return contents;
|
|
3811
3811
|
};
|
|
3812
|
-
const
|
|
3812
|
+
const de_DashboardInvalidInputError = (output, context) => {
|
|
3813
3813
|
const contents = {};
|
|
3814
3814
|
if (output["message"] !== undefined) {
|
|
3815
3815
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
@@ -3819,18 +3819,18 @@ const deserializeAws_queryDashboardInvalidInputError = (output, context) => {
|
|
|
3819
3819
|
}
|
|
3820
3820
|
else if (output["dashboardValidationMessages"] !== undefined &&
|
|
3821
3821
|
output["dashboardValidationMessages"]["member"] !== undefined) {
|
|
3822
|
-
contents.dashboardValidationMessages =
|
|
3822
|
+
contents.dashboardValidationMessages = de_DashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output["dashboardValidationMessages"]["member"]), context);
|
|
3823
3823
|
}
|
|
3824
3824
|
return contents;
|
|
3825
3825
|
};
|
|
3826
|
-
const
|
|
3826
|
+
const de_DashboardNotFoundError = (output, context) => {
|
|
3827
3827
|
const contents = {};
|
|
3828
3828
|
if (output["message"] !== undefined) {
|
|
3829
3829
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
3830
3830
|
}
|
|
3831
3831
|
return contents;
|
|
3832
3832
|
};
|
|
3833
|
-
const
|
|
3833
|
+
const de_DashboardValidationMessage = (output, context) => {
|
|
3834
3834
|
const contents = {};
|
|
3835
3835
|
if (output["DataPath"] !== undefined) {
|
|
3836
3836
|
contents.DataPath = (0, smithy_client_1.expectString)(output["DataPath"]);
|
|
@@ -3840,14 +3840,14 @@ const deserializeAws_queryDashboardValidationMessage = (output, context) => {
|
|
|
3840
3840
|
}
|
|
3841
3841
|
return contents;
|
|
3842
3842
|
};
|
|
3843
|
-
const
|
|
3843
|
+
const de_DashboardValidationMessages = (output, context) => {
|
|
3844
3844
|
return (output || [])
|
|
3845
3845
|
.filter((e) => e != null)
|
|
3846
3846
|
.map((entry) => {
|
|
3847
|
-
return
|
|
3847
|
+
return de_DashboardValidationMessage(entry, context);
|
|
3848
3848
|
});
|
|
3849
3849
|
};
|
|
3850
|
-
const
|
|
3850
|
+
const de_Datapoint = (output, context) => {
|
|
3851
3851
|
const contents = {};
|
|
3852
3852
|
if (output["Timestamp"] !== undefined) {
|
|
3853
3853
|
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Timestamp"]));
|
|
@@ -3874,18 +3874,18 @@ const deserializeAws_queryDatapoint = (output, context) => {
|
|
|
3874
3874
|
contents.ExtendedStatistics = {};
|
|
3875
3875
|
}
|
|
3876
3876
|
else if (output["ExtendedStatistics"] !== undefined && output["ExtendedStatistics"]["entry"] !== undefined) {
|
|
3877
|
-
contents.ExtendedStatistics =
|
|
3877
|
+
contents.ExtendedStatistics = de_DatapointValueMap((0, smithy_client_1.getArrayIfSingleItem)(output["ExtendedStatistics"]["entry"]), context);
|
|
3878
3878
|
}
|
|
3879
3879
|
return contents;
|
|
3880
3880
|
};
|
|
3881
|
-
const
|
|
3881
|
+
const de_Datapoints = (output, context) => {
|
|
3882
3882
|
return (output || [])
|
|
3883
3883
|
.filter((e) => e != null)
|
|
3884
3884
|
.map((entry) => {
|
|
3885
|
-
return
|
|
3885
|
+
return de_Datapoint(entry, context);
|
|
3886
3886
|
});
|
|
3887
3887
|
};
|
|
3888
|
-
const
|
|
3888
|
+
const de_DatapointValueMap = (output, context) => {
|
|
3889
3889
|
return output.reduce((acc, pair) => {
|
|
3890
3890
|
if (pair["value"] === null) {
|
|
3891
3891
|
return acc;
|
|
@@ -3894,91 +3894,91 @@ const deserializeAws_queryDatapointValueMap = (output, context) => {
|
|
|
3894
3894
|
return acc;
|
|
3895
3895
|
}, {});
|
|
3896
3896
|
};
|
|
3897
|
-
const
|
|
3897
|
+
const de_DatapointValues = (output, context) => {
|
|
3898
3898
|
return (output || [])
|
|
3899
3899
|
.filter((e) => e != null)
|
|
3900
3900
|
.map((entry) => {
|
|
3901
3901
|
return (0, smithy_client_1.strictParseFloat)(entry);
|
|
3902
3902
|
});
|
|
3903
3903
|
};
|
|
3904
|
-
const
|
|
3904
|
+
const de_DeleteAnomalyDetectorOutput = (output, context) => {
|
|
3905
3905
|
const contents = {};
|
|
3906
3906
|
return contents;
|
|
3907
3907
|
};
|
|
3908
|
-
const
|
|
3908
|
+
const de_DeleteDashboardsOutput = (output, context) => {
|
|
3909
3909
|
const contents = {};
|
|
3910
3910
|
return contents;
|
|
3911
3911
|
};
|
|
3912
|
-
const
|
|
3912
|
+
const de_DeleteInsightRulesOutput = (output, context) => {
|
|
3913
3913
|
const contents = {};
|
|
3914
3914
|
if (output.Failures === "") {
|
|
3915
3915
|
contents.Failures = [];
|
|
3916
3916
|
}
|
|
3917
3917
|
else if (output["Failures"] !== undefined && output["Failures"]["member"] !== undefined) {
|
|
3918
|
-
contents.Failures =
|
|
3918
|
+
contents.Failures = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output["Failures"]["member"]), context);
|
|
3919
3919
|
}
|
|
3920
3920
|
return contents;
|
|
3921
3921
|
};
|
|
3922
|
-
const
|
|
3922
|
+
const de_DeleteMetricStreamOutput = (output, context) => {
|
|
3923
3923
|
const contents = {};
|
|
3924
3924
|
return contents;
|
|
3925
3925
|
};
|
|
3926
|
-
const
|
|
3926
|
+
const de_DescribeAlarmHistoryOutput = (output, context) => {
|
|
3927
3927
|
const contents = {};
|
|
3928
3928
|
if (output.AlarmHistoryItems === "") {
|
|
3929
3929
|
contents.AlarmHistoryItems = [];
|
|
3930
3930
|
}
|
|
3931
3931
|
else if (output["AlarmHistoryItems"] !== undefined && output["AlarmHistoryItems"]["member"] !== undefined) {
|
|
3932
|
-
contents.AlarmHistoryItems =
|
|
3932
|
+
contents.AlarmHistoryItems = de_AlarmHistoryItems((0, smithy_client_1.getArrayIfSingleItem)(output["AlarmHistoryItems"]["member"]), context);
|
|
3933
3933
|
}
|
|
3934
3934
|
if (output["NextToken"] !== undefined) {
|
|
3935
3935
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3936
3936
|
}
|
|
3937
3937
|
return contents;
|
|
3938
3938
|
};
|
|
3939
|
-
const
|
|
3939
|
+
const de_DescribeAlarmsForMetricOutput = (output, context) => {
|
|
3940
3940
|
const contents = {};
|
|
3941
3941
|
if (output.MetricAlarms === "") {
|
|
3942
3942
|
contents.MetricAlarms = [];
|
|
3943
3943
|
}
|
|
3944
3944
|
else if (output["MetricAlarms"] !== undefined && output["MetricAlarms"]["member"] !== undefined) {
|
|
3945
|
-
contents.MetricAlarms =
|
|
3945
|
+
contents.MetricAlarms = de_MetricAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["MetricAlarms"]["member"]), context);
|
|
3946
3946
|
}
|
|
3947
3947
|
return contents;
|
|
3948
3948
|
};
|
|
3949
|
-
const
|
|
3949
|
+
const de_DescribeAlarmsOutput = (output, context) => {
|
|
3950
3950
|
const contents = {};
|
|
3951
3951
|
if (output.CompositeAlarms === "") {
|
|
3952
3952
|
contents.CompositeAlarms = [];
|
|
3953
3953
|
}
|
|
3954
3954
|
else if (output["CompositeAlarms"] !== undefined && output["CompositeAlarms"]["member"] !== undefined) {
|
|
3955
|
-
contents.CompositeAlarms =
|
|
3955
|
+
contents.CompositeAlarms = de_CompositeAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["CompositeAlarms"]["member"]), context);
|
|
3956
3956
|
}
|
|
3957
3957
|
if (output.MetricAlarms === "") {
|
|
3958
3958
|
contents.MetricAlarms = [];
|
|
3959
3959
|
}
|
|
3960
3960
|
else if (output["MetricAlarms"] !== undefined && output["MetricAlarms"]["member"] !== undefined) {
|
|
3961
|
-
contents.MetricAlarms =
|
|
3961
|
+
contents.MetricAlarms = de_MetricAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["MetricAlarms"]["member"]), context);
|
|
3962
3962
|
}
|
|
3963
3963
|
if (output["NextToken"] !== undefined) {
|
|
3964
3964
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3965
3965
|
}
|
|
3966
3966
|
return contents;
|
|
3967
3967
|
};
|
|
3968
|
-
const
|
|
3968
|
+
const de_DescribeAnomalyDetectorsOutput = (output, context) => {
|
|
3969
3969
|
const contents = {};
|
|
3970
3970
|
if (output.AnomalyDetectors === "") {
|
|
3971
3971
|
contents.AnomalyDetectors = [];
|
|
3972
3972
|
}
|
|
3973
3973
|
else if (output["AnomalyDetectors"] !== undefined && output["AnomalyDetectors"]["member"] !== undefined) {
|
|
3974
|
-
contents.AnomalyDetectors =
|
|
3974
|
+
contents.AnomalyDetectors = de_AnomalyDetectors((0, smithy_client_1.getArrayIfSingleItem)(output["AnomalyDetectors"]["member"]), context);
|
|
3975
3975
|
}
|
|
3976
3976
|
if (output["NextToken"] !== undefined) {
|
|
3977
3977
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3978
3978
|
}
|
|
3979
3979
|
return contents;
|
|
3980
3980
|
};
|
|
3981
|
-
const
|
|
3981
|
+
const de_DescribeInsightRulesOutput = (output, context) => {
|
|
3982
3982
|
const contents = {};
|
|
3983
3983
|
if (output["NextToken"] !== undefined) {
|
|
3984
3984
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
@@ -3987,11 +3987,11 @@ const deserializeAws_queryDescribeInsightRulesOutput = (output, context) => {
|
|
|
3987
3987
|
contents.InsightRules = [];
|
|
3988
3988
|
}
|
|
3989
3989
|
else if (output["InsightRules"] !== undefined && output["InsightRules"]["member"] !== undefined) {
|
|
3990
|
-
contents.InsightRules =
|
|
3990
|
+
contents.InsightRules = de_InsightRules((0, smithy_client_1.getArrayIfSingleItem)(output["InsightRules"]["member"]), context);
|
|
3991
3991
|
}
|
|
3992
3992
|
return contents;
|
|
3993
3993
|
};
|
|
3994
|
-
const
|
|
3994
|
+
const de_Dimension = (output, context) => {
|
|
3995
3995
|
const contents = {};
|
|
3996
3996
|
if (output["Name"] !== undefined) {
|
|
3997
3997
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
@@ -4001,34 +4001,34 @@ const deserializeAws_queryDimension = (output, context) => {
|
|
|
4001
4001
|
}
|
|
4002
4002
|
return contents;
|
|
4003
4003
|
};
|
|
4004
|
-
const
|
|
4004
|
+
const de_Dimensions = (output, context) => {
|
|
4005
4005
|
return (output || [])
|
|
4006
4006
|
.filter((e) => e != null)
|
|
4007
4007
|
.map((entry) => {
|
|
4008
|
-
return
|
|
4008
|
+
return de_Dimension(entry, context);
|
|
4009
4009
|
});
|
|
4010
4010
|
};
|
|
4011
|
-
const
|
|
4011
|
+
const de_DisableInsightRulesOutput = (output, context) => {
|
|
4012
4012
|
const contents = {};
|
|
4013
4013
|
if (output.Failures === "") {
|
|
4014
4014
|
contents.Failures = [];
|
|
4015
4015
|
}
|
|
4016
4016
|
else if (output["Failures"] !== undefined && output["Failures"]["member"] !== undefined) {
|
|
4017
|
-
contents.Failures =
|
|
4017
|
+
contents.Failures = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output["Failures"]["member"]), context);
|
|
4018
4018
|
}
|
|
4019
4019
|
return contents;
|
|
4020
4020
|
};
|
|
4021
|
-
const
|
|
4021
|
+
const de_EnableInsightRulesOutput = (output, context) => {
|
|
4022
4022
|
const contents = {};
|
|
4023
4023
|
if (output.Failures === "") {
|
|
4024
4024
|
contents.Failures = [];
|
|
4025
4025
|
}
|
|
4026
4026
|
else if (output["Failures"] !== undefined && output["Failures"]["member"] !== undefined) {
|
|
4027
|
-
contents.Failures =
|
|
4027
|
+
contents.Failures = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output["Failures"]["member"]), context);
|
|
4028
4028
|
}
|
|
4029
4029
|
return contents;
|
|
4030
4030
|
};
|
|
4031
|
-
const
|
|
4031
|
+
const de_GetDashboardOutput = (output, context) => {
|
|
4032
4032
|
const contents = {};
|
|
4033
4033
|
if (output["DashboardArn"] !== undefined) {
|
|
4034
4034
|
contents.DashboardArn = (0, smithy_client_1.expectString)(output["DashboardArn"]);
|
|
@@ -4041,13 +4041,13 @@ const deserializeAws_queryGetDashboardOutput = (output, context) => {
|
|
|
4041
4041
|
}
|
|
4042
4042
|
return contents;
|
|
4043
4043
|
};
|
|
4044
|
-
const
|
|
4044
|
+
const de_GetInsightRuleReportOutput = (output, context) => {
|
|
4045
4045
|
const contents = {};
|
|
4046
4046
|
if (output.KeyLabels === "") {
|
|
4047
4047
|
contents.KeyLabels = [];
|
|
4048
4048
|
}
|
|
4049
4049
|
else if (output["KeyLabels"] !== undefined && output["KeyLabels"]["member"] !== undefined) {
|
|
4050
|
-
contents.KeyLabels =
|
|
4050
|
+
contents.KeyLabels = de_InsightRuleContributorKeyLabels((0, smithy_client_1.getArrayIfSingleItem)(output["KeyLabels"]["member"]), context);
|
|
4051
4051
|
}
|
|
4052
4052
|
if (output["AggregationStatistic"] !== undefined) {
|
|
4053
4053
|
contents.AggregationStatistic = (0, smithy_client_1.expectString)(output["AggregationStatistic"]);
|
|
@@ -4062,23 +4062,23 @@ const deserializeAws_queryGetInsightRuleReportOutput = (output, context) => {
|
|
|
4062
4062
|
contents.Contributors = [];
|
|
4063
4063
|
}
|
|
4064
4064
|
else if (output["Contributors"] !== undefined && output["Contributors"]["member"] !== undefined) {
|
|
4065
|
-
contents.Contributors =
|
|
4065
|
+
contents.Contributors = de_InsightRuleContributors((0, smithy_client_1.getArrayIfSingleItem)(output["Contributors"]["member"]), context);
|
|
4066
4066
|
}
|
|
4067
4067
|
if (output.MetricDatapoints === "") {
|
|
4068
4068
|
contents.MetricDatapoints = [];
|
|
4069
4069
|
}
|
|
4070
4070
|
else if (output["MetricDatapoints"] !== undefined && output["MetricDatapoints"]["member"] !== undefined) {
|
|
4071
|
-
contents.MetricDatapoints =
|
|
4071
|
+
contents.MetricDatapoints = de_InsightRuleMetricDatapoints((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDatapoints"]["member"]), context);
|
|
4072
4072
|
}
|
|
4073
4073
|
return contents;
|
|
4074
4074
|
};
|
|
4075
|
-
const
|
|
4075
|
+
const de_GetMetricDataOutput = (output, context) => {
|
|
4076
4076
|
const contents = {};
|
|
4077
4077
|
if (output.MetricDataResults === "") {
|
|
4078
4078
|
contents.MetricDataResults = [];
|
|
4079
4079
|
}
|
|
4080
4080
|
else if (output["MetricDataResults"] !== undefined && output["MetricDataResults"]["member"] !== undefined) {
|
|
4081
|
-
contents.MetricDataResults =
|
|
4081
|
+
contents.MetricDataResults = de_MetricDataResults((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataResults"]["member"]), context);
|
|
4082
4082
|
}
|
|
4083
4083
|
if (output["NextToken"] !== undefined) {
|
|
4084
4084
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
@@ -4087,11 +4087,11 @@ const deserializeAws_queryGetMetricDataOutput = (output, context) => {
|
|
|
4087
4087
|
contents.Messages = [];
|
|
4088
4088
|
}
|
|
4089
4089
|
else if (output["Messages"] !== undefined && output["Messages"]["member"] !== undefined) {
|
|
4090
|
-
contents.Messages =
|
|
4090
|
+
contents.Messages = de_MetricDataResultMessages((0, smithy_client_1.getArrayIfSingleItem)(output["Messages"]["member"]), context);
|
|
4091
4091
|
}
|
|
4092
4092
|
return contents;
|
|
4093
4093
|
};
|
|
4094
|
-
const
|
|
4094
|
+
const de_GetMetricStatisticsOutput = (output, context) => {
|
|
4095
4095
|
const contents = {};
|
|
4096
4096
|
if (output["Label"] !== undefined) {
|
|
4097
4097
|
contents.Label = (0, smithy_client_1.expectString)(output["Label"]);
|
|
@@ -4100,11 +4100,11 @@ const deserializeAws_queryGetMetricStatisticsOutput = (output, context) => {
|
|
|
4100
4100
|
contents.Datapoints = [];
|
|
4101
4101
|
}
|
|
4102
4102
|
else if (output["Datapoints"] !== undefined && output["Datapoints"]["member"] !== undefined) {
|
|
4103
|
-
contents.Datapoints =
|
|
4103
|
+
contents.Datapoints = de_Datapoints((0, smithy_client_1.getArrayIfSingleItem)(output["Datapoints"]["member"]), context);
|
|
4104
4104
|
}
|
|
4105
4105
|
return contents;
|
|
4106
4106
|
};
|
|
4107
|
-
const
|
|
4107
|
+
const de_GetMetricStreamOutput = (output, context) => {
|
|
4108
4108
|
const contents = {};
|
|
4109
4109
|
if (output["Arn"] !== undefined) {
|
|
4110
4110
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
@@ -4116,13 +4116,13 @@ const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
|
4116
4116
|
contents.IncludeFilters = [];
|
|
4117
4117
|
}
|
|
4118
4118
|
else if (output["IncludeFilters"] !== undefined && output["IncludeFilters"]["member"] !== undefined) {
|
|
4119
|
-
contents.IncludeFilters =
|
|
4119
|
+
contents.IncludeFilters = de_MetricStreamFilters((0, smithy_client_1.getArrayIfSingleItem)(output["IncludeFilters"]["member"]), context);
|
|
4120
4120
|
}
|
|
4121
4121
|
if (output.ExcludeFilters === "") {
|
|
4122
4122
|
contents.ExcludeFilters = [];
|
|
4123
4123
|
}
|
|
4124
4124
|
else if (output["ExcludeFilters"] !== undefined && output["ExcludeFilters"]["member"] !== undefined) {
|
|
4125
|
-
contents.ExcludeFilters =
|
|
4125
|
+
contents.ExcludeFilters = de_MetricStreamFilters((0, smithy_client_1.getArrayIfSingleItem)(output["ExcludeFilters"]["member"]), context);
|
|
4126
4126
|
}
|
|
4127
4127
|
if (output["FirehoseArn"] !== undefined) {
|
|
4128
4128
|
contents.FirehoseArn = (0, smithy_client_1.expectString)(output["FirehoseArn"]);
|
|
@@ -4147,21 +4147,21 @@ const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
|
4147
4147
|
}
|
|
4148
4148
|
else if (output["StatisticsConfigurations"] !== undefined &&
|
|
4149
4149
|
output["StatisticsConfigurations"]["member"] !== undefined) {
|
|
4150
|
-
contents.StatisticsConfigurations =
|
|
4150
|
+
contents.StatisticsConfigurations = de_MetricStreamStatisticsConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output["StatisticsConfigurations"]["member"]), context);
|
|
4151
4151
|
}
|
|
4152
4152
|
if (output["IncludeLinkedAccountsMetrics"] !== undefined) {
|
|
4153
4153
|
contents.IncludeLinkedAccountsMetrics = (0, smithy_client_1.parseBoolean)(output["IncludeLinkedAccountsMetrics"]);
|
|
4154
4154
|
}
|
|
4155
4155
|
return contents;
|
|
4156
4156
|
};
|
|
4157
|
-
const
|
|
4157
|
+
const de_GetMetricWidgetImageOutput = (output, context) => {
|
|
4158
4158
|
const contents = {};
|
|
4159
4159
|
if (output["MetricWidgetImage"] !== undefined) {
|
|
4160
4160
|
contents.MetricWidgetImage = context.base64Decoder(output["MetricWidgetImage"]);
|
|
4161
4161
|
}
|
|
4162
4162
|
return contents;
|
|
4163
4163
|
};
|
|
4164
|
-
const
|
|
4164
|
+
const de_InsightRule = (output, context) => {
|
|
4165
4165
|
const contents = {};
|
|
4166
4166
|
if (output["Name"] !== undefined) {
|
|
4167
4167
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
@@ -4180,13 +4180,13 @@ const deserializeAws_queryInsightRule = (output, context) => {
|
|
|
4180
4180
|
}
|
|
4181
4181
|
return contents;
|
|
4182
4182
|
};
|
|
4183
|
-
const
|
|
4183
|
+
const de_InsightRuleContributor = (output, context) => {
|
|
4184
4184
|
const contents = {};
|
|
4185
4185
|
if (output.Keys === "") {
|
|
4186
4186
|
contents.Keys = [];
|
|
4187
4187
|
}
|
|
4188
4188
|
else if (output["Keys"] !== undefined && output["Keys"]["member"] !== undefined) {
|
|
4189
|
-
contents.Keys =
|
|
4189
|
+
contents.Keys = de_InsightRuleContributorKeys((0, smithy_client_1.getArrayIfSingleItem)(output["Keys"]["member"]), context);
|
|
4190
4190
|
}
|
|
4191
4191
|
if (output["ApproximateAggregateValue"] !== undefined) {
|
|
4192
4192
|
contents.ApproximateAggregateValue = (0, smithy_client_1.strictParseFloat)(output["ApproximateAggregateValue"]);
|
|
@@ -4195,11 +4195,11 @@ const deserializeAws_queryInsightRuleContributor = (output, context) => {
|
|
|
4195
4195
|
contents.Datapoints = [];
|
|
4196
4196
|
}
|
|
4197
4197
|
else if (output["Datapoints"] !== undefined && output["Datapoints"]["member"] !== undefined) {
|
|
4198
|
-
contents.Datapoints =
|
|
4198
|
+
contents.Datapoints = de_InsightRuleContributorDatapoints((0, smithy_client_1.getArrayIfSingleItem)(output["Datapoints"]["member"]), context);
|
|
4199
4199
|
}
|
|
4200
4200
|
return contents;
|
|
4201
4201
|
};
|
|
4202
|
-
const
|
|
4202
|
+
const de_InsightRuleContributorDatapoint = (output, context) => {
|
|
4203
4203
|
const contents = {};
|
|
4204
4204
|
if (output["Timestamp"] !== undefined) {
|
|
4205
4205
|
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Timestamp"]));
|
|
@@ -4209,35 +4209,35 @@ const deserializeAws_queryInsightRuleContributorDatapoint = (output, context) =>
|
|
|
4209
4209
|
}
|
|
4210
4210
|
return contents;
|
|
4211
4211
|
};
|
|
4212
|
-
const
|
|
4212
|
+
const de_InsightRuleContributorDatapoints = (output, context) => {
|
|
4213
4213
|
return (output || [])
|
|
4214
4214
|
.filter((e) => e != null)
|
|
4215
4215
|
.map((entry) => {
|
|
4216
|
-
return
|
|
4216
|
+
return de_InsightRuleContributorDatapoint(entry, context);
|
|
4217
4217
|
});
|
|
4218
4218
|
};
|
|
4219
|
-
const
|
|
4219
|
+
const de_InsightRuleContributorKeyLabels = (output, context) => {
|
|
4220
4220
|
return (output || [])
|
|
4221
4221
|
.filter((e) => e != null)
|
|
4222
4222
|
.map((entry) => {
|
|
4223
4223
|
return (0, smithy_client_1.expectString)(entry);
|
|
4224
4224
|
});
|
|
4225
4225
|
};
|
|
4226
|
-
const
|
|
4226
|
+
const de_InsightRuleContributorKeys = (output, context) => {
|
|
4227
4227
|
return (output || [])
|
|
4228
4228
|
.filter((e) => e != null)
|
|
4229
4229
|
.map((entry) => {
|
|
4230
4230
|
return (0, smithy_client_1.expectString)(entry);
|
|
4231
4231
|
});
|
|
4232
4232
|
};
|
|
4233
|
-
const
|
|
4233
|
+
const de_InsightRuleContributors = (output, context) => {
|
|
4234
4234
|
return (output || [])
|
|
4235
4235
|
.filter((e) => e != null)
|
|
4236
4236
|
.map((entry) => {
|
|
4237
|
-
return
|
|
4237
|
+
return de_InsightRuleContributor(entry, context);
|
|
4238
4238
|
});
|
|
4239
4239
|
};
|
|
4240
|
-
const
|
|
4240
|
+
const de_InsightRuleMetricDatapoint = (output, context) => {
|
|
4241
4241
|
const contents = {};
|
|
4242
4242
|
if (output["Timestamp"] !== undefined) {
|
|
4243
4243
|
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Timestamp"]));
|
|
@@ -4265,102 +4265,102 @@ const deserializeAws_queryInsightRuleMetricDatapoint = (output, context) => {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
return contents;
|
|
4267
4267
|
};
|
|
4268
|
-
const
|
|
4268
|
+
const de_InsightRuleMetricDatapoints = (output, context) => {
|
|
4269
4269
|
return (output || [])
|
|
4270
4270
|
.filter((e) => e != null)
|
|
4271
4271
|
.map((entry) => {
|
|
4272
|
-
return
|
|
4272
|
+
return de_InsightRuleMetricDatapoint(entry, context);
|
|
4273
4273
|
});
|
|
4274
4274
|
};
|
|
4275
|
-
const
|
|
4275
|
+
const de_InsightRules = (output, context) => {
|
|
4276
4276
|
return (output || [])
|
|
4277
4277
|
.filter((e) => e != null)
|
|
4278
4278
|
.map((entry) => {
|
|
4279
|
-
return
|
|
4279
|
+
return de_InsightRule(entry, context);
|
|
4280
4280
|
});
|
|
4281
4281
|
};
|
|
4282
|
-
const
|
|
4282
|
+
const de_InternalServiceFault = (output, context) => {
|
|
4283
4283
|
const contents = {};
|
|
4284
4284
|
if (output["Message"] !== undefined) {
|
|
4285
4285
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
4286
4286
|
}
|
|
4287
4287
|
return contents;
|
|
4288
4288
|
};
|
|
4289
|
-
const
|
|
4289
|
+
const de_InvalidFormatFault = (output, context) => {
|
|
4290
4290
|
const contents = {};
|
|
4291
4291
|
if (output["message"] !== undefined) {
|
|
4292
4292
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4293
4293
|
}
|
|
4294
4294
|
return contents;
|
|
4295
4295
|
};
|
|
4296
|
-
const
|
|
4296
|
+
const de_InvalidNextToken = (output, context) => {
|
|
4297
4297
|
const contents = {};
|
|
4298
4298
|
if (output["message"] !== undefined) {
|
|
4299
4299
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4300
4300
|
}
|
|
4301
4301
|
return contents;
|
|
4302
4302
|
};
|
|
4303
|
-
const
|
|
4303
|
+
const de_InvalidParameterCombinationException = (output, context) => {
|
|
4304
4304
|
const contents = {};
|
|
4305
4305
|
if (output["message"] !== undefined) {
|
|
4306
4306
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4307
4307
|
}
|
|
4308
4308
|
return contents;
|
|
4309
4309
|
};
|
|
4310
|
-
const
|
|
4310
|
+
const de_InvalidParameterValueException = (output, context) => {
|
|
4311
4311
|
const contents = {};
|
|
4312
4312
|
if (output["message"] !== undefined) {
|
|
4313
4313
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4314
4314
|
}
|
|
4315
4315
|
return contents;
|
|
4316
4316
|
};
|
|
4317
|
-
const
|
|
4317
|
+
const de_LimitExceededException = (output, context) => {
|
|
4318
4318
|
const contents = {};
|
|
4319
4319
|
if (output["Message"] !== undefined) {
|
|
4320
4320
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
4321
4321
|
}
|
|
4322
4322
|
return contents;
|
|
4323
4323
|
};
|
|
4324
|
-
const
|
|
4324
|
+
const de_LimitExceededFault = (output, context) => {
|
|
4325
4325
|
const contents = {};
|
|
4326
4326
|
if (output["message"] !== undefined) {
|
|
4327
4327
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4328
4328
|
}
|
|
4329
4329
|
return contents;
|
|
4330
4330
|
};
|
|
4331
|
-
const
|
|
4331
|
+
const de_ListDashboardsOutput = (output, context) => {
|
|
4332
4332
|
const contents = {};
|
|
4333
4333
|
if (output.DashboardEntries === "") {
|
|
4334
4334
|
contents.DashboardEntries = [];
|
|
4335
4335
|
}
|
|
4336
4336
|
else if (output["DashboardEntries"] !== undefined && output["DashboardEntries"]["member"] !== undefined) {
|
|
4337
|
-
contents.DashboardEntries =
|
|
4337
|
+
contents.DashboardEntries = de_DashboardEntries((0, smithy_client_1.getArrayIfSingleItem)(output["DashboardEntries"]["member"]), context);
|
|
4338
4338
|
}
|
|
4339
4339
|
if (output["NextToken"] !== undefined) {
|
|
4340
4340
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
4341
4341
|
}
|
|
4342
4342
|
return contents;
|
|
4343
4343
|
};
|
|
4344
|
-
const
|
|
4344
|
+
const de_ListManagedInsightRulesOutput = (output, context) => {
|
|
4345
4345
|
const contents = {};
|
|
4346
4346
|
if (output.ManagedRules === "") {
|
|
4347
4347
|
contents.ManagedRules = [];
|
|
4348
4348
|
}
|
|
4349
4349
|
else if (output["ManagedRules"] !== undefined && output["ManagedRules"]["member"] !== undefined) {
|
|
4350
|
-
contents.ManagedRules =
|
|
4350
|
+
contents.ManagedRules = de_ManagedRuleDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["ManagedRules"]["member"]), context);
|
|
4351
4351
|
}
|
|
4352
4352
|
if (output["NextToken"] !== undefined) {
|
|
4353
4353
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
4354
4354
|
}
|
|
4355
4355
|
return contents;
|
|
4356
4356
|
};
|
|
4357
|
-
const
|
|
4357
|
+
const de_ListMetricsOutput = (output, context) => {
|
|
4358
4358
|
const contents = {};
|
|
4359
4359
|
if (output.Metrics === "") {
|
|
4360
4360
|
contents.Metrics = [];
|
|
4361
4361
|
}
|
|
4362
4362
|
else if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
4363
|
-
contents.Metrics =
|
|
4363
|
+
contents.Metrics = de_Metrics((0, smithy_client_1.getArrayIfSingleItem)(output["Metrics"]["member"]), context);
|
|
4364
4364
|
}
|
|
4365
4365
|
if (output["NextToken"] !== undefined) {
|
|
4366
4366
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
@@ -4369,11 +4369,11 @@ const deserializeAws_queryListMetricsOutput = (output, context) => {
|
|
|
4369
4369
|
contents.OwningAccounts = [];
|
|
4370
4370
|
}
|
|
4371
4371
|
else if (output["OwningAccounts"] !== undefined && output["OwningAccounts"]["member"] !== undefined) {
|
|
4372
|
-
contents.OwningAccounts =
|
|
4372
|
+
contents.OwningAccounts = de_OwningAccounts((0, smithy_client_1.getArrayIfSingleItem)(output["OwningAccounts"]["member"]), context);
|
|
4373
4373
|
}
|
|
4374
4374
|
return contents;
|
|
4375
4375
|
};
|
|
4376
|
-
const
|
|
4376
|
+
const de_ListMetricStreamsOutput = (output, context) => {
|
|
4377
4377
|
const contents = {};
|
|
4378
4378
|
if (output["NextToken"] !== undefined) {
|
|
4379
4379
|
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
@@ -4382,21 +4382,21 @@ const deserializeAws_queryListMetricStreamsOutput = (output, context) => {
|
|
|
4382
4382
|
contents.Entries = [];
|
|
4383
4383
|
}
|
|
4384
4384
|
else if (output["Entries"] !== undefined && output["Entries"]["member"] !== undefined) {
|
|
4385
|
-
contents.Entries =
|
|
4385
|
+
contents.Entries = de_MetricStreamEntries((0, smithy_client_1.getArrayIfSingleItem)(output["Entries"]["member"]), context);
|
|
4386
4386
|
}
|
|
4387
4387
|
return contents;
|
|
4388
4388
|
};
|
|
4389
|
-
const
|
|
4389
|
+
const de_ListTagsForResourceOutput = (output, context) => {
|
|
4390
4390
|
const contents = {};
|
|
4391
4391
|
if (output.Tags === "") {
|
|
4392
4392
|
contents.Tags = [];
|
|
4393
4393
|
}
|
|
4394
4394
|
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
4395
|
-
contents.Tags =
|
|
4395
|
+
contents.Tags = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
4396
4396
|
}
|
|
4397
4397
|
return contents;
|
|
4398
4398
|
};
|
|
4399
|
-
const
|
|
4399
|
+
const de_ManagedRuleDescription = (output, context) => {
|
|
4400
4400
|
const contents = {};
|
|
4401
4401
|
if (output["TemplateName"] !== undefined) {
|
|
4402
4402
|
contents.TemplateName = (0, smithy_client_1.expectString)(output["TemplateName"]);
|
|
@@ -4405,18 +4405,18 @@ const deserializeAws_queryManagedRuleDescription = (output, context) => {
|
|
|
4405
4405
|
contents.ResourceARN = (0, smithy_client_1.expectString)(output["ResourceARN"]);
|
|
4406
4406
|
}
|
|
4407
4407
|
if (output["RuleState"] !== undefined) {
|
|
4408
|
-
contents.RuleState =
|
|
4408
|
+
contents.RuleState = de_ManagedRuleState(output["RuleState"], context);
|
|
4409
4409
|
}
|
|
4410
4410
|
return contents;
|
|
4411
4411
|
};
|
|
4412
|
-
const
|
|
4412
|
+
const de_ManagedRuleDescriptions = (output, context) => {
|
|
4413
4413
|
return (output || [])
|
|
4414
4414
|
.filter((e) => e != null)
|
|
4415
4415
|
.map((entry) => {
|
|
4416
|
-
return
|
|
4416
|
+
return de_ManagedRuleDescription(entry, context);
|
|
4417
4417
|
});
|
|
4418
4418
|
};
|
|
4419
|
-
const
|
|
4419
|
+
const de_ManagedRuleState = (output, context) => {
|
|
4420
4420
|
const contents = {};
|
|
4421
4421
|
if (output["RuleName"] !== undefined) {
|
|
4422
4422
|
contents.RuleName = (0, smithy_client_1.expectString)(output["RuleName"]);
|
|
@@ -4426,7 +4426,7 @@ const deserializeAws_queryManagedRuleState = (output, context) => {
|
|
|
4426
4426
|
}
|
|
4427
4427
|
return contents;
|
|
4428
4428
|
};
|
|
4429
|
-
const
|
|
4429
|
+
const de_MessageData = (output, context) => {
|
|
4430
4430
|
const contents = {};
|
|
4431
4431
|
if (output["Code"] !== undefined) {
|
|
4432
4432
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -4436,7 +4436,7 @@ const deserializeAws_queryMessageData = (output, context) => {
|
|
|
4436
4436
|
}
|
|
4437
4437
|
return contents;
|
|
4438
4438
|
};
|
|
4439
|
-
const
|
|
4439
|
+
const de_Metric = (output, context) => {
|
|
4440
4440
|
const contents = {};
|
|
4441
4441
|
if (output["Namespace"] !== undefined) {
|
|
4442
4442
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
@@ -4448,11 +4448,11 @@ const deserializeAws_queryMetric = (output, context) => {
|
|
|
4448
4448
|
contents.Dimensions = [];
|
|
4449
4449
|
}
|
|
4450
4450
|
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
4451
|
-
contents.Dimensions =
|
|
4451
|
+
contents.Dimensions = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
4452
4452
|
}
|
|
4453
4453
|
return contents;
|
|
4454
4454
|
};
|
|
4455
|
-
const
|
|
4455
|
+
const de_MetricAlarm = (output, context) => {
|
|
4456
4456
|
const contents = {};
|
|
4457
4457
|
if (output["AlarmName"] !== undefined) {
|
|
4458
4458
|
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
@@ -4473,20 +4473,20 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4473
4473
|
contents.OKActions = [];
|
|
4474
4474
|
}
|
|
4475
4475
|
else if (output["OKActions"] !== undefined && output["OKActions"]["member"] !== undefined) {
|
|
4476
|
-
contents.OKActions =
|
|
4476
|
+
contents.OKActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["OKActions"]["member"]), context);
|
|
4477
4477
|
}
|
|
4478
4478
|
if (output.AlarmActions === "") {
|
|
4479
4479
|
contents.AlarmActions = [];
|
|
4480
4480
|
}
|
|
4481
4481
|
else if (output["AlarmActions"] !== undefined && output["AlarmActions"]["member"] !== undefined) {
|
|
4482
|
-
contents.AlarmActions =
|
|
4482
|
+
contents.AlarmActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["AlarmActions"]["member"]), context);
|
|
4483
4483
|
}
|
|
4484
4484
|
if (output.InsufficientDataActions === "") {
|
|
4485
4485
|
contents.InsufficientDataActions = [];
|
|
4486
4486
|
}
|
|
4487
4487
|
else if (output["InsufficientDataActions"] !== undefined &&
|
|
4488
4488
|
output["InsufficientDataActions"]["member"] !== undefined) {
|
|
4489
|
-
contents.InsufficientDataActions =
|
|
4489
|
+
contents.InsufficientDataActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["InsufficientDataActions"]["member"]), context);
|
|
4490
4490
|
}
|
|
4491
4491
|
if (output["StateValue"] !== undefined) {
|
|
4492
4492
|
contents.StateValue = (0, smithy_client_1.expectString)(output["StateValue"]);
|
|
@@ -4516,7 +4516,7 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4516
4516
|
contents.Dimensions = [];
|
|
4517
4517
|
}
|
|
4518
4518
|
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
4519
|
-
contents.Dimensions =
|
|
4519
|
+
contents.Dimensions = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
4520
4520
|
}
|
|
4521
4521
|
if (output["Period"] !== undefined) {
|
|
4522
4522
|
contents.Period = (0, smithy_client_1.strictParseInt32)(output["Period"]);
|
|
@@ -4546,7 +4546,7 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4546
4546
|
contents.Metrics = [];
|
|
4547
4547
|
}
|
|
4548
4548
|
else if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
4549
|
-
contents.Metrics =
|
|
4549
|
+
contents.Metrics = de_MetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["Metrics"]["member"]), context);
|
|
4550
4550
|
}
|
|
4551
4551
|
if (output["ThresholdMetricId"] !== undefined) {
|
|
4552
4552
|
contents.ThresholdMetricId = (0, smithy_client_1.expectString)(output["ThresholdMetricId"]);
|
|
@@ -4559,27 +4559,27 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4559
4559
|
}
|
|
4560
4560
|
return contents;
|
|
4561
4561
|
};
|
|
4562
|
-
const
|
|
4562
|
+
const de_MetricAlarms = (output, context) => {
|
|
4563
4563
|
return (output || [])
|
|
4564
4564
|
.filter((e) => e != null)
|
|
4565
4565
|
.map((entry) => {
|
|
4566
|
-
return
|
|
4566
|
+
return de_MetricAlarm(entry, context);
|
|
4567
4567
|
});
|
|
4568
4568
|
};
|
|
4569
|
-
const
|
|
4569
|
+
const de_MetricDataQueries = (output, context) => {
|
|
4570
4570
|
return (output || [])
|
|
4571
4571
|
.filter((e) => e != null)
|
|
4572
4572
|
.map((entry) => {
|
|
4573
|
-
return
|
|
4573
|
+
return de_MetricDataQuery(entry, context);
|
|
4574
4574
|
});
|
|
4575
4575
|
};
|
|
4576
|
-
const
|
|
4576
|
+
const de_MetricDataQuery = (output, context) => {
|
|
4577
4577
|
const contents = {};
|
|
4578
4578
|
if (output["Id"] !== undefined) {
|
|
4579
4579
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
4580
4580
|
}
|
|
4581
4581
|
if (output["MetricStat"] !== undefined) {
|
|
4582
|
-
contents.MetricStat =
|
|
4582
|
+
contents.MetricStat = de_MetricStat(output["MetricStat"], context);
|
|
4583
4583
|
}
|
|
4584
4584
|
if (output["Expression"] !== undefined) {
|
|
4585
4585
|
contents.Expression = (0, smithy_client_1.expectString)(output["Expression"]);
|
|
@@ -4598,7 +4598,7 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
|
4598
4598
|
}
|
|
4599
4599
|
return contents;
|
|
4600
4600
|
};
|
|
4601
|
-
const
|
|
4601
|
+
const de_MetricDataResult = (output, context) => {
|
|
4602
4602
|
const contents = {};
|
|
4603
4603
|
if (output["Id"] !== undefined) {
|
|
4604
4604
|
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
@@ -4610,13 +4610,13 @@ const deserializeAws_queryMetricDataResult = (output, context) => {
|
|
|
4610
4610
|
contents.Timestamps = [];
|
|
4611
4611
|
}
|
|
4612
4612
|
else if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
4613
|
-
contents.Timestamps =
|
|
4613
|
+
contents.Timestamps = de_Timestamps((0, smithy_client_1.getArrayIfSingleItem)(output["Timestamps"]["member"]), context);
|
|
4614
4614
|
}
|
|
4615
4615
|
if (output.Values === "") {
|
|
4616
4616
|
contents.Values = [];
|
|
4617
4617
|
}
|
|
4618
4618
|
else if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
4619
|
-
contents.Values =
|
|
4619
|
+
contents.Values = de_DatapointValues((0, smithy_client_1.getArrayIfSingleItem)(output["Values"]["member"]), context);
|
|
4620
4620
|
}
|
|
4621
4621
|
if (output["StatusCode"] !== undefined) {
|
|
4622
4622
|
contents.StatusCode = (0, smithy_client_1.expectString)(output["StatusCode"]);
|
|
@@ -4625,45 +4625,45 @@ const deserializeAws_queryMetricDataResult = (output, context) => {
|
|
|
4625
4625
|
contents.Messages = [];
|
|
4626
4626
|
}
|
|
4627
4627
|
else if (output["Messages"] !== undefined && output["Messages"]["member"] !== undefined) {
|
|
4628
|
-
contents.Messages =
|
|
4628
|
+
contents.Messages = de_MetricDataResultMessages((0, smithy_client_1.getArrayIfSingleItem)(output["Messages"]["member"]), context);
|
|
4629
4629
|
}
|
|
4630
4630
|
return contents;
|
|
4631
4631
|
};
|
|
4632
|
-
const
|
|
4632
|
+
const de_MetricDataResultMessages = (output, context) => {
|
|
4633
4633
|
return (output || [])
|
|
4634
4634
|
.filter((e) => e != null)
|
|
4635
4635
|
.map((entry) => {
|
|
4636
|
-
return
|
|
4636
|
+
return de_MessageData(entry, context);
|
|
4637
4637
|
});
|
|
4638
4638
|
};
|
|
4639
|
-
const
|
|
4639
|
+
const de_MetricDataResults = (output, context) => {
|
|
4640
4640
|
return (output || [])
|
|
4641
4641
|
.filter((e) => e != null)
|
|
4642
4642
|
.map((entry) => {
|
|
4643
|
-
return
|
|
4643
|
+
return de_MetricDataResult(entry, context);
|
|
4644
4644
|
});
|
|
4645
4645
|
};
|
|
4646
|
-
const
|
|
4646
|
+
const de_MetricMathAnomalyDetector = (output, context) => {
|
|
4647
4647
|
const contents = {};
|
|
4648
4648
|
if (output.MetricDataQueries === "") {
|
|
4649
4649
|
contents.MetricDataQueries = [];
|
|
4650
4650
|
}
|
|
4651
4651
|
else if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
4652
|
-
contents.MetricDataQueries =
|
|
4652
|
+
contents.MetricDataQueries = de_MetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
4653
4653
|
}
|
|
4654
4654
|
return contents;
|
|
4655
4655
|
};
|
|
4656
|
-
const
|
|
4656
|
+
const de_Metrics = (output, context) => {
|
|
4657
4657
|
return (output || [])
|
|
4658
4658
|
.filter((e) => e != null)
|
|
4659
4659
|
.map((entry) => {
|
|
4660
|
-
return
|
|
4660
|
+
return de_Metric(entry, context);
|
|
4661
4661
|
});
|
|
4662
4662
|
};
|
|
4663
|
-
const
|
|
4663
|
+
const de_MetricStat = (output, context) => {
|
|
4664
4664
|
const contents = {};
|
|
4665
4665
|
if (output["Metric"] !== undefined) {
|
|
4666
|
-
contents.Metric =
|
|
4666
|
+
contents.Metric = de_Metric(output["Metric"], context);
|
|
4667
4667
|
}
|
|
4668
4668
|
if (output["Period"] !== undefined) {
|
|
4669
4669
|
contents.Period = (0, smithy_client_1.strictParseInt32)(output["Period"]);
|
|
@@ -4676,14 +4676,14 @@ const deserializeAws_queryMetricStat = (output, context) => {
|
|
|
4676
4676
|
}
|
|
4677
4677
|
return contents;
|
|
4678
4678
|
};
|
|
4679
|
-
const
|
|
4679
|
+
const de_MetricStreamEntries = (output, context) => {
|
|
4680
4680
|
return (output || [])
|
|
4681
4681
|
.filter((e) => e != null)
|
|
4682
4682
|
.map((entry) => {
|
|
4683
|
-
return
|
|
4683
|
+
return de_MetricStreamEntry(entry, context);
|
|
4684
4684
|
});
|
|
4685
4685
|
};
|
|
4686
|
-
const
|
|
4686
|
+
const de_MetricStreamEntry = (output, context) => {
|
|
4687
4687
|
const contents = {};
|
|
4688
4688
|
if (output["Arn"] !== undefined) {
|
|
4689
4689
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
@@ -4708,58 +4708,58 @@ const deserializeAws_queryMetricStreamEntry = (output, context) => {
|
|
|
4708
4708
|
}
|
|
4709
4709
|
return contents;
|
|
4710
4710
|
};
|
|
4711
|
-
const
|
|
4711
|
+
const de_MetricStreamFilter = (output, context) => {
|
|
4712
4712
|
const contents = {};
|
|
4713
4713
|
if (output["Namespace"] !== undefined) {
|
|
4714
4714
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
4715
4715
|
}
|
|
4716
4716
|
return contents;
|
|
4717
4717
|
};
|
|
4718
|
-
const
|
|
4718
|
+
const de_MetricStreamFilters = (output, context) => {
|
|
4719
4719
|
return (output || [])
|
|
4720
4720
|
.filter((e) => e != null)
|
|
4721
4721
|
.map((entry) => {
|
|
4722
|
-
return
|
|
4722
|
+
return de_MetricStreamFilter(entry, context);
|
|
4723
4723
|
});
|
|
4724
4724
|
};
|
|
4725
|
-
const
|
|
4725
|
+
const de_MetricStreamStatisticsAdditionalStatistics = (output, context) => {
|
|
4726
4726
|
return (output || [])
|
|
4727
4727
|
.filter((e) => e != null)
|
|
4728
4728
|
.map((entry) => {
|
|
4729
4729
|
return (0, smithy_client_1.expectString)(entry);
|
|
4730
4730
|
});
|
|
4731
4731
|
};
|
|
4732
|
-
const
|
|
4732
|
+
const de_MetricStreamStatisticsConfiguration = (output, context) => {
|
|
4733
4733
|
const contents = {};
|
|
4734
4734
|
if (output.IncludeMetrics === "") {
|
|
4735
4735
|
contents.IncludeMetrics = [];
|
|
4736
4736
|
}
|
|
4737
4737
|
else if (output["IncludeMetrics"] !== undefined && output["IncludeMetrics"]["member"] !== undefined) {
|
|
4738
|
-
contents.IncludeMetrics =
|
|
4738
|
+
contents.IncludeMetrics = de_MetricStreamStatisticsIncludeMetrics((0, smithy_client_1.getArrayIfSingleItem)(output["IncludeMetrics"]["member"]), context);
|
|
4739
4739
|
}
|
|
4740
4740
|
if (output.AdditionalStatistics === "") {
|
|
4741
4741
|
contents.AdditionalStatistics = [];
|
|
4742
4742
|
}
|
|
4743
4743
|
else if (output["AdditionalStatistics"] !== undefined && output["AdditionalStatistics"]["member"] !== undefined) {
|
|
4744
|
-
contents.AdditionalStatistics =
|
|
4744
|
+
contents.AdditionalStatistics = de_MetricStreamStatisticsAdditionalStatistics((0, smithy_client_1.getArrayIfSingleItem)(output["AdditionalStatistics"]["member"]), context);
|
|
4745
4745
|
}
|
|
4746
4746
|
return contents;
|
|
4747
4747
|
};
|
|
4748
|
-
const
|
|
4748
|
+
const de_MetricStreamStatisticsConfigurations = (output, context) => {
|
|
4749
4749
|
return (output || [])
|
|
4750
4750
|
.filter((e) => e != null)
|
|
4751
4751
|
.map((entry) => {
|
|
4752
|
-
return
|
|
4752
|
+
return de_MetricStreamStatisticsConfiguration(entry, context);
|
|
4753
4753
|
});
|
|
4754
4754
|
};
|
|
4755
|
-
const
|
|
4755
|
+
const de_MetricStreamStatisticsIncludeMetrics = (output, context) => {
|
|
4756
4756
|
return (output || [])
|
|
4757
4757
|
.filter((e) => e != null)
|
|
4758
4758
|
.map((entry) => {
|
|
4759
|
-
return
|
|
4759
|
+
return de_MetricStreamStatisticsMetric(entry, context);
|
|
4760
4760
|
});
|
|
4761
4761
|
};
|
|
4762
|
-
const
|
|
4762
|
+
const de_MetricStreamStatisticsMetric = (output, context) => {
|
|
4763
4763
|
const contents = {};
|
|
4764
4764
|
if (output["Namespace"] !== undefined) {
|
|
4765
4765
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
@@ -4769,21 +4769,21 @@ const deserializeAws_queryMetricStreamStatisticsMetric = (output, context) => {
|
|
|
4769
4769
|
}
|
|
4770
4770
|
return contents;
|
|
4771
4771
|
};
|
|
4772
|
-
const
|
|
4772
|
+
const de_MissingRequiredParameterException = (output, context) => {
|
|
4773
4773
|
const contents = {};
|
|
4774
4774
|
if (output["message"] !== undefined) {
|
|
4775
4775
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4776
4776
|
}
|
|
4777
4777
|
return contents;
|
|
4778
4778
|
};
|
|
4779
|
-
const
|
|
4779
|
+
const de_OwningAccounts = (output, context) => {
|
|
4780
4780
|
return (output || [])
|
|
4781
4781
|
.filter((e) => e != null)
|
|
4782
4782
|
.map((entry) => {
|
|
4783
4783
|
return (0, smithy_client_1.expectString)(entry);
|
|
4784
4784
|
});
|
|
4785
4785
|
};
|
|
4786
|
-
const
|
|
4786
|
+
const de_PartialFailure = (output, context) => {
|
|
4787
4787
|
const contents = {};
|
|
4788
4788
|
if (output["FailureResource"] !== undefined) {
|
|
4789
4789
|
contents.FailureResource = (0, smithy_client_1.expectString)(output["FailureResource"]);
|
|
@@ -4799,43 +4799,43 @@ const deserializeAws_queryPartialFailure = (output, context) => {
|
|
|
4799
4799
|
}
|
|
4800
4800
|
return contents;
|
|
4801
4801
|
};
|
|
4802
|
-
const
|
|
4802
|
+
const de_PutAnomalyDetectorOutput = (output, context) => {
|
|
4803
4803
|
const contents = {};
|
|
4804
4804
|
return contents;
|
|
4805
4805
|
};
|
|
4806
|
-
const
|
|
4806
|
+
const de_PutDashboardOutput = (output, context) => {
|
|
4807
4807
|
const contents = {};
|
|
4808
4808
|
if (output.DashboardValidationMessages === "") {
|
|
4809
4809
|
contents.DashboardValidationMessages = [];
|
|
4810
4810
|
}
|
|
4811
4811
|
else if (output["DashboardValidationMessages"] !== undefined &&
|
|
4812
4812
|
output["DashboardValidationMessages"]["member"] !== undefined) {
|
|
4813
|
-
contents.DashboardValidationMessages =
|
|
4813
|
+
contents.DashboardValidationMessages = de_DashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output["DashboardValidationMessages"]["member"]), context);
|
|
4814
4814
|
}
|
|
4815
4815
|
return contents;
|
|
4816
4816
|
};
|
|
4817
|
-
const
|
|
4817
|
+
const de_PutInsightRuleOutput = (output, context) => {
|
|
4818
4818
|
const contents = {};
|
|
4819
4819
|
return contents;
|
|
4820
4820
|
};
|
|
4821
|
-
const
|
|
4821
|
+
const de_PutManagedInsightRulesOutput = (output, context) => {
|
|
4822
4822
|
const contents = {};
|
|
4823
4823
|
if (output.Failures === "") {
|
|
4824
4824
|
contents.Failures = [];
|
|
4825
4825
|
}
|
|
4826
4826
|
else if (output["Failures"] !== undefined && output["Failures"]["member"] !== undefined) {
|
|
4827
|
-
contents.Failures =
|
|
4827
|
+
contents.Failures = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output["Failures"]["member"]), context);
|
|
4828
4828
|
}
|
|
4829
4829
|
return contents;
|
|
4830
4830
|
};
|
|
4831
|
-
const
|
|
4831
|
+
const de_PutMetricStreamOutput = (output, context) => {
|
|
4832
4832
|
const contents = {};
|
|
4833
4833
|
if (output["Arn"] !== undefined) {
|
|
4834
4834
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
4835
4835
|
}
|
|
4836
4836
|
return contents;
|
|
4837
4837
|
};
|
|
4838
|
-
const
|
|
4838
|
+
const de_Range = (output, context) => {
|
|
4839
4839
|
const contents = {};
|
|
4840
4840
|
if (output["StartTime"] !== undefined) {
|
|
4841
4841
|
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["StartTime"]));
|
|
@@ -4845,21 +4845,21 @@ const deserializeAws_queryRange = (output, context) => {
|
|
|
4845
4845
|
}
|
|
4846
4846
|
return contents;
|
|
4847
4847
|
};
|
|
4848
|
-
const
|
|
4848
|
+
const de_ResourceList = (output, context) => {
|
|
4849
4849
|
return (output || [])
|
|
4850
4850
|
.filter((e) => e != null)
|
|
4851
4851
|
.map((entry) => {
|
|
4852
4852
|
return (0, smithy_client_1.expectString)(entry);
|
|
4853
4853
|
});
|
|
4854
4854
|
};
|
|
4855
|
-
const
|
|
4855
|
+
const de_ResourceNotFound = (output, context) => {
|
|
4856
4856
|
const contents = {};
|
|
4857
4857
|
if (output["message"] !== undefined) {
|
|
4858
4858
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4859
4859
|
}
|
|
4860
4860
|
return contents;
|
|
4861
4861
|
};
|
|
4862
|
-
const
|
|
4862
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
4863
4863
|
const contents = {};
|
|
4864
4864
|
if (output["ResourceType"] !== undefined) {
|
|
4865
4865
|
contents.ResourceType = (0, smithy_client_1.expectString)(output["ResourceType"]);
|
|
@@ -4872,7 +4872,7 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
|
4872
4872
|
}
|
|
4873
4873
|
return contents;
|
|
4874
4874
|
};
|
|
4875
|
-
const
|
|
4875
|
+
const de_SingleMetricAnomalyDetector = (output, context) => {
|
|
4876
4876
|
const contents = {};
|
|
4877
4877
|
if (output["Namespace"] !== undefined) {
|
|
4878
4878
|
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
@@ -4884,22 +4884,22 @@ const deserializeAws_querySingleMetricAnomalyDetector = (output, context) => {
|
|
|
4884
4884
|
contents.Dimensions = [];
|
|
4885
4885
|
}
|
|
4886
4886
|
else if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
4887
|
-
contents.Dimensions =
|
|
4887
|
+
contents.Dimensions = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
4888
4888
|
}
|
|
4889
4889
|
if (output["Stat"] !== undefined) {
|
|
4890
4890
|
contents.Stat = (0, smithy_client_1.expectString)(output["Stat"]);
|
|
4891
4891
|
}
|
|
4892
4892
|
return contents;
|
|
4893
4893
|
};
|
|
4894
|
-
const
|
|
4894
|
+
const de_StartMetricStreamsOutput = (output, context) => {
|
|
4895
4895
|
const contents = {};
|
|
4896
4896
|
return contents;
|
|
4897
4897
|
};
|
|
4898
|
-
const
|
|
4898
|
+
const de_StopMetricStreamsOutput = (output, context) => {
|
|
4899
4899
|
const contents = {};
|
|
4900
4900
|
return contents;
|
|
4901
4901
|
};
|
|
4902
|
-
const
|
|
4902
|
+
const de_Tag = (output, context) => {
|
|
4903
4903
|
const contents = {};
|
|
4904
4904
|
if (output["Key"] !== undefined) {
|
|
4905
4905
|
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
@@ -4909,25 +4909,25 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
4909
4909
|
}
|
|
4910
4910
|
return contents;
|
|
4911
4911
|
};
|
|
4912
|
-
const
|
|
4912
|
+
const de_TagList = (output, context) => {
|
|
4913
4913
|
return (output || [])
|
|
4914
4914
|
.filter((e) => e != null)
|
|
4915
4915
|
.map((entry) => {
|
|
4916
|
-
return
|
|
4916
|
+
return de_Tag(entry, context);
|
|
4917
4917
|
});
|
|
4918
4918
|
};
|
|
4919
|
-
const
|
|
4919
|
+
const de_TagResourceOutput = (output, context) => {
|
|
4920
4920
|
const contents = {};
|
|
4921
4921
|
return contents;
|
|
4922
4922
|
};
|
|
4923
|
-
const
|
|
4923
|
+
const de_Timestamps = (output, context) => {
|
|
4924
4924
|
return (output || [])
|
|
4925
4925
|
.filter((e) => e != null)
|
|
4926
4926
|
.map((entry) => {
|
|
4927
4927
|
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(entry));
|
|
4928
4928
|
});
|
|
4929
4929
|
};
|
|
4930
|
-
const
|
|
4930
|
+
const de_UntagResourceOutput = (output, context) => {
|
|
4931
4931
|
const contents = {};
|
|
4932
4932
|
return contents;
|
|
4933
4933
|
};
|