@aws-sdk/client-cloudwatch 3.476.0 → 3.477.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/protocols/Aws_query.js +1242 -1039
- package/dist-es/protocols/Aws_query.js +1242 -1039
- package/package.json +4 -4
|
@@ -12,8 +12,8 @@ const se_DeleteAlarmsCommand = async (input, context) => {
|
|
|
12
12
|
let body;
|
|
13
13
|
body = buildFormUrlencodedString({
|
|
14
14
|
...se_DeleteAlarmsInput(input, context),
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
[_A]: _DA,
|
|
16
|
+
[_V]: _,
|
|
17
17
|
});
|
|
18
18
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
19
19
|
};
|
|
@@ -23,8 +23,8 @@ const se_DeleteAnomalyDetectorCommand = async (input, context) => {
|
|
|
23
23
|
let body;
|
|
24
24
|
body = buildFormUrlencodedString({
|
|
25
25
|
...se_DeleteAnomalyDetectorInput(input, context),
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
[_A]: _DAD,
|
|
27
|
+
[_V]: _,
|
|
28
28
|
});
|
|
29
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
30
|
};
|
|
@@ -34,8 +34,8 @@ const se_DeleteDashboardsCommand = async (input, context) => {
|
|
|
34
34
|
let body;
|
|
35
35
|
body = buildFormUrlencodedString({
|
|
36
36
|
...se_DeleteDashboardsInput(input, context),
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
[_A]: _DD,
|
|
38
|
+
[_V]: _,
|
|
39
39
|
});
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
@@ -45,8 +45,8 @@ const se_DeleteInsightRulesCommand = async (input, context) => {
|
|
|
45
45
|
let body;
|
|
46
46
|
body = buildFormUrlencodedString({
|
|
47
47
|
...se_DeleteInsightRulesInput(input, context),
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
[_A]: _DIR,
|
|
49
|
+
[_V]: _,
|
|
50
50
|
});
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
@@ -56,8 +56,8 @@ const se_DeleteMetricStreamCommand = async (input, context) => {
|
|
|
56
56
|
let body;
|
|
57
57
|
body = buildFormUrlencodedString({
|
|
58
58
|
...se_DeleteMetricStreamInput(input, context),
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
[_A]: _DMS,
|
|
60
|
+
[_V]: _,
|
|
61
61
|
});
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
@@ -67,8 +67,8 @@ const se_DescribeAlarmHistoryCommand = async (input, context) => {
|
|
|
67
67
|
let body;
|
|
68
68
|
body = buildFormUrlencodedString({
|
|
69
69
|
...se_DescribeAlarmHistoryInput(input, context),
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
[_A]: _DAH,
|
|
71
|
+
[_V]: _,
|
|
72
72
|
});
|
|
73
73
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
74
74
|
};
|
|
@@ -78,8 +78,8 @@ const se_DescribeAlarmsCommand = async (input, context) => {
|
|
|
78
78
|
let body;
|
|
79
79
|
body = buildFormUrlencodedString({
|
|
80
80
|
...se_DescribeAlarmsInput(input, context),
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
[_A]: _DAe,
|
|
82
|
+
[_V]: _,
|
|
83
83
|
});
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
@@ -89,8 +89,8 @@ const se_DescribeAlarmsForMetricCommand = async (input, context) => {
|
|
|
89
89
|
let body;
|
|
90
90
|
body = buildFormUrlencodedString({
|
|
91
91
|
...se_DescribeAlarmsForMetricInput(input, context),
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
[_A]: _DAFM,
|
|
93
|
+
[_V]: _,
|
|
94
94
|
});
|
|
95
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
96
|
};
|
|
@@ -100,8 +100,8 @@ const se_DescribeAnomalyDetectorsCommand = async (input, context) => {
|
|
|
100
100
|
let body;
|
|
101
101
|
body = buildFormUrlencodedString({
|
|
102
102
|
...se_DescribeAnomalyDetectorsInput(input, context),
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
[_A]: _DADe,
|
|
104
|
+
[_V]: _,
|
|
105
105
|
});
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
@@ -111,8 +111,8 @@ const se_DescribeInsightRulesCommand = async (input, context) => {
|
|
|
111
111
|
let body;
|
|
112
112
|
body = buildFormUrlencodedString({
|
|
113
113
|
...se_DescribeInsightRulesInput(input, context),
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
[_A]: _DIRe,
|
|
115
|
+
[_V]: _,
|
|
116
116
|
});
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
@@ -122,8 +122,8 @@ const se_DisableAlarmActionsCommand = async (input, context) => {
|
|
|
122
122
|
let body;
|
|
123
123
|
body = buildFormUrlencodedString({
|
|
124
124
|
...se_DisableAlarmActionsInput(input, context),
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
[_A]: _DAA,
|
|
126
|
+
[_V]: _,
|
|
127
127
|
});
|
|
128
128
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
129
129
|
};
|
|
@@ -133,8 +133,8 @@ const se_DisableInsightRulesCommand = async (input, context) => {
|
|
|
133
133
|
let body;
|
|
134
134
|
body = buildFormUrlencodedString({
|
|
135
135
|
...se_DisableInsightRulesInput(input, context),
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
[_A]: _DIRi,
|
|
137
|
+
[_V]: _,
|
|
138
138
|
});
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
@@ -144,8 +144,8 @@ const se_EnableAlarmActionsCommand = async (input, context) => {
|
|
|
144
144
|
let body;
|
|
145
145
|
body = buildFormUrlencodedString({
|
|
146
146
|
...se_EnableAlarmActionsInput(input, context),
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
[_A]: _EAA,
|
|
148
|
+
[_V]: _,
|
|
149
149
|
});
|
|
150
150
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
151
151
|
};
|
|
@@ -155,8 +155,8 @@ const se_EnableInsightRulesCommand = async (input, context) => {
|
|
|
155
155
|
let body;
|
|
156
156
|
body = buildFormUrlencodedString({
|
|
157
157
|
...se_EnableInsightRulesInput(input, context),
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
[_A]: _EIR,
|
|
159
|
+
[_V]: _,
|
|
160
160
|
});
|
|
161
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
162
|
};
|
|
@@ -166,8 +166,8 @@ const se_GetDashboardCommand = async (input, context) => {
|
|
|
166
166
|
let body;
|
|
167
167
|
body = buildFormUrlencodedString({
|
|
168
168
|
...se_GetDashboardInput(input, context),
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
[_A]: _GD,
|
|
170
|
+
[_V]: _,
|
|
171
171
|
});
|
|
172
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
173
|
};
|
|
@@ -177,8 +177,8 @@ const se_GetInsightRuleReportCommand = async (input, context) => {
|
|
|
177
177
|
let body;
|
|
178
178
|
body = buildFormUrlencodedString({
|
|
179
179
|
...se_GetInsightRuleReportInput(input, context),
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
[_A]: _GIRR,
|
|
181
|
+
[_V]: _,
|
|
182
182
|
});
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
@@ -188,8 +188,8 @@ const se_GetMetricDataCommand = async (input, context) => {
|
|
|
188
188
|
let body;
|
|
189
189
|
body = buildFormUrlencodedString({
|
|
190
190
|
...se_GetMetricDataInput(input, context),
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
[_A]: _GMD,
|
|
192
|
+
[_V]: _,
|
|
193
193
|
});
|
|
194
194
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
195
195
|
};
|
|
@@ -199,8 +199,8 @@ const se_GetMetricStatisticsCommand = async (input, context) => {
|
|
|
199
199
|
let body;
|
|
200
200
|
body = buildFormUrlencodedString({
|
|
201
201
|
...se_GetMetricStatisticsInput(input, context),
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
[_A]: _GMS,
|
|
203
|
+
[_V]: _,
|
|
204
204
|
});
|
|
205
205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
206
206
|
};
|
|
@@ -210,8 +210,8 @@ const se_GetMetricStreamCommand = async (input, context) => {
|
|
|
210
210
|
let body;
|
|
211
211
|
body = buildFormUrlencodedString({
|
|
212
212
|
...se_GetMetricStreamInput(input, context),
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
[_A]: _GMSe,
|
|
214
|
+
[_V]: _,
|
|
215
215
|
});
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
@@ -221,8 +221,8 @@ const se_GetMetricWidgetImageCommand = async (input, context) => {
|
|
|
221
221
|
let body;
|
|
222
222
|
body = buildFormUrlencodedString({
|
|
223
223
|
...se_GetMetricWidgetImageInput(input, context),
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
[_A]: _GMWI,
|
|
225
|
+
[_V]: _,
|
|
226
226
|
});
|
|
227
227
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
228
|
};
|
|
@@ -232,8 +232,8 @@ const se_ListDashboardsCommand = async (input, context) => {
|
|
|
232
232
|
let body;
|
|
233
233
|
body = buildFormUrlencodedString({
|
|
234
234
|
...se_ListDashboardsInput(input, context),
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
[_A]: _LD,
|
|
236
|
+
[_V]: _,
|
|
237
237
|
});
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
@@ -243,8 +243,8 @@ const se_ListManagedInsightRulesCommand = async (input, context) => {
|
|
|
243
243
|
let body;
|
|
244
244
|
body = buildFormUrlencodedString({
|
|
245
245
|
...se_ListManagedInsightRulesInput(input, context),
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
[_A]: _LMIR,
|
|
247
|
+
[_V]: _,
|
|
248
248
|
});
|
|
249
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
250
|
};
|
|
@@ -254,8 +254,8 @@ const se_ListMetricsCommand = async (input, context) => {
|
|
|
254
254
|
let body;
|
|
255
255
|
body = buildFormUrlencodedString({
|
|
256
256
|
...se_ListMetricsInput(input, context),
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
[_A]: _LM,
|
|
258
|
+
[_V]: _,
|
|
259
259
|
});
|
|
260
260
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
261
261
|
};
|
|
@@ -265,8 +265,8 @@ const se_ListMetricStreamsCommand = async (input, context) => {
|
|
|
265
265
|
let body;
|
|
266
266
|
body = buildFormUrlencodedString({
|
|
267
267
|
...se_ListMetricStreamsInput(input, context),
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
[_A]: _LMS,
|
|
269
|
+
[_V]: _,
|
|
270
270
|
});
|
|
271
271
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
272
272
|
};
|
|
@@ -276,8 +276,8 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
276
276
|
let body;
|
|
277
277
|
body = buildFormUrlencodedString({
|
|
278
278
|
...se_ListTagsForResourceInput(input, context),
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
[_A]: _LTFR,
|
|
280
|
+
[_V]: _,
|
|
281
281
|
});
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
@@ -287,8 +287,8 @@ const se_PutAnomalyDetectorCommand = async (input, context) => {
|
|
|
287
287
|
let body;
|
|
288
288
|
body = buildFormUrlencodedString({
|
|
289
289
|
...se_PutAnomalyDetectorInput(input, context),
|
|
290
|
-
|
|
291
|
-
|
|
290
|
+
[_A]: _PAD,
|
|
291
|
+
[_V]: _,
|
|
292
292
|
});
|
|
293
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
294
|
};
|
|
@@ -298,8 +298,8 @@ const se_PutCompositeAlarmCommand = async (input, context) => {
|
|
|
298
298
|
let body;
|
|
299
299
|
body = buildFormUrlencodedString({
|
|
300
300
|
...se_PutCompositeAlarmInput(input, context),
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
[_A]: _PCA,
|
|
302
|
+
[_V]: _,
|
|
303
303
|
});
|
|
304
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
305
|
};
|
|
@@ -309,8 +309,8 @@ const se_PutDashboardCommand = async (input, context) => {
|
|
|
309
309
|
let body;
|
|
310
310
|
body = buildFormUrlencodedString({
|
|
311
311
|
...se_PutDashboardInput(input, context),
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
[_A]: _PD,
|
|
313
|
+
[_V]: _,
|
|
314
314
|
});
|
|
315
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
316
|
};
|
|
@@ -320,8 +320,8 @@ const se_PutInsightRuleCommand = async (input, context) => {
|
|
|
320
320
|
let body;
|
|
321
321
|
body = buildFormUrlencodedString({
|
|
322
322
|
...se_PutInsightRuleInput(input, context),
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
[_A]: _PIR,
|
|
324
|
+
[_V]: _,
|
|
325
325
|
});
|
|
326
326
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
327
|
};
|
|
@@ -331,8 +331,8 @@ const se_PutManagedInsightRulesCommand = async (input, context) => {
|
|
|
331
331
|
let body;
|
|
332
332
|
body = buildFormUrlencodedString({
|
|
333
333
|
...se_PutManagedInsightRulesInput(input, context),
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
[_A]: _PMIR,
|
|
335
|
+
[_V]: _,
|
|
336
336
|
});
|
|
337
337
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
338
|
};
|
|
@@ -342,8 +342,8 @@ const se_PutMetricAlarmCommand = async (input, context) => {
|
|
|
342
342
|
let body;
|
|
343
343
|
body = buildFormUrlencodedString({
|
|
344
344
|
...se_PutMetricAlarmInput(input, context),
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
[_A]: _PMA,
|
|
346
|
+
[_V]: _,
|
|
347
347
|
});
|
|
348
348
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
349
349
|
};
|
|
@@ -353,8 +353,8 @@ const se_PutMetricDataCommand = async (input, context) => {
|
|
|
353
353
|
let body;
|
|
354
354
|
body = buildFormUrlencodedString({
|
|
355
355
|
...se_PutMetricDataInput(input, context),
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
[_A]: _PMD,
|
|
357
|
+
[_V]: _,
|
|
358
358
|
});
|
|
359
359
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
360
|
};
|
|
@@ -364,8 +364,8 @@ const se_PutMetricStreamCommand = async (input, context) => {
|
|
|
364
364
|
let body;
|
|
365
365
|
body = buildFormUrlencodedString({
|
|
366
366
|
...se_PutMetricStreamInput(input, context),
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
[_A]: _PMS,
|
|
368
|
+
[_V]: _,
|
|
369
369
|
});
|
|
370
370
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
371
|
};
|
|
@@ -375,8 +375,8 @@ const se_SetAlarmStateCommand = async (input, context) => {
|
|
|
375
375
|
let body;
|
|
376
376
|
body = buildFormUrlencodedString({
|
|
377
377
|
...se_SetAlarmStateInput(input, context),
|
|
378
|
-
|
|
379
|
-
|
|
378
|
+
[_A]: _SAS,
|
|
379
|
+
[_V]: _,
|
|
380
380
|
});
|
|
381
381
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
382
|
};
|
|
@@ -386,8 +386,8 @@ const se_StartMetricStreamsCommand = async (input, context) => {
|
|
|
386
386
|
let body;
|
|
387
387
|
body = buildFormUrlencodedString({
|
|
388
388
|
...se_StartMetricStreamsInput(input, context),
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
[_A]: _SMS,
|
|
390
|
+
[_V]: _,
|
|
391
391
|
});
|
|
392
392
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
393
393
|
};
|
|
@@ -397,8 +397,8 @@ const se_StopMetricStreamsCommand = async (input, context) => {
|
|
|
397
397
|
let body;
|
|
398
398
|
body = buildFormUrlencodedString({
|
|
399
399
|
...se_StopMetricStreamsInput(input, context),
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
[_A]: _SMSt,
|
|
401
|
+
[_V]: _,
|
|
402
402
|
});
|
|
403
403
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
404
404
|
};
|
|
@@ -408,8 +408,8 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
408
408
|
let body;
|
|
409
409
|
body = buildFormUrlencodedString({
|
|
410
410
|
...se_TagResourceInput(input, context),
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
[_A]: _TR,
|
|
412
|
+
[_V]: _,
|
|
413
413
|
});
|
|
414
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
415
415
|
};
|
|
@@ -419,8 +419,8 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
419
419
|
let body;
|
|
420
420
|
body = buildFormUrlencodedString({
|
|
421
421
|
...se_UntagResourceInput(input, context),
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
[_A]: _UR,
|
|
423
|
+
[_V]: _,
|
|
424
424
|
});
|
|
425
425
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
426
426
|
};
|
|
@@ -1960,9 +1960,9 @@ const se_AlarmTypes = (input, context) => {
|
|
|
1960
1960
|
};
|
|
1961
1961
|
const se_AnomalyDetectorConfiguration = (input, context) => {
|
|
1962
1962
|
const entries = {};
|
|
1963
|
-
if (input
|
|
1964
|
-
const memberEntries = se_AnomalyDetectorExcludedTimeRanges(input
|
|
1965
|
-
if (input
|
|
1963
|
+
if (input[_ETR] != null) {
|
|
1964
|
+
const memberEntries = se_AnomalyDetectorExcludedTimeRanges(input[_ETR], context);
|
|
1965
|
+
if (input[_ETR]?.length === 0) {
|
|
1966
1966
|
entries.ExcludedTimeRanges = [];
|
|
1967
1967
|
}
|
|
1968
1968
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -1970,8 +1970,8 @@ const se_AnomalyDetectorConfiguration = (input, context) => {
|
|
|
1970
1970
|
entries[loc] = value;
|
|
1971
1971
|
});
|
|
1972
1972
|
}
|
|
1973
|
-
if (input
|
|
1974
|
-
entries[
|
|
1973
|
+
if (input[_MT] != null) {
|
|
1974
|
+
entries[_MT] = input[_MT];
|
|
1975
1975
|
}
|
|
1976
1976
|
return entries;
|
|
1977
1977
|
};
|
|
@@ -2028,9 +2028,9 @@ const se_DashboardNames = (input, context) => {
|
|
|
2028
2028
|
};
|
|
2029
2029
|
const se_DeleteAlarmsInput = (input, context) => {
|
|
2030
2030
|
const entries = {};
|
|
2031
|
-
if (input
|
|
2032
|
-
const memberEntries = se_AlarmNames(input
|
|
2033
|
-
if (input
|
|
2031
|
+
if (input[_AN] != null) {
|
|
2032
|
+
const memberEntries = se_AlarmNames(input[_AN], context);
|
|
2033
|
+
if (input[_AN]?.length === 0) {
|
|
2034
2034
|
entries.AlarmNames = [];
|
|
2035
2035
|
}
|
|
2036
2036
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2042,15 +2042,15 @@ const se_DeleteAlarmsInput = (input, context) => {
|
|
|
2042
2042
|
};
|
|
2043
2043
|
const se_DeleteAnomalyDetectorInput = (input, context) => {
|
|
2044
2044
|
const entries = {};
|
|
2045
|
-
if (input
|
|
2046
|
-
entries[
|
|
2045
|
+
if (input[_N] != null) {
|
|
2046
|
+
entries[_N] = input[_N];
|
|
2047
2047
|
}
|
|
2048
|
-
if (input
|
|
2049
|
-
entries[
|
|
2048
|
+
if (input[_MN] != null) {
|
|
2049
|
+
entries[_MN] = input[_MN];
|
|
2050
2050
|
}
|
|
2051
|
-
if (input
|
|
2052
|
-
const memberEntries = se_Dimensions(input
|
|
2053
|
-
if (input
|
|
2051
|
+
if (input[_D] != null) {
|
|
2052
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
2053
|
+
if (input[_D]?.length === 0) {
|
|
2054
2054
|
entries.Dimensions = [];
|
|
2055
2055
|
}
|
|
2056
2056
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2058,18 +2058,18 @@ const se_DeleteAnomalyDetectorInput = (input, context) => {
|
|
|
2058
2058
|
entries[loc] = value;
|
|
2059
2059
|
});
|
|
2060
2060
|
}
|
|
2061
|
-
if (input
|
|
2062
|
-
entries[
|
|
2061
|
+
if (input[_S] != null) {
|
|
2062
|
+
entries[_S] = input[_S];
|
|
2063
2063
|
}
|
|
2064
|
-
if (input
|
|
2065
|
-
const memberEntries = se_SingleMetricAnomalyDetector(input
|
|
2064
|
+
if (input[_SMAD] != null) {
|
|
2065
|
+
const memberEntries = se_SingleMetricAnomalyDetector(input[_SMAD], context);
|
|
2066
2066
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2067
2067
|
const loc = `SingleMetricAnomalyDetector.${key}`;
|
|
2068
2068
|
entries[loc] = value;
|
|
2069
2069
|
});
|
|
2070
2070
|
}
|
|
2071
|
-
if (input
|
|
2072
|
-
const memberEntries = se_MetricMathAnomalyDetector(input
|
|
2071
|
+
if (input[_MMAD] != null) {
|
|
2072
|
+
const memberEntries = se_MetricMathAnomalyDetector(input[_MMAD], context);
|
|
2073
2073
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2074
2074
|
const loc = `MetricMathAnomalyDetector.${key}`;
|
|
2075
2075
|
entries[loc] = value;
|
|
@@ -2079,9 +2079,9 @@ const se_DeleteAnomalyDetectorInput = (input, context) => {
|
|
|
2079
2079
|
};
|
|
2080
2080
|
const se_DeleteDashboardsInput = (input, context) => {
|
|
2081
2081
|
const entries = {};
|
|
2082
|
-
if (input
|
|
2083
|
-
const memberEntries = se_DashboardNames(input
|
|
2084
|
-
if (input
|
|
2082
|
+
if (input[_DN] != null) {
|
|
2083
|
+
const memberEntries = se_DashboardNames(input[_DN], context);
|
|
2084
|
+
if (input[_DN]?.length === 0) {
|
|
2085
2085
|
entries.DashboardNames = [];
|
|
2086
2086
|
}
|
|
2087
2087
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2093,9 +2093,9 @@ const se_DeleteDashboardsInput = (input, context) => {
|
|
|
2093
2093
|
};
|
|
2094
2094
|
const se_DeleteInsightRulesInput = (input, context) => {
|
|
2095
2095
|
const entries = {};
|
|
2096
|
-
if (input
|
|
2097
|
-
const memberEntries = se_InsightRuleNames(input
|
|
2098
|
-
if (input
|
|
2096
|
+
if (input[_RN] != null) {
|
|
2097
|
+
const memberEntries = se_InsightRuleNames(input[_RN], context);
|
|
2098
|
+
if (input[_RN]?.length === 0) {
|
|
2099
2099
|
entries.RuleNames = [];
|
|
2100
2100
|
}
|
|
2101
2101
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2107,19 +2107,19 @@ const se_DeleteInsightRulesInput = (input, context) => {
|
|
|
2107
2107
|
};
|
|
2108
2108
|
const se_DeleteMetricStreamInput = (input, context) => {
|
|
2109
2109
|
const entries = {};
|
|
2110
|
-
if (input
|
|
2111
|
-
entries[
|
|
2110
|
+
if (input[_Na] != null) {
|
|
2111
|
+
entries[_Na] = input[_Na];
|
|
2112
2112
|
}
|
|
2113
2113
|
return entries;
|
|
2114
2114
|
};
|
|
2115
2115
|
const se_DescribeAlarmHistoryInput = (input, context) => {
|
|
2116
2116
|
const entries = {};
|
|
2117
|
-
if (input
|
|
2118
|
-
entries[
|
|
2117
|
+
if (input[_ANl] != null) {
|
|
2118
|
+
entries[_ANl] = input[_ANl];
|
|
2119
2119
|
}
|
|
2120
|
-
if (input
|
|
2121
|
-
const memberEntries = se_AlarmTypes(input
|
|
2122
|
-
if (input
|
|
2120
|
+
if (input[_AT] != null) {
|
|
2121
|
+
const memberEntries = se_AlarmTypes(input[_AT], context);
|
|
2122
|
+
if (input[_AT]?.length === 0) {
|
|
2123
2123
|
entries.AlarmTypes = [];
|
|
2124
2124
|
}
|
|
2125
2125
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2127,43 +2127,43 @@ const se_DescribeAlarmHistoryInput = (input, context) => {
|
|
|
2127
2127
|
entries[loc] = value;
|
|
2128
2128
|
});
|
|
2129
2129
|
}
|
|
2130
|
-
if (input
|
|
2131
|
-
entries[
|
|
2130
|
+
if (input[_HIT] != null) {
|
|
2131
|
+
entries[_HIT] = input[_HIT];
|
|
2132
2132
|
}
|
|
2133
|
-
if (input
|
|
2134
|
-
entries[
|
|
2133
|
+
if (input[_SD] != null) {
|
|
2134
|
+
entries[_SD] = input[_SD].toISOString().split(".")[0] + "Z";
|
|
2135
2135
|
}
|
|
2136
|
-
if (input
|
|
2137
|
-
entries[
|
|
2136
|
+
if (input[_ED] != null) {
|
|
2137
|
+
entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z";
|
|
2138
2138
|
}
|
|
2139
|
-
if (input
|
|
2140
|
-
entries[
|
|
2139
|
+
if (input[_MR] != null) {
|
|
2140
|
+
entries[_MR] = input[_MR];
|
|
2141
2141
|
}
|
|
2142
|
-
if (input
|
|
2143
|
-
entries[
|
|
2142
|
+
if (input[_NT] != null) {
|
|
2143
|
+
entries[_NT] = input[_NT];
|
|
2144
2144
|
}
|
|
2145
|
-
if (input
|
|
2146
|
-
entries[
|
|
2145
|
+
if (input[_SB] != null) {
|
|
2146
|
+
entries[_SB] = input[_SB];
|
|
2147
2147
|
}
|
|
2148
2148
|
return entries;
|
|
2149
2149
|
};
|
|
2150
2150
|
const se_DescribeAlarmsForMetricInput = (input, context) => {
|
|
2151
2151
|
const entries = {};
|
|
2152
|
-
if (input
|
|
2153
|
-
entries[
|
|
2152
|
+
if (input[_MN] != null) {
|
|
2153
|
+
entries[_MN] = input[_MN];
|
|
2154
2154
|
}
|
|
2155
|
-
if (input
|
|
2156
|
-
entries[
|
|
2155
|
+
if (input[_N] != null) {
|
|
2156
|
+
entries[_N] = input[_N];
|
|
2157
2157
|
}
|
|
2158
|
-
if (input
|
|
2159
|
-
entries[
|
|
2158
|
+
if (input[_St] != null) {
|
|
2159
|
+
entries[_St] = input[_St];
|
|
2160
2160
|
}
|
|
2161
|
-
if (input
|
|
2162
|
-
entries[
|
|
2161
|
+
if (input[_ES] != null) {
|
|
2162
|
+
entries[_ES] = input[_ES];
|
|
2163
2163
|
}
|
|
2164
|
-
if (input
|
|
2165
|
-
const memberEntries = se_Dimensions(input
|
|
2166
|
-
if (input
|
|
2164
|
+
if (input[_D] != null) {
|
|
2165
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
2166
|
+
if (input[_D]?.length === 0) {
|
|
2167
2167
|
entries.Dimensions = [];
|
|
2168
2168
|
}
|
|
2169
2169
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2171,19 +2171,19 @@ const se_DescribeAlarmsForMetricInput = (input, context) => {
|
|
|
2171
2171
|
entries[loc] = value;
|
|
2172
2172
|
});
|
|
2173
2173
|
}
|
|
2174
|
-
if (input
|
|
2175
|
-
entries[
|
|
2174
|
+
if (input[_P] != null) {
|
|
2175
|
+
entries[_P] = input[_P];
|
|
2176
2176
|
}
|
|
2177
|
-
if (input
|
|
2178
|
-
entries[
|
|
2177
|
+
if (input[_U] != null) {
|
|
2178
|
+
entries[_U] = input[_U];
|
|
2179
2179
|
}
|
|
2180
2180
|
return entries;
|
|
2181
2181
|
};
|
|
2182
2182
|
const se_DescribeAlarmsInput = (input, context) => {
|
|
2183
2183
|
const entries = {};
|
|
2184
|
-
if (input
|
|
2185
|
-
const memberEntries = se_AlarmNames(input
|
|
2186
|
-
if (input
|
|
2184
|
+
if (input[_AN] != null) {
|
|
2185
|
+
const memberEntries = se_AlarmNames(input[_AN], context);
|
|
2186
|
+
if (input[_AN]?.length === 0) {
|
|
2187
2187
|
entries.AlarmNames = [];
|
|
2188
2188
|
}
|
|
2189
2189
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2191,12 +2191,12 @@ const se_DescribeAlarmsInput = (input, context) => {
|
|
|
2191
2191
|
entries[loc] = value;
|
|
2192
2192
|
});
|
|
2193
2193
|
}
|
|
2194
|
-
if (input
|
|
2195
|
-
entries[
|
|
2194
|
+
if (input[_ANP] != null) {
|
|
2195
|
+
entries[_ANP] = input[_ANP];
|
|
2196
2196
|
}
|
|
2197
|
-
if (input
|
|
2198
|
-
const memberEntries = se_AlarmTypes(input
|
|
2199
|
-
if (input
|
|
2197
|
+
if (input[_AT] != null) {
|
|
2198
|
+
const memberEntries = se_AlarmTypes(input[_AT], context);
|
|
2199
|
+
if (input[_AT]?.length === 0) {
|
|
2200
2200
|
entries.AlarmTypes = [];
|
|
2201
2201
|
}
|
|
2202
2202
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2204,43 +2204,43 @@ const se_DescribeAlarmsInput = (input, context) => {
|
|
|
2204
2204
|
entries[loc] = value;
|
|
2205
2205
|
});
|
|
2206
2206
|
}
|
|
2207
|
-
if (input
|
|
2208
|
-
entries[
|
|
2207
|
+
if (input[_COAN] != null) {
|
|
2208
|
+
entries[_COAN] = input[_COAN];
|
|
2209
2209
|
}
|
|
2210
|
-
if (input
|
|
2211
|
-
entries[
|
|
2210
|
+
if (input[_POAN] != null) {
|
|
2211
|
+
entries[_POAN] = input[_POAN];
|
|
2212
2212
|
}
|
|
2213
|
-
if (input
|
|
2214
|
-
entries[
|
|
2213
|
+
if (input[_SV] != null) {
|
|
2214
|
+
entries[_SV] = input[_SV];
|
|
2215
2215
|
}
|
|
2216
|
-
if (input
|
|
2217
|
-
entries[
|
|
2216
|
+
if (input[_AP] != null) {
|
|
2217
|
+
entries[_AP] = input[_AP];
|
|
2218
2218
|
}
|
|
2219
|
-
if (input
|
|
2220
|
-
entries[
|
|
2219
|
+
if (input[_MR] != null) {
|
|
2220
|
+
entries[_MR] = input[_MR];
|
|
2221
2221
|
}
|
|
2222
|
-
if (input
|
|
2223
|
-
entries[
|
|
2222
|
+
if (input[_NT] != null) {
|
|
2223
|
+
entries[_NT] = input[_NT];
|
|
2224
2224
|
}
|
|
2225
2225
|
return entries;
|
|
2226
2226
|
};
|
|
2227
2227
|
const se_DescribeAnomalyDetectorsInput = (input, context) => {
|
|
2228
2228
|
const entries = {};
|
|
2229
|
-
if (input
|
|
2230
|
-
entries[
|
|
2229
|
+
if (input[_NT] != null) {
|
|
2230
|
+
entries[_NT] = input[_NT];
|
|
2231
2231
|
}
|
|
2232
|
-
if (input
|
|
2233
|
-
entries[
|
|
2232
|
+
if (input[_MRa] != null) {
|
|
2233
|
+
entries[_MRa] = input[_MRa];
|
|
2234
2234
|
}
|
|
2235
|
-
if (input
|
|
2236
|
-
entries[
|
|
2235
|
+
if (input[_N] != null) {
|
|
2236
|
+
entries[_N] = input[_N];
|
|
2237
2237
|
}
|
|
2238
|
-
if (input
|
|
2239
|
-
entries[
|
|
2238
|
+
if (input[_MN] != null) {
|
|
2239
|
+
entries[_MN] = input[_MN];
|
|
2240
2240
|
}
|
|
2241
|
-
if (input
|
|
2242
|
-
const memberEntries = se_Dimensions(input
|
|
2243
|
-
if (input
|
|
2241
|
+
if (input[_D] != null) {
|
|
2242
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
2243
|
+
if (input[_D]?.length === 0) {
|
|
2244
2244
|
entries.Dimensions = [];
|
|
2245
2245
|
}
|
|
2246
2246
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2248,9 +2248,9 @@ const se_DescribeAnomalyDetectorsInput = (input, context) => {
|
|
|
2248
2248
|
entries[loc] = value;
|
|
2249
2249
|
});
|
|
2250
2250
|
}
|
|
2251
|
-
if (input
|
|
2252
|
-
const memberEntries = se_AnomalyDetectorTypes(input
|
|
2253
|
-
if (input
|
|
2251
|
+
if (input[_ADT] != null) {
|
|
2252
|
+
const memberEntries = se_AnomalyDetectorTypes(input[_ADT], context);
|
|
2253
|
+
if (input[_ADT]?.length === 0) {
|
|
2254
2254
|
entries.AnomalyDetectorTypes = [];
|
|
2255
2255
|
}
|
|
2256
2256
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2262,31 +2262,31 @@ const se_DescribeAnomalyDetectorsInput = (input, context) => {
|
|
|
2262
2262
|
};
|
|
2263
2263
|
const se_DescribeInsightRulesInput = (input, context) => {
|
|
2264
2264
|
const entries = {};
|
|
2265
|
-
if (input
|
|
2266
|
-
entries[
|
|
2265
|
+
if (input[_NT] != null) {
|
|
2266
|
+
entries[_NT] = input[_NT];
|
|
2267
2267
|
}
|
|
2268
|
-
if (input
|
|
2269
|
-
entries[
|
|
2268
|
+
if (input[_MRa] != null) {
|
|
2269
|
+
entries[_MRa] = input[_MRa];
|
|
2270
2270
|
}
|
|
2271
2271
|
return entries;
|
|
2272
2272
|
};
|
|
2273
2273
|
const se_Dimension = (input, context) => {
|
|
2274
2274
|
const entries = {};
|
|
2275
|
-
if (input
|
|
2276
|
-
entries[
|
|
2275
|
+
if (input[_Na] != null) {
|
|
2276
|
+
entries[_Na] = input[_Na];
|
|
2277
2277
|
}
|
|
2278
|
-
if (input
|
|
2279
|
-
entries[
|
|
2278
|
+
if (input[_Va] != null) {
|
|
2279
|
+
entries[_Va] = input[_Va];
|
|
2280
2280
|
}
|
|
2281
2281
|
return entries;
|
|
2282
2282
|
};
|
|
2283
2283
|
const se_DimensionFilter = (input, context) => {
|
|
2284
2284
|
const entries = {};
|
|
2285
|
-
if (input
|
|
2286
|
-
entries[
|
|
2285
|
+
if (input[_Na] != null) {
|
|
2286
|
+
entries[_Na] = input[_Na];
|
|
2287
2287
|
}
|
|
2288
|
-
if (input
|
|
2289
|
-
entries[
|
|
2288
|
+
if (input[_Va] != null) {
|
|
2289
|
+
entries[_Va] = input[_Va];
|
|
2290
2290
|
}
|
|
2291
2291
|
return entries;
|
|
2292
2292
|
};
|
|
@@ -2322,9 +2322,9 @@ const se_Dimensions = (input, context) => {
|
|
|
2322
2322
|
};
|
|
2323
2323
|
const se_DisableAlarmActionsInput = (input, context) => {
|
|
2324
2324
|
const entries = {};
|
|
2325
|
-
if (input
|
|
2326
|
-
const memberEntries = se_AlarmNames(input
|
|
2327
|
-
if (input
|
|
2325
|
+
if (input[_AN] != null) {
|
|
2326
|
+
const memberEntries = se_AlarmNames(input[_AN], context);
|
|
2327
|
+
if (input[_AN]?.length === 0) {
|
|
2328
2328
|
entries.AlarmNames = [];
|
|
2329
2329
|
}
|
|
2330
2330
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2336,9 +2336,9 @@ const se_DisableAlarmActionsInput = (input, context) => {
|
|
|
2336
2336
|
};
|
|
2337
2337
|
const se_DisableInsightRulesInput = (input, context) => {
|
|
2338
2338
|
const entries = {};
|
|
2339
|
-
if (input
|
|
2340
|
-
const memberEntries = se_InsightRuleNames(input
|
|
2341
|
-
if (input
|
|
2339
|
+
if (input[_RN] != null) {
|
|
2340
|
+
const memberEntries = se_InsightRuleNames(input[_RN], context);
|
|
2341
|
+
if (input[_RN]?.length === 0) {
|
|
2342
2342
|
entries.RuleNames = [];
|
|
2343
2343
|
}
|
|
2344
2344
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2350,9 +2350,9 @@ const se_DisableInsightRulesInput = (input, context) => {
|
|
|
2350
2350
|
};
|
|
2351
2351
|
const se_EnableAlarmActionsInput = (input, context) => {
|
|
2352
2352
|
const entries = {};
|
|
2353
|
-
if (input
|
|
2354
|
-
const memberEntries = se_AlarmNames(input
|
|
2355
|
-
if (input
|
|
2353
|
+
if (input[_AN] != null) {
|
|
2354
|
+
const memberEntries = se_AlarmNames(input[_AN], context);
|
|
2355
|
+
if (input[_AN]?.length === 0) {
|
|
2356
2356
|
entries.AlarmNames = [];
|
|
2357
2357
|
}
|
|
2358
2358
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2364,9 +2364,9 @@ const se_EnableAlarmActionsInput = (input, context) => {
|
|
|
2364
2364
|
};
|
|
2365
2365
|
const se_EnableInsightRulesInput = (input, context) => {
|
|
2366
2366
|
const entries = {};
|
|
2367
|
-
if (input
|
|
2368
|
-
const memberEntries = se_InsightRuleNames(input
|
|
2369
|
-
if (input
|
|
2367
|
+
if (input[_RN] != null) {
|
|
2368
|
+
const memberEntries = se_InsightRuleNames(input[_RN], context);
|
|
2369
|
+
if (input[_RN]?.length === 0) {
|
|
2370
2370
|
entries.RuleNames = [];
|
|
2371
2371
|
}
|
|
2372
2372
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2390,31 +2390,31 @@ const se_ExtendedStatistics = (input, context) => {
|
|
|
2390
2390
|
};
|
|
2391
2391
|
const se_GetDashboardInput = (input, context) => {
|
|
2392
2392
|
const entries = {};
|
|
2393
|
-
if (input
|
|
2394
|
-
entries[
|
|
2393
|
+
if (input[_DNa] != null) {
|
|
2394
|
+
entries[_DNa] = input[_DNa];
|
|
2395
2395
|
}
|
|
2396
2396
|
return entries;
|
|
2397
2397
|
};
|
|
2398
2398
|
const se_GetInsightRuleReportInput = (input, context) => {
|
|
2399
2399
|
const entries = {};
|
|
2400
|
-
if (input
|
|
2401
|
-
entries[
|
|
2400
|
+
if (input[_RNu] != null) {
|
|
2401
|
+
entries[_RNu] = input[_RNu];
|
|
2402
2402
|
}
|
|
2403
|
-
if (input
|
|
2404
|
-
entries[
|
|
2403
|
+
if (input[_ST] != null) {
|
|
2404
|
+
entries[_ST] = input[_ST].toISOString().split(".")[0] + "Z";
|
|
2405
2405
|
}
|
|
2406
|
-
if (input
|
|
2407
|
-
entries[
|
|
2406
|
+
if (input[_ET] != null) {
|
|
2407
|
+
entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
|
|
2408
2408
|
}
|
|
2409
|
-
if (input
|
|
2410
|
-
entries[
|
|
2409
|
+
if (input[_P] != null) {
|
|
2410
|
+
entries[_P] = input[_P];
|
|
2411
2411
|
}
|
|
2412
|
-
if (input
|
|
2413
|
-
entries[
|
|
2412
|
+
if (input[_MCC] != null) {
|
|
2413
|
+
entries[_MCC] = input[_MCC];
|
|
2414
2414
|
}
|
|
2415
|
-
if (input
|
|
2416
|
-
const memberEntries = se_InsightRuleMetricList(input
|
|
2417
|
-
if (input
|
|
2415
|
+
if (input[_M] != null) {
|
|
2416
|
+
const memberEntries = se_InsightRuleMetricList(input[_M], context);
|
|
2417
|
+
if (input[_M]?.length === 0) {
|
|
2418
2418
|
entries.Metrics = [];
|
|
2419
2419
|
}
|
|
2420
2420
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2422,16 +2422,16 @@ const se_GetInsightRuleReportInput = (input, context) => {
|
|
|
2422
2422
|
entries[loc] = value;
|
|
2423
2423
|
});
|
|
2424
2424
|
}
|
|
2425
|
-
if (input
|
|
2426
|
-
entries[
|
|
2425
|
+
if (input[_OB] != null) {
|
|
2426
|
+
entries[_OB] = input[_OB];
|
|
2427
2427
|
}
|
|
2428
2428
|
return entries;
|
|
2429
2429
|
};
|
|
2430
2430
|
const se_GetMetricDataInput = (input, context) => {
|
|
2431
2431
|
const entries = {};
|
|
2432
|
-
if (input
|
|
2433
|
-
const memberEntries = se_MetricDataQueries(input
|
|
2434
|
-
if (input
|
|
2432
|
+
if (input[_MDQ] != null) {
|
|
2433
|
+
const memberEntries = se_MetricDataQueries(input[_MDQ], context);
|
|
2434
|
+
if (input[_MDQ]?.length === 0) {
|
|
2435
2435
|
entries.MetricDataQueries = [];
|
|
2436
2436
|
}
|
|
2437
2437
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2439,23 +2439,23 @@ const se_GetMetricDataInput = (input, context) => {
|
|
|
2439
2439
|
entries[loc] = value;
|
|
2440
2440
|
});
|
|
2441
2441
|
}
|
|
2442
|
-
if (input
|
|
2443
|
-
entries[
|
|
2442
|
+
if (input[_ST] != null) {
|
|
2443
|
+
entries[_ST] = input[_ST].toISOString().split(".")[0] + "Z";
|
|
2444
2444
|
}
|
|
2445
|
-
if (input
|
|
2446
|
-
entries[
|
|
2445
|
+
if (input[_ET] != null) {
|
|
2446
|
+
entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
|
|
2447
2447
|
}
|
|
2448
|
-
if (input
|
|
2449
|
-
entries[
|
|
2448
|
+
if (input[_NT] != null) {
|
|
2449
|
+
entries[_NT] = input[_NT];
|
|
2450
2450
|
}
|
|
2451
|
-
if (input
|
|
2452
|
-
entries[
|
|
2451
|
+
if (input[_SB] != null) {
|
|
2452
|
+
entries[_SB] = input[_SB];
|
|
2453
2453
|
}
|
|
2454
|
-
if (input
|
|
2455
|
-
entries[
|
|
2454
|
+
if (input[_MD] != null) {
|
|
2455
|
+
entries[_MD] = input[_MD];
|
|
2456
2456
|
}
|
|
2457
|
-
if (input
|
|
2458
|
-
const memberEntries = se_LabelOptions(input
|
|
2457
|
+
if (input[_LO] != null) {
|
|
2458
|
+
const memberEntries = se_LabelOptions(input[_LO], context);
|
|
2459
2459
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2460
2460
|
const loc = `LabelOptions.${key}`;
|
|
2461
2461
|
entries[loc] = value;
|
|
@@ -2465,15 +2465,15 @@ const se_GetMetricDataInput = (input, context) => {
|
|
|
2465
2465
|
};
|
|
2466
2466
|
const se_GetMetricStatisticsInput = (input, context) => {
|
|
2467
2467
|
const entries = {};
|
|
2468
|
-
if (input
|
|
2469
|
-
entries[
|
|
2468
|
+
if (input[_N] != null) {
|
|
2469
|
+
entries[_N] = input[_N];
|
|
2470
2470
|
}
|
|
2471
|
-
if (input
|
|
2472
|
-
entries[
|
|
2471
|
+
if (input[_MN] != null) {
|
|
2472
|
+
entries[_MN] = input[_MN];
|
|
2473
2473
|
}
|
|
2474
|
-
if (input
|
|
2475
|
-
const memberEntries = se_Dimensions(input
|
|
2476
|
-
if (input
|
|
2474
|
+
if (input[_D] != null) {
|
|
2475
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
2476
|
+
if (input[_D]?.length === 0) {
|
|
2477
2477
|
entries.Dimensions = [];
|
|
2478
2478
|
}
|
|
2479
2479
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2481,18 +2481,18 @@ const se_GetMetricStatisticsInput = (input, context) => {
|
|
|
2481
2481
|
entries[loc] = value;
|
|
2482
2482
|
});
|
|
2483
2483
|
}
|
|
2484
|
-
if (input
|
|
2485
|
-
entries[
|
|
2484
|
+
if (input[_ST] != null) {
|
|
2485
|
+
entries[_ST] = input[_ST].toISOString().split(".")[0] + "Z";
|
|
2486
2486
|
}
|
|
2487
|
-
if (input
|
|
2488
|
-
entries[
|
|
2487
|
+
if (input[_ET] != null) {
|
|
2488
|
+
entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
|
|
2489
2489
|
}
|
|
2490
|
-
if (input
|
|
2491
|
-
entries[
|
|
2490
|
+
if (input[_P] != null) {
|
|
2491
|
+
entries[_P] = input[_P];
|
|
2492
2492
|
}
|
|
2493
|
-
if (input
|
|
2494
|
-
const memberEntries = se_Statistics(input
|
|
2495
|
-
if (input
|
|
2493
|
+
if (input[_Sta] != null) {
|
|
2494
|
+
const memberEntries = se_Statistics(input[_Sta], context);
|
|
2495
|
+
if (input[_Sta]?.length === 0) {
|
|
2496
2496
|
entries.Statistics = [];
|
|
2497
2497
|
}
|
|
2498
2498
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2500,9 +2500,9 @@ const se_GetMetricStatisticsInput = (input, context) => {
|
|
|
2500
2500
|
entries[loc] = value;
|
|
2501
2501
|
});
|
|
2502
2502
|
}
|
|
2503
|
-
if (input
|
|
2504
|
-
const memberEntries = se_ExtendedStatistics(input
|
|
2505
|
-
if (input
|
|
2503
|
+
if (input[_ESx] != null) {
|
|
2504
|
+
const memberEntries = se_ExtendedStatistics(input[_ESx], context);
|
|
2505
|
+
if (input[_ESx]?.length === 0) {
|
|
2506
2506
|
entries.ExtendedStatistics = [];
|
|
2507
2507
|
}
|
|
2508
2508
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2510,25 +2510,25 @@ const se_GetMetricStatisticsInput = (input, context) => {
|
|
|
2510
2510
|
entries[loc] = value;
|
|
2511
2511
|
});
|
|
2512
2512
|
}
|
|
2513
|
-
if (input
|
|
2514
|
-
entries[
|
|
2513
|
+
if (input[_U] != null) {
|
|
2514
|
+
entries[_U] = input[_U];
|
|
2515
2515
|
}
|
|
2516
2516
|
return entries;
|
|
2517
2517
|
};
|
|
2518
2518
|
const se_GetMetricStreamInput = (input, context) => {
|
|
2519
2519
|
const entries = {};
|
|
2520
|
-
if (input
|
|
2521
|
-
entries[
|
|
2520
|
+
if (input[_Na] != null) {
|
|
2521
|
+
entries[_Na] = input[_Na];
|
|
2522
2522
|
}
|
|
2523
2523
|
return entries;
|
|
2524
2524
|
};
|
|
2525
2525
|
const se_GetMetricWidgetImageInput = (input, context) => {
|
|
2526
2526
|
const entries = {};
|
|
2527
|
-
if (input
|
|
2528
|
-
entries[
|
|
2527
|
+
if (input[_MW] != null) {
|
|
2528
|
+
entries[_MW] = input[_MW];
|
|
2529
2529
|
}
|
|
2530
|
-
if (input
|
|
2531
|
-
entries[
|
|
2530
|
+
if (input[_OF] != null) {
|
|
2531
|
+
entries[_OF] = input[_OF];
|
|
2532
2532
|
}
|
|
2533
2533
|
return entries;
|
|
2534
2534
|
};
|
|
@@ -2558,45 +2558,45 @@ const se_InsightRuleNames = (input, context) => {
|
|
|
2558
2558
|
};
|
|
2559
2559
|
const se_LabelOptions = (input, context) => {
|
|
2560
2560
|
const entries = {};
|
|
2561
|
-
if (input
|
|
2562
|
-
entries[
|
|
2561
|
+
if (input[_T] != null) {
|
|
2562
|
+
entries[_T] = input[_T];
|
|
2563
2563
|
}
|
|
2564
2564
|
return entries;
|
|
2565
2565
|
};
|
|
2566
2566
|
const se_ListDashboardsInput = (input, context) => {
|
|
2567
2567
|
const entries = {};
|
|
2568
|
-
if (input
|
|
2569
|
-
entries[
|
|
2568
|
+
if (input[_DNP] != null) {
|
|
2569
|
+
entries[_DNP] = input[_DNP];
|
|
2570
2570
|
}
|
|
2571
|
-
if (input
|
|
2572
|
-
entries[
|
|
2571
|
+
if (input[_NT] != null) {
|
|
2572
|
+
entries[_NT] = input[_NT];
|
|
2573
2573
|
}
|
|
2574
2574
|
return entries;
|
|
2575
2575
|
};
|
|
2576
2576
|
const se_ListManagedInsightRulesInput = (input, context) => {
|
|
2577
2577
|
const entries = {};
|
|
2578
|
-
if (input
|
|
2579
|
-
entries[
|
|
2578
|
+
if (input[_RARN] != null) {
|
|
2579
|
+
entries[_RARN] = input[_RARN];
|
|
2580
2580
|
}
|
|
2581
|
-
if (input
|
|
2582
|
-
entries[
|
|
2581
|
+
if (input[_NT] != null) {
|
|
2582
|
+
entries[_NT] = input[_NT];
|
|
2583
2583
|
}
|
|
2584
|
-
if (input
|
|
2585
|
-
entries[
|
|
2584
|
+
if (input[_MRa] != null) {
|
|
2585
|
+
entries[_MRa] = input[_MRa];
|
|
2586
2586
|
}
|
|
2587
2587
|
return entries;
|
|
2588
2588
|
};
|
|
2589
2589
|
const se_ListMetricsInput = (input, context) => {
|
|
2590
2590
|
const entries = {};
|
|
2591
|
-
if (input
|
|
2592
|
-
entries[
|
|
2591
|
+
if (input[_N] != null) {
|
|
2592
|
+
entries[_N] = input[_N];
|
|
2593
2593
|
}
|
|
2594
|
-
if (input
|
|
2595
|
-
entries[
|
|
2594
|
+
if (input[_MN] != null) {
|
|
2595
|
+
entries[_MN] = input[_MN];
|
|
2596
2596
|
}
|
|
2597
|
-
if (input
|
|
2598
|
-
const memberEntries = se_DimensionFilters(input
|
|
2599
|
-
if (input
|
|
2597
|
+
if (input[_D] != null) {
|
|
2598
|
+
const memberEntries = se_DimensionFilters(input[_D], context);
|
|
2599
|
+
if (input[_D]?.length === 0) {
|
|
2600
2600
|
entries.Dimensions = [];
|
|
2601
2601
|
}
|
|
2602
2602
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2604,48 +2604,48 @@ const se_ListMetricsInput = (input, context) => {
|
|
|
2604
2604
|
entries[loc] = value;
|
|
2605
2605
|
});
|
|
2606
2606
|
}
|
|
2607
|
-
if (input
|
|
2608
|
-
entries[
|
|
2607
|
+
if (input[_NT] != null) {
|
|
2608
|
+
entries[_NT] = input[_NT];
|
|
2609
2609
|
}
|
|
2610
|
-
if (input
|
|
2611
|
-
entries[
|
|
2610
|
+
if (input[_RA] != null) {
|
|
2611
|
+
entries[_RA] = input[_RA];
|
|
2612
2612
|
}
|
|
2613
|
-
if (input
|
|
2614
|
-
entries[
|
|
2613
|
+
if (input[_ILA] != null) {
|
|
2614
|
+
entries[_ILA] = input[_ILA];
|
|
2615
2615
|
}
|
|
2616
|
-
if (input
|
|
2617
|
-
entries[
|
|
2616
|
+
if (input[_OA] != null) {
|
|
2617
|
+
entries[_OA] = input[_OA];
|
|
2618
2618
|
}
|
|
2619
2619
|
return entries;
|
|
2620
2620
|
};
|
|
2621
2621
|
const se_ListMetricStreamsInput = (input, context) => {
|
|
2622
2622
|
const entries = {};
|
|
2623
|
-
if (input
|
|
2624
|
-
entries[
|
|
2623
|
+
if (input[_NT] != null) {
|
|
2624
|
+
entries[_NT] = input[_NT];
|
|
2625
2625
|
}
|
|
2626
|
-
if (input
|
|
2627
|
-
entries[
|
|
2626
|
+
if (input[_MRa] != null) {
|
|
2627
|
+
entries[_MRa] = input[_MRa];
|
|
2628
2628
|
}
|
|
2629
2629
|
return entries;
|
|
2630
2630
|
};
|
|
2631
2631
|
const se_ListTagsForResourceInput = (input, context) => {
|
|
2632
2632
|
const entries = {};
|
|
2633
|
-
if (input
|
|
2634
|
-
entries[
|
|
2633
|
+
if (input[_RARN] != null) {
|
|
2634
|
+
entries[_RARN] = input[_RARN];
|
|
2635
2635
|
}
|
|
2636
2636
|
return entries;
|
|
2637
2637
|
};
|
|
2638
2638
|
const se_ManagedRule = (input, context) => {
|
|
2639
2639
|
const entries = {};
|
|
2640
|
-
if (input
|
|
2641
|
-
entries[
|
|
2640
|
+
if (input[_TN] != null) {
|
|
2641
|
+
entries[_TN] = input[_TN];
|
|
2642
2642
|
}
|
|
2643
|
-
if (input
|
|
2644
|
-
entries[
|
|
2643
|
+
if (input[_RARN] != null) {
|
|
2644
|
+
entries[_RARN] = input[_RARN];
|
|
2645
2645
|
}
|
|
2646
|
-
if (input
|
|
2647
|
-
const memberEntries = se_TagList(input
|
|
2648
|
-
if (input
|
|
2646
|
+
if (input[_Ta] != null) {
|
|
2647
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
2648
|
+
if (input[_Ta]?.length === 0) {
|
|
2649
2649
|
entries.Tags = [];
|
|
2650
2650
|
}
|
|
2651
2651
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2672,15 +2672,15 @@ const se_ManagedRules = (input, context) => {
|
|
|
2672
2672
|
};
|
|
2673
2673
|
const se_Metric = (input, context) => {
|
|
2674
2674
|
const entries = {};
|
|
2675
|
-
if (input
|
|
2676
|
-
entries[
|
|
2675
|
+
if (input[_N] != null) {
|
|
2676
|
+
entries[_N] = input[_N];
|
|
2677
2677
|
}
|
|
2678
|
-
if (input
|
|
2679
|
-
entries[
|
|
2678
|
+
if (input[_MN] != null) {
|
|
2679
|
+
entries[_MN] = input[_MN];
|
|
2680
2680
|
}
|
|
2681
|
-
if (input
|
|
2682
|
-
const memberEntries = se_Dimensions(input
|
|
2683
|
-
if (input
|
|
2681
|
+
if (input[_D] != null) {
|
|
2682
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
2683
|
+
if (input[_D]?.length === 0) {
|
|
2684
2684
|
entries.Dimensions = [];
|
|
2685
2685
|
}
|
|
2686
2686
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2722,41 +2722,41 @@ const se_MetricDataQueries = (input, context) => {
|
|
|
2722
2722
|
};
|
|
2723
2723
|
const se_MetricDataQuery = (input, context) => {
|
|
2724
2724
|
const entries = {};
|
|
2725
|
-
if (input
|
|
2726
|
-
entries[
|
|
2725
|
+
if (input[_I] != null) {
|
|
2726
|
+
entries[_I] = input[_I];
|
|
2727
2727
|
}
|
|
2728
|
-
if (input
|
|
2729
|
-
const memberEntries = se_MetricStat(input
|
|
2728
|
+
if (input[_MS] != null) {
|
|
2729
|
+
const memberEntries = se_MetricStat(input[_MS], context);
|
|
2730
2730
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2731
2731
|
const loc = `MetricStat.${key}`;
|
|
2732
2732
|
entries[loc] = value;
|
|
2733
2733
|
});
|
|
2734
2734
|
}
|
|
2735
|
-
if (input
|
|
2736
|
-
entries[
|
|
2735
|
+
if (input[_E] != null) {
|
|
2736
|
+
entries[_E] = input[_E];
|
|
2737
2737
|
}
|
|
2738
|
-
if (input
|
|
2739
|
-
entries[
|
|
2738
|
+
if (input[_L] != null) {
|
|
2739
|
+
entries[_L] = input[_L];
|
|
2740
2740
|
}
|
|
2741
|
-
if (input
|
|
2742
|
-
entries[
|
|
2741
|
+
if (input[_RD] != null) {
|
|
2742
|
+
entries[_RD] = input[_RD];
|
|
2743
2743
|
}
|
|
2744
|
-
if (input
|
|
2745
|
-
entries[
|
|
2744
|
+
if (input[_P] != null) {
|
|
2745
|
+
entries[_P] = input[_P];
|
|
2746
2746
|
}
|
|
2747
|
-
if (input
|
|
2748
|
-
entries[
|
|
2747
|
+
if (input[_AI] != null) {
|
|
2748
|
+
entries[_AI] = input[_AI];
|
|
2749
2749
|
}
|
|
2750
2750
|
return entries;
|
|
2751
2751
|
};
|
|
2752
2752
|
const se_MetricDatum = (input, context) => {
|
|
2753
2753
|
const entries = {};
|
|
2754
|
-
if (input
|
|
2755
|
-
entries[
|
|
2754
|
+
if (input[_MN] != null) {
|
|
2755
|
+
entries[_MN] = input[_MN];
|
|
2756
2756
|
}
|
|
2757
|
-
if (input
|
|
2758
|
-
const memberEntries = se_Dimensions(input
|
|
2759
|
-
if (input
|
|
2757
|
+
if (input[_D] != null) {
|
|
2758
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
2759
|
+
if (input[_D]?.length === 0) {
|
|
2760
2760
|
entries.Dimensions = [];
|
|
2761
2761
|
}
|
|
2762
2762
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2764,22 +2764,22 @@ const se_MetricDatum = (input, context) => {
|
|
|
2764
2764
|
entries[loc] = value;
|
|
2765
2765
|
});
|
|
2766
2766
|
}
|
|
2767
|
-
if (input
|
|
2768
|
-
entries[
|
|
2767
|
+
if (input[_Ti] != null) {
|
|
2768
|
+
entries[_Ti] = input[_Ti].toISOString().split(".")[0] + "Z";
|
|
2769
2769
|
}
|
|
2770
|
-
if (input
|
|
2771
|
-
entries[
|
|
2770
|
+
if (input[_Va] != null) {
|
|
2771
|
+
entries[_Va] = (0, smithy_client_1.serializeFloat)(input[_Va]);
|
|
2772
2772
|
}
|
|
2773
|
-
if (input
|
|
2774
|
-
const memberEntries = se_StatisticSet(input
|
|
2773
|
+
if (input[_SVt] != null) {
|
|
2774
|
+
const memberEntries = se_StatisticSet(input[_SVt], context);
|
|
2775
2775
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2776
2776
|
const loc = `StatisticValues.${key}`;
|
|
2777
2777
|
entries[loc] = value;
|
|
2778
2778
|
});
|
|
2779
2779
|
}
|
|
2780
|
-
if (input
|
|
2781
|
-
const memberEntries = se_Values(input
|
|
2782
|
-
if (input
|
|
2780
|
+
if (input[_Val] != null) {
|
|
2781
|
+
const memberEntries = se_Values(input[_Val], context);
|
|
2782
|
+
if (input[_Val]?.length === 0) {
|
|
2783
2783
|
entries.Values = [];
|
|
2784
2784
|
}
|
|
2785
2785
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2787,9 +2787,9 @@ const se_MetricDatum = (input, context) => {
|
|
|
2787
2787
|
entries[loc] = value;
|
|
2788
2788
|
});
|
|
2789
2789
|
}
|
|
2790
|
-
if (input
|
|
2791
|
-
const memberEntries = se_Counts(input
|
|
2792
|
-
if (input
|
|
2790
|
+
if (input[_C] != null) {
|
|
2791
|
+
const memberEntries = se_Counts(input[_C], context);
|
|
2792
|
+
if (input[_C]?.length === 0) {
|
|
2793
2793
|
entries.Counts = [];
|
|
2794
2794
|
}
|
|
2795
2795
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2797,19 +2797,19 @@ const se_MetricDatum = (input, context) => {
|
|
|
2797
2797
|
entries[loc] = value;
|
|
2798
2798
|
});
|
|
2799
2799
|
}
|
|
2800
|
-
if (input
|
|
2801
|
-
entries[
|
|
2800
|
+
if (input[_U] != null) {
|
|
2801
|
+
entries[_U] = input[_U];
|
|
2802
2802
|
}
|
|
2803
|
-
if (input
|
|
2804
|
-
entries[
|
|
2803
|
+
if (input[_SR] != null) {
|
|
2804
|
+
entries[_SR] = input[_SR];
|
|
2805
2805
|
}
|
|
2806
2806
|
return entries;
|
|
2807
2807
|
};
|
|
2808
2808
|
const se_MetricMathAnomalyDetector = (input, context) => {
|
|
2809
2809
|
const entries = {};
|
|
2810
|
-
if (input
|
|
2811
|
-
const memberEntries = se_MetricDataQueries(input
|
|
2812
|
-
if (input
|
|
2810
|
+
if (input[_MDQ] != null) {
|
|
2811
|
+
const memberEntries = se_MetricDataQueries(input[_MDQ], context);
|
|
2812
|
+
if (input[_MDQ]?.length === 0) {
|
|
2813
2813
|
entries.MetricDataQueries = [];
|
|
2814
2814
|
}
|
|
2815
2815
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2821,32 +2821,32 @@ const se_MetricMathAnomalyDetector = (input, context) => {
|
|
|
2821
2821
|
};
|
|
2822
2822
|
const se_MetricStat = (input, context) => {
|
|
2823
2823
|
const entries = {};
|
|
2824
|
-
if (input
|
|
2825
|
-
const memberEntries = se_Metric(input
|
|
2824
|
+
if (input[_Me] != null) {
|
|
2825
|
+
const memberEntries = se_Metric(input[_Me], context);
|
|
2826
2826
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2827
2827
|
const loc = `Metric.${key}`;
|
|
2828
2828
|
entries[loc] = value;
|
|
2829
2829
|
});
|
|
2830
2830
|
}
|
|
2831
|
-
if (input
|
|
2832
|
-
entries[
|
|
2831
|
+
if (input[_P] != null) {
|
|
2832
|
+
entries[_P] = input[_P];
|
|
2833
2833
|
}
|
|
2834
|
-
if (input
|
|
2835
|
-
entries[
|
|
2834
|
+
if (input[_S] != null) {
|
|
2835
|
+
entries[_S] = input[_S];
|
|
2836
2836
|
}
|
|
2837
|
-
if (input
|
|
2838
|
-
entries[
|
|
2837
|
+
if (input[_U] != null) {
|
|
2838
|
+
entries[_U] = input[_U];
|
|
2839
2839
|
}
|
|
2840
2840
|
return entries;
|
|
2841
2841
|
};
|
|
2842
2842
|
const se_MetricStreamFilter = (input, context) => {
|
|
2843
2843
|
const entries = {};
|
|
2844
|
-
if (input
|
|
2845
|
-
entries[
|
|
2844
|
+
if (input[_N] != null) {
|
|
2845
|
+
entries[_N] = input[_N];
|
|
2846
2846
|
}
|
|
2847
|
-
if (input
|
|
2848
|
-
const memberEntries = se_MetricStreamFilterMetricNames(input
|
|
2849
|
-
if (input
|
|
2847
|
+
if (input[_MNe] != null) {
|
|
2848
|
+
const memberEntries = se_MetricStreamFilterMetricNames(input[_MNe], context);
|
|
2849
|
+
if (input[_MNe]?.length === 0) {
|
|
2850
2850
|
entries.MetricNames = [];
|
|
2851
2851
|
}
|
|
2852
2852
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2909,9 +2909,9 @@ const se_MetricStreamStatisticsAdditionalStatistics = (input, context) => {
|
|
|
2909
2909
|
};
|
|
2910
2910
|
const se_MetricStreamStatisticsConfiguration = (input, context) => {
|
|
2911
2911
|
const entries = {};
|
|
2912
|
-
if (input
|
|
2913
|
-
const memberEntries = se_MetricStreamStatisticsIncludeMetrics(input
|
|
2914
|
-
if (input
|
|
2912
|
+
if (input[_IM] != null) {
|
|
2913
|
+
const memberEntries = se_MetricStreamStatisticsIncludeMetrics(input[_IM], context);
|
|
2914
|
+
if (input[_IM]?.length === 0) {
|
|
2915
2915
|
entries.IncludeMetrics = [];
|
|
2916
2916
|
}
|
|
2917
2917
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2919,9 +2919,9 @@ const se_MetricStreamStatisticsConfiguration = (input, context) => {
|
|
|
2919
2919
|
entries[loc] = value;
|
|
2920
2920
|
});
|
|
2921
2921
|
}
|
|
2922
|
-
if (input
|
|
2923
|
-
const memberEntries = se_MetricStreamStatisticsAdditionalStatistics(input
|
|
2924
|
-
if (input
|
|
2922
|
+
if (input[_AS] != null) {
|
|
2923
|
+
const memberEntries = se_MetricStreamStatisticsAdditionalStatistics(input[_AS], context);
|
|
2924
|
+
if (input[_AS]?.length === 0) {
|
|
2925
2925
|
entries.AdditionalStatistics = [];
|
|
2926
2926
|
}
|
|
2927
2927
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2963,25 +2963,25 @@ const se_MetricStreamStatisticsIncludeMetrics = (input, context) => {
|
|
|
2963
2963
|
};
|
|
2964
2964
|
const se_MetricStreamStatisticsMetric = (input, context) => {
|
|
2965
2965
|
const entries = {};
|
|
2966
|
-
if (input
|
|
2967
|
-
entries[
|
|
2966
|
+
if (input[_N] != null) {
|
|
2967
|
+
entries[_N] = input[_N];
|
|
2968
2968
|
}
|
|
2969
|
-
if (input
|
|
2970
|
-
entries[
|
|
2969
|
+
if (input[_MN] != null) {
|
|
2970
|
+
entries[_MN] = input[_MN];
|
|
2971
2971
|
}
|
|
2972
2972
|
return entries;
|
|
2973
2973
|
};
|
|
2974
2974
|
const se_PutAnomalyDetectorInput = (input, context) => {
|
|
2975
2975
|
const entries = {};
|
|
2976
|
-
if (input
|
|
2977
|
-
entries[
|
|
2976
|
+
if (input[_N] != null) {
|
|
2977
|
+
entries[_N] = input[_N];
|
|
2978
2978
|
}
|
|
2979
|
-
if (input
|
|
2980
|
-
entries[
|
|
2979
|
+
if (input[_MN] != null) {
|
|
2980
|
+
entries[_MN] = input[_MN];
|
|
2981
2981
|
}
|
|
2982
|
-
if (input
|
|
2983
|
-
const memberEntries = se_Dimensions(input
|
|
2984
|
-
if (input
|
|
2982
|
+
if (input[_D] != null) {
|
|
2983
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
2984
|
+
if (input[_D]?.length === 0) {
|
|
2985
2985
|
entries.Dimensions = [];
|
|
2986
2986
|
}
|
|
2987
2987
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2989,25 +2989,25 @@ const se_PutAnomalyDetectorInput = (input, context) => {
|
|
|
2989
2989
|
entries[loc] = value;
|
|
2990
2990
|
});
|
|
2991
2991
|
}
|
|
2992
|
-
if (input
|
|
2993
|
-
entries[
|
|
2992
|
+
if (input[_S] != null) {
|
|
2993
|
+
entries[_S] = input[_S];
|
|
2994
2994
|
}
|
|
2995
|
-
if (input
|
|
2996
|
-
const memberEntries = se_AnomalyDetectorConfiguration(input
|
|
2995
|
+
if (input[_Co] != null) {
|
|
2996
|
+
const memberEntries = se_AnomalyDetectorConfiguration(input[_Co], context);
|
|
2997
2997
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2998
2998
|
const loc = `Configuration.${key}`;
|
|
2999
2999
|
entries[loc] = value;
|
|
3000
3000
|
});
|
|
3001
3001
|
}
|
|
3002
|
-
if (input
|
|
3003
|
-
const memberEntries = se_SingleMetricAnomalyDetector(input
|
|
3002
|
+
if (input[_SMAD] != null) {
|
|
3003
|
+
const memberEntries = se_SingleMetricAnomalyDetector(input[_SMAD], context);
|
|
3004
3004
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3005
3005
|
const loc = `SingleMetricAnomalyDetector.${key}`;
|
|
3006
3006
|
entries[loc] = value;
|
|
3007
3007
|
});
|
|
3008
3008
|
}
|
|
3009
|
-
if (input
|
|
3010
|
-
const memberEntries = se_MetricMathAnomalyDetector(input
|
|
3009
|
+
if (input[_MMAD] != null) {
|
|
3010
|
+
const memberEntries = se_MetricMathAnomalyDetector(input[_MMAD], context);
|
|
3011
3011
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3012
3012
|
const loc = `MetricMathAnomalyDetector.${key}`;
|
|
3013
3013
|
entries[loc] = value;
|
|
@@ -3017,12 +3017,12 @@ const se_PutAnomalyDetectorInput = (input, context) => {
|
|
|
3017
3017
|
};
|
|
3018
3018
|
const se_PutCompositeAlarmInput = (input, context) => {
|
|
3019
3019
|
const entries = {};
|
|
3020
|
-
if (input
|
|
3021
|
-
entries[
|
|
3020
|
+
if (input[_AE] != null) {
|
|
3021
|
+
entries[_AE] = input[_AE];
|
|
3022
3022
|
}
|
|
3023
|
-
if (input
|
|
3024
|
-
const memberEntries = se_ResourceList(input
|
|
3025
|
-
if (input
|
|
3023
|
+
if (input[_AA] != null) {
|
|
3024
|
+
const memberEntries = se_ResourceList(input[_AA], context);
|
|
3025
|
+
if (input[_AA]?.length === 0) {
|
|
3026
3026
|
entries.AlarmActions = [];
|
|
3027
3027
|
}
|
|
3028
3028
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3030,18 +3030,18 @@ const se_PutCompositeAlarmInput = (input, context) => {
|
|
|
3030
3030
|
entries[loc] = value;
|
|
3031
3031
|
});
|
|
3032
3032
|
}
|
|
3033
|
-
if (input
|
|
3034
|
-
entries[
|
|
3033
|
+
if (input[_AD] != null) {
|
|
3034
|
+
entries[_AD] = input[_AD];
|
|
3035
3035
|
}
|
|
3036
|
-
if (input
|
|
3037
|
-
entries[
|
|
3036
|
+
if (input[_ANl] != null) {
|
|
3037
|
+
entries[_ANl] = input[_ANl];
|
|
3038
3038
|
}
|
|
3039
|
-
if (input
|
|
3040
|
-
entries[
|
|
3039
|
+
if (input[_AR] != null) {
|
|
3040
|
+
entries[_AR] = input[_AR];
|
|
3041
3041
|
}
|
|
3042
|
-
if (input
|
|
3043
|
-
const memberEntries = se_ResourceList(input
|
|
3044
|
-
if (input
|
|
3042
|
+
if (input[_IDA] != null) {
|
|
3043
|
+
const memberEntries = se_ResourceList(input[_IDA], context);
|
|
3044
|
+
if (input[_IDA]?.length === 0) {
|
|
3045
3045
|
entries.InsufficientDataActions = [];
|
|
3046
3046
|
}
|
|
3047
3047
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3049,9 +3049,9 @@ const se_PutCompositeAlarmInput = (input, context) => {
|
|
|
3049
3049
|
entries[loc] = value;
|
|
3050
3050
|
});
|
|
3051
3051
|
}
|
|
3052
|
-
if (input
|
|
3053
|
-
const memberEntries = se_ResourceList(input
|
|
3054
|
-
if (input
|
|
3052
|
+
if (input[_OKA] != null) {
|
|
3053
|
+
const memberEntries = se_ResourceList(input[_OKA], context);
|
|
3054
|
+
if (input[_OKA]?.length === 0) {
|
|
3055
3055
|
entries.OKActions = [];
|
|
3056
3056
|
}
|
|
3057
3057
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3059,9 +3059,9 @@ const se_PutCompositeAlarmInput = (input, context) => {
|
|
|
3059
3059
|
entries[loc] = value;
|
|
3060
3060
|
});
|
|
3061
3061
|
}
|
|
3062
|
-
if (input
|
|
3063
|
-
const memberEntries = se_TagList(input
|
|
3064
|
-
if (input
|
|
3062
|
+
if (input[_Ta] != null) {
|
|
3063
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
3064
|
+
if (input[_Ta]?.length === 0) {
|
|
3065
3065
|
entries.Tags = [];
|
|
3066
3066
|
}
|
|
3067
3067
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3069,41 +3069,41 @@ const se_PutCompositeAlarmInput = (input, context) => {
|
|
|
3069
3069
|
entries[loc] = value;
|
|
3070
3070
|
});
|
|
3071
3071
|
}
|
|
3072
|
-
if (input
|
|
3073
|
-
entries[
|
|
3072
|
+
if (input[_ASc] != null) {
|
|
3073
|
+
entries[_ASc] = input[_ASc];
|
|
3074
3074
|
}
|
|
3075
|
-
if (input
|
|
3076
|
-
entries[
|
|
3075
|
+
if (input[_ASWP] != null) {
|
|
3076
|
+
entries[_ASWP] = input[_ASWP];
|
|
3077
3077
|
}
|
|
3078
|
-
if (input
|
|
3079
|
-
entries[
|
|
3078
|
+
if (input[_ASEP] != null) {
|
|
3079
|
+
entries[_ASEP] = input[_ASEP];
|
|
3080
3080
|
}
|
|
3081
3081
|
return entries;
|
|
3082
3082
|
};
|
|
3083
3083
|
const se_PutDashboardInput = (input, context) => {
|
|
3084
3084
|
const entries = {};
|
|
3085
|
-
if (input
|
|
3086
|
-
entries[
|
|
3085
|
+
if (input[_DNa] != null) {
|
|
3086
|
+
entries[_DNa] = input[_DNa];
|
|
3087
3087
|
}
|
|
3088
|
-
if (input
|
|
3089
|
-
entries[
|
|
3088
|
+
if (input[_DB] != null) {
|
|
3089
|
+
entries[_DB] = input[_DB];
|
|
3090
3090
|
}
|
|
3091
3091
|
return entries;
|
|
3092
3092
|
};
|
|
3093
3093
|
const se_PutInsightRuleInput = (input, context) => {
|
|
3094
3094
|
const entries = {};
|
|
3095
|
-
if (input
|
|
3096
|
-
entries[
|
|
3095
|
+
if (input[_RNu] != null) {
|
|
3096
|
+
entries[_RNu] = input[_RNu];
|
|
3097
3097
|
}
|
|
3098
|
-
if (input
|
|
3099
|
-
entries[
|
|
3098
|
+
if (input[_RS] != null) {
|
|
3099
|
+
entries[_RS] = input[_RS];
|
|
3100
3100
|
}
|
|
3101
|
-
if (input
|
|
3102
|
-
entries[
|
|
3101
|
+
if (input[_RDu] != null) {
|
|
3102
|
+
entries[_RDu] = input[_RDu];
|
|
3103
3103
|
}
|
|
3104
|
-
if (input
|
|
3105
|
-
const memberEntries = se_TagList(input
|
|
3106
|
-
if (input
|
|
3104
|
+
if (input[_Ta] != null) {
|
|
3105
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
3106
|
+
if (input[_Ta]?.length === 0) {
|
|
3107
3107
|
entries.Tags = [];
|
|
3108
3108
|
}
|
|
3109
3109
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3115,9 +3115,9 @@ const se_PutInsightRuleInput = (input, context) => {
|
|
|
3115
3115
|
};
|
|
3116
3116
|
const se_PutManagedInsightRulesInput = (input, context) => {
|
|
3117
3117
|
const entries = {};
|
|
3118
|
-
if (input
|
|
3119
|
-
const memberEntries = se_ManagedRules(input
|
|
3120
|
-
if (input
|
|
3118
|
+
if (input[_MRan] != null) {
|
|
3119
|
+
const memberEntries = se_ManagedRules(input[_MRan], context);
|
|
3120
|
+
if (input[_MRan]?.length === 0) {
|
|
3121
3121
|
entries.ManagedRules = [];
|
|
3122
3122
|
}
|
|
3123
3123
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3129,18 +3129,18 @@ const se_PutManagedInsightRulesInput = (input, context) => {
|
|
|
3129
3129
|
};
|
|
3130
3130
|
const se_PutMetricAlarmInput = (input, context) => {
|
|
3131
3131
|
const entries = {};
|
|
3132
|
-
if (input
|
|
3133
|
-
entries[
|
|
3132
|
+
if (input[_ANl] != null) {
|
|
3133
|
+
entries[_ANl] = input[_ANl];
|
|
3134
3134
|
}
|
|
3135
|
-
if (input
|
|
3136
|
-
entries[
|
|
3135
|
+
if (input[_AD] != null) {
|
|
3136
|
+
entries[_AD] = input[_AD];
|
|
3137
3137
|
}
|
|
3138
|
-
if (input
|
|
3139
|
-
entries[
|
|
3138
|
+
if (input[_AE] != null) {
|
|
3139
|
+
entries[_AE] = input[_AE];
|
|
3140
3140
|
}
|
|
3141
|
-
if (input
|
|
3142
|
-
const memberEntries = se_ResourceList(input
|
|
3143
|
-
if (input
|
|
3141
|
+
if (input[_OKA] != null) {
|
|
3142
|
+
const memberEntries = se_ResourceList(input[_OKA], context);
|
|
3143
|
+
if (input[_OKA]?.length === 0) {
|
|
3144
3144
|
entries.OKActions = [];
|
|
3145
3145
|
}
|
|
3146
3146
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3148,9 +3148,9 @@ const se_PutMetricAlarmInput = (input, context) => {
|
|
|
3148
3148
|
entries[loc] = value;
|
|
3149
3149
|
});
|
|
3150
3150
|
}
|
|
3151
|
-
if (input
|
|
3152
|
-
const memberEntries = se_ResourceList(input
|
|
3153
|
-
if (input
|
|
3151
|
+
if (input[_AA] != null) {
|
|
3152
|
+
const memberEntries = se_ResourceList(input[_AA], context);
|
|
3153
|
+
if (input[_AA]?.length === 0) {
|
|
3154
3154
|
entries.AlarmActions = [];
|
|
3155
3155
|
}
|
|
3156
3156
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3158,9 +3158,9 @@ const se_PutMetricAlarmInput = (input, context) => {
|
|
|
3158
3158
|
entries[loc] = value;
|
|
3159
3159
|
});
|
|
3160
3160
|
}
|
|
3161
|
-
if (input
|
|
3162
|
-
const memberEntries = se_ResourceList(input
|
|
3163
|
-
if (input
|
|
3161
|
+
if (input[_IDA] != null) {
|
|
3162
|
+
const memberEntries = se_ResourceList(input[_IDA], context);
|
|
3163
|
+
if (input[_IDA]?.length === 0) {
|
|
3164
3164
|
entries.InsufficientDataActions = [];
|
|
3165
3165
|
}
|
|
3166
3166
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3168,21 +3168,21 @@ const se_PutMetricAlarmInput = (input, context) => {
|
|
|
3168
3168
|
entries[loc] = value;
|
|
3169
3169
|
});
|
|
3170
3170
|
}
|
|
3171
|
-
if (input
|
|
3172
|
-
entries[
|
|
3171
|
+
if (input[_MN] != null) {
|
|
3172
|
+
entries[_MN] = input[_MN];
|
|
3173
3173
|
}
|
|
3174
|
-
if (input
|
|
3175
|
-
entries[
|
|
3174
|
+
if (input[_N] != null) {
|
|
3175
|
+
entries[_N] = input[_N];
|
|
3176
3176
|
}
|
|
3177
|
-
if (input
|
|
3178
|
-
entries[
|
|
3177
|
+
if (input[_St] != null) {
|
|
3178
|
+
entries[_St] = input[_St];
|
|
3179
3179
|
}
|
|
3180
|
-
if (input
|
|
3181
|
-
entries[
|
|
3180
|
+
if (input[_ES] != null) {
|
|
3181
|
+
entries[_ES] = input[_ES];
|
|
3182
3182
|
}
|
|
3183
|
-
if (input
|
|
3184
|
-
const memberEntries = se_Dimensions(input
|
|
3185
|
-
if (input
|
|
3183
|
+
if (input[_D] != null) {
|
|
3184
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
3185
|
+
if (input[_D]?.length === 0) {
|
|
3186
3186
|
entries.Dimensions = [];
|
|
3187
3187
|
}
|
|
3188
3188
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3190,33 +3190,33 @@ const se_PutMetricAlarmInput = (input, context) => {
|
|
|
3190
3190
|
entries[loc] = value;
|
|
3191
3191
|
});
|
|
3192
3192
|
}
|
|
3193
|
-
if (input
|
|
3194
|
-
entries[
|
|
3193
|
+
if (input[_P] != null) {
|
|
3194
|
+
entries[_P] = input[_P];
|
|
3195
3195
|
}
|
|
3196
|
-
if (input
|
|
3197
|
-
entries[
|
|
3196
|
+
if (input[_U] != null) {
|
|
3197
|
+
entries[_U] = input[_U];
|
|
3198
3198
|
}
|
|
3199
|
-
if (input
|
|
3200
|
-
entries[
|
|
3199
|
+
if (input[_EP] != null) {
|
|
3200
|
+
entries[_EP] = input[_EP];
|
|
3201
3201
|
}
|
|
3202
|
-
if (input
|
|
3203
|
-
entries[
|
|
3202
|
+
if (input[_DTA] != null) {
|
|
3203
|
+
entries[_DTA] = input[_DTA];
|
|
3204
3204
|
}
|
|
3205
|
-
if (input
|
|
3206
|
-
entries[
|
|
3205
|
+
if (input[_Th] != null) {
|
|
3206
|
+
entries[_Th] = (0, smithy_client_1.serializeFloat)(input[_Th]);
|
|
3207
3207
|
}
|
|
3208
|
-
if (input
|
|
3209
|
-
entries[
|
|
3208
|
+
if (input[_CO] != null) {
|
|
3209
|
+
entries[_CO] = input[_CO];
|
|
3210
3210
|
}
|
|
3211
|
-
if (input
|
|
3212
|
-
entries[
|
|
3211
|
+
if (input[_TMD] != null) {
|
|
3212
|
+
entries[_TMD] = input[_TMD];
|
|
3213
3213
|
}
|
|
3214
|
-
if (input
|
|
3215
|
-
entries[
|
|
3214
|
+
if (input[_ELSCP] != null) {
|
|
3215
|
+
entries[_ELSCP] = input[_ELSCP];
|
|
3216
3216
|
}
|
|
3217
|
-
if (input
|
|
3218
|
-
const memberEntries = se_MetricDataQueries(input
|
|
3219
|
-
if (input
|
|
3217
|
+
if (input[_M] != null) {
|
|
3218
|
+
const memberEntries = se_MetricDataQueries(input[_M], context);
|
|
3219
|
+
if (input[_M]?.length === 0) {
|
|
3220
3220
|
entries.Metrics = [];
|
|
3221
3221
|
}
|
|
3222
3222
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3224,9 +3224,9 @@ const se_PutMetricAlarmInput = (input, context) => {
|
|
|
3224
3224
|
entries[loc] = value;
|
|
3225
3225
|
});
|
|
3226
3226
|
}
|
|
3227
|
-
if (input
|
|
3228
|
-
const memberEntries = se_TagList(input
|
|
3229
|
-
if (input
|
|
3227
|
+
if (input[_Ta] != null) {
|
|
3228
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
3229
|
+
if (input[_Ta]?.length === 0) {
|
|
3230
3230
|
entries.Tags = [];
|
|
3231
3231
|
}
|
|
3232
3232
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3234,19 +3234,19 @@ const se_PutMetricAlarmInput = (input, context) => {
|
|
|
3234
3234
|
entries[loc] = value;
|
|
3235
3235
|
});
|
|
3236
3236
|
}
|
|
3237
|
-
if (input
|
|
3238
|
-
entries[
|
|
3237
|
+
if (input[_TMI] != null) {
|
|
3238
|
+
entries[_TMI] = input[_TMI];
|
|
3239
3239
|
}
|
|
3240
3240
|
return entries;
|
|
3241
3241
|
};
|
|
3242
3242
|
const se_PutMetricDataInput = (input, context) => {
|
|
3243
3243
|
const entries = {};
|
|
3244
|
-
if (input
|
|
3245
|
-
entries[
|
|
3244
|
+
if (input[_N] != null) {
|
|
3245
|
+
entries[_N] = input[_N];
|
|
3246
3246
|
}
|
|
3247
|
-
if (input
|
|
3248
|
-
const memberEntries = se_MetricData(input
|
|
3249
|
-
if (input
|
|
3247
|
+
if (input[_MDe] != null) {
|
|
3248
|
+
const memberEntries = se_MetricData(input[_MDe], context);
|
|
3249
|
+
if (input[_MDe]?.length === 0) {
|
|
3250
3250
|
entries.MetricData = [];
|
|
3251
3251
|
}
|
|
3252
3252
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3258,12 +3258,12 @@ const se_PutMetricDataInput = (input, context) => {
|
|
|
3258
3258
|
};
|
|
3259
3259
|
const se_PutMetricStreamInput = (input, context) => {
|
|
3260
3260
|
const entries = {};
|
|
3261
|
-
if (input
|
|
3262
|
-
entries[
|
|
3261
|
+
if (input[_Na] != null) {
|
|
3262
|
+
entries[_Na] = input[_Na];
|
|
3263
3263
|
}
|
|
3264
|
-
if (input
|
|
3265
|
-
const memberEntries = se_MetricStreamFilters(input
|
|
3266
|
-
if (input
|
|
3264
|
+
if (input[_IF] != null) {
|
|
3265
|
+
const memberEntries = se_MetricStreamFilters(input[_IF], context);
|
|
3266
|
+
if (input[_IF]?.length === 0) {
|
|
3267
3267
|
entries.IncludeFilters = [];
|
|
3268
3268
|
}
|
|
3269
3269
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3271,9 +3271,9 @@ const se_PutMetricStreamInput = (input, context) => {
|
|
|
3271
3271
|
entries[loc] = value;
|
|
3272
3272
|
});
|
|
3273
3273
|
}
|
|
3274
|
-
if (input
|
|
3275
|
-
const memberEntries = se_MetricStreamFilters(input
|
|
3276
|
-
if (input
|
|
3274
|
+
if (input[_EF] != null) {
|
|
3275
|
+
const memberEntries = se_MetricStreamFilters(input[_EF], context);
|
|
3276
|
+
if (input[_EF]?.length === 0) {
|
|
3277
3277
|
entries.ExcludeFilters = [];
|
|
3278
3278
|
}
|
|
3279
3279
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3281,18 +3281,18 @@ const se_PutMetricStreamInput = (input, context) => {
|
|
|
3281
3281
|
entries[loc] = value;
|
|
3282
3282
|
});
|
|
3283
3283
|
}
|
|
3284
|
-
if (input
|
|
3285
|
-
entries[
|
|
3284
|
+
if (input[_FA] != null) {
|
|
3285
|
+
entries[_FA] = input[_FA];
|
|
3286
3286
|
}
|
|
3287
|
-
if (input
|
|
3288
|
-
entries[
|
|
3287
|
+
if (input[_RAo] != null) {
|
|
3288
|
+
entries[_RAo] = input[_RAo];
|
|
3289
3289
|
}
|
|
3290
|
-
if (input
|
|
3291
|
-
entries[
|
|
3290
|
+
if (input[_OF] != null) {
|
|
3291
|
+
entries[_OF] = input[_OF];
|
|
3292
3292
|
}
|
|
3293
|
-
if (input
|
|
3294
|
-
const memberEntries = se_TagList(input
|
|
3295
|
-
if (input
|
|
3293
|
+
if (input[_Ta] != null) {
|
|
3294
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
3295
|
+
if (input[_Ta]?.length === 0) {
|
|
3296
3296
|
entries.Tags = [];
|
|
3297
3297
|
}
|
|
3298
3298
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3300,9 +3300,9 @@ const se_PutMetricStreamInput = (input, context) => {
|
|
|
3300
3300
|
entries[loc] = value;
|
|
3301
3301
|
});
|
|
3302
3302
|
}
|
|
3303
|
-
if (input
|
|
3304
|
-
const memberEntries = se_MetricStreamStatisticsConfigurations(input
|
|
3305
|
-
if (input
|
|
3303
|
+
if (input[_SC] != null) {
|
|
3304
|
+
const memberEntries = se_MetricStreamStatisticsConfigurations(input[_SC], context);
|
|
3305
|
+
if (input[_SC]?.length === 0) {
|
|
3306
3306
|
entries.StatisticsConfigurations = [];
|
|
3307
3307
|
}
|
|
3308
3308
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3310,18 +3310,18 @@ const se_PutMetricStreamInput = (input, context) => {
|
|
|
3310
3310
|
entries[loc] = value;
|
|
3311
3311
|
});
|
|
3312
3312
|
}
|
|
3313
|
-
if (input
|
|
3314
|
-
entries[
|
|
3313
|
+
if (input[_ILAM] != null) {
|
|
3314
|
+
entries[_ILAM] = input[_ILAM];
|
|
3315
3315
|
}
|
|
3316
3316
|
return entries;
|
|
3317
3317
|
};
|
|
3318
3318
|
const se_Range = (input, context) => {
|
|
3319
3319
|
const entries = {};
|
|
3320
|
-
if (input
|
|
3321
|
-
entries[
|
|
3320
|
+
if (input[_ST] != null) {
|
|
3321
|
+
entries[_ST] = input[_ST].toISOString().split(".")[0] + "Z";
|
|
3322
3322
|
}
|
|
3323
|
-
if (input
|
|
3324
|
-
entries[
|
|
3323
|
+
if (input[_ET] != null) {
|
|
3324
|
+
entries[_ET] = input[_ET].toISOString().split(".")[0] + "Z";
|
|
3325
3325
|
}
|
|
3326
3326
|
return entries;
|
|
3327
3327
|
};
|
|
@@ -3339,31 +3339,31 @@ const se_ResourceList = (input, context) => {
|
|
|
3339
3339
|
};
|
|
3340
3340
|
const se_SetAlarmStateInput = (input, context) => {
|
|
3341
3341
|
const entries = {};
|
|
3342
|
-
if (input
|
|
3343
|
-
entries[
|
|
3342
|
+
if (input[_ANl] != null) {
|
|
3343
|
+
entries[_ANl] = input[_ANl];
|
|
3344
3344
|
}
|
|
3345
|
-
if (input
|
|
3346
|
-
entries[
|
|
3345
|
+
if (input[_SV] != null) {
|
|
3346
|
+
entries[_SV] = input[_SV];
|
|
3347
3347
|
}
|
|
3348
|
-
if (input
|
|
3349
|
-
entries[
|
|
3348
|
+
if (input[_SRt] != null) {
|
|
3349
|
+
entries[_SRt] = input[_SRt];
|
|
3350
3350
|
}
|
|
3351
|
-
if (input
|
|
3352
|
-
entries[
|
|
3351
|
+
if (input[_SRD] != null) {
|
|
3352
|
+
entries[_SRD] = input[_SRD];
|
|
3353
3353
|
}
|
|
3354
3354
|
return entries;
|
|
3355
3355
|
};
|
|
3356
3356
|
const se_SingleMetricAnomalyDetector = (input, context) => {
|
|
3357
3357
|
const entries = {};
|
|
3358
|
-
if (input
|
|
3359
|
-
entries[
|
|
3358
|
+
if (input[_N] != null) {
|
|
3359
|
+
entries[_N] = input[_N];
|
|
3360
3360
|
}
|
|
3361
|
-
if (input
|
|
3362
|
-
entries[
|
|
3361
|
+
if (input[_MN] != null) {
|
|
3362
|
+
entries[_MN] = input[_MN];
|
|
3363
3363
|
}
|
|
3364
|
-
if (input
|
|
3365
|
-
const memberEntries = se_Dimensions(input
|
|
3366
|
-
if (input
|
|
3364
|
+
if (input[_D] != null) {
|
|
3365
|
+
const memberEntries = se_Dimensions(input[_D], context);
|
|
3366
|
+
if (input[_D]?.length === 0) {
|
|
3367
3367
|
entries.Dimensions = [];
|
|
3368
3368
|
}
|
|
3369
3369
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3371,16 +3371,16 @@ const se_SingleMetricAnomalyDetector = (input, context) => {
|
|
|
3371
3371
|
entries[loc] = value;
|
|
3372
3372
|
});
|
|
3373
3373
|
}
|
|
3374
|
-
if (input
|
|
3375
|
-
entries[
|
|
3374
|
+
if (input[_S] != null) {
|
|
3375
|
+
entries[_S] = input[_S];
|
|
3376
3376
|
}
|
|
3377
3377
|
return entries;
|
|
3378
3378
|
};
|
|
3379
3379
|
const se_StartMetricStreamsInput = (input, context) => {
|
|
3380
3380
|
const entries = {};
|
|
3381
|
-
if (input
|
|
3382
|
-
const memberEntries = se_MetricStreamNames(input
|
|
3383
|
-
if (input
|
|
3381
|
+
if (input[_Nam] != null) {
|
|
3382
|
+
const memberEntries = se_MetricStreamNames(input[_Nam], context);
|
|
3383
|
+
if (input[_Nam]?.length === 0) {
|
|
3384
3384
|
entries.Names = [];
|
|
3385
3385
|
}
|
|
3386
3386
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3404,25 +3404,25 @@ const se_Statistics = (input, context) => {
|
|
|
3404
3404
|
};
|
|
3405
3405
|
const se_StatisticSet = (input, context) => {
|
|
3406
3406
|
const entries = {};
|
|
3407
|
-
if (input
|
|
3408
|
-
entries[
|
|
3407
|
+
if (input[_SCa] != null) {
|
|
3408
|
+
entries[_SCa] = (0, smithy_client_1.serializeFloat)(input[_SCa]);
|
|
3409
3409
|
}
|
|
3410
|
-
if (input
|
|
3411
|
-
entries[
|
|
3410
|
+
if (input[_Su] != null) {
|
|
3411
|
+
entries[_Su] = (0, smithy_client_1.serializeFloat)(input[_Su]);
|
|
3412
3412
|
}
|
|
3413
|
-
if (input
|
|
3414
|
-
entries[
|
|
3413
|
+
if (input[_Mi] != null) {
|
|
3414
|
+
entries[_Mi] = (0, smithy_client_1.serializeFloat)(input[_Mi]);
|
|
3415
3415
|
}
|
|
3416
|
-
if (input
|
|
3417
|
-
entries[
|
|
3416
|
+
if (input[_Ma] != null) {
|
|
3417
|
+
entries[_Ma] = (0, smithy_client_1.serializeFloat)(input[_Ma]);
|
|
3418
3418
|
}
|
|
3419
3419
|
return entries;
|
|
3420
3420
|
};
|
|
3421
3421
|
const se_StopMetricStreamsInput = (input, context) => {
|
|
3422
3422
|
const entries = {};
|
|
3423
|
-
if (input
|
|
3424
|
-
const memberEntries = se_MetricStreamNames(input
|
|
3425
|
-
if (input
|
|
3423
|
+
if (input[_Nam] != null) {
|
|
3424
|
+
const memberEntries = se_MetricStreamNames(input[_Nam], context);
|
|
3425
|
+
if (input[_Nam]?.length === 0) {
|
|
3426
3426
|
entries.Names = [];
|
|
3427
3427
|
}
|
|
3428
3428
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3434,11 +3434,11 @@ const se_StopMetricStreamsInput = (input, context) => {
|
|
|
3434
3434
|
};
|
|
3435
3435
|
const se_Tag = (input, context) => {
|
|
3436
3436
|
const entries = {};
|
|
3437
|
-
if (input
|
|
3438
|
-
entries[
|
|
3437
|
+
if (input[_K] != null) {
|
|
3438
|
+
entries[_K] = input[_K];
|
|
3439
3439
|
}
|
|
3440
|
-
if (input
|
|
3441
|
-
entries[
|
|
3440
|
+
if (input[_Va] != null) {
|
|
3441
|
+
entries[_Va] = input[_Va];
|
|
3442
3442
|
}
|
|
3443
3443
|
return entries;
|
|
3444
3444
|
};
|
|
@@ -3471,12 +3471,12 @@ const se_TagList = (input, context) => {
|
|
|
3471
3471
|
};
|
|
3472
3472
|
const se_TagResourceInput = (input, context) => {
|
|
3473
3473
|
const entries = {};
|
|
3474
|
-
if (input
|
|
3475
|
-
entries[
|
|
3474
|
+
if (input[_RARN] != null) {
|
|
3475
|
+
entries[_RARN] = input[_RARN];
|
|
3476
3476
|
}
|
|
3477
|
-
if (input
|
|
3478
|
-
const memberEntries = se_TagList(input
|
|
3479
|
-
if (input
|
|
3477
|
+
if (input[_Ta] != null) {
|
|
3478
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
3479
|
+
if (input[_Ta]?.length === 0) {
|
|
3480
3480
|
entries.Tags = [];
|
|
3481
3481
|
}
|
|
3482
3482
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3488,12 +3488,12 @@ const se_TagResourceInput = (input, context) => {
|
|
|
3488
3488
|
};
|
|
3489
3489
|
const se_UntagResourceInput = (input, context) => {
|
|
3490
3490
|
const entries = {};
|
|
3491
|
-
if (input
|
|
3492
|
-
entries[
|
|
3491
|
+
if (input[_RARN] != null) {
|
|
3492
|
+
entries[_RARN] = input[_RARN];
|
|
3493
3493
|
}
|
|
3494
|
-
if (input
|
|
3495
|
-
const memberEntries = se_TagKeyList(input
|
|
3496
|
-
if (input
|
|
3494
|
+
if (input[_TK] != null) {
|
|
3495
|
+
const memberEntries = se_TagKeyList(input[_TK], context);
|
|
3496
|
+
if (input[_TK]?.length === 0) {
|
|
3497
3497
|
entries.TagKeys = [];
|
|
3498
3498
|
}
|
|
3499
3499
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3517,23 +3517,23 @@ const se_Values = (input, context) => {
|
|
|
3517
3517
|
};
|
|
3518
3518
|
const de_AlarmHistoryItem = (output, context) => {
|
|
3519
3519
|
const contents = {};
|
|
3520
|
-
if (output[
|
|
3521
|
-
contents
|
|
3520
|
+
if (output[_ANl] != null) {
|
|
3521
|
+
contents[_ANl] = (0, smithy_client_1.expectString)(output[_ANl]);
|
|
3522
3522
|
}
|
|
3523
|
-
if (output[
|
|
3524
|
-
contents
|
|
3523
|
+
if (output[_ATl] != null) {
|
|
3524
|
+
contents[_ATl] = (0, smithy_client_1.expectString)(output[_ATl]);
|
|
3525
3525
|
}
|
|
3526
|
-
if (output[
|
|
3527
|
-
contents
|
|
3526
|
+
if (output[_Ti] != null) {
|
|
3527
|
+
contents[_Ti] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_Ti]));
|
|
3528
3528
|
}
|
|
3529
|
-
if (output[
|
|
3530
|
-
contents
|
|
3529
|
+
if (output[_HIT] != null) {
|
|
3530
|
+
contents[_HIT] = (0, smithy_client_1.expectString)(output[_HIT]);
|
|
3531
3531
|
}
|
|
3532
|
-
if (output[
|
|
3533
|
-
contents
|
|
3532
|
+
if (output[_HS] != null) {
|
|
3533
|
+
contents[_HS] = (0, smithy_client_1.expectString)(output[_HS]);
|
|
3534
3534
|
}
|
|
3535
|
-
if (output[
|
|
3536
|
-
contents
|
|
3535
|
+
if (output[_HD] != null) {
|
|
3536
|
+
contents[_HD] = (0, smithy_client_1.expectString)(output[_HD]);
|
|
3537
3537
|
}
|
|
3538
3538
|
return contents;
|
|
3539
3539
|
};
|
|
@@ -3546,45 +3546,45 @@ const de_AlarmHistoryItems = (output, context) => {
|
|
|
3546
3546
|
};
|
|
3547
3547
|
const de_AnomalyDetector = (output, context) => {
|
|
3548
3548
|
const contents = {};
|
|
3549
|
-
if (output[
|
|
3550
|
-
contents
|
|
3549
|
+
if (output[_N] != null) {
|
|
3550
|
+
contents[_N] = (0, smithy_client_1.expectString)(output[_N]);
|
|
3551
3551
|
}
|
|
3552
|
-
if (output[
|
|
3553
|
-
contents
|
|
3552
|
+
if (output[_MN] != null) {
|
|
3553
|
+
contents[_MN] = (0, smithy_client_1.expectString)(output[_MN]);
|
|
3554
3554
|
}
|
|
3555
3555
|
if (output.Dimensions === "") {
|
|
3556
|
-
contents
|
|
3556
|
+
contents[_D] = [];
|
|
3557
3557
|
}
|
|
3558
|
-
else if (output[
|
|
3559
|
-
contents
|
|
3558
|
+
else if (output[_D] != null && output[_D][_m] != null) {
|
|
3559
|
+
contents[_D] = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output[_D][_m]), context);
|
|
3560
3560
|
}
|
|
3561
|
-
if (output[
|
|
3562
|
-
contents
|
|
3561
|
+
if (output[_S] != null) {
|
|
3562
|
+
contents[_S] = (0, smithy_client_1.expectString)(output[_S]);
|
|
3563
3563
|
}
|
|
3564
|
-
if (output[
|
|
3565
|
-
contents
|
|
3564
|
+
if (output[_Co] != null) {
|
|
3565
|
+
contents[_Co] = de_AnomalyDetectorConfiguration(output[_Co], context);
|
|
3566
3566
|
}
|
|
3567
|
-
if (output[
|
|
3568
|
-
contents
|
|
3567
|
+
if (output[_SV] != null) {
|
|
3568
|
+
contents[_SV] = (0, smithy_client_1.expectString)(output[_SV]);
|
|
3569
3569
|
}
|
|
3570
|
-
if (output[
|
|
3571
|
-
contents
|
|
3570
|
+
if (output[_SMAD] != null) {
|
|
3571
|
+
contents[_SMAD] = de_SingleMetricAnomalyDetector(output[_SMAD], context);
|
|
3572
3572
|
}
|
|
3573
|
-
if (output[
|
|
3574
|
-
contents
|
|
3573
|
+
if (output[_MMAD] != null) {
|
|
3574
|
+
contents[_MMAD] = de_MetricMathAnomalyDetector(output[_MMAD], context);
|
|
3575
3575
|
}
|
|
3576
3576
|
return contents;
|
|
3577
3577
|
};
|
|
3578
3578
|
const de_AnomalyDetectorConfiguration = (output, context) => {
|
|
3579
3579
|
const contents = {};
|
|
3580
3580
|
if (output.ExcludedTimeRanges === "") {
|
|
3581
|
-
contents
|
|
3581
|
+
contents[_ETR] = [];
|
|
3582
3582
|
}
|
|
3583
|
-
else if (output[
|
|
3584
|
-
contents
|
|
3583
|
+
else if (output[_ETR] != null && output[_ETR][_m] != null) {
|
|
3584
|
+
contents[_ETR] = de_AnomalyDetectorExcludedTimeRanges((0, smithy_client_1.getArrayIfSingleItem)(output[_ETR][_m]), context);
|
|
3585
3585
|
}
|
|
3586
|
-
if (output[
|
|
3587
|
-
contents
|
|
3586
|
+
if (output[_MT] != null) {
|
|
3587
|
+
contents[_MT] = (0, smithy_client_1.expectString)(output[_MT]);
|
|
3588
3588
|
}
|
|
3589
3589
|
return contents;
|
|
3590
3590
|
};
|
|
@@ -3611,72 +3611,71 @@ const de_BatchFailures = (output, context) => {
|
|
|
3611
3611
|
};
|
|
3612
3612
|
const de_CompositeAlarm = (output, context) => {
|
|
3613
3613
|
const contents = {};
|
|
3614
|
-
if (output[
|
|
3615
|
-
contents
|
|
3614
|
+
if (output[_AE] != null) {
|
|
3615
|
+
contents[_AE] = (0, smithy_client_1.parseBoolean)(output[_AE]);
|
|
3616
3616
|
}
|
|
3617
3617
|
if (output.AlarmActions === "") {
|
|
3618
|
-
contents
|
|
3618
|
+
contents[_AA] = [];
|
|
3619
3619
|
}
|
|
3620
|
-
else if (output[
|
|
3621
|
-
contents
|
|
3620
|
+
else if (output[_AA] != null && output[_AA][_m] != null) {
|
|
3621
|
+
contents[_AA] = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output[_AA][_m]), context);
|
|
3622
3622
|
}
|
|
3623
|
-
if (output[
|
|
3624
|
-
contents
|
|
3623
|
+
if (output[_AAl] != null) {
|
|
3624
|
+
contents[_AAl] = (0, smithy_client_1.expectString)(output[_AAl]);
|
|
3625
3625
|
}
|
|
3626
|
-
if (output[
|
|
3627
|
-
contents
|
|
3626
|
+
if (output[_ACUT] != null) {
|
|
3627
|
+
contents[_ACUT] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_ACUT]));
|
|
3628
3628
|
}
|
|
3629
|
-
if (output[
|
|
3630
|
-
contents
|
|
3629
|
+
if (output[_AD] != null) {
|
|
3630
|
+
contents[_AD] = (0, smithy_client_1.expectString)(output[_AD]);
|
|
3631
3631
|
}
|
|
3632
|
-
if (output[
|
|
3633
|
-
contents
|
|
3632
|
+
if (output[_ANl] != null) {
|
|
3633
|
+
contents[_ANl] = (0, smithy_client_1.expectString)(output[_ANl]);
|
|
3634
3634
|
}
|
|
3635
|
-
if (output[
|
|
3636
|
-
contents
|
|
3635
|
+
if (output[_AR] != null) {
|
|
3636
|
+
contents[_AR] = (0, smithy_client_1.expectString)(output[_AR]);
|
|
3637
3637
|
}
|
|
3638
3638
|
if (output.InsufficientDataActions === "") {
|
|
3639
|
-
contents
|
|
3639
|
+
contents[_IDA] = [];
|
|
3640
3640
|
}
|
|
3641
|
-
else if (output[
|
|
3642
|
-
output[
|
|
3643
|
-
contents.InsufficientDataActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["InsufficientDataActions"]["member"]), context);
|
|
3641
|
+
else if (output[_IDA] != null && output[_IDA][_m] != null) {
|
|
3642
|
+
contents[_IDA] = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output[_IDA][_m]), context);
|
|
3644
3643
|
}
|
|
3645
3644
|
if (output.OKActions === "") {
|
|
3646
|
-
contents
|
|
3645
|
+
contents[_OKA] = [];
|
|
3647
3646
|
}
|
|
3648
|
-
else if (output[
|
|
3649
|
-
contents
|
|
3647
|
+
else if (output[_OKA] != null && output[_OKA][_m] != null) {
|
|
3648
|
+
contents[_OKA] = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output[_OKA][_m]), context);
|
|
3650
3649
|
}
|
|
3651
|
-
if (output[
|
|
3652
|
-
contents
|
|
3650
|
+
if (output[_SRt] != null) {
|
|
3651
|
+
contents[_SRt] = (0, smithy_client_1.expectString)(output[_SRt]);
|
|
3653
3652
|
}
|
|
3654
|
-
if (output[
|
|
3655
|
-
contents
|
|
3653
|
+
if (output[_SRD] != null) {
|
|
3654
|
+
contents[_SRD] = (0, smithy_client_1.expectString)(output[_SRD]);
|
|
3656
3655
|
}
|
|
3657
|
-
if (output[
|
|
3658
|
-
contents
|
|
3656
|
+
if (output[_SUT] != null) {
|
|
3657
|
+
contents[_SUT] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_SUT]));
|
|
3659
3658
|
}
|
|
3660
|
-
if (output[
|
|
3661
|
-
contents
|
|
3659
|
+
if (output[_SV] != null) {
|
|
3660
|
+
contents[_SV] = (0, smithy_client_1.expectString)(output[_SV]);
|
|
3662
3661
|
}
|
|
3663
|
-
if (output[
|
|
3664
|
-
contents
|
|
3662
|
+
if (output[_STT] != null) {
|
|
3663
|
+
contents[_STT] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_STT]));
|
|
3665
3664
|
}
|
|
3666
|
-
if (output[
|
|
3667
|
-
contents
|
|
3665
|
+
if (output[_ASB] != null) {
|
|
3666
|
+
contents[_ASB] = (0, smithy_client_1.expectString)(output[_ASB]);
|
|
3668
3667
|
}
|
|
3669
|
-
if (output[
|
|
3670
|
-
contents
|
|
3668
|
+
if (output[_ASR] != null) {
|
|
3669
|
+
contents[_ASR] = (0, smithy_client_1.expectString)(output[_ASR]);
|
|
3671
3670
|
}
|
|
3672
|
-
if (output[
|
|
3673
|
-
contents
|
|
3671
|
+
if (output[_ASc] != null) {
|
|
3672
|
+
contents[_ASc] = (0, smithy_client_1.expectString)(output[_ASc]);
|
|
3674
3673
|
}
|
|
3675
|
-
if (output[
|
|
3676
|
-
contents
|
|
3674
|
+
if (output[_ASWP] != null) {
|
|
3675
|
+
contents[_ASWP] = (0, smithy_client_1.strictParseInt32)(output[_ASWP]);
|
|
3677
3676
|
}
|
|
3678
|
-
if (output[
|
|
3679
|
-
contents
|
|
3677
|
+
if (output[_ASEP] != null) {
|
|
3678
|
+
contents[_ASEP] = (0, smithy_client_1.strictParseInt32)(output[_ASEP]);
|
|
3680
3679
|
}
|
|
3681
3680
|
return contents;
|
|
3682
3681
|
};
|
|
@@ -3689,8 +3688,8 @@ const de_CompositeAlarms = (output, context) => {
|
|
|
3689
3688
|
};
|
|
3690
3689
|
const de_ConcurrentModificationException = (output, context) => {
|
|
3691
3690
|
const contents = {};
|
|
3692
|
-
if (output[
|
|
3693
|
-
contents
|
|
3691
|
+
if (output[_Mes] != null) {
|
|
3692
|
+
contents[_Mes] = (0, smithy_client_1.expectString)(output[_Mes]);
|
|
3694
3693
|
}
|
|
3695
3694
|
return contents;
|
|
3696
3695
|
};
|
|
@@ -3703,48 +3702,47 @@ const de_DashboardEntries = (output, context) => {
|
|
|
3703
3702
|
};
|
|
3704
3703
|
const de_DashboardEntry = (output, context) => {
|
|
3705
3704
|
const contents = {};
|
|
3706
|
-
if (output[
|
|
3707
|
-
contents
|
|
3705
|
+
if (output[_DNa] != null) {
|
|
3706
|
+
contents[_DNa] = (0, smithy_client_1.expectString)(output[_DNa]);
|
|
3708
3707
|
}
|
|
3709
|
-
if (output[
|
|
3710
|
-
contents
|
|
3708
|
+
if (output[_DAa] != null) {
|
|
3709
|
+
contents[_DAa] = (0, smithy_client_1.expectString)(output[_DAa]);
|
|
3711
3710
|
}
|
|
3712
|
-
if (output[
|
|
3713
|
-
contents
|
|
3711
|
+
if (output[_LMa] != null) {
|
|
3712
|
+
contents[_LMa] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_LMa]));
|
|
3714
3713
|
}
|
|
3715
|
-
if (output[
|
|
3716
|
-
contents
|
|
3714
|
+
if (output[_Si] != null) {
|
|
3715
|
+
contents[_Si] = (0, smithy_client_1.strictParseLong)(output[_Si]);
|
|
3717
3716
|
}
|
|
3718
3717
|
return contents;
|
|
3719
3718
|
};
|
|
3720
3719
|
const de_DashboardInvalidInputError = (output, context) => {
|
|
3721
3720
|
const contents = {};
|
|
3722
|
-
if (output[
|
|
3723
|
-
contents
|
|
3721
|
+
if (output[_me] != null) {
|
|
3722
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
3724
3723
|
}
|
|
3725
3724
|
if (output.dashboardValidationMessages === "") {
|
|
3726
|
-
contents
|
|
3725
|
+
contents[_dVM] = [];
|
|
3727
3726
|
}
|
|
3728
|
-
else if (output[
|
|
3729
|
-
output[
|
|
3730
|
-
contents.dashboardValidationMessages = de_DashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output["dashboardValidationMessages"]["member"]), context);
|
|
3727
|
+
else if (output[_dVM] != null && output[_dVM][_m] != null) {
|
|
3728
|
+
contents[_dVM] = de_DashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output[_dVM][_m]), context);
|
|
3731
3729
|
}
|
|
3732
3730
|
return contents;
|
|
3733
3731
|
};
|
|
3734
3732
|
const de_DashboardNotFoundError = (output, context) => {
|
|
3735
3733
|
const contents = {};
|
|
3736
|
-
if (output[
|
|
3737
|
-
contents
|
|
3734
|
+
if (output[_me] != null) {
|
|
3735
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
3738
3736
|
}
|
|
3739
3737
|
return contents;
|
|
3740
3738
|
};
|
|
3741
3739
|
const de_DashboardValidationMessage = (output, context) => {
|
|
3742
3740
|
const contents = {};
|
|
3743
|
-
if (output[
|
|
3744
|
-
contents
|
|
3741
|
+
if (output[_DP] != null) {
|
|
3742
|
+
contents[_DP] = (0, smithy_client_1.expectString)(output[_DP]);
|
|
3745
3743
|
}
|
|
3746
|
-
if (output[
|
|
3747
|
-
contents
|
|
3744
|
+
if (output[_Mes] != null) {
|
|
3745
|
+
contents[_Mes] = (0, smithy_client_1.expectString)(output[_Mes]);
|
|
3748
3746
|
}
|
|
3749
3747
|
return contents;
|
|
3750
3748
|
};
|
|
@@ -3757,32 +3755,32 @@ const de_DashboardValidationMessages = (output, context) => {
|
|
|
3757
3755
|
};
|
|
3758
3756
|
const de_Datapoint = (output, context) => {
|
|
3759
3757
|
const contents = {};
|
|
3760
|
-
if (output[
|
|
3761
|
-
contents
|
|
3758
|
+
if (output[_Ti] != null) {
|
|
3759
|
+
contents[_Ti] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_Ti]));
|
|
3762
3760
|
}
|
|
3763
|
-
if (output[
|
|
3764
|
-
contents
|
|
3761
|
+
if (output[_SCa] != null) {
|
|
3762
|
+
contents[_SCa] = (0, smithy_client_1.strictParseFloat)(output[_SCa]);
|
|
3765
3763
|
}
|
|
3766
|
-
if (output[
|
|
3767
|
-
contents
|
|
3764
|
+
if (output[_Av] != null) {
|
|
3765
|
+
contents[_Av] = (0, smithy_client_1.strictParseFloat)(output[_Av]);
|
|
3768
3766
|
}
|
|
3769
|
-
if (output[
|
|
3770
|
-
contents
|
|
3767
|
+
if (output[_Su] != null) {
|
|
3768
|
+
contents[_Su] = (0, smithy_client_1.strictParseFloat)(output[_Su]);
|
|
3771
3769
|
}
|
|
3772
|
-
if (output[
|
|
3773
|
-
contents
|
|
3770
|
+
if (output[_Mi] != null) {
|
|
3771
|
+
contents[_Mi] = (0, smithy_client_1.strictParseFloat)(output[_Mi]);
|
|
3774
3772
|
}
|
|
3775
|
-
if (output[
|
|
3776
|
-
contents
|
|
3773
|
+
if (output[_Ma] != null) {
|
|
3774
|
+
contents[_Ma] = (0, smithy_client_1.strictParseFloat)(output[_Ma]);
|
|
3777
3775
|
}
|
|
3778
|
-
if (output[
|
|
3779
|
-
contents
|
|
3776
|
+
if (output[_U] != null) {
|
|
3777
|
+
contents[_U] = (0, smithy_client_1.expectString)(output[_U]);
|
|
3780
3778
|
}
|
|
3781
3779
|
if (output.ExtendedStatistics === "") {
|
|
3782
|
-
contents
|
|
3780
|
+
contents[_ESx] = {};
|
|
3783
3781
|
}
|
|
3784
|
-
else if (output[
|
|
3785
|
-
contents
|
|
3782
|
+
else if (output[_ESx] != null && output[_ESx][_e] != null) {
|
|
3783
|
+
contents[_ESx] = de_DatapointValueMap((0, smithy_client_1.getArrayIfSingleItem)(output[_ESx][_e]), context);
|
|
3786
3784
|
}
|
|
3787
3785
|
return contents;
|
|
3788
3786
|
};
|
|
@@ -3820,10 +3818,10 @@ const de_DeleteDashboardsOutput = (output, context) => {
|
|
|
3820
3818
|
const de_DeleteInsightRulesOutput = (output, context) => {
|
|
3821
3819
|
const contents = {};
|
|
3822
3820
|
if (output.Failures === "") {
|
|
3823
|
-
contents
|
|
3821
|
+
contents[_F] = [];
|
|
3824
3822
|
}
|
|
3825
|
-
else if (output[
|
|
3826
|
-
contents
|
|
3823
|
+
else if (output[_F] != null && output[_F][_m] != null) {
|
|
3824
|
+
contents[_F] = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output[_F][_m]), context);
|
|
3827
3825
|
}
|
|
3828
3826
|
return contents;
|
|
3829
3827
|
};
|
|
@@ -3834,78 +3832,78 @@ const de_DeleteMetricStreamOutput = (output, context) => {
|
|
|
3834
3832
|
const de_DescribeAlarmHistoryOutput = (output, context) => {
|
|
3835
3833
|
const contents = {};
|
|
3836
3834
|
if (output.AlarmHistoryItems === "") {
|
|
3837
|
-
contents
|
|
3835
|
+
contents[_AHI] = [];
|
|
3838
3836
|
}
|
|
3839
|
-
else if (output[
|
|
3840
|
-
contents
|
|
3837
|
+
else if (output[_AHI] != null && output[_AHI][_m] != null) {
|
|
3838
|
+
contents[_AHI] = de_AlarmHistoryItems((0, smithy_client_1.getArrayIfSingleItem)(output[_AHI][_m]), context);
|
|
3841
3839
|
}
|
|
3842
|
-
if (output[
|
|
3843
|
-
contents
|
|
3840
|
+
if (output[_NT] != null) {
|
|
3841
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3844
3842
|
}
|
|
3845
3843
|
return contents;
|
|
3846
3844
|
};
|
|
3847
3845
|
const de_DescribeAlarmsForMetricOutput = (output, context) => {
|
|
3848
3846
|
const contents = {};
|
|
3849
3847
|
if (output.MetricAlarms === "") {
|
|
3850
|
-
contents
|
|
3848
|
+
contents[_MA] = [];
|
|
3851
3849
|
}
|
|
3852
|
-
else if (output[
|
|
3853
|
-
contents
|
|
3850
|
+
else if (output[_MA] != null && output[_MA][_m] != null) {
|
|
3851
|
+
contents[_MA] = de_MetricAlarms((0, smithy_client_1.getArrayIfSingleItem)(output[_MA][_m]), context);
|
|
3854
3852
|
}
|
|
3855
3853
|
return contents;
|
|
3856
3854
|
};
|
|
3857
3855
|
const de_DescribeAlarmsOutput = (output, context) => {
|
|
3858
3856
|
const contents = {};
|
|
3859
3857
|
if (output.CompositeAlarms === "") {
|
|
3860
|
-
contents
|
|
3858
|
+
contents[_CA] = [];
|
|
3861
3859
|
}
|
|
3862
|
-
else if (output[
|
|
3863
|
-
contents
|
|
3860
|
+
else if (output[_CA] != null && output[_CA][_m] != null) {
|
|
3861
|
+
contents[_CA] = de_CompositeAlarms((0, smithy_client_1.getArrayIfSingleItem)(output[_CA][_m]), context);
|
|
3864
3862
|
}
|
|
3865
3863
|
if (output.MetricAlarms === "") {
|
|
3866
|
-
contents
|
|
3864
|
+
contents[_MA] = [];
|
|
3867
3865
|
}
|
|
3868
|
-
else if (output[
|
|
3869
|
-
contents
|
|
3866
|
+
else if (output[_MA] != null && output[_MA][_m] != null) {
|
|
3867
|
+
contents[_MA] = de_MetricAlarms((0, smithy_client_1.getArrayIfSingleItem)(output[_MA][_m]), context);
|
|
3870
3868
|
}
|
|
3871
|
-
if (output[
|
|
3872
|
-
contents
|
|
3869
|
+
if (output[_NT] != null) {
|
|
3870
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3873
3871
|
}
|
|
3874
3872
|
return contents;
|
|
3875
3873
|
};
|
|
3876
3874
|
const de_DescribeAnomalyDetectorsOutput = (output, context) => {
|
|
3877
3875
|
const contents = {};
|
|
3878
3876
|
if (output.AnomalyDetectors === "") {
|
|
3879
|
-
contents
|
|
3877
|
+
contents[_ADn] = [];
|
|
3880
3878
|
}
|
|
3881
|
-
else if (output[
|
|
3882
|
-
contents
|
|
3879
|
+
else if (output[_ADn] != null && output[_ADn][_m] != null) {
|
|
3880
|
+
contents[_ADn] = de_AnomalyDetectors((0, smithy_client_1.getArrayIfSingleItem)(output[_ADn][_m]), context);
|
|
3883
3881
|
}
|
|
3884
|
-
if (output[
|
|
3885
|
-
contents
|
|
3882
|
+
if (output[_NT] != null) {
|
|
3883
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3886
3884
|
}
|
|
3887
3885
|
return contents;
|
|
3888
3886
|
};
|
|
3889
3887
|
const de_DescribeInsightRulesOutput = (output, context) => {
|
|
3890
3888
|
const contents = {};
|
|
3891
|
-
if (output[
|
|
3892
|
-
contents
|
|
3889
|
+
if (output[_NT] != null) {
|
|
3890
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3893
3891
|
}
|
|
3894
3892
|
if (output.InsightRules === "") {
|
|
3895
|
-
contents
|
|
3893
|
+
contents[_IR] = [];
|
|
3896
3894
|
}
|
|
3897
|
-
else if (output[
|
|
3898
|
-
contents
|
|
3895
|
+
else if (output[_IR] != null && output[_IR][_m] != null) {
|
|
3896
|
+
contents[_IR] = de_InsightRules((0, smithy_client_1.getArrayIfSingleItem)(output[_IR][_m]), context);
|
|
3899
3897
|
}
|
|
3900
3898
|
return contents;
|
|
3901
3899
|
};
|
|
3902
3900
|
const de_Dimension = (output, context) => {
|
|
3903
3901
|
const contents = {};
|
|
3904
|
-
if (output[
|
|
3905
|
-
contents
|
|
3902
|
+
if (output[_Na] != null) {
|
|
3903
|
+
contents[_Na] = (0, smithy_client_1.expectString)(output[_Na]);
|
|
3906
3904
|
}
|
|
3907
|
-
if (output[
|
|
3908
|
-
contents
|
|
3905
|
+
if (output[_Va] != null) {
|
|
3906
|
+
contents[_Va] = (0, smithy_client_1.expectString)(output[_Va]);
|
|
3909
3907
|
}
|
|
3910
3908
|
return contents;
|
|
3911
3909
|
};
|
|
@@ -3919,201 +3917,200 @@ const de_Dimensions = (output, context) => {
|
|
|
3919
3917
|
const de_DisableInsightRulesOutput = (output, context) => {
|
|
3920
3918
|
const contents = {};
|
|
3921
3919
|
if (output.Failures === "") {
|
|
3922
|
-
contents
|
|
3920
|
+
contents[_F] = [];
|
|
3923
3921
|
}
|
|
3924
|
-
else if (output[
|
|
3925
|
-
contents
|
|
3922
|
+
else if (output[_F] != null && output[_F][_m] != null) {
|
|
3923
|
+
contents[_F] = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output[_F][_m]), context);
|
|
3926
3924
|
}
|
|
3927
3925
|
return contents;
|
|
3928
3926
|
};
|
|
3929
3927
|
const de_EnableInsightRulesOutput = (output, context) => {
|
|
3930
3928
|
const contents = {};
|
|
3931
3929
|
if (output.Failures === "") {
|
|
3932
|
-
contents
|
|
3930
|
+
contents[_F] = [];
|
|
3933
3931
|
}
|
|
3934
|
-
else if (output[
|
|
3935
|
-
contents
|
|
3932
|
+
else if (output[_F] != null && output[_F][_m] != null) {
|
|
3933
|
+
contents[_F] = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output[_F][_m]), context);
|
|
3936
3934
|
}
|
|
3937
3935
|
return contents;
|
|
3938
3936
|
};
|
|
3939
3937
|
const de_GetDashboardOutput = (output, context) => {
|
|
3940
3938
|
const contents = {};
|
|
3941
|
-
if (output[
|
|
3942
|
-
contents
|
|
3939
|
+
if (output[_DAa] != null) {
|
|
3940
|
+
contents[_DAa] = (0, smithy_client_1.expectString)(output[_DAa]);
|
|
3943
3941
|
}
|
|
3944
|
-
if (output[
|
|
3945
|
-
contents
|
|
3942
|
+
if (output[_DB] != null) {
|
|
3943
|
+
contents[_DB] = (0, smithy_client_1.expectString)(output[_DB]);
|
|
3946
3944
|
}
|
|
3947
|
-
if (output[
|
|
3948
|
-
contents
|
|
3945
|
+
if (output[_DNa] != null) {
|
|
3946
|
+
contents[_DNa] = (0, smithy_client_1.expectString)(output[_DNa]);
|
|
3949
3947
|
}
|
|
3950
3948
|
return contents;
|
|
3951
3949
|
};
|
|
3952
3950
|
const de_GetInsightRuleReportOutput = (output, context) => {
|
|
3953
3951
|
const contents = {};
|
|
3954
3952
|
if (output.KeyLabels === "") {
|
|
3955
|
-
contents
|
|
3953
|
+
contents[_KL] = [];
|
|
3956
3954
|
}
|
|
3957
|
-
else if (output[
|
|
3958
|
-
contents
|
|
3955
|
+
else if (output[_KL] != null && output[_KL][_m] != null) {
|
|
3956
|
+
contents[_KL] = de_InsightRuleContributorKeyLabels((0, smithy_client_1.getArrayIfSingleItem)(output[_KL][_m]), context);
|
|
3959
3957
|
}
|
|
3960
|
-
if (output[
|
|
3961
|
-
contents
|
|
3958
|
+
if (output[_ASg] != null) {
|
|
3959
|
+
contents[_ASg] = (0, smithy_client_1.expectString)(output[_ASg]);
|
|
3962
3960
|
}
|
|
3963
|
-
if (output[
|
|
3964
|
-
contents
|
|
3961
|
+
if (output[_AV] != null) {
|
|
3962
|
+
contents[_AV] = (0, smithy_client_1.strictParseFloat)(output[_AV]);
|
|
3965
3963
|
}
|
|
3966
|
-
if (output[
|
|
3967
|
-
contents
|
|
3964
|
+
if (output[_AUC] != null) {
|
|
3965
|
+
contents[_AUC] = (0, smithy_client_1.strictParseLong)(output[_AUC]);
|
|
3968
3966
|
}
|
|
3969
3967
|
if (output.Contributors === "") {
|
|
3970
|
-
contents
|
|
3968
|
+
contents[_Con] = [];
|
|
3971
3969
|
}
|
|
3972
|
-
else if (output[
|
|
3973
|
-
contents
|
|
3970
|
+
else if (output[_Con] != null && output[_Con][_m] != null) {
|
|
3971
|
+
contents[_Con] = de_InsightRuleContributors((0, smithy_client_1.getArrayIfSingleItem)(output[_Con][_m]), context);
|
|
3974
3972
|
}
|
|
3975
3973
|
if (output.MetricDatapoints === "") {
|
|
3976
|
-
contents
|
|
3974
|
+
contents[_MDet] = [];
|
|
3977
3975
|
}
|
|
3978
|
-
else if (output[
|
|
3979
|
-
contents
|
|
3976
|
+
else if (output[_MDet] != null && output[_MDet][_m] != null) {
|
|
3977
|
+
contents[_MDet] = de_InsightRuleMetricDatapoints((0, smithy_client_1.getArrayIfSingleItem)(output[_MDet][_m]), context);
|
|
3980
3978
|
}
|
|
3981
3979
|
return contents;
|
|
3982
3980
|
};
|
|
3983
3981
|
const de_GetMetricDataOutput = (output, context) => {
|
|
3984
3982
|
const contents = {};
|
|
3985
3983
|
if (output.MetricDataResults === "") {
|
|
3986
|
-
contents
|
|
3984
|
+
contents[_MDR] = [];
|
|
3987
3985
|
}
|
|
3988
|
-
else if (output[
|
|
3989
|
-
contents
|
|
3986
|
+
else if (output[_MDR] != null && output[_MDR][_m] != null) {
|
|
3987
|
+
contents[_MDR] = de_MetricDataResults((0, smithy_client_1.getArrayIfSingleItem)(output[_MDR][_m]), context);
|
|
3990
3988
|
}
|
|
3991
|
-
if (output[
|
|
3992
|
-
contents
|
|
3989
|
+
if (output[_NT] != null) {
|
|
3990
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3993
3991
|
}
|
|
3994
3992
|
if (output.Messages === "") {
|
|
3995
|
-
contents
|
|
3993
|
+
contents[_Mess] = [];
|
|
3996
3994
|
}
|
|
3997
|
-
else if (output[
|
|
3998
|
-
contents
|
|
3995
|
+
else if (output[_Mess] != null && output[_Mess][_m] != null) {
|
|
3996
|
+
contents[_Mess] = de_MetricDataResultMessages((0, smithy_client_1.getArrayIfSingleItem)(output[_Mess][_m]), context);
|
|
3999
3997
|
}
|
|
4000
3998
|
return contents;
|
|
4001
3999
|
};
|
|
4002
4000
|
const de_GetMetricStatisticsOutput = (output, context) => {
|
|
4003
4001
|
const contents = {};
|
|
4004
|
-
if (output[
|
|
4005
|
-
contents
|
|
4002
|
+
if (output[_L] != null) {
|
|
4003
|
+
contents[_L] = (0, smithy_client_1.expectString)(output[_L]);
|
|
4006
4004
|
}
|
|
4007
4005
|
if (output.Datapoints === "") {
|
|
4008
|
-
contents
|
|
4006
|
+
contents[_Da] = [];
|
|
4009
4007
|
}
|
|
4010
|
-
else if (output[
|
|
4011
|
-
contents
|
|
4008
|
+
else if (output[_Da] != null && output[_Da][_m] != null) {
|
|
4009
|
+
contents[_Da] = de_Datapoints((0, smithy_client_1.getArrayIfSingleItem)(output[_Da][_m]), context);
|
|
4012
4010
|
}
|
|
4013
4011
|
return contents;
|
|
4014
4012
|
};
|
|
4015
4013
|
const de_GetMetricStreamOutput = (output, context) => {
|
|
4016
4014
|
const contents = {};
|
|
4017
|
-
if (output[
|
|
4018
|
-
contents
|
|
4015
|
+
if (output[_Ar] != null) {
|
|
4016
|
+
contents[_Ar] = (0, smithy_client_1.expectString)(output[_Ar]);
|
|
4019
4017
|
}
|
|
4020
|
-
if (output[
|
|
4021
|
-
contents
|
|
4018
|
+
if (output[_Na] != null) {
|
|
4019
|
+
contents[_Na] = (0, smithy_client_1.expectString)(output[_Na]);
|
|
4022
4020
|
}
|
|
4023
4021
|
if (output.IncludeFilters === "") {
|
|
4024
|
-
contents
|
|
4022
|
+
contents[_IF] = [];
|
|
4025
4023
|
}
|
|
4026
|
-
else if (output[
|
|
4027
|
-
contents
|
|
4024
|
+
else if (output[_IF] != null && output[_IF][_m] != null) {
|
|
4025
|
+
contents[_IF] = de_MetricStreamFilters((0, smithy_client_1.getArrayIfSingleItem)(output[_IF][_m]), context);
|
|
4028
4026
|
}
|
|
4029
4027
|
if (output.ExcludeFilters === "") {
|
|
4030
|
-
contents
|
|
4028
|
+
contents[_EF] = [];
|
|
4031
4029
|
}
|
|
4032
|
-
else if (output[
|
|
4033
|
-
contents
|
|
4030
|
+
else if (output[_EF] != null && output[_EF][_m] != null) {
|
|
4031
|
+
contents[_EF] = de_MetricStreamFilters((0, smithy_client_1.getArrayIfSingleItem)(output[_EF][_m]), context);
|
|
4034
4032
|
}
|
|
4035
|
-
if (output[
|
|
4036
|
-
contents
|
|
4033
|
+
if (output[_FA] != null) {
|
|
4034
|
+
contents[_FA] = (0, smithy_client_1.expectString)(output[_FA]);
|
|
4037
4035
|
}
|
|
4038
|
-
if (output[
|
|
4039
|
-
contents
|
|
4036
|
+
if (output[_RAo] != null) {
|
|
4037
|
+
contents[_RAo] = (0, smithy_client_1.expectString)(output[_RAo]);
|
|
4040
4038
|
}
|
|
4041
|
-
if (output[
|
|
4042
|
-
contents
|
|
4039
|
+
if (output[_Stat] != null) {
|
|
4040
|
+
contents[_Stat] = (0, smithy_client_1.expectString)(output[_Stat]);
|
|
4043
4041
|
}
|
|
4044
|
-
if (output[
|
|
4045
|
-
contents
|
|
4042
|
+
if (output[_CD] != null) {
|
|
4043
|
+
contents[_CD] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_CD]));
|
|
4046
4044
|
}
|
|
4047
|
-
if (output[
|
|
4048
|
-
contents
|
|
4045
|
+
if (output[_LUD] != null) {
|
|
4046
|
+
contents[_LUD] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_LUD]));
|
|
4049
4047
|
}
|
|
4050
|
-
if (output[
|
|
4051
|
-
contents
|
|
4048
|
+
if (output[_OF] != null) {
|
|
4049
|
+
contents[_OF] = (0, smithy_client_1.expectString)(output[_OF]);
|
|
4052
4050
|
}
|
|
4053
4051
|
if (output.StatisticsConfigurations === "") {
|
|
4054
|
-
contents
|
|
4052
|
+
contents[_SC] = [];
|
|
4055
4053
|
}
|
|
4056
|
-
else if (output[
|
|
4057
|
-
output[
|
|
4058
|
-
contents.StatisticsConfigurations = de_MetricStreamStatisticsConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output["StatisticsConfigurations"]["member"]), context);
|
|
4054
|
+
else if (output[_SC] != null && output[_SC][_m] != null) {
|
|
4055
|
+
contents[_SC] = de_MetricStreamStatisticsConfigurations((0, smithy_client_1.getArrayIfSingleItem)(output[_SC][_m]), context);
|
|
4059
4056
|
}
|
|
4060
|
-
if (output[
|
|
4061
|
-
contents
|
|
4057
|
+
if (output[_ILAM] != null) {
|
|
4058
|
+
contents[_ILAM] = (0, smithy_client_1.parseBoolean)(output[_ILAM]);
|
|
4062
4059
|
}
|
|
4063
4060
|
return contents;
|
|
4064
4061
|
};
|
|
4065
4062
|
const de_GetMetricWidgetImageOutput = (output, context) => {
|
|
4066
4063
|
const contents = {};
|
|
4067
|
-
if (output[
|
|
4068
|
-
contents
|
|
4064
|
+
if (output[_MWI] != null) {
|
|
4065
|
+
contents[_MWI] = context.base64Decoder(output[_MWI]);
|
|
4069
4066
|
}
|
|
4070
4067
|
return contents;
|
|
4071
4068
|
};
|
|
4072
4069
|
const de_InsightRule = (output, context) => {
|
|
4073
4070
|
const contents = {};
|
|
4074
|
-
if (output[
|
|
4075
|
-
contents
|
|
4071
|
+
if (output[_Na] != null) {
|
|
4072
|
+
contents[_Na] = (0, smithy_client_1.expectString)(output[_Na]);
|
|
4076
4073
|
}
|
|
4077
|
-
if (output[
|
|
4078
|
-
contents
|
|
4074
|
+
if (output[_Stat] != null) {
|
|
4075
|
+
contents[_Stat] = (0, smithy_client_1.expectString)(output[_Stat]);
|
|
4079
4076
|
}
|
|
4080
|
-
if (output[
|
|
4081
|
-
contents
|
|
4077
|
+
if (output[_Sc] != null) {
|
|
4078
|
+
contents[_Sc] = (0, smithy_client_1.expectString)(output[_Sc]);
|
|
4082
4079
|
}
|
|
4083
|
-
if (output[
|
|
4084
|
-
contents
|
|
4080
|
+
if (output[_De] != null) {
|
|
4081
|
+
contents[_De] = (0, smithy_client_1.expectString)(output[_De]);
|
|
4085
4082
|
}
|
|
4086
|
-
if (output[
|
|
4087
|
-
contents
|
|
4083
|
+
if (output[_MRana] != null) {
|
|
4084
|
+
contents[_MRana] = (0, smithy_client_1.parseBoolean)(output[_MRana]);
|
|
4088
4085
|
}
|
|
4089
4086
|
return contents;
|
|
4090
4087
|
};
|
|
4091
4088
|
const de_InsightRuleContributor = (output, context) => {
|
|
4092
4089
|
const contents = {};
|
|
4093
4090
|
if (output.Keys === "") {
|
|
4094
|
-
contents
|
|
4091
|
+
contents[_Ke] = [];
|
|
4095
4092
|
}
|
|
4096
|
-
else if (output[
|
|
4097
|
-
contents
|
|
4093
|
+
else if (output[_Ke] != null && output[_Ke][_m] != null) {
|
|
4094
|
+
contents[_Ke] = de_InsightRuleContributorKeys((0, smithy_client_1.getArrayIfSingleItem)(output[_Ke][_m]), context);
|
|
4098
4095
|
}
|
|
4099
|
-
if (output[
|
|
4100
|
-
contents
|
|
4096
|
+
if (output[_AAV] != null) {
|
|
4097
|
+
contents[_AAV] = (0, smithy_client_1.strictParseFloat)(output[_AAV]);
|
|
4101
4098
|
}
|
|
4102
4099
|
if (output.Datapoints === "") {
|
|
4103
|
-
contents
|
|
4100
|
+
contents[_Da] = [];
|
|
4104
4101
|
}
|
|
4105
|
-
else if (output[
|
|
4106
|
-
contents
|
|
4102
|
+
else if (output[_Da] != null && output[_Da][_m] != null) {
|
|
4103
|
+
contents[_Da] = de_InsightRuleContributorDatapoints((0, smithy_client_1.getArrayIfSingleItem)(output[_Da][_m]), context);
|
|
4107
4104
|
}
|
|
4108
4105
|
return contents;
|
|
4109
4106
|
};
|
|
4110
4107
|
const de_InsightRuleContributorDatapoint = (output, context) => {
|
|
4111
4108
|
const contents = {};
|
|
4112
|
-
if (output[
|
|
4113
|
-
contents
|
|
4109
|
+
if (output[_Ti] != null) {
|
|
4110
|
+
contents[_Ti] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_Ti]));
|
|
4114
4111
|
}
|
|
4115
|
-
if (output[
|
|
4116
|
-
contents
|
|
4112
|
+
if (output[_AVp] != null) {
|
|
4113
|
+
contents[_AVp] = (0, smithy_client_1.strictParseFloat)(output[_AVp]);
|
|
4117
4114
|
}
|
|
4118
4115
|
return contents;
|
|
4119
4116
|
};
|
|
@@ -4147,29 +4144,29 @@ const de_InsightRuleContributors = (output, context) => {
|
|
|
4147
4144
|
};
|
|
4148
4145
|
const de_InsightRuleMetricDatapoint = (output, context) => {
|
|
4149
4146
|
const contents = {};
|
|
4150
|
-
if (output[
|
|
4151
|
-
contents
|
|
4147
|
+
if (output[_Ti] != null) {
|
|
4148
|
+
contents[_Ti] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_Ti]));
|
|
4152
4149
|
}
|
|
4153
|
-
if (output[
|
|
4154
|
-
contents
|
|
4150
|
+
if (output[_UC] != null) {
|
|
4151
|
+
contents[_UC] = (0, smithy_client_1.strictParseFloat)(output[_UC]);
|
|
4155
4152
|
}
|
|
4156
|
-
if (output[
|
|
4157
|
-
contents
|
|
4153
|
+
if (output[_MCV] != null) {
|
|
4154
|
+
contents[_MCV] = (0, smithy_client_1.strictParseFloat)(output[_MCV]);
|
|
4158
4155
|
}
|
|
4159
|
-
if (output[
|
|
4160
|
-
contents
|
|
4156
|
+
if (output[_SCa] != null) {
|
|
4157
|
+
contents[_SCa] = (0, smithy_client_1.strictParseFloat)(output[_SCa]);
|
|
4161
4158
|
}
|
|
4162
|
-
if (output[
|
|
4163
|
-
contents
|
|
4159
|
+
if (output[_Av] != null) {
|
|
4160
|
+
contents[_Av] = (0, smithy_client_1.strictParseFloat)(output[_Av]);
|
|
4164
4161
|
}
|
|
4165
|
-
if (output[
|
|
4166
|
-
contents
|
|
4162
|
+
if (output[_Su] != null) {
|
|
4163
|
+
contents[_Su] = (0, smithy_client_1.strictParseFloat)(output[_Su]);
|
|
4167
4164
|
}
|
|
4168
|
-
if (output[
|
|
4169
|
-
contents
|
|
4165
|
+
if (output[_Mi] != null) {
|
|
4166
|
+
contents[_Mi] = (0, smithy_client_1.strictParseFloat)(output[_Mi]);
|
|
4170
4167
|
}
|
|
4171
|
-
if (output[
|
|
4172
|
-
contents
|
|
4168
|
+
if (output[_Ma] != null) {
|
|
4169
|
+
contents[_Ma] = (0, smithy_client_1.strictParseFloat)(output[_Ma]);
|
|
4173
4170
|
}
|
|
4174
4171
|
return contents;
|
|
4175
4172
|
};
|
|
@@ -4189,131 +4186,131 @@ const de_InsightRules = (output, context) => {
|
|
|
4189
4186
|
};
|
|
4190
4187
|
const de_InternalServiceFault = (output, context) => {
|
|
4191
4188
|
const contents = {};
|
|
4192
|
-
if (output[
|
|
4193
|
-
contents
|
|
4189
|
+
if (output[_Mes] != null) {
|
|
4190
|
+
contents[_Mes] = (0, smithy_client_1.expectString)(output[_Mes]);
|
|
4194
4191
|
}
|
|
4195
4192
|
return contents;
|
|
4196
4193
|
};
|
|
4197
4194
|
const de_InvalidFormatFault = (output, context) => {
|
|
4198
4195
|
const contents = {};
|
|
4199
|
-
if (output[
|
|
4200
|
-
contents
|
|
4196
|
+
if (output[_me] != null) {
|
|
4197
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
4201
4198
|
}
|
|
4202
4199
|
return contents;
|
|
4203
4200
|
};
|
|
4204
4201
|
const de_InvalidNextToken = (output, context) => {
|
|
4205
4202
|
const contents = {};
|
|
4206
|
-
if (output[
|
|
4207
|
-
contents
|
|
4203
|
+
if (output[_me] != null) {
|
|
4204
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
4208
4205
|
}
|
|
4209
4206
|
return contents;
|
|
4210
4207
|
};
|
|
4211
4208
|
const de_InvalidParameterCombinationException = (output, context) => {
|
|
4212
4209
|
const contents = {};
|
|
4213
|
-
if (output[
|
|
4214
|
-
contents
|
|
4210
|
+
if (output[_me] != null) {
|
|
4211
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
4215
4212
|
}
|
|
4216
4213
|
return contents;
|
|
4217
4214
|
};
|
|
4218
4215
|
const de_InvalidParameterValueException = (output, context) => {
|
|
4219
4216
|
const contents = {};
|
|
4220
|
-
if (output[
|
|
4221
|
-
contents
|
|
4217
|
+
if (output[_me] != null) {
|
|
4218
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
4222
4219
|
}
|
|
4223
4220
|
return contents;
|
|
4224
4221
|
};
|
|
4225
4222
|
const de_LimitExceededException = (output, context) => {
|
|
4226
4223
|
const contents = {};
|
|
4227
|
-
if (output[
|
|
4228
|
-
contents
|
|
4224
|
+
if (output[_Mes] != null) {
|
|
4225
|
+
contents[_Mes] = (0, smithy_client_1.expectString)(output[_Mes]);
|
|
4229
4226
|
}
|
|
4230
4227
|
return contents;
|
|
4231
4228
|
};
|
|
4232
4229
|
const de_LimitExceededFault = (output, context) => {
|
|
4233
4230
|
const contents = {};
|
|
4234
|
-
if (output[
|
|
4235
|
-
contents
|
|
4231
|
+
if (output[_me] != null) {
|
|
4232
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
4236
4233
|
}
|
|
4237
4234
|
return contents;
|
|
4238
4235
|
};
|
|
4239
4236
|
const de_ListDashboardsOutput = (output, context) => {
|
|
4240
4237
|
const contents = {};
|
|
4241
4238
|
if (output.DashboardEntries === "") {
|
|
4242
|
-
contents
|
|
4239
|
+
contents[_DE] = [];
|
|
4243
4240
|
}
|
|
4244
|
-
else if (output[
|
|
4245
|
-
contents
|
|
4241
|
+
else if (output[_DE] != null && output[_DE][_m] != null) {
|
|
4242
|
+
contents[_DE] = de_DashboardEntries((0, smithy_client_1.getArrayIfSingleItem)(output[_DE][_m]), context);
|
|
4246
4243
|
}
|
|
4247
|
-
if (output[
|
|
4248
|
-
contents
|
|
4244
|
+
if (output[_NT] != null) {
|
|
4245
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
4249
4246
|
}
|
|
4250
4247
|
return contents;
|
|
4251
4248
|
};
|
|
4252
4249
|
const de_ListManagedInsightRulesOutput = (output, context) => {
|
|
4253
4250
|
const contents = {};
|
|
4254
4251
|
if (output.ManagedRules === "") {
|
|
4255
|
-
contents
|
|
4252
|
+
contents[_MRan] = [];
|
|
4256
4253
|
}
|
|
4257
|
-
else if (output[
|
|
4258
|
-
contents
|
|
4254
|
+
else if (output[_MRan] != null && output[_MRan][_m] != null) {
|
|
4255
|
+
contents[_MRan] = de_ManagedRuleDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_MRan][_m]), context);
|
|
4259
4256
|
}
|
|
4260
|
-
if (output[
|
|
4261
|
-
contents
|
|
4257
|
+
if (output[_NT] != null) {
|
|
4258
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
4262
4259
|
}
|
|
4263
4260
|
return contents;
|
|
4264
4261
|
};
|
|
4265
4262
|
const de_ListMetricsOutput = (output, context) => {
|
|
4266
4263
|
const contents = {};
|
|
4267
4264
|
if (output.Metrics === "") {
|
|
4268
|
-
contents
|
|
4265
|
+
contents[_M] = [];
|
|
4269
4266
|
}
|
|
4270
|
-
else if (output[
|
|
4271
|
-
contents
|
|
4267
|
+
else if (output[_M] != null && output[_M][_m] != null) {
|
|
4268
|
+
contents[_M] = de_Metrics((0, smithy_client_1.getArrayIfSingleItem)(output[_M][_m]), context);
|
|
4272
4269
|
}
|
|
4273
|
-
if (output[
|
|
4274
|
-
contents
|
|
4270
|
+
if (output[_NT] != null) {
|
|
4271
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
4275
4272
|
}
|
|
4276
4273
|
if (output.OwningAccounts === "") {
|
|
4277
|
-
contents
|
|
4274
|
+
contents[_OAw] = [];
|
|
4278
4275
|
}
|
|
4279
|
-
else if (output[
|
|
4280
|
-
contents
|
|
4276
|
+
else if (output[_OAw] != null && output[_OAw][_m] != null) {
|
|
4277
|
+
contents[_OAw] = de_OwningAccounts((0, smithy_client_1.getArrayIfSingleItem)(output[_OAw][_m]), context);
|
|
4281
4278
|
}
|
|
4282
4279
|
return contents;
|
|
4283
4280
|
};
|
|
4284
4281
|
const de_ListMetricStreamsOutput = (output, context) => {
|
|
4285
4282
|
const contents = {};
|
|
4286
|
-
if (output[
|
|
4287
|
-
contents
|
|
4283
|
+
if (output[_NT] != null) {
|
|
4284
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
4288
4285
|
}
|
|
4289
4286
|
if (output.Entries === "") {
|
|
4290
|
-
contents
|
|
4287
|
+
contents[_En] = [];
|
|
4291
4288
|
}
|
|
4292
|
-
else if (output[
|
|
4293
|
-
contents
|
|
4289
|
+
else if (output[_En] != null && output[_En][_m] != null) {
|
|
4290
|
+
contents[_En] = de_MetricStreamEntries((0, smithy_client_1.getArrayIfSingleItem)(output[_En][_m]), context);
|
|
4294
4291
|
}
|
|
4295
4292
|
return contents;
|
|
4296
4293
|
};
|
|
4297
4294
|
const de_ListTagsForResourceOutput = (output, context) => {
|
|
4298
4295
|
const contents = {};
|
|
4299
4296
|
if (output.Tags === "") {
|
|
4300
|
-
contents
|
|
4297
|
+
contents[_Ta] = [];
|
|
4301
4298
|
}
|
|
4302
|
-
else if (output[
|
|
4303
|
-
contents
|
|
4299
|
+
else if (output[_Ta] != null && output[_Ta][_m] != null) {
|
|
4300
|
+
contents[_Ta] = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output[_Ta][_m]), context);
|
|
4304
4301
|
}
|
|
4305
4302
|
return contents;
|
|
4306
4303
|
};
|
|
4307
4304
|
const de_ManagedRuleDescription = (output, context) => {
|
|
4308
4305
|
const contents = {};
|
|
4309
|
-
if (output[
|
|
4310
|
-
contents
|
|
4306
|
+
if (output[_TN] != null) {
|
|
4307
|
+
contents[_TN] = (0, smithy_client_1.expectString)(output[_TN]);
|
|
4311
4308
|
}
|
|
4312
|
-
if (output[
|
|
4313
|
-
contents
|
|
4309
|
+
if (output[_RARN] != null) {
|
|
4310
|
+
contents[_RARN] = (0, smithy_client_1.expectString)(output[_RARN]);
|
|
4314
4311
|
}
|
|
4315
|
-
if (output[
|
|
4316
|
-
contents
|
|
4312
|
+
if (output[_RS] != null) {
|
|
4313
|
+
contents[_RS] = de_ManagedRuleState(output[_RS], context);
|
|
4317
4314
|
}
|
|
4318
4315
|
return contents;
|
|
4319
4316
|
};
|
|
@@ -4326,144 +4323,143 @@ const de_ManagedRuleDescriptions = (output, context) => {
|
|
|
4326
4323
|
};
|
|
4327
4324
|
const de_ManagedRuleState = (output, context) => {
|
|
4328
4325
|
const contents = {};
|
|
4329
|
-
if (output[
|
|
4330
|
-
contents
|
|
4326
|
+
if (output[_RNu] != null) {
|
|
4327
|
+
contents[_RNu] = (0, smithy_client_1.expectString)(output[_RNu]);
|
|
4331
4328
|
}
|
|
4332
|
-
if (output[
|
|
4333
|
-
contents
|
|
4329
|
+
if (output[_Stat] != null) {
|
|
4330
|
+
contents[_Stat] = (0, smithy_client_1.expectString)(output[_Stat]);
|
|
4334
4331
|
}
|
|
4335
4332
|
return contents;
|
|
4336
4333
|
};
|
|
4337
4334
|
const de_MessageData = (output, context) => {
|
|
4338
4335
|
const contents = {};
|
|
4339
|
-
if (output[
|
|
4340
|
-
contents
|
|
4336
|
+
if (output[_Cod] != null) {
|
|
4337
|
+
contents[_Cod] = (0, smithy_client_1.expectString)(output[_Cod]);
|
|
4341
4338
|
}
|
|
4342
|
-
if (output[
|
|
4343
|
-
contents
|
|
4339
|
+
if (output[_Va] != null) {
|
|
4340
|
+
contents[_Va] = (0, smithy_client_1.expectString)(output[_Va]);
|
|
4344
4341
|
}
|
|
4345
4342
|
return contents;
|
|
4346
4343
|
};
|
|
4347
4344
|
const de_Metric = (output, context) => {
|
|
4348
4345
|
const contents = {};
|
|
4349
|
-
if (output[
|
|
4350
|
-
contents
|
|
4346
|
+
if (output[_N] != null) {
|
|
4347
|
+
contents[_N] = (0, smithy_client_1.expectString)(output[_N]);
|
|
4351
4348
|
}
|
|
4352
|
-
if (output[
|
|
4353
|
-
contents
|
|
4349
|
+
if (output[_MN] != null) {
|
|
4350
|
+
contents[_MN] = (0, smithy_client_1.expectString)(output[_MN]);
|
|
4354
4351
|
}
|
|
4355
4352
|
if (output.Dimensions === "") {
|
|
4356
|
-
contents
|
|
4353
|
+
contents[_D] = [];
|
|
4357
4354
|
}
|
|
4358
|
-
else if (output[
|
|
4359
|
-
contents
|
|
4355
|
+
else if (output[_D] != null && output[_D][_m] != null) {
|
|
4356
|
+
contents[_D] = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output[_D][_m]), context);
|
|
4360
4357
|
}
|
|
4361
4358
|
return contents;
|
|
4362
4359
|
};
|
|
4363
4360
|
const de_MetricAlarm = (output, context) => {
|
|
4364
4361
|
const contents = {};
|
|
4365
|
-
if (output[
|
|
4366
|
-
contents
|
|
4362
|
+
if (output[_ANl] != null) {
|
|
4363
|
+
contents[_ANl] = (0, smithy_client_1.expectString)(output[_ANl]);
|
|
4367
4364
|
}
|
|
4368
|
-
if (output[
|
|
4369
|
-
contents
|
|
4365
|
+
if (output[_AAl] != null) {
|
|
4366
|
+
contents[_AAl] = (0, smithy_client_1.expectString)(output[_AAl]);
|
|
4370
4367
|
}
|
|
4371
|
-
if (output[
|
|
4372
|
-
contents
|
|
4368
|
+
if (output[_AD] != null) {
|
|
4369
|
+
contents[_AD] = (0, smithy_client_1.expectString)(output[_AD]);
|
|
4373
4370
|
}
|
|
4374
|
-
if (output[
|
|
4375
|
-
contents
|
|
4371
|
+
if (output[_ACUT] != null) {
|
|
4372
|
+
contents[_ACUT] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_ACUT]));
|
|
4376
4373
|
}
|
|
4377
|
-
if (output[
|
|
4378
|
-
contents
|
|
4374
|
+
if (output[_AE] != null) {
|
|
4375
|
+
contents[_AE] = (0, smithy_client_1.parseBoolean)(output[_AE]);
|
|
4379
4376
|
}
|
|
4380
4377
|
if (output.OKActions === "") {
|
|
4381
|
-
contents
|
|
4378
|
+
contents[_OKA] = [];
|
|
4382
4379
|
}
|
|
4383
|
-
else if (output[
|
|
4384
|
-
contents
|
|
4380
|
+
else if (output[_OKA] != null && output[_OKA][_m] != null) {
|
|
4381
|
+
contents[_OKA] = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output[_OKA][_m]), context);
|
|
4385
4382
|
}
|
|
4386
4383
|
if (output.AlarmActions === "") {
|
|
4387
|
-
contents
|
|
4384
|
+
contents[_AA] = [];
|
|
4388
4385
|
}
|
|
4389
|
-
else if (output[
|
|
4390
|
-
contents
|
|
4386
|
+
else if (output[_AA] != null && output[_AA][_m] != null) {
|
|
4387
|
+
contents[_AA] = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output[_AA][_m]), context);
|
|
4391
4388
|
}
|
|
4392
4389
|
if (output.InsufficientDataActions === "") {
|
|
4393
|
-
contents
|
|
4390
|
+
contents[_IDA] = [];
|
|
4394
4391
|
}
|
|
4395
|
-
else if (output[
|
|
4396
|
-
output[
|
|
4397
|
-
contents.InsufficientDataActions = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["InsufficientDataActions"]["member"]), context);
|
|
4392
|
+
else if (output[_IDA] != null && output[_IDA][_m] != null) {
|
|
4393
|
+
contents[_IDA] = de_ResourceList((0, smithy_client_1.getArrayIfSingleItem)(output[_IDA][_m]), context);
|
|
4398
4394
|
}
|
|
4399
|
-
if (output[
|
|
4400
|
-
contents
|
|
4395
|
+
if (output[_SV] != null) {
|
|
4396
|
+
contents[_SV] = (0, smithy_client_1.expectString)(output[_SV]);
|
|
4401
4397
|
}
|
|
4402
|
-
if (output[
|
|
4403
|
-
contents
|
|
4398
|
+
if (output[_SRt] != null) {
|
|
4399
|
+
contents[_SRt] = (0, smithy_client_1.expectString)(output[_SRt]);
|
|
4404
4400
|
}
|
|
4405
|
-
if (output[
|
|
4406
|
-
contents
|
|
4401
|
+
if (output[_SRD] != null) {
|
|
4402
|
+
contents[_SRD] = (0, smithy_client_1.expectString)(output[_SRD]);
|
|
4407
4403
|
}
|
|
4408
|
-
if (output[
|
|
4409
|
-
contents
|
|
4404
|
+
if (output[_SUT] != null) {
|
|
4405
|
+
contents[_SUT] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_SUT]));
|
|
4410
4406
|
}
|
|
4411
|
-
if (output[
|
|
4412
|
-
contents
|
|
4407
|
+
if (output[_MN] != null) {
|
|
4408
|
+
contents[_MN] = (0, smithy_client_1.expectString)(output[_MN]);
|
|
4413
4409
|
}
|
|
4414
|
-
if (output[
|
|
4415
|
-
contents
|
|
4410
|
+
if (output[_N] != null) {
|
|
4411
|
+
contents[_N] = (0, smithy_client_1.expectString)(output[_N]);
|
|
4416
4412
|
}
|
|
4417
|
-
if (output[
|
|
4418
|
-
contents
|
|
4413
|
+
if (output[_St] != null) {
|
|
4414
|
+
contents[_St] = (0, smithy_client_1.expectString)(output[_St]);
|
|
4419
4415
|
}
|
|
4420
|
-
if (output[
|
|
4421
|
-
contents
|
|
4416
|
+
if (output[_ES] != null) {
|
|
4417
|
+
contents[_ES] = (0, smithy_client_1.expectString)(output[_ES]);
|
|
4422
4418
|
}
|
|
4423
4419
|
if (output.Dimensions === "") {
|
|
4424
|
-
contents
|
|
4420
|
+
contents[_D] = [];
|
|
4425
4421
|
}
|
|
4426
|
-
else if (output[
|
|
4427
|
-
contents
|
|
4422
|
+
else if (output[_D] != null && output[_D][_m] != null) {
|
|
4423
|
+
contents[_D] = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output[_D][_m]), context);
|
|
4428
4424
|
}
|
|
4429
|
-
if (output[
|
|
4430
|
-
contents
|
|
4425
|
+
if (output[_P] != null) {
|
|
4426
|
+
contents[_P] = (0, smithy_client_1.strictParseInt32)(output[_P]);
|
|
4431
4427
|
}
|
|
4432
|
-
if (output[
|
|
4433
|
-
contents
|
|
4428
|
+
if (output[_U] != null) {
|
|
4429
|
+
contents[_U] = (0, smithy_client_1.expectString)(output[_U]);
|
|
4434
4430
|
}
|
|
4435
|
-
if (output[
|
|
4436
|
-
contents
|
|
4431
|
+
if (output[_EP] != null) {
|
|
4432
|
+
contents[_EP] = (0, smithy_client_1.strictParseInt32)(output[_EP]);
|
|
4437
4433
|
}
|
|
4438
|
-
if (output[
|
|
4439
|
-
contents
|
|
4434
|
+
if (output[_DTA] != null) {
|
|
4435
|
+
contents[_DTA] = (0, smithy_client_1.strictParseInt32)(output[_DTA]);
|
|
4440
4436
|
}
|
|
4441
|
-
if (output[
|
|
4442
|
-
contents
|
|
4437
|
+
if (output[_Th] != null) {
|
|
4438
|
+
contents[_Th] = (0, smithy_client_1.strictParseFloat)(output[_Th]);
|
|
4443
4439
|
}
|
|
4444
|
-
if (output[
|
|
4445
|
-
contents
|
|
4440
|
+
if (output[_CO] != null) {
|
|
4441
|
+
contents[_CO] = (0, smithy_client_1.expectString)(output[_CO]);
|
|
4446
4442
|
}
|
|
4447
|
-
if (output[
|
|
4448
|
-
contents
|
|
4443
|
+
if (output[_TMD] != null) {
|
|
4444
|
+
contents[_TMD] = (0, smithy_client_1.expectString)(output[_TMD]);
|
|
4449
4445
|
}
|
|
4450
|
-
if (output[
|
|
4451
|
-
contents
|
|
4446
|
+
if (output[_ELSCP] != null) {
|
|
4447
|
+
contents[_ELSCP] = (0, smithy_client_1.expectString)(output[_ELSCP]);
|
|
4452
4448
|
}
|
|
4453
4449
|
if (output.Metrics === "") {
|
|
4454
|
-
contents
|
|
4450
|
+
contents[_M] = [];
|
|
4455
4451
|
}
|
|
4456
|
-
else if (output[
|
|
4457
|
-
contents
|
|
4452
|
+
else if (output[_M] != null && output[_M][_m] != null) {
|
|
4453
|
+
contents[_M] = de_MetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output[_M][_m]), context);
|
|
4458
4454
|
}
|
|
4459
|
-
if (output[
|
|
4460
|
-
contents
|
|
4455
|
+
if (output[_TMI] != null) {
|
|
4456
|
+
contents[_TMI] = (0, smithy_client_1.expectString)(output[_TMI]);
|
|
4461
4457
|
}
|
|
4462
|
-
if (output[
|
|
4463
|
-
contents
|
|
4458
|
+
if (output[_ESv] != null) {
|
|
4459
|
+
contents[_ESv] = (0, smithy_client_1.expectString)(output[_ESv]);
|
|
4464
4460
|
}
|
|
4465
|
-
if (output[
|
|
4466
|
-
contents
|
|
4461
|
+
if (output[_STT] != null) {
|
|
4462
|
+
contents[_STT] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_STT]));
|
|
4467
4463
|
}
|
|
4468
4464
|
return contents;
|
|
4469
4465
|
};
|
|
@@ -4483,57 +4479,57 @@ const de_MetricDataQueries = (output, context) => {
|
|
|
4483
4479
|
};
|
|
4484
4480
|
const de_MetricDataQuery = (output, context) => {
|
|
4485
4481
|
const contents = {};
|
|
4486
|
-
if (output[
|
|
4487
|
-
contents
|
|
4482
|
+
if (output[_I] != null) {
|
|
4483
|
+
contents[_I] = (0, smithy_client_1.expectString)(output[_I]);
|
|
4488
4484
|
}
|
|
4489
|
-
if (output[
|
|
4490
|
-
contents
|
|
4485
|
+
if (output[_MS] != null) {
|
|
4486
|
+
contents[_MS] = de_MetricStat(output[_MS], context);
|
|
4491
4487
|
}
|
|
4492
|
-
if (output[
|
|
4493
|
-
contents
|
|
4488
|
+
if (output[_E] != null) {
|
|
4489
|
+
contents[_E] = (0, smithy_client_1.expectString)(output[_E]);
|
|
4494
4490
|
}
|
|
4495
|
-
if (output[
|
|
4496
|
-
contents
|
|
4491
|
+
if (output[_L] != null) {
|
|
4492
|
+
contents[_L] = (0, smithy_client_1.expectString)(output[_L]);
|
|
4497
4493
|
}
|
|
4498
|
-
if (output[
|
|
4499
|
-
contents
|
|
4494
|
+
if (output[_RD] != null) {
|
|
4495
|
+
contents[_RD] = (0, smithy_client_1.parseBoolean)(output[_RD]);
|
|
4500
4496
|
}
|
|
4501
|
-
if (output[
|
|
4502
|
-
contents
|
|
4497
|
+
if (output[_P] != null) {
|
|
4498
|
+
contents[_P] = (0, smithy_client_1.strictParseInt32)(output[_P]);
|
|
4503
4499
|
}
|
|
4504
|
-
if (output[
|
|
4505
|
-
contents
|
|
4500
|
+
if (output[_AI] != null) {
|
|
4501
|
+
contents[_AI] = (0, smithy_client_1.expectString)(output[_AI]);
|
|
4506
4502
|
}
|
|
4507
4503
|
return contents;
|
|
4508
4504
|
};
|
|
4509
4505
|
const de_MetricDataResult = (output, context) => {
|
|
4510
4506
|
const contents = {};
|
|
4511
|
-
if (output[
|
|
4512
|
-
contents
|
|
4507
|
+
if (output[_I] != null) {
|
|
4508
|
+
contents[_I] = (0, smithy_client_1.expectString)(output[_I]);
|
|
4513
4509
|
}
|
|
4514
|
-
if (output[
|
|
4515
|
-
contents
|
|
4510
|
+
if (output[_L] != null) {
|
|
4511
|
+
contents[_L] = (0, smithy_client_1.expectString)(output[_L]);
|
|
4516
4512
|
}
|
|
4517
4513
|
if (output.Timestamps === "") {
|
|
4518
|
-
contents
|
|
4514
|
+
contents[_Tim] = [];
|
|
4519
4515
|
}
|
|
4520
|
-
else if (output[
|
|
4521
|
-
contents
|
|
4516
|
+
else if (output[_Tim] != null && output[_Tim][_m] != null) {
|
|
4517
|
+
contents[_Tim] = de_Timestamps((0, smithy_client_1.getArrayIfSingleItem)(output[_Tim][_m]), context);
|
|
4522
4518
|
}
|
|
4523
4519
|
if (output.Values === "") {
|
|
4524
|
-
contents
|
|
4520
|
+
contents[_Val] = [];
|
|
4525
4521
|
}
|
|
4526
|
-
else if (output[
|
|
4527
|
-
contents
|
|
4522
|
+
else if (output[_Val] != null && output[_Val][_m] != null) {
|
|
4523
|
+
contents[_Val] = de_DatapointValues((0, smithy_client_1.getArrayIfSingleItem)(output[_Val][_m]), context);
|
|
4528
4524
|
}
|
|
4529
|
-
if (output[
|
|
4530
|
-
contents
|
|
4525
|
+
if (output[_SCt] != null) {
|
|
4526
|
+
contents[_SCt] = (0, smithy_client_1.expectString)(output[_SCt]);
|
|
4531
4527
|
}
|
|
4532
4528
|
if (output.Messages === "") {
|
|
4533
|
-
contents
|
|
4529
|
+
contents[_Mess] = [];
|
|
4534
4530
|
}
|
|
4535
|
-
else if (output[
|
|
4536
|
-
contents
|
|
4531
|
+
else if (output[_Mess] != null && output[_Mess][_m] != null) {
|
|
4532
|
+
contents[_Mess] = de_MetricDataResultMessages((0, smithy_client_1.getArrayIfSingleItem)(output[_Mess][_m]), context);
|
|
4537
4533
|
}
|
|
4538
4534
|
return contents;
|
|
4539
4535
|
};
|
|
@@ -4554,10 +4550,10 @@ const de_MetricDataResults = (output, context) => {
|
|
|
4554
4550
|
const de_MetricMathAnomalyDetector = (output, context) => {
|
|
4555
4551
|
const contents = {};
|
|
4556
4552
|
if (output.MetricDataQueries === "") {
|
|
4557
|
-
contents
|
|
4553
|
+
contents[_MDQ] = [];
|
|
4558
4554
|
}
|
|
4559
|
-
else if (output[
|
|
4560
|
-
contents
|
|
4555
|
+
else if (output[_MDQ] != null && output[_MDQ][_m] != null) {
|
|
4556
|
+
contents[_MDQ] = de_MetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output[_MDQ][_m]), context);
|
|
4561
4557
|
}
|
|
4562
4558
|
return contents;
|
|
4563
4559
|
};
|
|
@@ -4570,17 +4566,17 @@ const de_Metrics = (output, context) => {
|
|
|
4570
4566
|
};
|
|
4571
4567
|
const de_MetricStat = (output, context) => {
|
|
4572
4568
|
const contents = {};
|
|
4573
|
-
if (output[
|
|
4574
|
-
contents
|
|
4569
|
+
if (output[_Me] != null) {
|
|
4570
|
+
contents[_Me] = de_Metric(output[_Me], context);
|
|
4575
4571
|
}
|
|
4576
|
-
if (output[
|
|
4577
|
-
contents
|
|
4572
|
+
if (output[_P] != null) {
|
|
4573
|
+
contents[_P] = (0, smithy_client_1.strictParseInt32)(output[_P]);
|
|
4578
4574
|
}
|
|
4579
|
-
if (output[
|
|
4580
|
-
contents
|
|
4575
|
+
if (output[_S] != null) {
|
|
4576
|
+
contents[_S] = (0, smithy_client_1.expectString)(output[_S]);
|
|
4581
4577
|
}
|
|
4582
|
-
if (output[
|
|
4583
|
-
contents
|
|
4578
|
+
if (output[_U] != null) {
|
|
4579
|
+
contents[_U] = (0, smithy_client_1.expectString)(output[_U]);
|
|
4584
4580
|
}
|
|
4585
4581
|
return contents;
|
|
4586
4582
|
};
|
|
@@ -4593,39 +4589,39 @@ const de_MetricStreamEntries = (output, context) => {
|
|
|
4593
4589
|
};
|
|
4594
4590
|
const de_MetricStreamEntry = (output, context) => {
|
|
4595
4591
|
const contents = {};
|
|
4596
|
-
if (output[
|
|
4597
|
-
contents
|
|
4592
|
+
if (output[_Ar] != null) {
|
|
4593
|
+
contents[_Ar] = (0, smithy_client_1.expectString)(output[_Ar]);
|
|
4598
4594
|
}
|
|
4599
|
-
if (output[
|
|
4600
|
-
contents
|
|
4595
|
+
if (output[_CD] != null) {
|
|
4596
|
+
contents[_CD] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_CD]));
|
|
4601
4597
|
}
|
|
4602
|
-
if (output[
|
|
4603
|
-
contents
|
|
4598
|
+
if (output[_LUD] != null) {
|
|
4599
|
+
contents[_LUD] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_LUD]));
|
|
4604
4600
|
}
|
|
4605
|
-
if (output[
|
|
4606
|
-
contents
|
|
4601
|
+
if (output[_Na] != null) {
|
|
4602
|
+
contents[_Na] = (0, smithy_client_1.expectString)(output[_Na]);
|
|
4607
4603
|
}
|
|
4608
|
-
if (output[
|
|
4609
|
-
contents
|
|
4604
|
+
if (output[_FA] != null) {
|
|
4605
|
+
contents[_FA] = (0, smithy_client_1.expectString)(output[_FA]);
|
|
4610
4606
|
}
|
|
4611
|
-
if (output[
|
|
4612
|
-
contents
|
|
4607
|
+
if (output[_Stat] != null) {
|
|
4608
|
+
contents[_Stat] = (0, smithy_client_1.expectString)(output[_Stat]);
|
|
4613
4609
|
}
|
|
4614
|
-
if (output[
|
|
4615
|
-
contents
|
|
4610
|
+
if (output[_OF] != null) {
|
|
4611
|
+
contents[_OF] = (0, smithy_client_1.expectString)(output[_OF]);
|
|
4616
4612
|
}
|
|
4617
4613
|
return contents;
|
|
4618
4614
|
};
|
|
4619
4615
|
const de_MetricStreamFilter = (output, context) => {
|
|
4620
4616
|
const contents = {};
|
|
4621
|
-
if (output[
|
|
4622
|
-
contents
|
|
4617
|
+
if (output[_N] != null) {
|
|
4618
|
+
contents[_N] = (0, smithy_client_1.expectString)(output[_N]);
|
|
4623
4619
|
}
|
|
4624
4620
|
if (output.MetricNames === "") {
|
|
4625
|
-
contents
|
|
4621
|
+
contents[_MNe] = [];
|
|
4626
4622
|
}
|
|
4627
|
-
else if (output[
|
|
4628
|
-
contents
|
|
4623
|
+
else if (output[_MNe] != null && output[_MNe][_m] != null) {
|
|
4624
|
+
contents[_MNe] = de_MetricStreamFilterMetricNames((0, smithy_client_1.getArrayIfSingleItem)(output[_MNe][_m]), context);
|
|
4629
4625
|
}
|
|
4630
4626
|
return contents;
|
|
4631
4627
|
};
|
|
@@ -4653,16 +4649,16 @@ const de_MetricStreamStatisticsAdditionalStatistics = (output, context) => {
|
|
|
4653
4649
|
const de_MetricStreamStatisticsConfiguration = (output, context) => {
|
|
4654
4650
|
const contents = {};
|
|
4655
4651
|
if (output.IncludeMetrics === "") {
|
|
4656
|
-
contents
|
|
4652
|
+
contents[_IM] = [];
|
|
4657
4653
|
}
|
|
4658
|
-
else if (output[
|
|
4659
|
-
contents
|
|
4654
|
+
else if (output[_IM] != null && output[_IM][_m] != null) {
|
|
4655
|
+
contents[_IM] = de_MetricStreamStatisticsIncludeMetrics((0, smithy_client_1.getArrayIfSingleItem)(output[_IM][_m]), context);
|
|
4660
4656
|
}
|
|
4661
4657
|
if (output.AdditionalStatistics === "") {
|
|
4662
|
-
contents
|
|
4658
|
+
contents[_AS] = [];
|
|
4663
4659
|
}
|
|
4664
|
-
else if (output[
|
|
4665
|
-
contents
|
|
4660
|
+
else if (output[_AS] != null && output[_AS][_m] != null) {
|
|
4661
|
+
contents[_AS] = de_MetricStreamStatisticsAdditionalStatistics((0, smithy_client_1.getArrayIfSingleItem)(output[_AS][_m]), context);
|
|
4666
4662
|
}
|
|
4667
4663
|
return contents;
|
|
4668
4664
|
};
|
|
@@ -4682,18 +4678,18 @@ const de_MetricStreamStatisticsIncludeMetrics = (output, context) => {
|
|
|
4682
4678
|
};
|
|
4683
4679
|
const de_MetricStreamStatisticsMetric = (output, context) => {
|
|
4684
4680
|
const contents = {};
|
|
4685
|
-
if (output[
|
|
4686
|
-
contents
|
|
4681
|
+
if (output[_N] != null) {
|
|
4682
|
+
contents[_N] = (0, smithy_client_1.expectString)(output[_N]);
|
|
4687
4683
|
}
|
|
4688
|
-
if (output[
|
|
4689
|
-
contents
|
|
4684
|
+
if (output[_MN] != null) {
|
|
4685
|
+
contents[_MN] = (0, smithy_client_1.expectString)(output[_MN]);
|
|
4690
4686
|
}
|
|
4691
4687
|
return contents;
|
|
4692
4688
|
};
|
|
4693
4689
|
const de_MissingRequiredParameterException = (output, context) => {
|
|
4694
4690
|
const contents = {};
|
|
4695
|
-
if (output[
|
|
4696
|
-
contents
|
|
4691
|
+
if (output[_me] != null) {
|
|
4692
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
4697
4693
|
}
|
|
4698
4694
|
return contents;
|
|
4699
4695
|
};
|
|
@@ -4706,17 +4702,17 @@ const de_OwningAccounts = (output, context) => {
|
|
|
4706
4702
|
};
|
|
4707
4703
|
const de_PartialFailure = (output, context) => {
|
|
4708
4704
|
const contents = {};
|
|
4709
|
-
if (output[
|
|
4710
|
-
contents
|
|
4705
|
+
if (output[_FR] != null) {
|
|
4706
|
+
contents[_FR] = (0, smithy_client_1.expectString)(output[_FR]);
|
|
4711
4707
|
}
|
|
4712
|
-
if (output[
|
|
4713
|
-
contents
|
|
4708
|
+
if (output[_ETx] != null) {
|
|
4709
|
+
contents[_ETx] = (0, smithy_client_1.expectString)(output[_ETx]);
|
|
4714
4710
|
}
|
|
4715
|
-
if (output[
|
|
4716
|
-
contents
|
|
4711
|
+
if (output[_FC] != null) {
|
|
4712
|
+
contents[_FC] = (0, smithy_client_1.expectString)(output[_FC]);
|
|
4717
4713
|
}
|
|
4718
|
-
if (output[
|
|
4719
|
-
contents
|
|
4714
|
+
if (output[_FD] != null) {
|
|
4715
|
+
contents[_FD] = (0, smithy_client_1.expectString)(output[_FD]);
|
|
4720
4716
|
}
|
|
4721
4717
|
return contents;
|
|
4722
4718
|
};
|
|
@@ -4727,11 +4723,10 @@ const de_PutAnomalyDetectorOutput = (output, context) => {
|
|
|
4727
4723
|
const de_PutDashboardOutput = (output, context) => {
|
|
4728
4724
|
const contents = {};
|
|
4729
4725
|
if (output.DashboardValidationMessages === "") {
|
|
4730
|
-
contents
|
|
4726
|
+
contents[_DVM] = [];
|
|
4731
4727
|
}
|
|
4732
|
-
else if (output[
|
|
4733
|
-
output[
|
|
4734
|
-
contents.DashboardValidationMessages = de_DashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output["DashboardValidationMessages"]["member"]), context);
|
|
4728
|
+
else if (output[_DVM] != null && output[_DVM][_m] != null) {
|
|
4729
|
+
contents[_DVM] = de_DashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output[_DVM][_m]), context);
|
|
4735
4730
|
}
|
|
4736
4731
|
return contents;
|
|
4737
4732
|
};
|
|
@@ -4742,27 +4737,27 @@ const de_PutInsightRuleOutput = (output, context) => {
|
|
|
4742
4737
|
const de_PutManagedInsightRulesOutput = (output, context) => {
|
|
4743
4738
|
const contents = {};
|
|
4744
4739
|
if (output.Failures === "") {
|
|
4745
|
-
contents
|
|
4740
|
+
contents[_F] = [];
|
|
4746
4741
|
}
|
|
4747
|
-
else if (output[
|
|
4748
|
-
contents
|
|
4742
|
+
else if (output[_F] != null && output[_F][_m] != null) {
|
|
4743
|
+
contents[_F] = de_BatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output[_F][_m]), context);
|
|
4749
4744
|
}
|
|
4750
4745
|
return contents;
|
|
4751
4746
|
};
|
|
4752
4747
|
const de_PutMetricStreamOutput = (output, context) => {
|
|
4753
4748
|
const contents = {};
|
|
4754
|
-
if (output[
|
|
4755
|
-
contents
|
|
4749
|
+
if (output[_Ar] != null) {
|
|
4750
|
+
contents[_Ar] = (0, smithy_client_1.expectString)(output[_Ar]);
|
|
4756
4751
|
}
|
|
4757
4752
|
return contents;
|
|
4758
4753
|
};
|
|
4759
4754
|
const de_Range = (output, context) => {
|
|
4760
4755
|
const contents = {};
|
|
4761
|
-
if (output[
|
|
4762
|
-
contents
|
|
4756
|
+
if (output[_ST] != null) {
|
|
4757
|
+
contents[_ST] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_ST]));
|
|
4763
4758
|
}
|
|
4764
|
-
if (output[
|
|
4765
|
-
contents
|
|
4759
|
+
if (output[_ET] != null) {
|
|
4760
|
+
contents[_ET] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_ET]));
|
|
4766
4761
|
}
|
|
4767
4762
|
return contents;
|
|
4768
4763
|
};
|
|
@@ -4775,40 +4770,40 @@ const de_ResourceList = (output, context) => {
|
|
|
4775
4770
|
};
|
|
4776
4771
|
const de_ResourceNotFound = (output, context) => {
|
|
4777
4772
|
const contents = {};
|
|
4778
|
-
if (output[
|
|
4779
|
-
contents
|
|
4773
|
+
if (output[_me] != null) {
|
|
4774
|
+
contents[_me] = (0, smithy_client_1.expectString)(output[_me]);
|
|
4780
4775
|
}
|
|
4781
4776
|
return contents;
|
|
4782
4777
|
};
|
|
4783
4778
|
const de_ResourceNotFoundException = (output, context) => {
|
|
4784
4779
|
const contents = {};
|
|
4785
|
-
if (output[
|
|
4786
|
-
contents
|
|
4780
|
+
if (output[_RT] != null) {
|
|
4781
|
+
contents[_RT] = (0, smithy_client_1.expectString)(output[_RT]);
|
|
4787
4782
|
}
|
|
4788
|
-
if (output[
|
|
4789
|
-
contents
|
|
4783
|
+
if (output[_RI] != null) {
|
|
4784
|
+
contents[_RI] = (0, smithy_client_1.expectString)(output[_RI]);
|
|
4790
4785
|
}
|
|
4791
|
-
if (output[
|
|
4792
|
-
contents
|
|
4786
|
+
if (output[_Mes] != null) {
|
|
4787
|
+
contents[_Mes] = (0, smithy_client_1.expectString)(output[_Mes]);
|
|
4793
4788
|
}
|
|
4794
4789
|
return contents;
|
|
4795
4790
|
};
|
|
4796
4791
|
const de_SingleMetricAnomalyDetector = (output, context) => {
|
|
4797
4792
|
const contents = {};
|
|
4798
|
-
if (output[
|
|
4799
|
-
contents
|
|
4793
|
+
if (output[_N] != null) {
|
|
4794
|
+
contents[_N] = (0, smithy_client_1.expectString)(output[_N]);
|
|
4800
4795
|
}
|
|
4801
|
-
if (output[
|
|
4802
|
-
contents
|
|
4796
|
+
if (output[_MN] != null) {
|
|
4797
|
+
contents[_MN] = (0, smithy_client_1.expectString)(output[_MN]);
|
|
4803
4798
|
}
|
|
4804
4799
|
if (output.Dimensions === "") {
|
|
4805
|
-
contents
|
|
4800
|
+
contents[_D] = [];
|
|
4806
4801
|
}
|
|
4807
|
-
else if (output[
|
|
4808
|
-
contents
|
|
4802
|
+
else if (output[_D] != null && output[_D][_m] != null) {
|
|
4803
|
+
contents[_D] = de_Dimensions((0, smithy_client_1.getArrayIfSingleItem)(output[_D][_m]), context);
|
|
4809
4804
|
}
|
|
4810
|
-
if (output[
|
|
4811
|
-
contents
|
|
4805
|
+
if (output[_S] != null) {
|
|
4806
|
+
contents[_S] = (0, smithy_client_1.expectString)(output[_S]);
|
|
4812
4807
|
}
|
|
4813
4808
|
return contents;
|
|
4814
4809
|
};
|
|
@@ -4822,11 +4817,11 @@ const de_StopMetricStreamsOutput = (output, context) => {
|
|
|
4822
4817
|
};
|
|
4823
4818
|
const de_Tag = (output, context) => {
|
|
4824
4819
|
const contents = {};
|
|
4825
|
-
if (output[
|
|
4826
|
-
contents
|
|
4820
|
+
if (output[_K] != null) {
|
|
4821
|
+
contents[_K] = (0, smithy_client_1.expectString)(output[_K]);
|
|
4827
4822
|
}
|
|
4828
|
-
if (output[
|
|
4829
|
-
contents
|
|
4823
|
+
if (output[_Va] != null) {
|
|
4824
|
+
contents[_Va] = (0, smithy_client_1.expectString)(output[_Va]);
|
|
4830
4825
|
}
|
|
4831
4826
|
return contents;
|
|
4832
4827
|
};
|
|
@@ -4881,6 +4876,214 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4881
4876
|
const SHARED_HEADERS = {
|
|
4882
4877
|
"content-type": "application/x-www-form-urlencoded",
|
|
4883
4878
|
};
|
|
4879
|
+
const _ = "2010-08-01";
|
|
4880
|
+
const _A = "Action";
|
|
4881
|
+
const _AA = "AlarmActions";
|
|
4882
|
+
const _AAV = "ApproximateAggregateValue";
|
|
4883
|
+
const _AAl = "AlarmArn";
|
|
4884
|
+
const _ACUT = "AlarmConfigurationUpdatedTimestamp";
|
|
4885
|
+
const _AD = "AlarmDescription";
|
|
4886
|
+
const _ADT = "AnomalyDetectorTypes";
|
|
4887
|
+
const _ADn = "AnomalyDetectors";
|
|
4888
|
+
const _AE = "ActionsEnabled";
|
|
4889
|
+
const _AHI = "AlarmHistoryItems";
|
|
4890
|
+
const _AI = "AccountId";
|
|
4891
|
+
const _AN = "AlarmNames";
|
|
4892
|
+
const _ANP = "AlarmNamePrefix";
|
|
4893
|
+
const _ANl = "AlarmName";
|
|
4894
|
+
const _AP = "ActionPrefix";
|
|
4895
|
+
const _AR = "AlarmRule";
|
|
4896
|
+
const _AS = "AdditionalStatistics";
|
|
4897
|
+
const _ASB = "ActionsSuppressedBy";
|
|
4898
|
+
const _ASEP = "ActionsSuppressorExtensionPeriod";
|
|
4899
|
+
const _ASR = "ActionsSuppressedReason";
|
|
4900
|
+
const _ASWP = "ActionsSuppressorWaitPeriod";
|
|
4901
|
+
const _ASc = "ActionsSuppressor";
|
|
4902
|
+
const _ASg = "AggregationStatistic";
|
|
4903
|
+
const _AT = "AlarmTypes";
|
|
4904
|
+
const _ATl = "AlarmType";
|
|
4905
|
+
const _AUC = "ApproximateUniqueCount";
|
|
4906
|
+
const _AV = "AggregateValue";
|
|
4907
|
+
const _AVp = "ApproximateValue";
|
|
4908
|
+
const _Ar = "Arn";
|
|
4909
|
+
const _Av = "Average";
|
|
4910
|
+
const _C = "Counts";
|
|
4911
|
+
const _CA = "CompositeAlarms";
|
|
4912
|
+
const _CD = "CreationDate";
|
|
4913
|
+
const _CO = "ComparisonOperator";
|
|
4914
|
+
const _COAN = "ChildrenOfAlarmName";
|
|
4915
|
+
const _Co = "Configuration";
|
|
4916
|
+
const _Cod = "Code";
|
|
4917
|
+
const _Con = "Contributors";
|
|
4918
|
+
const _D = "Dimensions";
|
|
4919
|
+
const _DA = "DeleteAlarms";
|
|
4920
|
+
const _DAA = "DisableAlarmActions";
|
|
4921
|
+
const _DAD = "DeleteAnomalyDetector";
|
|
4922
|
+
const _DADe = "DescribeAnomalyDetectors";
|
|
4923
|
+
const _DAFM = "DescribeAlarmsForMetric";
|
|
4924
|
+
const _DAH = "DescribeAlarmHistory";
|
|
4925
|
+
const _DAa = "DashboardArn";
|
|
4926
|
+
const _DAe = "DescribeAlarms";
|
|
4927
|
+
const _DB = "DashboardBody";
|
|
4928
|
+
const _DD = "DeleteDashboards";
|
|
4929
|
+
const _DE = "DashboardEntries";
|
|
4930
|
+
const _DIR = "DeleteInsightRules";
|
|
4931
|
+
const _DIRe = "DescribeInsightRules";
|
|
4932
|
+
const _DIRi = "DisableInsightRules";
|
|
4933
|
+
const _DMS = "DeleteMetricStream";
|
|
4934
|
+
const _DN = "DashboardNames";
|
|
4935
|
+
const _DNP = "DashboardNamePrefix";
|
|
4936
|
+
const _DNa = "DashboardName";
|
|
4937
|
+
const _DP = "DataPath";
|
|
4938
|
+
const _DTA = "DatapointsToAlarm";
|
|
4939
|
+
const _DVM = "DashboardValidationMessages";
|
|
4940
|
+
const _Da = "Datapoints";
|
|
4941
|
+
const _De = "Definition";
|
|
4942
|
+
const _E = "Expression";
|
|
4943
|
+
const _EAA = "EnableAlarmActions";
|
|
4944
|
+
const _ED = "EndDate";
|
|
4945
|
+
const _EF = "ExcludeFilters";
|
|
4946
|
+
const _EIR = "EnableInsightRules";
|
|
4947
|
+
const _ELSCP = "EvaluateLowSampleCountPercentile";
|
|
4948
|
+
const _EP = "EvaluationPeriods";
|
|
4949
|
+
const _ES = "ExtendedStatistic";
|
|
4950
|
+
const _ESv = "EvaluationState";
|
|
4951
|
+
const _ESx = "ExtendedStatistics";
|
|
4952
|
+
const _ET = "EndTime";
|
|
4953
|
+
const _ETR = "ExcludedTimeRanges";
|
|
4954
|
+
const _ETx = "ExceptionType";
|
|
4955
|
+
const _En = "Entries";
|
|
4956
|
+
const _F = "Failures";
|
|
4957
|
+
const _FA = "FirehoseArn";
|
|
4958
|
+
const _FC = "FailureCode";
|
|
4959
|
+
const _FD = "FailureDescription";
|
|
4960
|
+
const _FR = "FailureResource";
|
|
4961
|
+
const _GD = "GetDashboard";
|
|
4962
|
+
const _GIRR = "GetInsightRuleReport";
|
|
4963
|
+
const _GMD = "GetMetricData";
|
|
4964
|
+
const _GMS = "GetMetricStatistics";
|
|
4965
|
+
const _GMSe = "GetMetricStream";
|
|
4966
|
+
const _GMWI = "GetMetricWidgetImage";
|
|
4967
|
+
const _HD = "HistoryData";
|
|
4968
|
+
const _HIT = "HistoryItemType";
|
|
4969
|
+
const _HS = "HistorySummary";
|
|
4970
|
+
const _I = "Id";
|
|
4971
|
+
const _IDA = "InsufficientDataActions";
|
|
4972
|
+
const _IF = "IncludeFilters";
|
|
4973
|
+
const _ILA = "IncludeLinkedAccounts";
|
|
4974
|
+
const _ILAM = "IncludeLinkedAccountsMetrics";
|
|
4975
|
+
const _IM = "IncludeMetrics";
|
|
4976
|
+
const _IR = "InsightRules";
|
|
4977
|
+
const _K = "Key";
|
|
4978
|
+
const _KL = "KeyLabels";
|
|
4979
|
+
const _Ke = "Keys";
|
|
4980
|
+
const _L = "Label";
|
|
4981
|
+
const _LD = "ListDashboards";
|
|
4982
|
+
const _LM = "ListMetrics";
|
|
4983
|
+
const _LMIR = "ListManagedInsightRules";
|
|
4984
|
+
const _LMS = "ListMetricStreams";
|
|
4985
|
+
const _LMa = "LastModified";
|
|
4986
|
+
const _LO = "LabelOptions";
|
|
4987
|
+
const _LTFR = "ListTagsForResource";
|
|
4988
|
+
const _LUD = "LastUpdateDate";
|
|
4989
|
+
const _M = "Metrics";
|
|
4990
|
+
const _MA = "MetricAlarms";
|
|
4991
|
+
const _MCC = "MaxContributorCount";
|
|
4992
|
+
const _MCV = "MaxContributorValue";
|
|
4993
|
+
const _MD = "MaxDatapoints";
|
|
4994
|
+
const _MDQ = "MetricDataQueries";
|
|
4995
|
+
const _MDR = "MetricDataResults";
|
|
4996
|
+
const _MDe = "MetricData";
|
|
4997
|
+
const _MDet = "MetricDatapoints";
|
|
4998
|
+
const _MMAD = "MetricMathAnomalyDetector";
|
|
4999
|
+
const _MN = "MetricName";
|
|
5000
|
+
const _MNe = "MetricNames";
|
|
5001
|
+
const _MR = "MaxRecords";
|
|
5002
|
+
const _MRa = "MaxResults";
|
|
5003
|
+
const _MRan = "ManagedRules";
|
|
5004
|
+
const _MRana = "ManagedRule";
|
|
5005
|
+
const _MS = "MetricStat";
|
|
5006
|
+
const _MT = "MetricTimezone";
|
|
5007
|
+
const _MW = "MetricWidget";
|
|
5008
|
+
const _MWI = "MetricWidgetImage";
|
|
5009
|
+
const _Ma = "Maximum";
|
|
5010
|
+
const _Me = "Metric";
|
|
5011
|
+
const _Mes = "Message";
|
|
5012
|
+
const _Mess = "Messages";
|
|
5013
|
+
const _Mi = "Minimum";
|
|
5014
|
+
const _N = "Namespace";
|
|
5015
|
+
const _NT = "NextToken";
|
|
5016
|
+
const _Na = "Name";
|
|
5017
|
+
const _Nam = "Names";
|
|
5018
|
+
const _OA = "OwningAccount";
|
|
5019
|
+
const _OAw = "OwningAccounts";
|
|
5020
|
+
const _OB = "OrderBy";
|
|
5021
|
+
const _OF = "OutputFormat";
|
|
5022
|
+
const _OKA = "OKActions";
|
|
5023
|
+
const _P = "Period";
|
|
5024
|
+
const _PAD = "PutAnomalyDetector";
|
|
5025
|
+
const _PCA = "PutCompositeAlarm";
|
|
5026
|
+
const _PD = "PutDashboard";
|
|
5027
|
+
const _PIR = "PutInsightRule";
|
|
5028
|
+
const _PMA = "PutMetricAlarm";
|
|
5029
|
+
const _PMD = "PutMetricData";
|
|
5030
|
+
const _PMIR = "PutManagedInsightRules";
|
|
5031
|
+
const _PMS = "PutMetricStream";
|
|
5032
|
+
const _POAN = "ParentsOfAlarmName";
|
|
5033
|
+
const _RA = "RecentlyActive";
|
|
5034
|
+
const _RARN = "ResourceARN";
|
|
5035
|
+
const _RAo = "RoleArn";
|
|
5036
|
+
const _RD = "ReturnData";
|
|
5037
|
+
const _RDu = "RuleDefinition";
|
|
5038
|
+
const _RI = "ResourceId";
|
|
5039
|
+
const _RN = "RuleNames";
|
|
5040
|
+
const _RNu = "RuleName";
|
|
5041
|
+
const _RS = "RuleState";
|
|
5042
|
+
const _RT = "ResourceType";
|
|
5043
|
+
const _S = "Stat";
|
|
5044
|
+
const _SAS = "SetAlarmState";
|
|
5045
|
+
const _SB = "ScanBy";
|
|
5046
|
+
const _SC = "StatisticsConfigurations";
|
|
5047
|
+
const _SCa = "SampleCount";
|
|
5048
|
+
const _SCt = "StatusCode";
|
|
5049
|
+
const _SD = "StartDate";
|
|
5050
|
+
const _SMAD = "SingleMetricAnomalyDetector";
|
|
5051
|
+
const _SMS = "StartMetricStreams";
|
|
5052
|
+
const _SMSt = "StopMetricStreams";
|
|
5053
|
+
const _SR = "StorageResolution";
|
|
5054
|
+
const _SRD = "StateReasonData";
|
|
5055
|
+
const _SRt = "StateReason";
|
|
5056
|
+
const _ST = "StartTime";
|
|
5057
|
+
const _STT = "StateTransitionedTimestamp";
|
|
5058
|
+
const _SUT = "StateUpdatedTimestamp";
|
|
5059
|
+
const _SV = "StateValue";
|
|
5060
|
+
const _SVt = "StatisticValues";
|
|
5061
|
+
const _Sc = "Schema";
|
|
5062
|
+
const _Si = "Size";
|
|
5063
|
+
const _St = "Statistic";
|
|
5064
|
+
const _Sta = "Statistics";
|
|
5065
|
+
const _Stat = "State";
|
|
5066
|
+
const _Su = "Sum";
|
|
5067
|
+
const _T = "Timezone";
|
|
5068
|
+
const _TK = "TagKeys";
|
|
5069
|
+
const _TMD = "TreatMissingData";
|
|
5070
|
+
const _TMI = "ThresholdMetricId";
|
|
5071
|
+
const _TN = "TemplateName";
|
|
5072
|
+
const _TR = "TagResource";
|
|
5073
|
+
const _Ta = "Tags";
|
|
5074
|
+
const _Th = "Threshold";
|
|
5075
|
+
const _Ti = "Timestamp";
|
|
5076
|
+
const _Tim = "Timestamps";
|
|
5077
|
+
const _U = "Unit";
|
|
5078
|
+
const _UC = "UniqueContributors";
|
|
5079
|
+
const _UR = "UntagResource";
|
|
5080
|
+
const _V = "Version";
|
|
5081
|
+
const _Va = "Value";
|
|
5082
|
+
const _Val = "Values";
|
|
5083
|
+
const _dVM = "dashboardValidationMessages";
|
|
5084
|
+
const _e = "entry";
|
|
5085
|
+
const _m = "member";
|
|
5086
|
+
const _me = "message";
|
|
4884
5087
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4885
5088
|
if (encoded.length) {
|
|
4886
5089
|
const parser = new fast_xml_parser_1.XMLParser({
|