@aws-sdk/client-xray 3.306.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/BatchGetTracesCommand.js +2 -2
- package/dist-cjs/commands/CreateGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateSamplingRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteSamplingRuleCommand.js +2 -2
- package/dist-cjs/commands/GetEncryptionConfigCommand.js +2 -2
- package/dist-cjs/commands/GetGroupCommand.js +2 -2
- package/dist-cjs/commands/GetGroupsCommand.js +2 -2
- package/dist-cjs/commands/GetInsightCommand.js +2 -2
- package/dist-cjs/commands/GetInsightEventsCommand.js +2 -2
- package/dist-cjs/commands/GetInsightImpactGraphCommand.js +2 -2
- package/dist-cjs/commands/GetInsightSummariesCommand.js +2 -2
- package/dist-cjs/commands/GetSamplingRulesCommand.js +2 -2
- package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js +2 -2
- package/dist-cjs/commands/GetSamplingTargetsCommand.js +2 -2
- package/dist-cjs/commands/GetServiceGraphCommand.js +2 -2
- package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js +2 -2
- package/dist-cjs/commands/GetTraceGraphCommand.js +2 -2
- package/dist-cjs/commands/GetTraceSummariesCommand.js +2 -2
- package/dist-cjs/commands/ListResourcePoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutEncryptionConfigCommand.js +2 -2
- package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/PutTelemetryRecordsCommand.js +2 -2
- package/dist-cjs/commands/PutTraceSegmentsCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateGroupCommand.js +2 -2
- package/dist-cjs/commands/UpdateSamplingRuleCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +522 -576
- package/dist-es/commands/BatchGetTracesCommand.js +3 -3
- package/dist-es/commands/CreateGroupCommand.js +3 -3
- package/dist-es/commands/CreateSamplingRuleCommand.js +3 -3
- package/dist-es/commands/DeleteGroupCommand.js +3 -3
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DeleteSamplingRuleCommand.js +3 -3
- package/dist-es/commands/GetEncryptionConfigCommand.js +3 -3
- package/dist-es/commands/GetGroupCommand.js +3 -3
- package/dist-es/commands/GetGroupsCommand.js +3 -3
- package/dist-es/commands/GetInsightCommand.js +3 -3
- package/dist-es/commands/GetInsightEventsCommand.js +3 -3
- package/dist-es/commands/GetInsightImpactGraphCommand.js +3 -3
- package/dist-es/commands/GetInsightSummariesCommand.js +3 -3
- package/dist-es/commands/GetSamplingRulesCommand.js +3 -3
- package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +3 -3
- package/dist-es/commands/GetSamplingTargetsCommand.js +3 -3
- package/dist-es/commands/GetServiceGraphCommand.js +3 -3
- package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +3 -3
- package/dist-es/commands/GetTraceGraphCommand.js +3 -3
- package/dist-es/commands/GetTraceSummariesCommand.js +3 -3
- package/dist-es/commands/ListResourcePoliciesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutEncryptionConfigCommand.js +3 -3
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-es/commands/PutTelemetryRecordsCommand.js +3 -3
- package/dist-es/commands/PutTraceSegmentsCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateGroupCommand.js +3 -3
- package/dist-es/commands/UpdateSamplingRuleCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +460 -514
- package/dist-types/protocols/Aws_restJson1.d.ts +240 -60
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -60
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map as __map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { InvalidPolicyRevisionIdException, InvalidRequestException, LockoutPreventionException, MalformedPolicyDocumentException, PolicyCountLimitExceededException, PolicySizeLimitExceededException, ResourceNotFoundException, RuleLimitExceededException, ThrottledException, TooManyTagsException, } from "../models/models_0";
|
|
4
4
|
import { XRayServiceException as __BaseException } from "../models/XRayServiceException";
|
|
5
|
-
export const
|
|
5
|
+
export const se_BatchGetTracesCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
@@ -11,7 +11,7 @@ export const serializeAws_restJson1BatchGetTracesCommand = async (input, context
|
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify({
|
|
13
13
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
14
|
-
...(input.TraceIds != null && { TraceIds:
|
|
14
|
+
...(input.TraceIds != null && { TraceIds: se_TraceIdList(input.TraceIds, context) }),
|
|
15
15
|
});
|
|
16
16
|
return new __HttpRequest({
|
|
17
17
|
protocol,
|
|
@@ -23,7 +23,7 @@ export const serializeAws_restJson1BatchGetTracesCommand = async (input, context
|
|
|
23
23
|
body,
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
|
-
export const
|
|
26
|
+
export const se_CreateGroupCommand = async (input, context) => {
|
|
27
27
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
28
28
|
const headers = {
|
|
29
29
|
"content-type": "application/json",
|
|
@@ -34,9 +34,9 @@ export const serializeAws_restJson1CreateGroupCommand = async (input, context) =
|
|
|
34
34
|
...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
|
|
35
35
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
36
36
|
...(input.InsightsConfiguration != null && {
|
|
37
|
-
InsightsConfiguration:
|
|
37
|
+
InsightsConfiguration: se_InsightsConfiguration(input.InsightsConfiguration, context),
|
|
38
38
|
}),
|
|
39
|
-
...(input.Tags != null && { Tags:
|
|
39
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
40
40
|
});
|
|
41
41
|
return new __HttpRequest({
|
|
42
42
|
protocol,
|
|
@@ -48,7 +48,7 @@ export const serializeAws_restJson1CreateGroupCommand = async (input, context) =
|
|
|
48
48
|
body,
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
51
|
+
export const se_CreateSamplingRuleCommand = async (input, context) => {
|
|
52
52
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
53
53
|
const headers = {
|
|
54
54
|
"content-type": "application/json",
|
|
@@ -56,10 +56,8 @@ export const serializeAws_restJson1CreateSamplingRuleCommand = async (input, con
|
|
|
56
56
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateSamplingRule";
|
|
57
57
|
let body;
|
|
58
58
|
body = JSON.stringify({
|
|
59
|
-
...(input.SamplingRule != null && {
|
|
60
|
-
|
|
61
|
-
}),
|
|
62
|
-
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
59
|
+
...(input.SamplingRule != null && { SamplingRule: se_SamplingRule(input.SamplingRule, context) }),
|
|
60
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
63
61
|
});
|
|
64
62
|
return new __HttpRequest({
|
|
65
63
|
protocol,
|
|
@@ -71,7 +69,7 @@ export const serializeAws_restJson1CreateSamplingRuleCommand = async (input, con
|
|
|
71
69
|
body,
|
|
72
70
|
});
|
|
73
71
|
};
|
|
74
|
-
export const
|
|
72
|
+
export const se_DeleteGroupCommand = async (input, context) => {
|
|
75
73
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
76
74
|
const headers = {
|
|
77
75
|
"content-type": "application/json",
|
|
@@ -92,7 +90,7 @@ export const serializeAws_restJson1DeleteGroupCommand = async (input, context) =
|
|
|
92
90
|
body,
|
|
93
91
|
});
|
|
94
92
|
};
|
|
95
|
-
export const
|
|
93
|
+
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
96
94
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
97
95
|
const headers = {
|
|
98
96
|
"content-type": "application/json",
|
|
@@ -113,7 +111,7 @@ export const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, c
|
|
|
113
111
|
body,
|
|
114
112
|
});
|
|
115
113
|
};
|
|
116
|
-
export const
|
|
114
|
+
export const se_DeleteSamplingRuleCommand = async (input, context) => {
|
|
117
115
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
118
116
|
const headers = {
|
|
119
117
|
"content-type": "application/json",
|
|
@@ -134,7 +132,7 @@ export const serializeAws_restJson1DeleteSamplingRuleCommand = async (input, con
|
|
|
134
132
|
body,
|
|
135
133
|
});
|
|
136
134
|
};
|
|
137
|
-
export const
|
|
135
|
+
export const se_GetEncryptionConfigCommand = async (input, context) => {
|
|
138
136
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
139
137
|
const headers = {
|
|
140
138
|
"content-type": "application/json",
|
|
@@ -152,7 +150,7 @@ export const serializeAws_restJson1GetEncryptionConfigCommand = async (input, co
|
|
|
152
150
|
body,
|
|
153
151
|
});
|
|
154
152
|
};
|
|
155
|
-
export const
|
|
153
|
+
export const se_GetGroupCommand = async (input, context) => {
|
|
156
154
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
157
155
|
const headers = {
|
|
158
156
|
"content-type": "application/json",
|
|
@@ -173,7 +171,7 @@ export const serializeAws_restJson1GetGroupCommand = async (input, context) => {
|
|
|
173
171
|
body,
|
|
174
172
|
});
|
|
175
173
|
};
|
|
176
|
-
export const
|
|
174
|
+
export const se_GetGroupsCommand = async (input, context) => {
|
|
177
175
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
178
176
|
const headers = {
|
|
179
177
|
"content-type": "application/json",
|
|
@@ -193,7 +191,7 @@ export const serializeAws_restJson1GetGroupsCommand = async (input, context) =>
|
|
|
193
191
|
body,
|
|
194
192
|
});
|
|
195
193
|
};
|
|
196
|
-
export const
|
|
194
|
+
export const se_GetInsightCommand = async (input, context) => {
|
|
197
195
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
198
196
|
const headers = {
|
|
199
197
|
"content-type": "application/json",
|
|
@@ -213,7 +211,7 @@ export const serializeAws_restJson1GetInsightCommand = async (input, context) =>
|
|
|
213
211
|
body,
|
|
214
212
|
});
|
|
215
213
|
};
|
|
216
|
-
export const
|
|
214
|
+
export const se_GetInsightEventsCommand = async (input, context) => {
|
|
217
215
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
218
216
|
const headers = {
|
|
219
217
|
"content-type": "application/json",
|
|
@@ -235,7 +233,7 @@ export const serializeAws_restJson1GetInsightEventsCommand = async (input, conte
|
|
|
235
233
|
body,
|
|
236
234
|
});
|
|
237
235
|
};
|
|
238
|
-
export const
|
|
236
|
+
export const se_GetInsightImpactGraphCommand = async (input, context) => {
|
|
239
237
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
240
238
|
const headers = {
|
|
241
239
|
"content-type": "application/json",
|
|
@@ -258,7 +256,7 @@ export const serializeAws_restJson1GetInsightImpactGraphCommand = async (input,
|
|
|
258
256
|
body,
|
|
259
257
|
});
|
|
260
258
|
};
|
|
261
|
-
export const
|
|
259
|
+
export const se_GetInsightSummariesCommand = async (input, context) => {
|
|
262
260
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
263
261
|
const headers = {
|
|
264
262
|
"content-type": "application/json",
|
|
@@ -272,7 +270,7 @@ export const serializeAws_restJson1GetInsightSummariesCommand = async (input, co
|
|
|
272
270
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
273
271
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
274
272
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
275
|
-
...(input.States != null && { States:
|
|
273
|
+
...(input.States != null && { States: se_InsightStateList(input.States, context) }),
|
|
276
274
|
});
|
|
277
275
|
return new __HttpRequest({
|
|
278
276
|
protocol,
|
|
@@ -284,7 +282,7 @@ export const serializeAws_restJson1GetInsightSummariesCommand = async (input, co
|
|
|
284
282
|
body,
|
|
285
283
|
});
|
|
286
284
|
};
|
|
287
|
-
export const
|
|
285
|
+
export const se_GetSamplingRulesCommand = async (input, context) => {
|
|
288
286
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
289
287
|
const headers = {
|
|
290
288
|
"content-type": "application/json",
|
|
@@ -304,7 +302,7 @@ export const serializeAws_restJson1GetSamplingRulesCommand = async (input, conte
|
|
|
304
302
|
body,
|
|
305
303
|
});
|
|
306
304
|
};
|
|
307
|
-
export const
|
|
305
|
+
export const se_GetSamplingStatisticSummariesCommand = async (input, context) => {
|
|
308
306
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
309
307
|
const headers = {
|
|
310
308
|
"content-type": "application/json",
|
|
@@ -324,7 +322,7 @@ export const serializeAws_restJson1GetSamplingStatisticSummariesCommand = async
|
|
|
324
322
|
body,
|
|
325
323
|
});
|
|
326
324
|
};
|
|
327
|
-
export const
|
|
325
|
+
export const se_GetSamplingTargetsCommand = async (input, context) => {
|
|
328
326
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
329
327
|
const headers = {
|
|
330
328
|
"content-type": "application/json",
|
|
@@ -333,7 +331,7 @@ export const serializeAws_restJson1GetSamplingTargetsCommand = async (input, con
|
|
|
333
331
|
let body;
|
|
334
332
|
body = JSON.stringify({
|
|
335
333
|
...(input.SamplingStatisticsDocuments != null && {
|
|
336
|
-
SamplingStatisticsDocuments:
|
|
334
|
+
SamplingStatisticsDocuments: se_SamplingStatisticsDocumentList(input.SamplingStatisticsDocuments, context),
|
|
337
335
|
}),
|
|
338
336
|
});
|
|
339
337
|
return new __HttpRequest({
|
|
@@ -346,7 +344,7 @@ export const serializeAws_restJson1GetSamplingTargetsCommand = async (input, con
|
|
|
346
344
|
body,
|
|
347
345
|
});
|
|
348
346
|
};
|
|
349
|
-
export const
|
|
347
|
+
export const se_GetServiceGraphCommand = async (input, context) => {
|
|
350
348
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
351
349
|
const headers = {
|
|
352
350
|
"content-type": "application/json",
|
|
@@ -370,7 +368,7 @@ export const serializeAws_restJson1GetServiceGraphCommand = async (input, contex
|
|
|
370
368
|
body,
|
|
371
369
|
});
|
|
372
370
|
};
|
|
373
|
-
export const
|
|
371
|
+
export const se_GetTimeSeriesServiceStatisticsCommand = async (input, context) => {
|
|
374
372
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
375
373
|
const headers = {
|
|
376
374
|
"content-type": "application/json",
|
|
@@ -397,7 +395,7 @@ export const serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async
|
|
|
397
395
|
body,
|
|
398
396
|
});
|
|
399
397
|
};
|
|
400
|
-
export const
|
|
398
|
+
export const se_GetTraceGraphCommand = async (input, context) => {
|
|
401
399
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
402
400
|
const headers = {
|
|
403
401
|
"content-type": "application/json",
|
|
@@ -406,7 +404,7 @@ export const serializeAws_restJson1GetTraceGraphCommand = async (input, context)
|
|
|
406
404
|
let body;
|
|
407
405
|
body = JSON.stringify({
|
|
408
406
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
409
|
-
...(input.TraceIds != null && { TraceIds:
|
|
407
|
+
...(input.TraceIds != null && { TraceIds: se_TraceIdList(input.TraceIds, context) }),
|
|
410
408
|
});
|
|
411
409
|
return new __HttpRequest({
|
|
412
410
|
protocol,
|
|
@@ -418,7 +416,7 @@ export const serializeAws_restJson1GetTraceGraphCommand = async (input, context)
|
|
|
418
416
|
body,
|
|
419
417
|
});
|
|
420
418
|
};
|
|
421
|
-
export const
|
|
419
|
+
export const se_GetTraceSummariesCommand = async (input, context) => {
|
|
422
420
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
423
421
|
const headers = {
|
|
424
422
|
"content-type": "application/json",
|
|
@@ -430,9 +428,7 @@ export const serializeAws_restJson1GetTraceSummariesCommand = async (input, cont
|
|
|
430
428
|
...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
|
|
431
429
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
432
430
|
...(input.Sampling != null && { Sampling: input.Sampling }),
|
|
433
|
-
...(input.SamplingStrategy != null && {
|
|
434
|
-
SamplingStrategy: serializeAws_restJson1SamplingStrategy(input.SamplingStrategy, context),
|
|
435
|
-
}),
|
|
431
|
+
...(input.SamplingStrategy != null && { SamplingStrategy: se_SamplingStrategy(input.SamplingStrategy, context) }),
|
|
436
432
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
437
433
|
...(input.TimeRangeType != null && { TimeRangeType: input.TimeRangeType }),
|
|
438
434
|
});
|
|
@@ -446,7 +442,7 @@ export const serializeAws_restJson1GetTraceSummariesCommand = async (input, cont
|
|
|
446
442
|
body,
|
|
447
443
|
});
|
|
448
444
|
};
|
|
449
|
-
export const
|
|
445
|
+
export const se_ListResourcePoliciesCommand = async (input, context) => {
|
|
450
446
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
451
447
|
const headers = {
|
|
452
448
|
"content-type": "application/json",
|
|
@@ -466,7 +462,7 @@ export const serializeAws_restJson1ListResourcePoliciesCommand = async (input, c
|
|
|
466
462
|
body,
|
|
467
463
|
});
|
|
468
464
|
};
|
|
469
|
-
export const
|
|
465
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
470
466
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
471
467
|
const headers = {
|
|
472
468
|
"content-type": "application/json",
|
|
@@ -487,7 +483,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
487
483
|
body,
|
|
488
484
|
});
|
|
489
485
|
};
|
|
490
|
-
export const
|
|
486
|
+
export const se_PutEncryptionConfigCommand = async (input, context) => {
|
|
491
487
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
492
488
|
const headers = {
|
|
493
489
|
"content-type": "application/json",
|
|
@@ -508,7 +504,7 @@ export const serializeAws_restJson1PutEncryptionConfigCommand = async (input, co
|
|
|
508
504
|
body,
|
|
509
505
|
});
|
|
510
506
|
};
|
|
511
|
-
export const
|
|
507
|
+
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
512
508
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
513
509
|
const headers = {
|
|
514
510
|
"content-type": "application/json",
|
|
@@ -531,7 +527,7 @@ export const serializeAws_restJson1PutResourcePolicyCommand = async (input, cont
|
|
|
531
527
|
body,
|
|
532
528
|
});
|
|
533
529
|
};
|
|
534
|
-
export const
|
|
530
|
+
export const se_PutTelemetryRecordsCommand = async (input, context) => {
|
|
535
531
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
536
532
|
const headers = {
|
|
537
533
|
"content-type": "application/json",
|
|
@@ -543,7 +539,7 @@ export const serializeAws_restJson1PutTelemetryRecordsCommand = async (input, co
|
|
|
543
539
|
...(input.Hostname != null && { Hostname: input.Hostname }),
|
|
544
540
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
545
541
|
...(input.TelemetryRecords != null && {
|
|
546
|
-
TelemetryRecords:
|
|
542
|
+
TelemetryRecords: se_TelemetryRecordList(input.TelemetryRecords, context),
|
|
547
543
|
}),
|
|
548
544
|
});
|
|
549
545
|
return new __HttpRequest({
|
|
@@ -556,7 +552,7 @@ export const serializeAws_restJson1PutTelemetryRecordsCommand = async (input, co
|
|
|
556
552
|
body,
|
|
557
553
|
});
|
|
558
554
|
};
|
|
559
|
-
export const
|
|
555
|
+
export const se_PutTraceSegmentsCommand = async (input, context) => {
|
|
560
556
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
561
557
|
const headers = {
|
|
562
558
|
"content-type": "application/json",
|
|
@@ -565,7 +561,7 @@ export const serializeAws_restJson1PutTraceSegmentsCommand = async (input, conte
|
|
|
565
561
|
let body;
|
|
566
562
|
body = JSON.stringify({
|
|
567
563
|
...(input.TraceSegmentDocuments != null && {
|
|
568
|
-
TraceSegmentDocuments:
|
|
564
|
+
TraceSegmentDocuments: se_TraceSegmentDocumentList(input.TraceSegmentDocuments, context),
|
|
569
565
|
}),
|
|
570
566
|
});
|
|
571
567
|
return new __HttpRequest({
|
|
@@ -578,7 +574,7 @@ export const serializeAws_restJson1PutTraceSegmentsCommand = async (input, conte
|
|
|
578
574
|
body,
|
|
579
575
|
});
|
|
580
576
|
};
|
|
581
|
-
export const
|
|
577
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
582
578
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
583
579
|
const headers = {
|
|
584
580
|
"content-type": "application/json",
|
|
@@ -587,7 +583,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
587
583
|
let body;
|
|
588
584
|
body = JSON.stringify({
|
|
589
585
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
590
|
-
...(input.Tags != null && { Tags:
|
|
586
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
591
587
|
});
|
|
592
588
|
return new __HttpRequest({
|
|
593
589
|
protocol,
|
|
@@ -599,7 +595,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
599
595
|
body,
|
|
600
596
|
});
|
|
601
597
|
};
|
|
602
|
-
export const
|
|
598
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
603
599
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
604
600
|
const headers = {
|
|
605
601
|
"content-type": "application/json",
|
|
@@ -608,7 +604,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
608
604
|
let body;
|
|
609
605
|
body = JSON.stringify({
|
|
610
606
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
611
|
-
...(input.TagKeys != null && { TagKeys:
|
|
607
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
612
608
|
});
|
|
613
609
|
return new __HttpRequest({
|
|
614
610
|
protocol,
|
|
@@ -620,7 +616,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
620
616
|
body,
|
|
621
617
|
});
|
|
622
618
|
};
|
|
623
|
-
export const
|
|
619
|
+
export const se_UpdateGroupCommand = async (input, context) => {
|
|
624
620
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
625
621
|
const headers = {
|
|
626
622
|
"content-type": "application/json",
|
|
@@ -632,7 +628,7 @@ export const serializeAws_restJson1UpdateGroupCommand = async (input, context) =
|
|
|
632
628
|
...(input.GroupARN != null && { GroupARN: input.GroupARN }),
|
|
633
629
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
634
630
|
...(input.InsightsConfiguration != null && {
|
|
635
|
-
InsightsConfiguration:
|
|
631
|
+
InsightsConfiguration: se_InsightsConfiguration(input.InsightsConfiguration, context),
|
|
636
632
|
}),
|
|
637
633
|
});
|
|
638
634
|
return new __HttpRequest({
|
|
@@ -645,7 +641,7 @@ export const serializeAws_restJson1UpdateGroupCommand = async (input, context) =
|
|
|
645
641
|
body,
|
|
646
642
|
});
|
|
647
643
|
};
|
|
648
|
-
export const
|
|
644
|
+
export const se_UpdateSamplingRuleCommand = async (input, context) => {
|
|
649
645
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
650
646
|
const headers = {
|
|
651
647
|
"content-type": "application/json",
|
|
@@ -654,7 +650,7 @@ export const serializeAws_restJson1UpdateSamplingRuleCommand = async (input, con
|
|
|
654
650
|
let body;
|
|
655
651
|
body = JSON.stringify({
|
|
656
652
|
...(input.SamplingRuleUpdate != null && {
|
|
657
|
-
SamplingRuleUpdate:
|
|
653
|
+
SamplingRuleUpdate: se_SamplingRuleUpdate(input.SamplingRuleUpdate, context),
|
|
658
654
|
}),
|
|
659
655
|
});
|
|
660
656
|
return new __HttpRequest({
|
|
@@ -667,9 +663,9 @@ export const serializeAws_restJson1UpdateSamplingRuleCommand = async (input, con
|
|
|
667
663
|
body,
|
|
668
664
|
});
|
|
669
665
|
};
|
|
670
|
-
export const
|
|
666
|
+
export const de_BatchGetTracesCommand = async (output, context) => {
|
|
671
667
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
672
|
-
return
|
|
668
|
+
return de_BatchGetTracesCommandError(output, context);
|
|
673
669
|
}
|
|
674
670
|
const contents = map({
|
|
675
671
|
$metadata: deserializeMetadata(output),
|
|
@@ -679,14 +675,14 @@ export const deserializeAws_restJson1BatchGetTracesCommand = async (output, cont
|
|
|
679
675
|
contents.NextToken = __expectString(data.NextToken);
|
|
680
676
|
}
|
|
681
677
|
if (data.Traces != null) {
|
|
682
|
-
contents.Traces =
|
|
678
|
+
contents.Traces = de_TraceList(data.Traces, context);
|
|
683
679
|
}
|
|
684
680
|
if (data.UnprocessedTraceIds != null) {
|
|
685
|
-
contents.UnprocessedTraceIds =
|
|
681
|
+
contents.UnprocessedTraceIds = de_UnprocessedTraceIdList(data.UnprocessedTraceIds, context);
|
|
686
682
|
}
|
|
687
683
|
return contents;
|
|
688
684
|
};
|
|
689
|
-
const
|
|
685
|
+
const de_BatchGetTracesCommandError = async (output, context) => {
|
|
690
686
|
const parsedOutput = {
|
|
691
687
|
...output,
|
|
692
688
|
body: await parseErrorBody(output.body, context),
|
|
@@ -695,10 +691,10 @@ const deserializeAws_restJson1BatchGetTracesCommandError = async (output, contex
|
|
|
695
691
|
switch (errorCode) {
|
|
696
692
|
case "InvalidRequestException":
|
|
697
693
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
698
|
-
throw await
|
|
694
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
699
695
|
case "ThrottledException":
|
|
700
696
|
case "com.amazonaws.xray#ThrottledException":
|
|
701
|
-
throw await
|
|
697
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
702
698
|
default:
|
|
703
699
|
const parsedBody = parsedOutput.body;
|
|
704
700
|
throwDefaultError({
|
|
@@ -709,20 +705,20 @@ const deserializeAws_restJson1BatchGetTracesCommandError = async (output, contex
|
|
|
709
705
|
});
|
|
710
706
|
}
|
|
711
707
|
};
|
|
712
|
-
export const
|
|
708
|
+
export const de_CreateGroupCommand = async (output, context) => {
|
|
713
709
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
714
|
-
return
|
|
710
|
+
return de_CreateGroupCommandError(output, context);
|
|
715
711
|
}
|
|
716
712
|
const contents = map({
|
|
717
713
|
$metadata: deserializeMetadata(output),
|
|
718
714
|
});
|
|
719
715
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
720
716
|
if (data.Group != null) {
|
|
721
|
-
contents.Group =
|
|
717
|
+
contents.Group = de_Group(data.Group, context);
|
|
722
718
|
}
|
|
723
719
|
return contents;
|
|
724
720
|
};
|
|
725
|
-
const
|
|
721
|
+
const de_CreateGroupCommandError = async (output, context) => {
|
|
726
722
|
const parsedOutput = {
|
|
727
723
|
...output,
|
|
728
724
|
body: await parseErrorBody(output.body, context),
|
|
@@ -731,10 +727,10 @@ const deserializeAws_restJson1CreateGroupCommandError = async (output, context)
|
|
|
731
727
|
switch (errorCode) {
|
|
732
728
|
case "InvalidRequestException":
|
|
733
729
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
734
|
-
throw await
|
|
730
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
735
731
|
case "ThrottledException":
|
|
736
732
|
case "com.amazonaws.xray#ThrottledException":
|
|
737
|
-
throw await
|
|
733
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
738
734
|
default:
|
|
739
735
|
const parsedBody = parsedOutput.body;
|
|
740
736
|
throwDefaultError({
|
|
@@ -745,20 +741,20 @@ const deserializeAws_restJson1CreateGroupCommandError = async (output, context)
|
|
|
745
741
|
});
|
|
746
742
|
}
|
|
747
743
|
};
|
|
748
|
-
export const
|
|
744
|
+
export const de_CreateSamplingRuleCommand = async (output, context) => {
|
|
749
745
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
750
|
-
return
|
|
746
|
+
return de_CreateSamplingRuleCommandError(output, context);
|
|
751
747
|
}
|
|
752
748
|
const contents = map({
|
|
753
749
|
$metadata: deserializeMetadata(output),
|
|
754
750
|
});
|
|
755
751
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
756
752
|
if (data.SamplingRuleRecord != null) {
|
|
757
|
-
contents.SamplingRuleRecord =
|
|
753
|
+
contents.SamplingRuleRecord = de_SamplingRuleRecord(data.SamplingRuleRecord, context);
|
|
758
754
|
}
|
|
759
755
|
return contents;
|
|
760
756
|
};
|
|
761
|
-
const
|
|
757
|
+
const de_CreateSamplingRuleCommandError = async (output, context) => {
|
|
762
758
|
const parsedOutput = {
|
|
763
759
|
...output,
|
|
764
760
|
body: await parseErrorBody(output.body, context),
|
|
@@ -767,13 +763,13 @@ const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, co
|
|
|
767
763
|
switch (errorCode) {
|
|
768
764
|
case "InvalidRequestException":
|
|
769
765
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
770
|
-
throw await
|
|
766
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
771
767
|
case "RuleLimitExceededException":
|
|
772
768
|
case "com.amazonaws.xray#RuleLimitExceededException":
|
|
773
|
-
throw await
|
|
769
|
+
throw await de_RuleLimitExceededExceptionRes(parsedOutput, context);
|
|
774
770
|
case "ThrottledException":
|
|
775
771
|
case "com.amazonaws.xray#ThrottledException":
|
|
776
|
-
throw await
|
|
772
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
777
773
|
default:
|
|
778
774
|
const parsedBody = parsedOutput.body;
|
|
779
775
|
throwDefaultError({
|
|
@@ -784,9 +780,9 @@ const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, co
|
|
|
784
780
|
});
|
|
785
781
|
}
|
|
786
782
|
};
|
|
787
|
-
export const
|
|
783
|
+
export const de_DeleteGroupCommand = async (output, context) => {
|
|
788
784
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
789
|
-
return
|
|
785
|
+
return de_DeleteGroupCommandError(output, context);
|
|
790
786
|
}
|
|
791
787
|
const contents = map({
|
|
792
788
|
$metadata: deserializeMetadata(output),
|
|
@@ -794,7 +790,7 @@ export const deserializeAws_restJson1DeleteGroupCommand = async (output, context
|
|
|
794
790
|
await collectBody(output.body, context);
|
|
795
791
|
return contents;
|
|
796
792
|
};
|
|
797
|
-
const
|
|
793
|
+
const de_DeleteGroupCommandError = async (output, context) => {
|
|
798
794
|
const parsedOutput = {
|
|
799
795
|
...output,
|
|
800
796
|
body: await parseErrorBody(output.body, context),
|
|
@@ -803,10 +799,10 @@ const deserializeAws_restJson1DeleteGroupCommandError = async (output, context)
|
|
|
803
799
|
switch (errorCode) {
|
|
804
800
|
case "InvalidRequestException":
|
|
805
801
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
806
|
-
throw await
|
|
802
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
807
803
|
case "ThrottledException":
|
|
808
804
|
case "com.amazonaws.xray#ThrottledException":
|
|
809
|
-
throw await
|
|
805
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
810
806
|
default:
|
|
811
807
|
const parsedBody = parsedOutput.body;
|
|
812
808
|
throwDefaultError({
|
|
@@ -817,9 +813,9 @@ const deserializeAws_restJson1DeleteGroupCommandError = async (output, context)
|
|
|
817
813
|
});
|
|
818
814
|
}
|
|
819
815
|
};
|
|
820
|
-
export const
|
|
816
|
+
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
821
817
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
822
|
-
return
|
|
818
|
+
return de_DeleteResourcePolicyCommandError(output, context);
|
|
823
819
|
}
|
|
824
820
|
const contents = map({
|
|
825
821
|
$metadata: deserializeMetadata(output),
|
|
@@ -827,7 +823,7 @@ export const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output
|
|
|
827
823
|
await collectBody(output.body, context);
|
|
828
824
|
return contents;
|
|
829
825
|
};
|
|
830
|
-
const
|
|
826
|
+
const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
831
827
|
const parsedOutput = {
|
|
832
828
|
...output,
|
|
833
829
|
body: await parseErrorBody(output.body, context),
|
|
@@ -836,13 +832,13 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
|
|
|
836
832
|
switch (errorCode) {
|
|
837
833
|
case "InvalidPolicyRevisionIdException":
|
|
838
834
|
case "com.amazonaws.xray#InvalidPolicyRevisionIdException":
|
|
839
|
-
throw await
|
|
835
|
+
throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput, context);
|
|
840
836
|
case "InvalidRequestException":
|
|
841
837
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
842
|
-
throw await
|
|
838
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
843
839
|
case "ThrottledException":
|
|
844
840
|
case "com.amazonaws.xray#ThrottledException":
|
|
845
|
-
throw await
|
|
841
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
846
842
|
default:
|
|
847
843
|
const parsedBody = parsedOutput.body;
|
|
848
844
|
throwDefaultError({
|
|
@@ -853,20 +849,20 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
|
|
|
853
849
|
});
|
|
854
850
|
}
|
|
855
851
|
};
|
|
856
|
-
export const
|
|
852
|
+
export const de_DeleteSamplingRuleCommand = async (output, context) => {
|
|
857
853
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
858
|
-
return
|
|
854
|
+
return de_DeleteSamplingRuleCommandError(output, context);
|
|
859
855
|
}
|
|
860
856
|
const contents = map({
|
|
861
857
|
$metadata: deserializeMetadata(output),
|
|
862
858
|
});
|
|
863
859
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
864
860
|
if (data.SamplingRuleRecord != null) {
|
|
865
|
-
contents.SamplingRuleRecord =
|
|
861
|
+
contents.SamplingRuleRecord = de_SamplingRuleRecord(data.SamplingRuleRecord, context);
|
|
866
862
|
}
|
|
867
863
|
return contents;
|
|
868
864
|
};
|
|
869
|
-
const
|
|
865
|
+
const de_DeleteSamplingRuleCommandError = async (output, context) => {
|
|
870
866
|
const parsedOutput = {
|
|
871
867
|
...output,
|
|
872
868
|
body: await parseErrorBody(output.body, context),
|
|
@@ -875,10 +871,10 @@ const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, co
|
|
|
875
871
|
switch (errorCode) {
|
|
876
872
|
case "InvalidRequestException":
|
|
877
873
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
878
|
-
throw await
|
|
874
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
879
875
|
case "ThrottledException":
|
|
880
876
|
case "com.amazonaws.xray#ThrottledException":
|
|
881
|
-
throw await
|
|
877
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
882
878
|
default:
|
|
883
879
|
const parsedBody = parsedOutput.body;
|
|
884
880
|
throwDefaultError({
|
|
@@ -889,20 +885,20 @@ const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, co
|
|
|
889
885
|
});
|
|
890
886
|
}
|
|
891
887
|
};
|
|
892
|
-
export const
|
|
888
|
+
export const de_GetEncryptionConfigCommand = async (output, context) => {
|
|
893
889
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
894
|
-
return
|
|
890
|
+
return de_GetEncryptionConfigCommandError(output, context);
|
|
895
891
|
}
|
|
896
892
|
const contents = map({
|
|
897
893
|
$metadata: deserializeMetadata(output),
|
|
898
894
|
});
|
|
899
895
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
900
896
|
if (data.EncryptionConfig != null) {
|
|
901
|
-
contents.EncryptionConfig =
|
|
897
|
+
contents.EncryptionConfig = de_EncryptionConfig(data.EncryptionConfig, context);
|
|
902
898
|
}
|
|
903
899
|
return contents;
|
|
904
900
|
};
|
|
905
|
-
const
|
|
901
|
+
const de_GetEncryptionConfigCommandError = async (output, context) => {
|
|
906
902
|
const parsedOutput = {
|
|
907
903
|
...output,
|
|
908
904
|
body: await parseErrorBody(output.body, context),
|
|
@@ -911,10 +907,10 @@ const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, c
|
|
|
911
907
|
switch (errorCode) {
|
|
912
908
|
case "InvalidRequestException":
|
|
913
909
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
914
|
-
throw await
|
|
910
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
915
911
|
case "ThrottledException":
|
|
916
912
|
case "com.amazonaws.xray#ThrottledException":
|
|
917
|
-
throw await
|
|
913
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
918
914
|
default:
|
|
919
915
|
const parsedBody = parsedOutput.body;
|
|
920
916
|
throwDefaultError({
|
|
@@ -925,20 +921,20 @@ const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, c
|
|
|
925
921
|
});
|
|
926
922
|
}
|
|
927
923
|
};
|
|
928
|
-
export const
|
|
924
|
+
export const de_GetGroupCommand = async (output, context) => {
|
|
929
925
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
930
|
-
return
|
|
926
|
+
return de_GetGroupCommandError(output, context);
|
|
931
927
|
}
|
|
932
928
|
const contents = map({
|
|
933
929
|
$metadata: deserializeMetadata(output),
|
|
934
930
|
});
|
|
935
931
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
936
932
|
if (data.Group != null) {
|
|
937
|
-
contents.Group =
|
|
933
|
+
contents.Group = de_Group(data.Group, context);
|
|
938
934
|
}
|
|
939
935
|
return contents;
|
|
940
936
|
};
|
|
941
|
-
const
|
|
937
|
+
const de_GetGroupCommandError = async (output, context) => {
|
|
942
938
|
const parsedOutput = {
|
|
943
939
|
...output,
|
|
944
940
|
body: await parseErrorBody(output.body, context),
|
|
@@ -947,10 +943,10 @@ const deserializeAws_restJson1GetGroupCommandError = async (output, context) =>
|
|
|
947
943
|
switch (errorCode) {
|
|
948
944
|
case "InvalidRequestException":
|
|
949
945
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
950
|
-
throw await
|
|
946
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
951
947
|
case "ThrottledException":
|
|
952
948
|
case "com.amazonaws.xray#ThrottledException":
|
|
953
|
-
throw await
|
|
949
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
954
950
|
default:
|
|
955
951
|
const parsedBody = parsedOutput.body;
|
|
956
952
|
throwDefaultError({
|
|
@@ -961,23 +957,23 @@ const deserializeAws_restJson1GetGroupCommandError = async (output, context) =>
|
|
|
961
957
|
});
|
|
962
958
|
}
|
|
963
959
|
};
|
|
964
|
-
export const
|
|
960
|
+
export const de_GetGroupsCommand = async (output, context) => {
|
|
965
961
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
966
|
-
return
|
|
962
|
+
return de_GetGroupsCommandError(output, context);
|
|
967
963
|
}
|
|
968
964
|
const contents = map({
|
|
969
965
|
$metadata: deserializeMetadata(output),
|
|
970
966
|
});
|
|
971
967
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
972
968
|
if (data.Groups != null) {
|
|
973
|
-
contents.Groups =
|
|
969
|
+
contents.Groups = de_GroupSummaryList(data.Groups, context);
|
|
974
970
|
}
|
|
975
971
|
if (data.NextToken != null) {
|
|
976
972
|
contents.NextToken = __expectString(data.NextToken);
|
|
977
973
|
}
|
|
978
974
|
return contents;
|
|
979
975
|
};
|
|
980
|
-
const
|
|
976
|
+
const de_GetGroupsCommandError = async (output, context) => {
|
|
981
977
|
const parsedOutput = {
|
|
982
978
|
...output,
|
|
983
979
|
body: await parseErrorBody(output.body, context),
|
|
@@ -986,10 +982,10 @@ const deserializeAws_restJson1GetGroupsCommandError = async (output, context) =>
|
|
|
986
982
|
switch (errorCode) {
|
|
987
983
|
case "InvalidRequestException":
|
|
988
984
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
989
|
-
throw await
|
|
985
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
990
986
|
case "ThrottledException":
|
|
991
987
|
case "com.amazonaws.xray#ThrottledException":
|
|
992
|
-
throw await
|
|
988
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
993
989
|
default:
|
|
994
990
|
const parsedBody = parsedOutput.body;
|
|
995
991
|
throwDefaultError({
|
|
@@ -1000,20 +996,20 @@ const deserializeAws_restJson1GetGroupsCommandError = async (output, context) =>
|
|
|
1000
996
|
});
|
|
1001
997
|
}
|
|
1002
998
|
};
|
|
1003
|
-
export const
|
|
999
|
+
export const de_GetInsightCommand = async (output, context) => {
|
|
1004
1000
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1005
|
-
return
|
|
1001
|
+
return de_GetInsightCommandError(output, context);
|
|
1006
1002
|
}
|
|
1007
1003
|
const contents = map({
|
|
1008
1004
|
$metadata: deserializeMetadata(output),
|
|
1009
1005
|
});
|
|
1010
1006
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1011
1007
|
if (data.Insight != null) {
|
|
1012
|
-
contents.Insight =
|
|
1008
|
+
contents.Insight = de_Insight(data.Insight, context);
|
|
1013
1009
|
}
|
|
1014
1010
|
return contents;
|
|
1015
1011
|
};
|
|
1016
|
-
const
|
|
1012
|
+
const de_GetInsightCommandError = async (output, context) => {
|
|
1017
1013
|
const parsedOutput = {
|
|
1018
1014
|
...output,
|
|
1019
1015
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1022,10 +1018,10 @@ const deserializeAws_restJson1GetInsightCommandError = async (output, context) =
|
|
|
1022
1018
|
switch (errorCode) {
|
|
1023
1019
|
case "InvalidRequestException":
|
|
1024
1020
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1025
|
-
throw await
|
|
1021
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1026
1022
|
case "ThrottledException":
|
|
1027
1023
|
case "com.amazonaws.xray#ThrottledException":
|
|
1028
|
-
throw await
|
|
1024
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1029
1025
|
default:
|
|
1030
1026
|
const parsedBody = parsedOutput.body;
|
|
1031
1027
|
throwDefaultError({
|
|
@@ -1036,23 +1032,23 @@ const deserializeAws_restJson1GetInsightCommandError = async (output, context) =
|
|
|
1036
1032
|
});
|
|
1037
1033
|
}
|
|
1038
1034
|
};
|
|
1039
|
-
export const
|
|
1035
|
+
export const de_GetInsightEventsCommand = async (output, context) => {
|
|
1040
1036
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1041
|
-
return
|
|
1037
|
+
return de_GetInsightEventsCommandError(output, context);
|
|
1042
1038
|
}
|
|
1043
1039
|
const contents = map({
|
|
1044
1040
|
$metadata: deserializeMetadata(output),
|
|
1045
1041
|
});
|
|
1046
1042
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1047
1043
|
if (data.InsightEvents != null) {
|
|
1048
|
-
contents.InsightEvents =
|
|
1044
|
+
contents.InsightEvents = de_InsightEventList(data.InsightEvents, context);
|
|
1049
1045
|
}
|
|
1050
1046
|
if (data.NextToken != null) {
|
|
1051
1047
|
contents.NextToken = __expectString(data.NextToken);
|
|
1052
1048
|
}
|
|
1053
1049
|
return contents;
|
|
1054
1050
|
};
|
|
1055
|
-
const
|
|
1051
|
+
const de_GetInsightEventsCommandError = async (output, context) => {
|
|
1056
1052
|
const parsedOutput = {
|
|
1057
1053
|
...output,
|
|
1058
1054
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1061,10 +1057,10 @@ const deserializeAws_restJson1GetInsightEventsCommandError = async (output, cont
|
|
|
1061
1057
|
switch (errorCode) {
|
|
1062
1058
|
case "InvalidRequestException":
|
|
1063
1059
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1064
|
-
throw await
|
|
1060
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1065
1061
|
case "ThrottledException":
|
|
1066
1062
|
case "com.amazonaws.xray#ThrottledException":
|
|
1067
|
-
throw await
|
|
1063
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1068
1064
|
default:
|
|
1069
1065
|
const parsedBody = parsedOutput.body;
|
|
1070
1066
|
throwDefaultError({
|
|
@@ -1075,9 +1071,9 @@ const deserializeAws_restJson1GetInsightEventsCommandError = async (output, cont
|
|
|
1075
1071
|
});
|
|
1076
1072
|
}
|
|
1077
1073
|
};
|
|
1078
|
-
export const
|
|
1074
|
+
export const de_GetInsightImpactGraphCommand = async (output, context) => {
|
|
1079
1075
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1080
|
-
return
|
|
1076
|
+
return de_GetInsightImpactGraphCommandError(output, context);
|
|
1081
1077
|
}
|
|
1082
1078
|
const contents = map({
|
|
1083
1079
|
$metadata: deserializeMetadata(output),
|
|
@@ -1099,14 +1095,14 @@ export const deserializeAws_restJson1GetInsightImpactGraphCommand = async (outpu
|
|
|
1099
1095
|
contents.ServiceGraphStartTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.ServiceGraphStartTime)));
|
|
1100
1096
|
}
|
|
1101
1097
|
if (data.Services != null) {
|
|
1102
|
-
contents.Services =
|
|
1098
|
+
contents.Services = de_InsightImpactGraphServiceList(data.Services, context);
|
|
1103
1099
|
}
|
|
1104
1100
|
if (data.StartTime != null) {
|
|
1105
1101
|
contents.StartTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.StartTime)));
|
|
1106
1102
|
}
|
|
1107
1103
|
return contents;
|
|
1108
1104
|
};
|
|
1109
|
-
const
|
|
1105
|
+
const de_GetInsightImpactGraphCommandError = async (output, context) => {
|
|
1110
1106
|
const parsedOutput = {
|
|
1111
1107
|
...output,
|
|
1112
1108
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1115,10 +1111,10 @@ const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output,
|
|
|
1115
1111
|
switch (errorCode) {
|
|
1116
1112
|
case "InvalidRequestException":
|
|
1117
1113
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1118
|
-
throw await
|
|
1114
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1119
1115
|
case "ThrottledException":
|
|
1120
1116
|
case "com.amazonaws.xray#ThrottledException":
|
|
1121
|
-
throw await
|
|
1117
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1122
1118
|
default:
|
|
1123
1119
|
const parsedBody = parsedOutput.body;
|
|
1124
1120
|
throwDefaultError({
|
|
@@ -1129,23 +1125,23 @@ const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output,
|
|
|
1129
1125
|
});
|
|
1130
1126
|
}
|
|
1131
1127
|
};
|
|
1132
|
-
export const
|
|
1128
|
+
export const de_GetInsightSummariesCommand = async (output, context) => {
|
|
1133
1129
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1134
|
-
return
|
|
1130
|
+
return de_GetInsightSummariesCommandError(output, context);
|
|
1135
1131
|
}
|
|
1136
1132
|
const contents = map({
|
|
1137
1133
|
$metadata: deserializeMetadata(output),
|
|
1138
1134
|
});
|
|
1139
1135
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1140
1136
|
if (data.InsightSummaries != null) {
|
|
1141
|
-
contents.InsightSummaries =
|
|
1137
|
+
contents.InsightSummaries = de_InsightSummaryList(data.InsightSummaries, context);
|
|
1142
1138
|
}
|
|
1143
1139
|
if (data.NextToken != null) {
|
|
1144
1140
|
contents.NextToken = __expectString(data.NextToken);
|
|
1145
1141
|
}
|
|
1146
1142
|
return contents;
|
|
1147
1143
|
};
|
|
1148
|
-
const
|
|
1144
|
+
const de_GetInsightSummariesCommandError = async (output, context) => {
|
|
1149
1145
|
const parsedOutput = {
|
|
1150
1146
|
...output,
|
|
1151
1147
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1154,10 +1150,10 @@ const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, c
|
|
|
1154
1150
|
switch (errorCode) {
|
|
1155
1151
|
case "InvalidRequestException":
|
|
1156
1152
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1157
|
-
throw await
|
|
1153
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1158
1154
|
case "ThrottledException":
|
|
1159
1155
|
case "com.amazonaws.xray#ThrottledException":
|
|
1160
|
-
throw await
|
|
1156
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1161
1157
|
default:
|
|
1162
1158
|
const parsedBody = parsedOutput.body;
|
|
1163
1159
|
throwDefaultError({
|
|
@@ -1168,9 +1164,9 @@ const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, c
|
|
|
1168
1164
|
});
|
|
1169
1165
|
}
|
|
1170
1166
|
};
|
|
1171
|
-
export const
|
|
1167
|
+
export const de_GetSamplingRulesCommand = async (output, context) => {
|
|
1172
1168
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1173
|
-
return
|
|
1169
|
+
return de_GetSamplingRulesCommandError(output, context);
|
|
1174
1170
|
}
|
|
1175
1171
|
const contents = map({
|
|
1176
1172
|
$metadata: deserializeMetadata(output),
|
|
@@ -1180,11 +1176,11 @@ export const deserializeAws_restJson1GetSamplingRulesCommand = async (output, co
|
|
|
1180
1176
|
contents.NextToken = __expectString(data.NextToken);
|
|
1181
1177
|
}
|
|
1182
1178
|
if (data.SamplingRuleRecords != null) {
|
|
1183
|
-
contents.SamplingRuleRecords =
|
|
1179
|
+
contents.SamplingRuleRecords = de_SamplingRuleRecordList(data.SamplingRuleRecords, context);
|
|
1184
1180
|
}
|
|
1185
1181
|
return contents;
|
|
1186
1182
|
};
|
|
1187
|
-
const
|
|
1183
|
+
const de_GetSamplingRulesCommandError = async (output, context) => {
|
|
1188
1184
|
const parsedOutput = {
|
|
1189
1185
|
...output,
|
|
1190
1186
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1193,10 +1189,10 @@ const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, cont
|
|
|
1193
1189
|
switch (errorCode) {
|
|
1194
1190
|
case "InvalidRequestException":
|
|
1195
1191
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1196
|
-
throw await
|
|
1192
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1197
1193
|
case "ThrottledException":
|
|
1198
1194
|
case "com.amazonaws.xray#ThrottledException":
|
|
1199
|
-
throw await
|
|
1195
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1200
1196
|
default:
|
|
1201
1197
|
const parsedBody = parsedOutput.body;
|
|
1202
1198
|
throwDefaultError({
|
|
@@ -1207,9 +1203,9 @@ const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, cont
|
|
|
1207
1203
|
});
|
|
1208
1204
|
}
|
|
1209
1205
|
};
|
|
1210
|
-
export const
|
|
1206
|
+
export const de_GetSamplingStatisticSummariesCommand = async (output, context) => {
|
|
1211
1207
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1212
|
-
return
|
|
1208
|
+
return de_GetSamplingStatisticSummariesCommandError(output, context);
|
|
1213
1209
|
}
|
|
1214
1210
|
const contents = map({
|
|
1215
1211
|
$metadata: deserializeMetadata(output),
|
|
@@ -1219,11 +1215,11 @@ export const deserializeAws_restJson1GetSamplingStatisticSummariesCommand = asyn
|
|
|
1219
1215
|
contents.NextToken = __expectString(data.NextToken);
|
|
1220
1216
|
}
|
|
1221
1217
|
if (data.SamplingStatisticSummaries != null) {
|
|
1222
|
-
contents.SamplingStatisticSummaries =
|
|
1218
|
+
contents.SamplingStatisticSummaries = de_SamplingStatisticSummaryList(data.SamplingStatisticSummaries, context);
|
|
1223
1219
|
}
|
|
1224
1220
|
return contents;
|
|
1225
1221
|
};
|
|
1226
|
-
const
|
|
1222
|
+
const de_GetSamplingStatisticSummariesCommandError = async (output, context) => {
|
|
1227
1223
|
const parsedOutput = {
|
|
1228
1224
|
...output,
|
|
1229
1225
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1232,10 +1228,10 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async
|
|
|
1232
1228
|
switch (errorCode) {
|
|
1233
1229
|
case "InvalidRequestException":
|
|
1234
1230
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1235
|
-
throw await
|
|
1231
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1236
1232
|
case "ThrottledException":
|
|
1237
1233
|
case "com.amazonaws.xray#ThrottledException":
|
|
1238
|
-
throw await
|
|
1234
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1239
1235
|
default:
|
|
1240
1236
|
const parsedBody = parsedOutput.body;
|
|
1241
1237
|
throwDefaultError({
|
|
@@ -1246,9 +1242,9 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async
|
|
|
1246
1242
|
});
|
|
1247
1243
|
}
|
|
1248
1244
|
};
|
|
1249
|
-
export const
|
|
1245
|
+
export const de_GetSamplingTargetsCommand = async (output, context) => {
|
|
1250
1246
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1251
|
-
return
|
|
1247
|
+
return de_GetSamplingTargetsCommandError(output, context);
|
|
1252
1248
|
}
|
|
1253
1249
|
const contents = map({
|
|
1254
1250
|
$metadata: deserializeMetadata(output),
|
|
@@ -1258,14 +1254,14 @@ export const deserializeAws_restJson1GetSamplingTargetsCommand = async (output,
|
|
|
1258
1254
|
contents.LastRuleModification = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastRuleModification)));
|
|
1259
1255
|
}
|
|
1260
1256
|
if (data.SamplingTargetDocuments != null) {
|
|
1261
|
-
contents.SamplingTargetDocuments =
|
|
1257
|
+
contents.SamplingTargetDocuments = de_SamplingTargetDocumentList(data.SamplingTargetDocuments, context);
|
|
1262
1258
|
}
|
|
1263
1259
|
if (data.UnprocessedStatistics != null) {
|
|
1264
|
-
contents.UnprocessedStatistics =
|
|
1260
|
+
contents.UnprocessedStatistics = de_UnprocessedStatisticsList(data.UnprocessedStatistics, context);
|
|
1265
1261
|
}
|
|
1266
1262
|
return contents;
|
|
1267
1263
|
};
|
|
1268
|
-
const
|
|
1264
|
+
const de_GetSamplingTargetsCommandError = async (output, context) => {
|
|
1269
1265
|
const parsedOutput = {
|
|
1270
1266
|
...output,
|
|
1271
1267
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1274,10 +1270,10 @@ const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, co
|
|
|
1274
1270
|
switch (errorCode) {
|
|
1275
1271
|
case "InvalidRequestException":
|
|
1276
1272
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1277
|
-
throw await
|
|
1273
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1278
1274
|
case "ThrottledException":
|
|
1279
1275
|
case "com.amazonaws.xray#ThrottledException":
|
|
1280
|
-
throw await
|
|
1276
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1281
1277
|
default:
|
|
1282
1278
|
const parsedBody = parsedOutput.body;
|
|
1283
1279
|
throwDefaultError({
|
|
@@ -1288,9 +1284,9 @@ const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, co
|
|
|
1288
1284
|
});
|
|
1289
1285
|
}
|
|
1290
1286
|
};
|
|
1291
|
-
export const
|
|
1287
|
+
export const de_GetServiceGraphCommand = async (output, context) => {
|
|
1292
1288
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1293
|
-
return
|
|
1289
|
+
return de_GetServiceGraphCommandError(output, context);
|
|
1294
1290
|
}
|
|
1295
1291
|
const contents = map({
|
|
1296
1292
|
$metadata: deserializeMetadata(output),
|
|
@@ -1306,14 +1302,14 @@ export const deserializeAws_restJson1GetServiceGraphCommand = async (output, con
|
|
|
1306
1302
|
contents.NextToken = __expectString(data.NextToken);
|
|
1307
1303
|
}
|
|
1308
1304
|
if (data.Services != null) {
|
|
1309
|
-
contents.Services =
|
|
1305
|
+
contents.Services = de_ServiceList(data.Services, context);
|
|
1310
1306
|
}
|
|
1311
1307
|
if (data.StartTime != null) {
|
|
1312
1308
|
contents.StartTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.StartTime)));
|
|
1313
1309
|
}
|
|
1314
1310
|
return contents;
|
|
1315
1311
|
};
|
|
1316
|
-
const
|
|
1312
|
+
const de_GetServiceGraphCommandError = async (output, context) => {
|
|
1317
1313
|
const parsedOutput = {
|
|
1318
1314
|
...output,
|
|
1319
1315
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1322,10 +1318,10 @@ const deserializeAws_restJson1GetServiceGraphCommandError = async (output, conte
|
|
|
1322
1318
|
switch (errorCode) {
|
|
1323
1319
|
case "InvalidRequestException":
|
|
1324
1320
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1325
|
-
throw await
|
|
1321
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1326
1322
|
case "ThrottledException":
|
|
1327
1323
|
case "com.amazonaws.xray#ThrottledException":
|
|
1328
|
-
throw await
|
|
1324
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1329
1325
|
default:
|
|
1330
1326
|
const parsedBody = parsedOutput.body;
|
|
1331
1327
|
throwDefaultError({
|
|
@@ -1336,9 +1332,9 @@ const deserializeAws_restJson1GetServiceGraphCommandError = async (output, conte
|
|
|
1336
1332
|
});
|
|
1337
1333
|
}
|
|
1338
1334
|
};
|
|
1339
|
-
export const
|
|
1335
|
+
export const de_GetTimeSeriesServiceStatisticsCommand = async (output, context) => {
|
|
1340
1336
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1341
|
-
return
|
|
1337
|
+
return de_GetTimeSeriesServiceStatisticsCommandError(output, context);
|
|
1342
1338
|
}
|
|
1343
1339
|
const contents = map({
|
|
1344
1340
|
$metadata: deserializeMetadata(output),
|
|
@@ -1351,11 +1347,11 @@ export const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = asy
|
|
|
1351
1347
|
contents.NextToken = __expectString(data.NextToken);
|
|
1352
1348
|
}
|
|
1353
1349
|
if (data.TimeSeriesServiceStatistics != null) {
|
|
1354
|
-
contents.TimeSeriesServiceStatistics =
|
|
1350
|
+
contents.TimeSeriesServiceStatistics = de_TimeSeriesServiceStatisticsList(data.TimeSeriesServiceStatistics, context);
|
|
1355
1351
|
}
|
|
1356
1352
|
return contents;
|
|
1357
1353
|
};
|
|
1358
|
-
const
|
|
1354
|
+
const de_GetTimeSeriesServiceStatisticsCommandError = async (output, context) => {
|
|
1359
1355
|
const parsedOutput = {
|
|
1360
1356
|
...output,
|
|
1361
1357
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1364,10 +1360,10 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async
|
|
|
1364
1360
|
switch (errorCode) {
|
|
1365
1361
|
case "InvalidRequestException":
|
|
1366
1362
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1367
|
-
throw await
|
|
1363
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1368
1364
|
case "ThrottledException":
|
|
1369
1365
|
case "com.amazonaws.xray#ThrottledException":
|
|
1370
|
-
throw await
|
|
1366
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1371
1367
|
default:
|
|
1372
1368
|
const parsedBody = parsedOutput.body;
|
|
1373
1369
|
throwDefaultError({
|
|
@@ -1378,9 +1374,9 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async
|
|
|
1378
1374
|
});
|
|
1379
1375
|
}
|
|
1380
1376
|
};
|
|
1381
|
-
export const
|
|
1377
|
+
export const de_GetTraceGraphCommand = async (output, context) => {
|
|
1382
1378
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1383
|
-
return
|
|
1379
|
+
return de_GetTraceGraphCommandError(output, context);
|
|
1384
1380
|
}
|
|
1385
1381
|
const contents = map({
|
|
1386
1382
|
$metadata: deserializeMetadata(output),
|
|
@@ -1390,11 +1386,11 @@ export const deserializeAws_restJson1GetTraceGraphCommand = async (output, conte
|
|
|
1390
1386
|
contents.NextToken = __expectString(data.NextToken);
|
|
1391
1387
|
}
|
|
1392
1388
|
if (data.Services != null) {
|
|
1393
|
-
contents.Services =
|
|
1389
|
+
contents.Services = de_ServiceList(data.Services, context);
|
|
1394
1390
|
}
|
|
1395
1391
|
return contents;
|
|
1396
1392
|
};
|
|
1397
|
-
const
|
|
1393
|
+
const de_GetTraceGraphCommandError = async (output, context) => {
|
|
1398
1394
|
const parsedOutput = {
|
|
1399
1395
|
...output,
|
|
1400
1396
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1403,10 +1399,10 @@ const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context
|
|
|
1403
1399
|
switch (errorCode) {
|
|
1404
1400
|
case "InvalidRequestException":
|
|
1405
1401
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1406
|
-
throw await
|
|
1402
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1407
1403
|
case "ThrottledException":
|
|
1408
1404
|
case "com.amazonaws.xray#ThrottledException":
|
|
1409
|
-
throw await
|
|
1405
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1410
1406
|
default:
|
|
1411
1407
|
const parsedBody = parsedOutput.body;
|
|
1412
1408
|
throwDefaultError({
|
|
@@ -1417,9 +1413,9 @@ const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context
|
|
|
1417
1413
|
});
|
|
1418
1414
|
}
|
|
1419
1415
|
};
|
|
1420
|
-
export const
|
|
1416
|
+
export const de_GetTraceSummariesCommand = async (output, context) => {
|
|
1421
1417
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1422
|
-
return
|
|
1418
|
+
return de_GetTraceSummariesCommandError(output, context);
|
|
1423
1419
|
}
|
|
1424
1420
|
const contents = map({
|
|
1425
1421
|
$metadata: deserializeMetadata(output),
|
|
@@ -1432,14 +1428,14 @@ export const deserializeAws_restJson1GetTraceSummariesCommand = async (output, c
|
|
|
1432
1428
|
contents.NextToken = __expectString(data.NextToken);
|
|
1433
1429
|
}
|
|
1434
1430
|
if (data.TraceSummaries != null) {
|
|
1435
|
-
contents.TraceSummaries =
|
|
1431
|
+
contents.TraceSummaries = de_TraceSummaryList(data.TraceSummaries, context);
|
|
1436
1432
|
}
|
|
1437
1433
|
if (data.TracesProcessedCount != null) {
|
|
1438
1434
|
contents.TracesProcessedCount = __expectLong(data.TracesProcessedCount);
|
|
1439
1435
|
}
|
|
1440
1436
|
return contents;
|
|
1441
1437
|
};
|
|
1442
|
-
const
|
|
1438
|
+
const de_GetTraceSummariesCommandError = async (output, context) => {
|
|
1443
1439
|
const parsedOutput = {
|
|
1444
1440
|
...output,
|
|
1445
1441
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1448,10 +1444,10 @@ const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, con
|
|
|
1448
1444
|
switch (errorCode) {
|
|
1449
1445
|
case "InvalidRequestException":
|
|
1450
1446
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1451
|
-
throw await
|
|
1447
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1452
1448
|
case "ThrottledException":
|
|
1453
1449
|
case "com.amazonaws.xray#ThrottledException":
|
|
1454
|
-
throw await
|
|
1450
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1455
1451
|
default:
|
|
1456
1452
|
const parsedBody = parsedOutput.body;
|
|
1457
1453
|
throwDefaultError({
|
|
@@ -1462,9 +1458,9 @@ const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, con
|
|
|
1462
1458
|
});
|
|
1463
1459
|
}
|
|
1464
1460
|
};
|
|
1465
|
-
export const
|
|
1461
|
+
export const de_ListResourcePoliciesCommand = async (output, context) => {
|
|
1466
1462
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1467
|
-
return
|
|
1463
|
+
return de_ListResourcePoliciesCommandError(output, context);
|
|
1468
1464
|
}
|
|
1469
1465
|
const contents = map({
|
|
1470
1466
|
$metadata: deserializeMetadata(output),
|
|
@@ -1474,11 +1470,11 @@ export const deserializeAws_restJson1ListResourcePoliciesCommand = async (output
|
|
|
1474
1470
|
contents.NextToken = __expectString(data.NextToken);
|
|
1475
1471
|
}
|
|
1476
1472
|
if (data.ResourcePolicies != null) {
|
|
1477
|
-
contents.ResourcePolicies =
|
|
1473
|
+
contents.ResourcePolicies = de_ResourcePolicyList(data.ResourcePolicies, context);
|
|
1478
1474
|
}
|
|
1479
1475
|
return contents;
|
|
1480
1476
|
};
|
|
1481
|
-
const
|
|
1477
|
+
const de_ListResourcePoliciesCommandError = async (output, context) => {
|
|
1482
1478
|
const parsedOutput = {
|
|
1483
1479
|
...output,
|
|
1484
1480
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1487,10 +1483,10 @@ const deserializeAws_restJson1ListResourcePoliciesCommandError = async (output,
|
|
|
1487
1483
|
switch (errorCode) {
|
|
1488
1484
|
case "InvalidRequestException":
|
|
1489
1485
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1490
|
-
throw await
|
|
1486
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1491
1487
|
case "ThrottledException":
|
|
1492
1488
|
case "com.amazonaws.xray#ThrottledException":
|
|
1493
|
-
throw await
|
|
1489
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1494
1490
|
default:
|
|
1495
1491
|
const parsedBody = parsedOutput.body;
|
|
1496
1492
|
throwDefaultError({
|
|
@@ -1501,9 +1497,9 @@ const deserializeAws_restJson1ListResourcePoliciesCommandError = async (output,
|
|
|
1501
1497
|
});
|
|
1502
1498
|
}
|
|
1503
1499
|
};
|
|
1504
|
-
export const
|
|
1500
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1505
1501
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1506
|
-
return
|
|
1502
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1507
1503
|
}
|
|
1508
1504
|
const contents = map({
|
|
1509
1505
|
$metadata: deserializeMetadata(output),
|
|
@@ -1513,11 +1509,11 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (output,
|
|
|
1513
1509
|
contents.NextToken = __expectString(data.NextToken);
|
|
1514
1510
|
}
|
|
1515
1511
|
if (data.Tags != null) {
|
|
1516
|
-
contents.Tags =
|
|
1512
|
+
contents.Tags = de_TagList(data.Tags, context);
|
|
1517
1513
|
}
|
|
1518
1514
|
return contents;
|
|
1519
1515
|
};
|
|
1520
|
-
const
|
|
1516
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1521
1517
|
const parsedOutput = {
|
|
1522
1518
|
...output,
|
|
1523
1519
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1526,13 +1522,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1526
1522
|
switch (errorCode) {
|
|
1527
1523
|
case "InvalidRequestException":
|
|
1528
1524
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1529
|
-
throw await
|
|
1525
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1530
1526
|
case "ResourceNotFoundException":
|
|
1531
1527
|
case "com.amazonaws.xray#ResourceNotFoundException":
|
|
1532
|
-
throw await
|
|
1528
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1533
1529
|
case "ThrottledException":
|
|
1534
1530
|
case "com.amazonaws.xray#ThrottledException":
|
|
1535
|
-
throw await
|
|
1531
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1536
1532
|
default:
|
|
1537
1533
|
const parsedBody = parsedOutput.body;
|
|
1538
1534
|
throwDefaultError({
|
|
@@ -1543,20 +1539,20 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1543
1539
|
});
|
|
1544
1540
|
}
|
|
1545
1541
|
};
|
|
1546
|
-
export const
|
|
1542
|
+
export const de_PutEncryptionConfigCommand = async (output, context) => {
|
|
1547
1543
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1548
|
-
return
|
|
1544
|
+
return de_PutEncryptionConfigCommandError(output, context);
|
|
1549
1545
|
}
|
|
1550
1546
|
const contents = map({
|
|
1551
1547
|
$metadata: deserializeMetadata(output),
|
|
1552
1548
|
});
|
|
1553
1549
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1554
1550
|
if (data.EncryptionConfig != null) {
|
|
1555
|
-
contents.EncryptionConfig =
|
|
1551
|
+
contents.EncryptionConfig = de_EncryptionConfig(data.EncryptionConfig, context);
|
|
1556
1552
|
}
|
|
1557
1553
|
return contents;
|
|
1558
1554
|
};
|
|
1559
|
-
const
|
|
1555
|
+
const de_PutEncryptionConfigCommandError = async (output, context) => {
|
|
1560
1556
|
const parsedOutput = {
|
|
1561
1557
|
...output,
|
|
1562
1558
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1565,10 +1561,10 @@ const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, c
|
|
|
1565
1561
|
switch (errorCode) {
|
|
1566
1562
|
case "InvalidRequestException":
|
|
1567
1563
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1568
|
-
throw await
|
|
1564
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1569
1565
|
case "ThrottledException":
|
|
1570
1566
|
case "com.amazonaws.xray#ThrottledException":
|
|
1571
|
-
throw await
|
|
1567
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1572
1568
|
default:
|
|
1573
1569
|
const parsedBody = parsedOutput.body;
|
|
1574
1570
|
throwDefaultError({
|
|
@@ -1579,20 +1575,20 @@ const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, c
|
|
|
1579
1575
|
});
|
|
1580
1576
|
}
|
|
1581
1577
|
};
|
|
1582
|
-
export const
|
|
1578
|
+
export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
1583
1579
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1584
|
-
return
|
|
1580
|
+
return de_PutResourcePolicyCommandError(output, context);
|
|
1585
1581
|
}
|
|
1586
1582
|
const contents = map({
|
|
1587
1583
|
$metadata: deserializeMetadata(output),
|
|
1588
1584
|
});
|
|
1589
1585
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1590
1586
|
if (data.ResourcePolicy != null) {
|
|
1591
|
-
contents.ResourcePolicy =
|
|
1587
|
+
contents.ResourcePolicy = de_ResourcePolicy(data.ResourcePolicy, context);
|
|
1592
1588
|
}
|
|
1593
1589
|
return contents;
|
|
1594
1590
|
};
|
|
1595
|
-
const
|
|
1591
|
+
const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
1596
1592
|
const parsedOutput = {
|
|
1597
1593
|
...output,
|
|
1598
1594
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1601,22 +1597,22 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
|
|
|
1601
1597
|
switch (errorCode) {
|
|
1602
1598
|
case "InvalidPolicyRevisionIdException":
|
|
1603
1599
|
case "com.amazonaws.xray#InvalidPolicyRevisionIdException":
|
|
1604
|
-
throw await
|
|
1600
|
+
throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput, context);
|
|
1605
1601
|
case "LockoutPreventionException":
|
|
1606
1602
|
case "com.amazonaws.xray#LockoutPreventionException":
|
|
1607
|
-
throw await
|
|
1603
|
+
throw await de_LockoutPreventionExceptionRes(parsedOutput, context);
|
|
1608
1604
|
case "MalformedPolicyDocumentException":
|
|
1609
1605
|
case "com.amazonaws.xray#MalformedPolicyDocumentException":
|
|
1610
|
-
throw await
|
|
1606
|
+
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
|
|
1611
1607
|
case "PolicyCountLimitExceededException":
|
|
1612
1608
|
case "com.amazonaws.xray#PolicyCountLimitExceededException":
|
|
1613
|
-
throw await
|
|
1609
|
+
throw await de_PolicyCountLimitExceededExceptionRes(parsedOutput, context);
|
|
1614
1610
|
case "PolicySizeLimitExceededException":
|
|
1615
1611
|
case "com.amazonaws.xray#PolicySizeLimitExceededException":
|
|
1616
|
-
throw await
|
|
1612
|
+
throw await de_PolicySizeLimitExceededExceptionRes(parsedOutput, context);
|
|
1617
1613
|
case "ThrottledException":
|
|
1618
1614
|
case "com.amazonaws.xray#ThrottledException":
|
|
1619
|
-
throw await
|
|
1615
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1620
1616
|
default:
|
|
1621
1617
|
const parsedBody = parsedOutput.body;
|
|
1622
1618
|
throwDefaultError({
|
|
@@ -1627,9 +1623,9 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
|
|
|
1627
1623
|
});
|
|
1628
1624
|
}
|
|
1629
1625
|
};
|
|
1630
|
-
export const
|
|
1626
|
+
export const de_PutTelemetryRecordsCommand = async (output, context) => {
|
|
1631
1627
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1632
|
-
return
|
|
1628
|
+
return de_PutTelemetryRecordsCommandError(output, context);
|
|
1633
1629
|
}
|
|
1634
1630
|
const contents = map({
|
|
1635
1631
|
$metadata: deserializeMetadata(output),
|
|
@@ -1637,7 +1633,7 @@ export const deserializeAws_restJson1PutTelemetryRecordsCommand = async (output,
|
|
|
1637
1633
|
await collectBody(output.body, context);
|
|
1638
1634
|
return contents;
|
|
1639
1635
|
};
|
|
1640
|
-
const
|
|
1636
|
+
const de_PutTelemetryRecordsCommandError = async (output, context) => {
|
|
1641
1637
|
const parsedOutput = {
|
|
1642
1638
|
...output,
|
|
1643
1639
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1646,10 +1642,10 @@ const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, c
|
|
|
1646
1642
|
switch (errorCode) {
|
|
1647
1643
|
case "InvalidRequestException":
|
|
1648
1644
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1649
|
-
throw await
|
|
1645
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1650
1646
|
case "ThrottledException":
|
|
1651
1647
|
case "com.amazonaws.xray#ThrottledException":
|
|
1652
|
-
throw await
|
|
1648
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1653
1649
|
default:
|
|
1654
1650
|
const parsedBody = parsedOutput.body;
|
|
1655
1651
|
throwDefaultError({
|
|
@@ -1660,20 +1656,20 @@ const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, c
|
|
|
1660
1656
|
});
|
|
1661
1657
|
}
|
|
1662
1658
|
};
|
|
1663
|
-
export const
|
|
1659
|
+
export const de_PutTraceSegmentsCommand = async (output, context) => {
|
|
1664
1660
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1665
|
-
return
|
|
1661
|
+
return de_PutTraceSegmentsCommandError(output, context);
|
|
1666
1662
|
}
|
|
1667
1663
|
const contents = map({
|
|
1668
1664
|
$metadata: deserializeMetadata(output),
|
|
1669
1665
|
});
|
|
1670
1666
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1671
1667
|
if (data.UnprocessedTraceSegments != null) {
|
|
1672
|
-
contents.UnprocessedTraceSegments =
|
|
1668
|
+
contents.UnprocessedTraceSegments = de_UnprocessedTraceSegmentList(data.UnprocessedTraceSegments, context);
|
|
1673
1669
|
}
|
|
1674
1670
|
return contents;
|
|
1675
1671
|
};
|
|
1676
|
-
const
|
|
1672
|
+
const de_PutTraceSegmentsCommandError = async (output, context) => {
|
|
1677
1673
|
const parsedOutput = {
|
|
1678
1674
|
...output,
|
|
1679
1675
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1682,10 +1678,10 @@ const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, cont
|
|
|
1682
1678
|
switch (errorCode) {
|
|
1683
1679
|
case "InvalidRequestException":
|
|
1684
1680
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1685
|
-
throw await
|
|
1681
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1686
1682
|
case "ThrottledException":
|
|
1687
1683
|
case "com.amazonaws.xray#ThrottledException":
|
|
1688
|
-
throw await
|
|
1684
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1689
1685
|
default:
|
|
1690
1686
|
const parsedBody = parsedOutput.body;
|
|
1691
1687
|
throwDefaultError({
|
|
@@ -1696,9 +1692,9 @@ const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, cont
|
|
|
1696
1692
|
});
|
|
1697
1693
|
}
|
|
1698
1694
|
};
|
|
1699
|
-
export const
|
|
1695
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1700
1696
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1701
|
-
return
|
|
1697
|
+
return de_TagResourceCommandError(output, context);
|
|
1702
1698
|
}
|
|
1703
1699
|
const contents = map({
|
|
1704
1700
|
$metadata: deserializeMetadata(output),
|
|
@@ -1706,7 +1702,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
|
|
|
1706
1702
|
await collectBody(output.body, context);
|
|
1707
1703
|
return contents;
|
|
1708
1704
|
};
|
|
1709
|
-
const
|
|
1705
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1710
1706
|
const parsedOutput = {
|
|
1711
1707
|
...output,
|
|
1712
1708
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1715,16 +1711,16 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1715
1711
|
switch (errorCode) {
|
|
1716
1712
|
case "InvalidRequestException":
|
|
1717
1713
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1718
|
-
throw await
|
|
1714
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1719
1715
|
case "ResourceNotFoundException":
|
|
1720
1716
|
case "com.amazonaws.xray#ResourceNotFoundException":
|
|
1721
|
-
throw await
|
|
1717
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1722
1718
|
case "ThrottledException":
|
|
1723
1719
|
case "com.amazonaws.xray#ThrottledException":
|
|
1724
|
-
throw await
|
|
1720
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1725
1721
|
case "TooManyTagsException":
|
|
1726
1722
|
case "com.amazonaws.xray#TooManyTagsException":
|
|
1727
|
-
throw await
|
|
1723
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1728
1724
|
default:
|
|
1729
1725
|
const parsedBody = parsedOutput.body;
|
|
1730
1726
|
throwDefaultError({
|
|
@@ -1735,9 +1731,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1735
1731
|
});
|
|
1736
1732
|
}
|
|
1737
1733
|
};
|
|
1738
|
-
export const
|
|
1734
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1739
1735
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1740
|
-
return
|
|
1736
|
+
return de_UntagResourceCommandError(output, context);
|
|
1741
1737
|
}
|
|
1742
1738
|
const contents = map({
|
|
1743
1739
|
$metadata: deserializeMetadata(output),
|
|
@@ -1745,7 +1741,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
|
|
|
1745
1741
|
await collectBody(output.body, context);
|
|
1746
1742
|
return contents;
|
|
1747
1743
|
};
|
|
1748
|
-
const
|
|
1744
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1749
1745
|
const parsedOutput = {
|
|
1750
1746
|
...output,
|
|
1751
1747
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1754,13 +1750,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1754
1750
|
switch (errorCode) {
|
|
1755
1751
|
case "InvalidRequestException":
|
|
1756
1752
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1757
|
-
throw await
|
|
1753
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1758
1754
|
case "ResourceNotFoundException":
|
|
1759
1755
|
case "com.amazonaws.xray#ResourceNotFoundException":
|
|
1760
|
-
throw await
|
|
1756
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1761
1757
|
case "ThrottledException":
|
|
1762
1758
|
case "com.amazonaws.xray#ThrottledException":
|
|
1763
|
-
throw await
|
|
1759
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1764
1760
|
default:
|
|
1765
1761
|
const parsedBody = parsedOutput.body;
|
|
1766
1762
|
throwDefaultError({
|
|
@@ -1771,20 +1767,20 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1771
1767
|
});
|
|
1772
1768
|
}
|
|
1773
1769
|
};
|
|
1774
|
-
export const
|
|
1770
|
+
export const de_UpdateGroupCommand = async (output, context) => {
|
|
1775
1771
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1776
|
-
return
|
|
1772
|
+
return de_UpdateGroupCommandError(output, context);
|
|
1777
1773
|
}
|
|
1778
1774
|
const contents = map({
|
|
1779
1775
|
$metadata: deserializeMetadata(output),
|
|
1780
1776
|
});
|
|
1781
1777
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1782
1778
|
if (data.Group != null) {
|
|
1783
|
-
contents.Group =
|
|
1779
|
+
contents.Group = de_Group(data.Group, context);
|
|
1784
1780
|
}
|
|
1785
1781
|
return contents;
|
|
1786
1782
|
};
|
|
1787
|
-
const
|
|
1783
|
+
const de_UpdateGroupCommandError = async (output, context) => {
|
|
1788
1784
|
const parsedOutput = {
|
|
1789
1785
|
...output,
|
|
1790
1786
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1793,10 +1789,10 @@ const deserializeAws_restJson1UpdateGroupCommandError = async (output, context)
|
|
|
1793
1789
|
switch (errorCode) {
|
|
1794
1790
|
case "InvalidRequestException":
|
|
1795
1791
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1796
|
-
throw await
|
|
1792
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1797
1793
|
case "ThrottledException":
|
|
1798
1794
|
case "com.amazonaws.xray#ThrottledException":
|
|
1799
|
-
throw await
|
|
1795
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1800
1796
|
default:
|
|
1801
1797
|
const parsedBody = parsedOutput.body;
|
|
1802
1798
|
throwDefaultError({
|
|
@@ -1807,20 +1803,20 @@ const deserializeAws_restJson1UpdateGroupCommandError = async (output, context)
|
|
|
1807
1803
|
});
|
|
1808
1804
|
}
|
|
1809
1805
|
};
|
|
1810
|
-
export const
|
|
1806
|
+
export const de_UpdateSamplingRuleCommand = async (output, context) => {
|
|
1811
1807
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1812
|
-
return
|
|
1808
|
+
return de_UpdateSamplingRuleCommandError(output, context);
|
|
1813
1809
|
}
|
|
1814
1810
|
const contents = map({
|
|
1815
1811
|
$metadata: deserializeMetadata(output),
|
|
1816
1812
|
});
|
|
1817
1813
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1818
1814
|
if (data.SamplingRuleRecord != null) {
|
|
1819
|
-
contents.SamplingRuleRecord =
|
|
1815
|
+
contents.SamplingRuleRecord = de_SamplingRuleRecord(data.SamplingRuleRecord, context);
|
|
1820
1816
|
}
|
|
1821
1817
|
return contents;
|
|
1822
1818
|
};
|
|
1823
|
-
const
|
|
1819
|
+
const de_UpdateSamplingRuleCommandError = async (output, context) => {
|
|
1824
1820
|
const parsedOutput = {
|
|
1825
1821
|
...output,
|
|
1826
1822
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1829,10 +1825,10 @@ const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, co
|
|
|
1829
1825
|
switch (errorCode) {
|
|
1830
1826
|
case "InvalidRequestException":
|
|
1831
1827
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
1832
|
-
throw await
|
|
1828
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1833
1829
|
case "ThrottledException":
|
|
1834
1830
|
case "com.amazonaws.xray#ThrottledException":
|
|
1835
|
-
throw await
|
|
1831
|
+
throw await de_ThrottledExceptionRes(parsedOutput, context);
|
|
1836
1832
|
default:
|
|
1837
1833
|
const parsedBody = parsedOutput.body;
|
|
1838
1834
|
throwDefaultError({
|
|
@@ -1844,7 +1840,7 @@ const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, co
|
|
|
1844
1840
|
}
|
|
1845
1841
|
};
|
|
1846
1842
|
const map = __map;
|
|
1847
|
-
const
|
|
1843
|
+
const de_InvalidPolicyRevisionIdExceptionRes = async (parsedOutput, context) => {
|
|
1848
1844
|
const contents = map({});
|
|
1849
1845
|
const data = parsedOutput.body;
|
|
1850
1846
|
if (data.Message != null) {
|
|
@@ -1856,7 +1852,7 @@ const deserializeAws_restJson1InvalidPolicyRevisionIdExceptionResponse = async (
|
|
|
1856
1852
|
});
|
|
1857
1853
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1858
1854
|
};
|
|
1859
|
-
const
|
|
1855
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1860
1856
|
const contents = map({});
|
|
1861
1857
|
const data = parsedOutput.body;
|
|
1862
1858
|
if (data.Message != null) {
|
|
@@ -1868,7 +1864,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
|
|
|
1868
1864
|
});
|
|
1869
1865
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1870
1866
|
};
|
|
1871
|
-
const
|
|
1867
|
+
const de_LockoutPreventionExceptionRes = async (parsedOutput, context) => {
|
|
1872
1868
|
const contents = map({});
|
|
1873
1869
|
const data = parsedOutput.body;
|
|
1874
1870
|
if (data.Message != null) {
|
|
@@ -1880,7 +1876,7 @@ const deserializeAws_restJson1LockoutPreventionExceptionResponse = async (parsed
|
|
|
1880
1876
|
});
|
|
1881
1877
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1882
1878
|
};
|
|
1883
|
-
const
|
|
1879
|
+
const de_MalformedPolicyDocumentExceptionRes = async (parsedOutput, context) => {
|
|
1884
1880
|
const contents = map({});
|
|
1885
1881
|
const data = parsedOutput.body;
|
|
1886
1882
|
if (data.Message != null) {
|
|
@@ -1892,7 +1888,7 @@ const deserializeAws_restJson1MalformedPolicyDocumentExceptionResponse = async (
|
|
|
1892
1888
|
});
|
|
1893
1889
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1894
1890
|
};
|
|
1895
|
-
const
|
|
1891
|
+
const de_PolicyCountLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1896
1892
|
const contents = map({});
|
|
1897
1893
|
const data = parsedOutput.body;
|
|
1898
1894
|
if (data.Message != null) {
|
|
@@ -1904,7 +1900,7 @@ const deserializeAws_restJson1PolicyCountLimitExceededExceptionResponse = async
|
|
|
1904
1900
|
});
|
|
1905
1901
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1906
1902
|
};
|
|
1907
|
-
const
|
|
1903
|
+
const de_PolicySizeLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1908
1904
|
const contents = map({});
|
|
1909
1905
|
const data = parsedOutput.body;
|
|
1910
1906
|
if (data.Message != null) {
|
|
@@ -1916,7 +1912,7 @@ const deserializeAws_restJson1PolicySizeLimitExceededExceptionResponse = async (
|
|
|
1916
1912
|
});
|
|
1917
1913
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1918
1914
|
};
|
|
1919
|
-
const
|
|
1915
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1920
1916
|
const contents = map({});
|
|
1921
1917
|
const data = parsedOutput.body;
|
|
1922
1918
|
if (data.Message != null) {
|
|
@@ -1931,7 +1927,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
1931
1927
|
});
|
|
1932
1928
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1933
1929
|
};
|
|
1934
|
-
const
|
|
1930
|
+
const de_RuleLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1935
1931
|
const contents = map({});
|
|
1936
1932
|
const data = parsedOutput.body;
|
|
1937
1933
|
if (data.Message != null) {
|
|
@@ -1943,7 +1939,7 @@ const deserializeAws_restJson1RuleLimitExceededExceptionResponse = async (parsed
|
|
|
1943
1939
|
});
|
|
1944
1940
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1945
1941
|
};
|
|
1946
|
-
const
|
|
1942
|
+
const de_ThrottledExceptionRes = async (parsedOutput, context) => {
|
|
1947
1943
|
const contents = map({});
|
|
1948
1944
|
const data = parsedOutput.body;
|
|
1949
1945
|
if (data.Message != null) {
|
|
@@ -1955,7 +1951,7 @@ const deserializeAws_restJson1ThrottledExceptionResponse = async (parsedOutput,
|
|
|
1955
1951
|
});
|
|
1956
1952
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1957
1953
|
};
|
|
1958
|
-
const
|
|
1954
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1959
1955
|
const contents = map({});
|
|
1960
1956
|
const data = parsedOutput.body;
|
|
1961
1957
|
if (data.Message != null) {
|
|
@@ -1970,7 +1966,7 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput
|
|
|
1970
1966
|
});
|
|
1971
1967
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1972
1968
|
};
|
|
1973
|
-
const
|
|
1969
|
+
const se_AttributeMap = (input, context) => {
|
|
1974
1970
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1975
1971
|
if (value === null) {
|
|
1976
1972
|
return acc;
|
|
@@ -1979,7 +1975,7 @@ const serializeAws_restJson1AttributeMap = (input, context) => {
|
|
|
1979
1975
|
return acc;
|
|
1980
1976
|
}, {});
|
|
1981
1977
|
};
|
|
1982
|
-
const
|
|
1978
|
+
const se_BackendConnectionErrors = (input, context) => {
|
|
1983
1979
|
return {
|
|
1984
1980
|
...(input.ConnectionRefusedCount != null && { ConnectionRefusedCount: input.ConnectionRefusedCount }),
|
|
1985
1981
|
...(input.HTTPCode4XXCount != null && { HTTPCode4XXCount: input.HTTPCode4XXCount }),
|
|
@@ -1989,22 +1985,22 @@ const serializeAws_restJson1BackendConnectionErrors = (input, context) => {
|
|
|
1989
1985
|
...(input.UnknownHostCount != null && { UnknownHostCount: input.UnknownHostCount }),
|
|
1990
1986
|
};
|
|
1991
1987
|
};
|
|
1992
|
-
const
|
|
1988
|
+
const se_InsightsConfiguration = (input, context) => {
|
|
1993
1989
|
return {
|
|
1994
1990
|
...(input.InsightsEnabled != null && { InsightsEnabled: input.InsightsEnabled }),
|
|
1995
1991
|
...(input.NotificationsEnabled != null && { NotificationsEnabled: input.NotificationsEnabled }),
|
|
1996
1992
|
};
|
|
1997
1993
|
};
|
|
1998
|
-
const
|
|
1994
|
+
const se_InsightStateList = (input, context) => {
|
|
1999
1995
|
return input
|
|
2000
1996
|
.filter((e) => e != null)
|
|
2001
1997
|
.map((entry) => {
|
|
2002
1998
|
return entry;
|
|
2003
1999
|
});
|
|
2004
2000
|
};
|
|
2005
|
-
const
|
|
2001
|
+
const se_SamplingRule = (input, context) => {
|
|
2006
2002
|
return {
|
|
2007
|
-
...(input.Attributes != null && { Attributes:
|
|
2003
|
+
...(input.Attributes != null && { Attributes: se_AttributeMap(input.Attributes, context) }),
|
|
2008
2004
|
...(input.FixedRate != null && { FixedRate: __serializeFloat(input.FixedRate) }),
|
|
2009
2005
|
...(input.HTTPMethod != null && { HTTPMethod: input.HTTPMethod }),
|
|
2010
2006
|
...(input.Host != null && { Host: input.Host }),
|
|
@@ -2019,9 +2015,9 @@ const serializeAws_restJson1SamplingRule = (input, context) => {
|
|
|
2019
2015
|
...(input.Version != null && { Version: input.Version }),
|
|
2020
2016
|
};
|
|
2021
2017
|
};
|
|
2022
|
-
const
|
|
2018
|
+
const se_SamplingRuleUpdate = (input, context) => {
|
|
2023
2019
|
return {
|
|
2024
|
-
...(input.Attributes != null && { Attributes:
|
|
2020
|
+
...(input.Attributes != null && { Attributes: se_AttributeMap(input.Attributes, context) }),
|
|
2025
2021
|
...(input.FixedRate != null && { FixedRate: __serializeFloat(input.FixedRate) }),
|
|
2026
2022
|
...(input.HTTPMethod != null && { HTTPMethod: input.HTTPMethod }),
|
|
2027
2023
|
...(input.Host != null && { Host: input.Host }),
|
|
@@ -2035,7 +2031,7 @@ const serializeAws_restJson1SamplingRuleUpdate = (input, context) => {
|
|
|
2035
2031
|
...(input.URLPath != null && { URLPath: input.URLPath }),
|
|
2036
2032
|
};
|
|
2037
2033
|
};
|
|
2038
|
-
const
|
|
2034
|
+
const se_SamplingStatisticsDocument = (input, context) => {
|
|
2039
2035
|
return {
|
|
2040
2036
|
...(input.BorrowCount != null && { BorrowCount: input.BorrowCount }),
|
|
2041
2037
|
...(input.ClientID != null && { ClientID: input.ClientID }),
|
|
@@ -2045,43 +2041,43 @@ const serializeAws_restJson1SamplingStatisticsDocument = (input, context) => {
|
|
|
2045
2041
|
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
2046
2042
|
};
|
|
2047
2043
|
};
|
|
2048
|
-
const
|
|
2044
|
+
const se_SamplingStatisticsDocumentList = (input, context) => {
|
|
2049
2045
|
return input
|
|
2050
2046
|
.filter((e) => e != null)
|
|
2051
2047
|
.map((entry) => {
|
|
2052
|
-
return
|
|
2048
|
+
return se_SamplingStatisticsDocument(entry, context);
|
|
2053
2049
|
});
|
|
2054
2050
|
};
|
|
2055
|
-
const
|
|
2051
|
+
const se_SamplingStrategy = (input, context) => {
|
|
2056
2052
|
return {
|
|
2057
2053
|
...(input.Name != null && { Name: input.Name }),
|
|
2058
2054
|
...(input.Value != null && { Value: __serializeFloat(input.Value) }),
|
|
2059
2055
|
};
|
|
2060
2056
|
};
|
|
2061
|
-
const
|
|
2057
|
+
const se_Tag = (input, context) => {
|
|
2062
2058
|
return {
|
|
2063
2059
|
...(input.Key != null && { Key: input.Key }),
|
|
2064
2060
|
...(input.Value != null && { Value: input.Value }),
|
|
2065
2061
|
};
|
|
2066
2062
|
};
|
|
2067
|
-
const
|
|
2063
|
+
const se_TagKeyList = (input, context) => {
|
|
2068
2064
|
return input
|
|
2069
2065
|
.filter((e) => e != null)
|
|
2070
2066
|
.map((entry) => {
|
|
2071
2067
|
return entry;
|
|
2072
2068
|
});
|
|
2073
2069
|
};
|
|
2074
|
-
const
|
|
2070
|
+
const se_TagList = (input, context) => {
|
|
2075
2071
|
return input
|
|
2076
2072
|
.filter((e) => e != null)
|
|
2077
2073
|
.map((entry) => {
|
|
2078
|
-
return
|
|
2074
|
+
return se_Tag(entry, context);
|
|
2079
2075
|
});
|
|
2080
2076
|
};
|
|
2081
|
-
const
|
|
2077
|
+
const se_TelemetryRecord = (input, context) => {
|
|
2082
2078
|
return {
|
|
2083
2079
|
...(input.BackendConnectionErrors != null && {
|
|
2084
|
-
BackendConnectionErrors:
|
|
2080
|
+
BackendConnectionErrors: se_BackendConnectionErrors(input.BackendConnectionErrors, context),
|
|
2085
2081
|
}),
|
|
2086
2082
|
...(input.SegmentsReceivedCount != null && { SegmentsReceivedCount: input.SegmentsReceivedCount }),
|
|
2087
2083
|
...(input.SegmentsRejectedCount != null && { SegmentsRejectedCount: input.SegmentsRejectedCount }),
|
|
@@ -2090,46 +2086,46 @@ const serializeAws_restJson1TelemetryRecord = (input, context) => {
|
|
|
2090
2086
|
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
2091
2087
|
};
|
|
2092
2088
|
};
|
|
2093
|
-
const
|
|
2089
|
+
const se_TelemetryRecordList = (input, context) => {
|
|
2094
2090
|
return input
|
|
2095
2091
|
.filter((e) => e != null)
|
|
2096
2092
|
.map((entry) => {
|
|
2097
|
-
return
|
|
2093
|
+
return se_TelemetryRecord(entry, context);
|
|
2098
2094
|
});
|
|
2099
2095
|
};
|
|
2100
|
-
const
|
|
2096
|
+
const se_TraceIdList = (input, context) => {
|
|
2101
2097
|
return input
|
|
2102
2098
|
.filter((e) => e != null)
|
|
2103
2099
|
.map((entry) => {
|
|
2104
2100
|
return entry;
|
|
2105
2101
|
});
|
|
2106
2102
|
};
|
|
2107
|
-
const
|
|
2103
|
+
const se_TraceSegmentDocumentList = (input, context) => {
|
|
2108
2104
|
return input
|
|
2109
2105
|
.filter((e) => e != null)
|
|
2110
2106
|
.map((entry) => {
|
|
2111
2107
|
return entry;
|
|
2112
2108
|
});
|
|
2113
2109
|
};
|
|
2114
|
-
const
|
|
2110
|
+
const de_Alias = (output, context) => {
|
|
2115
2111
|
return {
|
|
2116
2112
|
Name: __expectString(output.Name),
|
|
2117
|
-
Names: output.Names != null ?
|
|
2113
|
+
Names: output.Names != null ? de_AliasNames(output.Names, context) : undefined,
|
|
2118
2114
|
Type: __expectString(output.Type),
|
|
2119
2115
|
};
|
|
2120
2116
|
};
|
|
2121
|
-
const
|
|
2117
|
+
const de_AliasList = (output, context) => {
|
|
2122
2118
|
const retVal = (output || [])
|
|
2123
2119
|
.filter((e) => e != null)
|
|
2124
2120
|
.map((entry) => {
|
|
2125
2121
|
if (entry === null) {
|
|
2126
2122
|
return null;
|
|
2127
2123
|
}
|
|
2128
|
-
return
|
|
2124
|
+
return de_Alias(entry, context);
|
|
2129
2125
|
});
|
|
2130
2126
|
return retVal;
|
|
2131
2127
|
};
|
|
2132
|
-
const
|
|
2128
|
+
const de_AliasNames = (output, context) => {
|
|
2133
2129
|
const retVal = (output || [])
|
|
2134
2130
|
.filter((e) => e != null)
|
|
2135
2131
|
.map((entry) => {
|
|
@@ -2140,16 +2136,16 @@ const deserializeAws_restJson1AliasNames = (output, context) => {
|
|
|
2140
2136
|
});
|
|
2141
2137
|
return retVal;
|
|
2142
2138
|
};
|
|
2143
|
-
const
|
|
2139
|
+
const de_Annotations = (output, context) => {
|
|
2144
2140
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2145
2141
|
if (value === null) {
|
|
2146
2142
|
return acc;
|
|
2147
2143
|
}
|
|
2148
|
-
acc[key] =
|
|
2144
|
+
acc[key] = de_ValuesWithServiceIds(value, context);
|
|
2149
2145
|
return acc;
|
|
2150
2146
|
}, {});
|
|
2151
2147
|
};
|
|
2152
|
-
const
|
|
2148
|
+
const de_AnnotationValue = (output, context) => {
|
|
2153
2149
|
if (__expectBoolean(output.BooleanValue) !== undefined) {
|
|
2154
2150
|
return { BooleanValue: __expectBoolean(output.BooleanValue) };
|
|
2155
2151
|
}
|
|
@@ -2161,23 +2157,23 @@ const deserializeAws_restJson1AnnotationValue = (output, context) => {
|
|
|
2161
2157
|
}
|
|
2162
2158
|
return { $unknown: Object.entries(output)[0] };
|
|
2163
2159
|
};
|
|
2164
|
-
const
|
|
2160
|
+
const de_AnomalousService = (output, context) => {
|
|
2165
2161
|
return {
|
|
2166
|
-
ServiceId: output.ServiceId != null ?
|
|
2162
|
+
ServiceId: output.ServiceId != null ? de_ServiceId(output.ServiceId, context) : undefined,
|
|
2167
2163
|
};
|
|
2168
2164
|
};
|
|
2169
|
-
const
|
|
2165
|
+
const de_AnomalousServiceList = (output, context) => {
|
|
2170
2166
|
const retVal = (output || [])
|
|
2171
2167
|
.filter((e) => e != null)
|
|
2172
2168
|
.map((entry) => {
|
|
2173
2169
|
if (entry === null) {
|
|
2174
2170
|
return null;
|
|
2175
2171
|
}
|
|
2176
|
-
return
|
|
2172
|
+
return de_AnomalousService(entry, context);
|
|
2177
2173
|
});
|
|
2178
2174
|
return retVal;
|
|
2179
2175
|
};
|
|
2180
|
-
const
|
|
2176
|
+
const de_AttributeMap = (output, context) => {
|
|
2181
2177
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2182
2178
|
if (value === null) {
|
|
2183
2179
|
return acc;
|
|
@@ -2186,244 +2182,230 @@ const deserializeAws_restJson1AttributeMap = (output, context) => {
|
|
|
2186
2182
|
return acc;
|
|
2187
2183
|
}, {});
|
|
2188
2184
|
};
|
|
2189
|
-
const
|
|
2185
|
+
const de_AvailabilityZoneDetail = (output, context) => {
|
|
2190
2186
|
return {
|
|
2191
2187
|
Name: __expectString(output.Name),
|
|
2192
2188
|
};
|
|
2193
2189
|
};
|
|
2194
|
-
const
|
|
2190
|
+
const de_Edge = (output, context) => {
|
|
2195
2191
|
return {
|
|
2196
|
-
Aliases: output.Aliases != null ?
|
|
2192
|
+
Aliases: output.Aliases != null ? de_AliasList(output.Aliases, context) : undefined,
|
|
2197
2193
|
EdgeType: __expectString(output.EdgeType),
|
|
2198
2194
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
2199
|
-
ReceivedEventAgeHistogram: output.ReceivedEventAgeHistogram != null
|
|
2200
|
-
? deserializeAws_restJson1Histogram(output.ReceivedEventAgeHistogram, context)
|
|
2201
|
-
: undefined,
|
|
2195
|
+
ReceivedEventAgeHistogram: output.ReceivedEventAgeHistogram != null ? de_Histogram(output.ReceivedEventAgeHistogram, context) : undefined,
|
|
2202
2196
|
ReferenceId: __expectInt32(output.ReferenceId),
|
|
2203
|
-
ResponseTimeHistogram: output.ResponseTimeHistogram != null
|
|
2204
|
-
? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
|
|
2205
|
-
: undefined,
|
|
2197
|
+
ResponseTimeHistogram: output.ResponseTimeHistogram != null ? de_Histogram(output.ResponseTimeHistogram, context) : undefined,
|
|
2206
2198
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2207
|
-
SummaryStatistics: output.SummaryStatistics != null
|
|
2208
|
-
? deserializeAws_restJson1EdgeStatistics(output.SummaryStatistics, context)
|
|
2209
|
-
: undefined,
|
|
2199
|
+
SummaryStatistics: output.SummaryStatistics != null ? de_EdgeStatistics(output.SummaryStatistics, context) : undefined,
|
|
2210
2200
|
};
|
|
2211
2201
|
};
|
|
2212
|
-
const
|
|
2202
|
+
const de_EdgeList = (output, context) => {
|
|
2213
2203
|
const retVal = (output || [])
|
|
2214
2204
|
.filter((e) => e != null)
|
|
2215
2205
|
.map((entry) => {
|
|
2216
2206
|
if (entry === null) {
|
|
2217
2207
|
return null;
|
|
2218
2208
|
}
|
|
2219
|
-
return
|
|
2209
|
+
return de_Edge(entry, context);
|
|
2220
2210
|
});
|
|
2221
2211
|
return retVal;
|
|
2222
2212
|
};
|
|
2223
|
-
const
|
|
2213
|
+
const de_EdgeStatistics = (output, context) => {
|
|
2224
2214
|
return {
|
|
2225
|
-
ErrorStatistics: output.ErrorStatistics != null
|
|
2226
|
-
|
|
2227
|
-
: undefined,
|
|
2228
|
-
FaultStatistics: output.FaultStatistics != null
|
|
2229
|
-
? deserializeAws_restJson1FaultStatistics(output.FaultStatistics, context)
|
|
2230
|
-
: undefined,
|
|
2215
|
+
ErrorStatistics: output.ErrorStatistics != null ? de_ErrorStatistics(output.ErrorStatistics, context) : undefined,
|
|
2216
|
+
FaultStatistics: output.FaultStatistics != null ? de_FaultStatistics(output.FaultStatistics, context) : undefined,
|
|
2231
2217
|
OkCount: __expectLong(output.OkCount),
|
|
2232
2218
|
TotalCount: __expectLong(output.TotalCount),
|
|
2233
2219
|
TotalResponseTime: __limitedParseDouble(output.TotalResponseTime),
|
|
2234
2220
|
};
|
|
2235
2221
|
};
|
|
2236
|
-
const
|
|
2222
|
+
const de_EncryptionConfig = (output, context) => {
|
|
2237
2223
|
return {
|
|
2238
2224
|
KeyId: __expectString(output.KeyId),
|
|
2239
2225
|
Status: __expectString(output.Status),
|
|
2240
2226
|
Type: __expectString(output.Type),
|
|
2241
2227
|
};
|
|
2242
2228
|
};
|
|
2243
|
-
const
|
|
2229
|
+
const de_ErrorRootCause = (output, context) => {
|
|
2244
2230
|
return {
|
|
2245
2231
|
ClientImpacting: __expectBoolean(output.ClientImpacting),
|
|
2246
|
-
Services: output.Services != null ?
|
|
2232
|
+
Services: output.Services != null ? de_ErrorRootCauseServices(output.Services, context) : undefined,
|
|
2247
2233
|
};
|
|
2248
2234
|
};
|
|
2249
|
-
const
|
|
2235
|
+
const de_ErrorRootCauseEntity = (output, context) => {
|
|
2250
2236
|
return {
|
|
2251
|
-
Exceptions: output.Exceptions != null ?
|
|
2237
|
+
Exceptions: output.Exceptions != null ? de_RootCauseExceptions(output.Exceptions, context) : undefined,
|
|
2252
2238
|
Name: __expectString(output.Name),
|
|
2253
2239
|
Remote: __expectBoolean(output.Remote),
|
|
2254
2240
|
};
|
|
2255
2241
|
};
|
|
2256
|
-
const
|
|
2242
|
+
const de_ErrorRootCauseEntityPath = (output, context) => {
|
|
2257
2243
|
const retVal = (output || [])
|
|
2258
2244
|
.filter((e) => e != null)
|
|
2259
2245
|
.map((entry) => {
|
|
2260
2246
|
if (entry === null) {
|
|
2261
2247
|
return null;
|
|
2262
2248
|
}
|
|
2263
|
-
return
|
|
2249
|
+
return de_ErrorRootCauseEntity(entry, context);
|
|
2264
2250
|
});
|
|
2265
2251
|
return retVal;
|
|
2266
2252
|
};
|
|
2267
|
-
const
|
|
2253
|
+
const de_ErrorRootCauses = (output, context) => {
|
|
2268
2254
|
const retVal = (output || [])
|
|
2269
2255
|
.filter((e) => e != null)
|
|
2270
2256
|
.map((entry) => {
|
|
2271
2257
|
if (entry === null) {
|
|
2272
2258
|
return null;
|
|
2273
2259
|
}
|
|
2274
|
-
return
|
|
2260
|
+
return de_ErrorRootCause(entry, context);
|
|
2275
2261
|
});
|
|
2276
2262
|
return retVal;
|
|
2277
2263
|
};
|
|
2278
|
-
const
|
|
2264
|
+
const de_ErrorRootCauseService = (output, context) => {
|
|
2279
2265
|
return {
|
|
2280
2266
|
AccountId: __expectString(output.AccountId),
|
|
2281
|
-
EntityPath: output.EntityPath != null
|
|
2282
|
-
? deserializeAws_restJson1ErrorRootCauseEntityPath(output.EntityPath, context)
|
|
2283
|
-
: undefined,
|
|
2267
|
+
EntityPath: output.EntityPath != null ? de_ErrorRootCauseEntityPath(output.EntityPath, context) : undefined,
|
|
2284
2268
|
Inferred: __expectBoolean(output.Inferred),
|
|
2285
2269
|
Name: __expectString(output.Name),
|
|
2286
|
-
Names: output.Names != null ?
|
|
2270
|
+
Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
|
|
2287
2271
|
Type: __expectString(output.Type),
|
|
2288
2272
|
};
|
|
2289
2273
|
};
|
|
2290
|
-
const
|
|
2274
|
+
const de_ErrorRootCauseServices = (output, context) => {
|
|
2291
2275
|
const retVal = (output || [])
|
|
2292
2276
|
.filter((e) => e != null)
|
|
2293
2277
|
.map((entry) => {
|
|
2294
2278
|
if (entry === null) {
|
|
2295
2279
|
return null;
|
|
2296
2280
|
}
|
|
2297
|
-
return
|
|
2281
|
+
return de_ErrorRootCauseService(entry, context);
|
|
2298
2282
|
});
|
|
2299
2283
|
return retVal;
|
|
2300
2284
|
};
|
|
2301
|
-
const
|
|
2285
|
+
const de_ErrorStatistics = (output, context) => {
|
|
2302
2286
|
return {
|
|
2303
2287
|
OtherCount: __expectLong(output.OtherCount),
|
|
2304
2288
|
ThrottleCount: __expectLong(output.ThrottleCount),
|
|
2305
2289
|
TotalCount: __expectLong(output.TotalCount),
|
|
2306
2290
|
};
|
|
2307
2291
|
};
|
|
2308
|
-
const
|
|
2292
|
+
const de_FaultRootCause = (output, context) => {
|
|
2309
2293
|
return {
|
|
2310
2294
|
ClientImpacting: __expectBoolean(output.ClientImpacting),
|
|
2311
|
-
Services: output.Services != null ?
|
|
2295
|
+
Services: output.Services != null ? de_FaultRootCauseServices(output.Services, context) : undefined,
|
|
2312
2296
|
};
|
|
2313
2297
|
};
|
|
2314
|
-
const
|
|
2298
|
+
const de_FaultRootCauseEntity = (output, context) => {
|
|
2315
2299
|
return {
|
|
2316
|
-
Exceptions: output.Exceptions != null ?
|
|
2300
|
+
Exceptions: output.Exceptions != null ? de_RootCauseExceptions(output.Exceptions, context) : undefined,
|
|
2317
2301
|
Name: __expectString(output.Name),
|
|
2318
2302
|
Remote: __expectBoolean(output.Remote),
|
|
2319
2303
|
};
|
|
2320
2304
|
};
|
|
2321
|
-
const
|
|
2305
|
+
const de_FaultRootCauseEntityPath = (output, context) => {
|
|
2322
2306
|
const retVal = (output || [])
|
|
2323
2307
|
.filter((e) => e != null)
|
|
2324
2308
|
.map((entry) => {
|
|
2325
2309
|
if (entry === null) {
|
|
2326
2310
|
return null;
|
|
2327
2311
|
}
|
|
2328
|
-
return
|
|
2312
|
+
return de_FaultRootCauseEntity(entry, context);
|
|
2329
2313
|
});
|
|
2330
2314
|
return retVal;
|
|
2331
2315
|
};
|
|
2332
|
-
const
|
|
2316
|
+
const de_FaultRootCauses = (output, context) => {
|
|
2333
2317
|
const retVal = (output || [])
|
|
2334
2318
|
.filter((e) => e != null)
|
|
2335
2319
|
.map((entry) => {
|
|
2336
2320
|
if (entry === null) {
|
|
2337
2321
|
return null;
|
|
2338
2322
|
}
|
|
2339
|
-
return
|
|
2323
|
+
return de_FaultRootCause(entry, context);
|
|
2340
2324
|
});
|
|
2341
2325
|
return retVal;
|
|
2342
2326
|
};
|
|
2343
|
-
const
|
|
2327
|
+
const de_FaultRootCauseService = (output, context) => {
|
|
2344
2328
|
return {
|
|
2345
2329
|
AccountId: __expectString(output.AccountId),
|
|
2346
|
-
EntityPath: output.EntityPath != null
|
|
2347
|
-
? deserializeAws_restJson1FaultRootCauseEntityPath(output.EntityPath, context)
|
|
2348
|
-
: undefined,
|
|
2330
|
+
EntityPath: output.EntityPath != null ? de_FaultRootCauseEntityPath(output.EntityPath, context) : undefined,
|
|
2349
2331
|
Inferred: __expectBoolean(output.Inferred),
|
|
2350
2332
|
Name: __expectString(output.Name),
|
|
2351
|
-
Names: output.Names != null ?
|
|
2333
|
+
Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
|
|
2352
2334
|
Type: __expectString(output.Type),
|
|
2353
2335
|
};
|
|
2354
2336
|
};
|
|
2355
|
-
const
|
|
2337
|
+
const de_FaultRootCauseServices = (output, context) => {
|
|
2356
2338
|
const retVal = (output || [])
|
|
2357
2339
|
.filter((e) => e != null)
|
|
2358
2340
|
.map((entry) => {
|
|
2359
2341
|
if (entry === null) {
|
|
2360
2342
|
return null;
|
|
2361
2343
|
}
|
|
2362
|
-
return
|
|
2344
|
+
return de_FaultRootCauseService(entry, context);
|
|
2363
2345
|
});
|
|
2364
2346
|
return retVal;
|
|
2365
2347
|
};
|
|
2366
|
-
const
|
|
2348
|
+
const de_FaultStatistics = (output, context) => {
|
|
2367
2349
|
return {
|
|
2368
2350
|
OtherCount: __expectLong(output.OtherCount),
|
|
2369
2351
|
TotalCount: __expectLong(output.TotalCount),
|
|
2370
2352
|
};
|
|
2371
2353
|
};
|
|
2372
|
-
const
|
|
2354
|
+
const de_ForecastStatistics = (output, context) => {
|
|
2373
2355
|
return {
|
|
2374
2356
|
FaultCountHigh: __expectLong(output.FaultCountHigh),
|
|
2375
2357
|
FaultCountLow: __expectLong(output.FaultCountLow),
|
|
2376
2358
|
};
|
|
2377
2359
|
};
|
|
2378
|
-
const
|
|
2360
|
+
const de_Group = (output, context) => {
|
|
2379
2361
|
return {
|
|
2380
2362
|
FilterExpression: __expectString(output.FilterExpression),
|
|
2381
2363
|
GroupARN: __expectString(output.GroupARN),
|
|
2382
2364
|
GroupName: __expectString(output.GroupName),
|
|
2383
2365
|
InsightsConfiguration: output.InsightsConfiguration != null
|
|
2384
|
-
?
|
|
2366
|
+
? de_InsightsConfiguration(output.InsightsConfiguration, context)
|
|
2385
2367
|
: undefined,
|
|
2386
2368
|
};
|
|
2387
2369
|
};
|
|
2388
|
-
const
|
|
2370
|
+
const de_GroupSummary = (output, context) => {
|
|
2389
2371
|
return {
|
|
2390
2372
|
FilterExpression: __expectString(output.FilterExpression),
|
|
2391
2373
|
GroupARN: __expectString(output.GroupARN),
|
|
2392
2374
|
GroupName: __expectString(output.GroupName),
|
|
2393
2375
|
InsightsConfiguration: output.InsightsConfiguration != null
|
|
2394
|
-
?
|
|
2376
|
+
? de_InsightsConfiguration(output.InsightsConfiguration, context)
|
|
2395
2377
|
: undefined,
|
|
2396
2378
|
};
|
|
2397
2379
|
};
|
|
2398
|
-
const
|
|
2380
|
+
const de_GroupSummaryList = (output, context) => {
|
|
2399
2381
|
const retVal = (output || [])
|
|
2400
2382
|
.filter((e) => e != null)
|
|
2401
2383
|
.map((entry) => {
|
|
2402
2384
|
if (entry === null) {
|
|
2403
2385
|
return null;
|
|
2404
2386
|
}
|
|
2405
|
-
return
|
|
2387
|
+
return de_GroupSummary(entry, context);
|
|
2406
2388
|
});
|
|
2407
2389
|
return retVal;
|
|
2408
2390
|
};
|
|
2409
|
-
const
|
|
2391
|
+
const de_Histogram = (output, context) => {
|
|
2410
2392
|
const retVal = (output || [])
|
|
2411
2393
|
.filter((e) => e != null)
|
|
2412
2394
|
.map((entry) => {
|
|
2413
2395
|
if (entry === null) {
|
|
2414
2396
|
return null;
|
|
2415
2397
|
}
|
|
2416
|
-
return
|
|
2398
|
+
return de_HistogramEntry(entry, context);
|
|
2417
2399
|
});
|
|
2418
2400
|
return retVal;
|
|
2419
2401
|
};
|
|
2420
|
-
const
|
|
2402
|
+
const de_HistogramEntry = (output, context) => {
|
|
2421
2403
|
return {
|
|
2422
2404
|
Count: __expectInt32(output.Count),
|
|
2423
2405
|
Value: __limitedParseDouble(output.Value),
|
|
2424
2406
|
};
|
|
2425
2407
|
};
|
|
2426
|
-
const
|
|
2408
|
+
const de_Http = (output, context) => {
|
|
2427
2409
|
return {
|
|
2428
2410
|
ClientIp: __expectString(output.ClientIp),
|
|
2429
2411
|
HttpMethod: __expectString(output.HttpMethod),
|
|
@@ -2432,31 +2414,27 @@ const deserializeAws_restJson1Http = (output, context) => {
|
|
|
2432
2414
|
UserAgent: __expectString(output.UserAgent),
|
|
2433
2415
|
};
|
|
2434
2416
|
};
|
|
2435
|
-
const
|
|
2417
|
+
const de_Insight = (output, context) => {
|
|
2436
2418
|
return {
|
|
2437
|
-
Categories: output.Categories != null ?
|
|
2419
|
+
Categories: output.Categories != null ? de_InsightCategoryList(output.Categories, context) : undefined,
|
|
2438
2420
|
ClientRequestImpactStatistics: output.ClientRequestImpactStatistics != null
|
|
2439
|
-
?
|
|
2421
|
+
? de_RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
|
|
2440
2422
|
: undefined,
|
|
2441
2423
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
2442
2424
|
GroupARN: __expectString(output.GroupARN),
|
|
2443
2425
|
GroupName: __expectString(output.GroupName),
|
|
2444
2426
|
InsightId: __expectString(output.InsightId),
|
|
2445
|
-
RootCauseServiceId: output.RootCauseServiceId != null
|
|
2446
|
-
? deserializeAws_restJson1ServiceId(output.RootCauseServiceId, context)
|
|
2447
|
-
: undefined,
|
|
2427
|
+
RootCauseServiceId: output.RootCauseServiceId != null ? de_ServiceId(output.RootCauseServiceId, context) : undefined,
|
|
2448
2428
|
RootCauseServiceRequestImpactStatistics: output.RootCauseServiceRequestImpactStatistics != null
|
|
2449
|
-
?
|
|
2429
|
+
? de_RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
|
|
2450
2430
|
: undefined,
|
|
2451
2431
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2452
2432
|
State: __expectString(output.State),
|
|
2453
2433
|
Summary: __expectString(output.Summary),
|
|
2454
|
-
TopAnomalousServices: output.TopAnomalousServices != null
|
|
2455
|
-
? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
|
|
2456
|
-
: undefined,
|
|
2434
|
+
TopAnomalousServices: output.TopAnomalousServices != null ? de_AnomalousServiceList(output.TopAnomalousServices, context) : undefined,
|
|
2457
2435
|
};
|
|
2458
2436
|
};
|
|
2459
|
-
const
|
|
2437
|
+
const de_InsightCategoryList = (output, context) => {
|
|
2460
2438
|
const retVal = (output || [])
|
|
2461
2439
|
.filter((e) => e != null)
|
|
2462
2440
|
.map((entry) => {
|
|
@@ -2467,80 +2445,78 @@ const deserializeAws_restJson1InsightCategoryList = (output, context) => {
|
|
|
2467
2445
|
});
|
|
2468
2446
|
return retVal;
|
|
2469
2447
|
};
|
|
2470
|
-
const
|
|
2448
|
+
const de_InsightEvent = (output, context) => {
|
|
2471
2449
|
return {
|
|
2472
2450
|
ClientRequestImpactStatistics: output.ClientRequestImpactStatistics != null
|
|
2473
|
-
?
|
|
2451
|
+
? de_RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
|
|
2474
2452
|
: undefined,
|
|
2475
2453
|
EventTime: output.EventTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime))) : undefined,
|
|
2476
2454
|
RootCauseServiceRequestImpactStatistics: output.RootCauseServiceRequestImpactStatistics != null
|
|
2477
|
-
?
|
|
2455
|
+
? de_RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
|
|
2478
2456
|
: undefined,
|
|
2479
2457
|
Summary: __expectString(output.Summary),
|
|
2480
|
-
TopAnomalousServices: output.TopAnomalousServices != null
|
|
2481
|
-
? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
|
|
2482
|
-
: undefined,
|
|
2458
|
+
TopAnomalousServices: output.TopAnomalousServices != null ? de_AnomalousServiceList(output.TopAnomalousServices, context) : undefined,
|
|
2483
2459
|
};
|
|
2484
2460
|
};
|
|
2485
|
-
const
|
|
2461
|
+
const de_InsightEventList = (output, context) => {
|
|
2486
2462
|
const retVal = (output || [])
|
|
2487
2463
|
.filter((e) => e != null)
|
|
2488
2464
|
.map((entry) => {
|
|
2489
2465
|
if (entry === null) {
|
|
2490
2466
|
return null;
|
|
2491
2467
|
}
|
|
2492
|
-
return
|
|
2468
|
+
return de_InsightEvent(entry, context);
|
|
2493
2469
|
});
|
|
2494
2470
|
return retVal;
|
|
2495
2471
|
};
|
|
2496
|
-
const
|
|
2472
|
+
const de_InsightImpactGraphEdge = (output, context) => {
|
|
2497
2473
|
return {
|
|
2498
2474
|
ReferenceId: __expectInt32(output.ReferenceId),
|
|
2499
2475
|
};
|
|
2500
2476
|
};
|
|
2501
|
-
const
|
|
2477
|
+
const de_InsightImpactGraphEdgeList = (output, context) => {
|
|
2502
2478
|
const retVal = (output || [])
|
|
2503
2479
|
.filter((e) => e != null)
|
|
2504
2480
|
.map((entry) => {
|
|
2505
2481
|
if (entry === null) {
|
|
2506
2482
|
return null;
|
|
2507
2483
|
}
|
|
2508
|
-
return
|
|
2484
|
+
return de_InsightImpactGraphEdge(entry, context);
|
|
2509
2485
|
});
|
|
2510
2486
|
return retVal;
|
|
2511
2487
|
};
|
|
2512
|
-
const
|
|
2488
|
+
const de_InsightImpactGraphService = (output, context) => {
|
|
2513
2489
|
return {
|
|
2514
2490
|
AccountId: __expectString(output.AccountId),
|
|
2515
|
-
Edges: output.Edges != null ?
|
|
2491
|
+
Edges: output.Edges != null ? de_InsightImpactGraphEdgeList(output.Edges, context) : undefined,
|
|
2516
2492
|
Name: __expectString(output.Name),
|
|
2517
|
-
Names: output.Names != null ?
|
|
2493
|
+
Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
|
|
2518
2494
|
ReferenceId: __expectInt32(output.ReferenceId),
|
|
2519
2495
|
Type: __expectString(output.Type),
|
|
2520
2496
|
};
|
|
2521
2497
|
};
|
|
2522
|
-
const
|
|
2498
|
+
const de_InsightImpactGraphServiceList = (output, context) => {
|
|
2523
2499
|
const retVal = (output || [])
|
|
2524
2500
|
.filter((e) => e != null)
|
|
2525
2501
|
.map((entry) => {
|
|
2526
2502
|
if (entry === null) {
|
|
2527
2503
|
return null;
|
|
2528
2504
|
}
|
|
2529
|
-
return
|
|
2505
|
+
return de_InsightImpactGraphService(entry, context);
|
|
2530
2506
|
});
|
|
2531
2507
|
return retVal;
|
|
2532
2508
|
};
|
|
2533
|
-
const
|
|
2509
|
+
const de_InsightsConfiguration = (output, context) => {
|
|
2534
2510
|
return {
|
|
2535
2511
|
InsightsEnabled: __expectBoolean(output.InsightsEnabled),
|
|
2536
2512
|
NotificationsEnabled: __expectBoolean(output.NotificationsEnabled),
|
|
2537
2513
|
};
|
|
2538
2514
|
};
|
|
2539
|
-
const
|
|
2515
|
+
const de_InsightSummary = (output, context) => {
|
|
2540
2516
|
return {
|
|
2541
|
-
Categories: output.Categories != null ?
|
|
2517
|
+
Categories: output.Categories != null ? de_InsightCategoryList(output.Categories, context) : undefined,
|
|
2542
2518
|
ClientRequestImpactStatistics: output.ClientRequestImpactStatistics != null
|
|
2543
|
-
?
|
|
2519
|
+
? de_RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
|
|
2544
2520
|
: undefined,
|
|
2545
2521
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
2546
2522
|
GroupARN: __expectString(output.GroupARN),
|
|
@@ -2549,49 +2525,45 @@ const deserializeAws_restJson1InsightSummary = (output, context) => {
|
|
|
2549
2525
|
LastUpdateTime: output.LastUpdateTime != null
|
|
2550
2526
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
2551
2527
|
: undefined,
|
|
2552
|
-
RootCauseServiceId: output.RootCauseServiceId != null
|
|
2553
|
-
? deserializeAws_restJson1ServiceId(output.RootCauseServiceId, context)
|
|
2554
|
-
: undefined,
|
|
2528
|
+
RootCauseServiceId: output.RootCauseServiceId != null ? de_ServiceId(output.RootCauseServiceId, context) : undefined,
|
|
2555
2529
|
RootCauseServiceRequestImpactStatistics: output.RootCauseServiceRequestImpactStatistics != null
|
|
2556
|
-
?
|
|
2530
|
+
? de_RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
|
|
2557
2531
|
: undefined,
|
|
2558
2532
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2559
2533
|
State: __expectString(output.State),
|
|
2560
2534
|
Summary: __expectString(output.Summary),
|
|
2561
|
-
TopAnomalousServices: output.TopAnomalousServices != null
|
|
2562
|
-
? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
|
|
2563
|
-
: undefined,
|
|
2535
|
+
TopAnomalousServices: output.TopAnomalousServices != null ? de_AnomalousServiceList(output.TopAnomalousServices, context) : undefined,
|
|
2564
2536
|
};
|
|
2565
2537
|
};
|
|
2566
|
-
const
|
|
2538
|
+
const de_InsightSummaryList = (output, context) => {
|
|
2567
2539
|
const retVal = (output || [])
|
|
2568
2540
|
.filter((e) => e != null)
|
|
2569
2541
|
.map((entry) => {
|
|
2570
2542
|
if (entry === null) {
|
|
2571
2543
|
return null;
|
|
2572
2544
|
}
|
|
2573
|
-
return
|
|
2545
|
+
return de_InsightSummary(entry, context);
|
|
2574
2546
|
});
|
|
2575
2547
|
return retVal;
|
|
2576
2548
|
};
|
|
2577
|
-
const
|
|
2549
|
+
const de_InstanceIdDetail = (output, context) => {
|
|
2578
2550
|
return {
|
|
2579
2551
|
Id: __expectString(output.Id),
|
|
2580
2552
|
};
|
|
2581
2553
|
};
|
|
2582
|
-
const
|
|
2554
|
+
const de_RequestImpactStatistics = (output, context) => {
|
|
2583
2555
|
return {
|
|
2584
2556
|
FaultCount: __expectLong(output.FaultCount),
|
|
2585
2557
|
OkCount: __expectLong(output.OkCount),
|
|
2586
2558
|
TotalCount: __expectLong(output.TotalCount),
|
|
2587
2559
|
};
|
|
2588
2560
|
};
|
|
2589
|
-
const
|
|
2561
|
+
const de_ResourceARNDetail = (output, context) => {
|
|
2590
2562
|
return {
|
|
2591
2563
|
ARN: __expectString(output.ARN),
|
|
2592
2564
|
};
|
|
2593
2565
|
};
|
|
2594
|
-
const
|
|
2566
|
+
const de_ResourcePolicy = (output, context) => {
|
|
2595
2567
|
return {
|
|
2596
2568
|
LastUpdatedTime: output.LastUpdatedTime != null
|
|
2597
2569
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
@@ -2601,97 +2573,93 @@ const deserializeAws_restJson1ResourcePolicy = (output, context) => {
|
|
|
2601
2573
|
PolicyRevisionId: __expectString(output.PolicyRevisionId),
|
|
2602
2574
|
};
|
|
2603
2575
|
};
|
|
2604
|
-
const
|
|
2576
|
+
const de_ResourcePolicyList = (output, context) => {
|
|
2605
2577
|
const retVal = (output || [])
|
|
2606
2578
|
.filter((e) => e != null)
|
|
2607
2579
|
.map((entry) => {
|
|
2608
2580
|
if (entry === null) {
|
|
2609
2581
|
return null;
|
|
2610
2582
|
}
|
|
2611
|
-
return
|
|
2583
|
+
return de_ResourcePolicy(entry, context);
|
|
2612
2584
|
});
|
|
2613
2585
|
return retVal;
|
|
2614
2586
|
};
|
|
2615
|
-
const
|
|
2587
|
+
const de_ResponseTimeRootCause = (output, context) => {
|
|
2616
2588
|
return {
|
|
2617
2589
|
ClientImpacting: __expectBoolean(output.ClientImpacting),
|
|
2618
|
-
Services: output.Services != null
|
|
2619
|
-
? deserializeAws_restJson1ResponseTimeRootCauseServices(output.Services, context)
|
|
2620
|
-
: undefined,
|
|
2590
|
+
Services: output.Services != null ? de_ResponseTimeRootCauseServices(output.Services, context) : undefined,
|
|
2621
2591
|
};
|
|
2622
2592
|
};
|
|
2623
|
-
const
|
|
2593
|
+
const de_ResponseTimeRootCauseEntity = (output, context) => {
|
|
2624
2594
|
return {
|
|
2625
2595
|
Coverage: __limitedParseDouble(output.Coverage),
|
|
2626
2596
|
Name: __expectString(output.Name),
|
|
2627
2597
|
Remote: __expectBoolean(output.Remote),
|
|
2628
2598
|
};
|
|
2629
2599
|
};
|
|
2630
|
-
const
|
|
2600
|
+
const de_ResponseTimeRootCauseEntityPath = (output, context) => {
|
|
2631
2601
|
const retVal = (output || [])
|
|
2632
2602
|
.filter((e) => e != null)
|
|
2633
2603
|
.map((entry) => {
|
|
2634
2604
|
if (entry === null) {
|
|
2635
2605
|
return null;
|
|
2636
2606
|
}
|
|
2637
|
-
return
|
|
2607
|
+
return de_ResponseTimeRootCauseEntity(entry, context);
|
|
2638
2608
|
});
|
|
2639
2609
|
return retVal;
|
|
2640
2610
|
};
|
|
2641
|
-
const
|
|
2611
|
+
const de_ResponseTimeRootCauses = (output, context) => {
|
|
2642
2612
|
const retVal = (output || [])
|
|
2643
2613
|
.filter((e) => e != null)
|
|
2644
2614
|
.map((entry) => {
|
|
2645
2615
|
if (entry === null) {
|
|
2646
2616
|
return null;
|
|
2647
2617
|
}
|
|
2648
|
-
return
|
|
2618
|
+
return de_ResponseTimeRootCause(entry, context);
|
|
2649
2619
|
});
|
|
2650
2620
|
return retVal;
|
|
2651
2621
|
};
|
|
2652
|
-
const
|
|
2622
|
+
const de_ResponseTimeRootCauseService = (output, context) => {
|
|
2653
2623
|
return {
|
|
2654
2624
|
AccountId: __expectString(output.AccountId),
|
|
2655
|
-
EntityPath: output.EntityPath != null
|
|
2656
|
-
? deserializeAws_restJson1ResponseTimeRootCauseEntityPath(output.EntityPath, context)
|
|
2657
|
-
: undefined,
|
|
2625
|
+
EntityPath: output.EntityPath != null ? de_ResponseTimeRootCauseEntityPath(output.EntityPath, context) : undefined,
|
|
2658
2626
|
Inferred: __expectBoolean(output.Inferred),
|
|
2659
2627
|
Name: __expectString(output.Name),
|
|
2660
|
-
Names: output.Names != null ?
|
|
2628
|
+
Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
|
|
2661
2629
|
Type: __expectString(output.Type),
|
|
2662
2630
|
};
|
|
2663
2631
|
};
|
|
2664
|
-
const
|
|
2632
|
+
const de_ResponseTimeRootCauseServices = (output, context) => {
|
|
2665
2633
|
const retVal = (output || [])
|
|
2666
2634
|
.filter((e) => e != null)
|
|
2667
2635
|
.map((entry) => {
|
|
2668
2636
|
if (entry === null) {
|
|
2669
2637
|
return null;
|
|
2670
2638
|
}
|
|
2671
|
-
return
|
|
2639
|
+
return de_ResponseTimeRootCauseService(entry, context);
|
|
2672
2640
|
});
|
|
2673
2641
|
return retVal;
|
|
2674
2642
|
};
|
|
2675
|
-
const
|
|
2643
|
+
const de_RootCauseException = (output, context) => {
|
|
2676
2644
|
return {
|
|
2677
2645
|
Message: __expectString(output.Message),
|
|
2678
2646
|
Name: __expectString(output.Name),
|
|
2679
2647
|
};
|
|
2680
2648
|
};
|
|
2681
|
-
const
|
|
2649
|
+
const de_RootCauseExceptions = (output, context) => {
|
|
2682
2650
|
const retVal = (output || [])
|
|
2683
2651
|
.filter((e) => e != null)
|
|
2684
2652
|
.map((entry) => {
|
|
2685
2653
|
if (entry === null) {
|
|
2686
2654
|
return null;
|
|
2687
2655
|
}
|
|
2688
|
-
return
|
|
2656
|
+
return de_RootCauseException(entry, context);
|
|
2689
2657
|
});
|
|
2690
2658
|
return retVal;
|
|
2691
2659
|
};
|
|
2692
|
-
const
|
|
2660
|
+
const de_SamplingRule = (output, context) => {
|
|
2693
2661
|
return {
|
|
2694
|
-
Attributes: output.Attributes != null ?
|
|
2662
|
+
Attributes: output.Attributes != null ? de_AttributeMap(output.Attributes, context) : undefined,
|
|
2695
2663
|
FixedRate: __limitedParseDouble(output.FixedRate),
|
|
2696
2664
|
HTTPMethod: __expectString(output.HTTPMethod),
|
|
2697
2665
|
Host: __expectString(output.Host),
|
|
@@ -2706,25 +2674,25 @@ const deserializeAws_restJson1SamplingRule = (output, context) => {
|
|
|
2706
2674
|
Version: __expectInt32(output.Version),
|
|
2707
2675
|
};
|
|
2708
2676
|
};
|
|
2709
|
-
const
|
|
2677
|
+
const de_SamplingRuleRecord = (output, context) => {
|
|
2710
2678
|
return {
|
|
2711
2679
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2712
2680
|
ModifiedAt: output.ModifiedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedAt))) : undefined,
|
|
2713
|
-
SamplingRule: output.SamplingRule != null ?
|
|
2681
|
+
SamplingRule: output.SamplingRule != null ? de_SamplingRule(output.SamplingRule, context) : undefined,
|
|
2714
2682
|
};
|
|
2715
2683
|
};
|
|
2716
|
-
const
|
|
2684
|
+
const de_SamplingRuleRecordList = (output, context) => {
|
|
2717
2685
|
const retVal = (output || [])
|
|
2718
2686
|
.filter((e) => e != null)
|
|
2719
2687
|
.map((entry) => {
|
|
2720
2688
|
if (entry === null) {
|
|
2721
2689
|
return null;
|
|
2722
2690
|
}
|
|
2723
|
-
return
|
|
2691
|
+
return de_SamplingRuleRecord(entry, context);
|
|
2724
2692
|
});
|
|
2725
2693
|
return retVal;
|
|
2726
2694
|
};
|
|
2727
|
-
const
|
|
2695
|
+
const de_SamplingStatisticSummary = (output, context) => {
|
|
2728
2696
|
return {
|
|
2729
2697
|
BorrowCount: __expectInt32(output.BorrowCount),
|
|
2730
2698
|
RequestCount: __expectInt32(output.RequestCount),
|
|
@@ -2733,18 +2701,18 @@ const deserializeAws_restJson1SamplingStatisticSummary = (output, context) => {
|
|
|
2733
2701
|
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
2734
2702
|
};
|
|
2735
2703
|
};
|
|
2736
|
-
const
|
|
2704
|
+
const de_SamplingStatisticSummaryList = (output, context) => {
|
|
2737
2705
|
const retVal = (output || [])
|
|
2738
2706
|
.filter((e) => e != null)
|
|
2739
2707
|
.map((entry) => {
|
|
2740
2708
|
if (entry === null) {
|
|
2741
2709
|
return null;
|
|
2742
2710
|
}
|
|
2743
|
-
return
|
|
2711
|
+
return de_SamplingStatisticSummary(entry, context);
|
|
2744
2712
|
});
|
|
2745
2713
|
return retVal;
|
|
2746
2714
|
};
|
|
2747
|
-
const
|
|
2715
|
+
const de_SamplingTargetDocument = (output, context) => {
|
|
2748
2716
|
return {
|
|
2749
2717
|
FixedRate: __limitedParseDouble(output.FixedRate),
|
|
2750
2718
|
Interval: __expectInt32(output.Interval),
|
|
@@ -2755,88 +2723,82 @@ const deserializeAws_restJson1SamplingTargetDocument = (output, context) => {
|
|
|
2755
2723
|
RuleName: __expectString(output.RuleName),
|
|
2756
2724
|
};
|
|
2757
2725
|
};
|
|
2758
|
-
const
|
|
2726
|
+
const de_SamplingTargetDocumentList = (output, context) => {
|
|
2759
2727
|
const retVal = (output || [])
|
|
2760
2728
|
.filter((e) => e != null)
|
|
2761
2729
|
.map((entry) => {
|
|
2762
2730
|
if (entry === null) {
|
|
2763
2731
|
return null;
|
|
2764
2732
|
}
|
|
2765
|
-
return
|
|
2733
|
+
return de_SamplingTargetDocument(entry, context);
|
|
2766
2734
|
});
|
|
2767
2735
|
return retVal;
|
|
2768
2736
|
};
|
|
2769
|
-
const
|
|
2737
|
+
const de_Segment = (output, context) => {
|
|
2770
2738
|
return {
|
|
2771
2739
|
Document: __expectString(output.Document),
|
|
2772
2740
|
Id: __expectString(output.Id),
|
|
2773
2741
|
};
|
|
2774
2742
|
};
|
|
2775
|
-
const
|
|
2743
|
+
const de_SegmentList = (output, context) => {
|
|
2776
2744
|
const retVal = (output || [])
|
|
2777
2745
|
.filter((e) => e != null)
|
|
2778
2746
|
.map((entry) => {
|
|
2779
2747
|
if (entry === null) {
|
|
2780
2748
|
return null;
|
|
2781
2749
|
}
|
|
2782
|
-
return
|
|
2750
|
+
return de_Segment(entry, context);
|
|
2783
2751
|
});
|
|
2784
2752
|
return retVal;
|
|
2785
2753
|
};
|
|
2786
|
-
const
|
|
2754
|
+
const de_Service = (output, context) => {
|
|
2787
2755
|
return {
|
|
2788
2756
|
AccountId: __expectString(output.AccountId),
|
|
2789
|
-
DurationHistogram: output.DurationHistogram != null
|
|
2790
|
-
|
|
2791
|
-
: undefined,
|
|
2792
|
-
Edges: output.Edges != null ? deserializeAws_restJson1EdgeList(output.Edges, context) : undefined,
|
|
2757
|
+
DurationHistogram: output.DurationHistogram != null ? de_Histogram(output.DurationHistogram, context) : undefined,
|
|
2758
|
+
Edges: output.Edges != null ? de_EdgeList(output.Edges, context) : undefined,
|
|
2793
2759
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
2794
2760
|
Name: __expectString(output.Name),
|
|
2795
|
-
Names: output.Names != null ?
|
|
2761
|
+
Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
|
|
2796
2762
|
ReferenceId: __expectInt32(output.ReferenceId),
|
|
2797
|
-
ResponseTimeHistogram: output.ResponseTimeHistogram != null
|
|
2798
|
-
? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
|
|
2799
|
-
: undefined,
|
|
2763
|
+
ResponseTimeHistogram: output.ResponseTimeHistogram != null ? de_Histogram(output.ResponseTimeHistogram, context) : undefined,
|
|
2800
2764
|
Root: __expectBoolean(output.Root),
|
|
2801
2765
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2802
2766
|
State: __expectString(output.State),
|
|
2803
|
-
SummaryStatistics: output.SummaryStatistics != null
|
|
2804
|
-
? deserializeAws_restJson1ServiceStatistics(output.SummaryStatistics, context)
|
|
2805
|
-
: undefined,
|
|
2767
|
+
SummaryStatistics: output.SummaryStatistics != null ? de_ServiceStatistics(output.SummaryStatistics, context) : undefined,
|
|
2806
2768
|
Type: __expectString(output.Type),
|
|
2807
2769
|
};
|
|
2808
2770
|
};
|
|
2809
|
-
const
|
|
2771
|
+
const de_ServiceId = (output, context) => {
|
|
2810
2772
|
return {
|
|
2811
2773
|
AccountId: __expectString(output.AccountId),
|
|
2812
2774
|
Name: __expectString(output.Name),
|
|
2813
|
-
Names: output.Names != null ?
|
|
2775
|
+
Names: output.Names != null ? de_ServiceNames(output.Names, context) : undefined,
|
|
2814
2776
|
Type: __expectString(output.Type),
|
|
2815
2777
|
};
|
|
2816
2778
|
};
|
|
2817
|
-
const
|
|
2779
|
+
const de_ServiceIds = (output, context) => {
|
|
2818
2780
|
const retVal = (output || [])
|
|
2819
2781
|
.filter((e) => e != null)
|
|
2820
2782
|
.map((entry) => {
|
|
2821
2783
|
if (entry === null) {
|
|
2822
2784
|
return null;
|
|
2823
2785
|
}
|
|
2824
|
-
return
|
|
2786
|
+
return de_ServiceId(entry, context);
|
|
2825
2787
|
});
|
|
2826
2788
|
return retVal;
|
|
2827
2789
|
};
|
|
2828
|
-
const
|
|
2790
|
+
const de_ServiceList = (output, context) => {
|
|
2829
2791
|
const retVal = (output || [])
|
|
2830
2792
|
.filter((e) => e != null)
|
|
2831
2793
|
.map((entry) => {
|
|
2832
2794
|
if (entry === null) {
|
|
2833
2795
|
return null;
|
|
2834
2796
|
}
|
|
2835
|
-
return
|
|
2797
|
+
return de_Service(entry, context);
|
|
2836
2798
|
});
|
|
2837
2799
|
return retVal;
|
|
2838
2800
|
};
|
|
2839
|
-
const
|
|
2801
|
+
const de_ServiceNames = (output, context) => {
|
|
2840
2802
|
const retVal = (output || [])
|
|
2841
2803
|
.filter((e) => e != null)
|
|
2842
2804
|
.map((entry) => {
|
|
@@ -2847,197 +2809,183 @@ const deserializeAws_restJson1ServiceNames = (output, context) => {
|
|
|
2847
2809
|
});
|
|
2848
2810
|
return retVal;
|
|
2849
2811
|
};
|
|
2850
|
-
const
|
|
2812
|
+
const de_ServiceStatistics = (output, context) => {
|
|
2851
2813
|
return {
|
|
2852
|
-
ErrorStatistics: output.ErrorStatistics != null
|
|
2853
|
-
|
|
2854
|
-
: undefined,
|
|
2855
|
-
FaultStatistics: output.FaultStatistics != null
|
|
2856
|
-
? deserializeAws_restJson1FaultStatistics(output.FaultStatistics, context)
|
|
2857
|
-
: undefined,
|
|
2814
|
+
ErrorStatistics: output.ErrorStatistics != null ? de_ErrorStatistics(output.ErrorStatistics, context) : undefined,
|
|
2815
|
+
FaultStatistics: output.FaultStatistics != null ? de_FaultStatistics(output.FaultStatistics, context) : undefined,
|
|
2858
2816
|
OkCount: __expectLong(output.OkCount),
|
|
2859
2817
|
TotalCount: __expectLong(output.TotalCount),
|
|
2860
2818
|
TotalResponseTime: __limitedParseDouble(output.TotalResponseTime),
|
|
2861
2819
|
};
|
|
2862
2820
|
};
|
|
2863
|
-
const
|
|
2821
|
+
const de_Tag = (output, context) => {
|
|
2864
2822
|
return {
|
|
2865
2823
|
Key: __expectString(output.Key),
|
|
2866
2824
|
Value: __expectString(output.Value),
|
|
2867
2825
|
};
|
|
2868
2826
|
};
|
|
2869
|
-
const
|
|
2827
|
+
const de_TagList = (output, context) => {
|
|
2870
2828
|
const retVal = (output || [])
|
|
2871
2829
|
.filter((e) => e != null)
|
|
2872
2830
|
.map((entry) => {
|
|
2873
2831
|
if (entry === null) {
|
|
2874
2832
|
return null;
|
|
2875
2833
|
}
|
|
2876
|
-
return
|
|
2834
|
+
return de_Tag(entry, context);
|
|
2877
2835
|
});
|
|
2878
2836
|
return retVal;
|
|
2879
2837
|
};
|
|
2880
|
-
const
|
|
2838
|
+
const de_TimeSeriesServiceStatistics = (output, context) => {
|
|
2881
2839
|
return {
|
|
2882
|
-
EdgeSummaryStatistics: output.EdgeSummaryStatistics != null
|
|
2883
|
-
|
|
2884
|
-
: undefined,
|
|
2885
|
-
ResponseTimeHistogram: output.ResponseTimeHistogram != null
|
|
2886
|
-
? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
|
|
2887
|
-
: undefined,
|
|
2840
|
+
EdgeSummaryStatistics: output.EdgeSummaryStatistics != null ? de_EdgeStatistics(output.EdgeSummaryStatistics, context) : undefined,
|
|
2841
|
+
ResponseTimeHistogram: output.ResponseTimeHistogram != null ? de_Histogram(output.ResponseTimeHistogram, context) : undefined,
|
|
2888
2842
|
ServiceForecastStatistics: output.ServiceForecastStatistics != null
|
|
2889
|
-
?
|
|
2843
|
+
? de_ForecastStatistics(output.ServiceForecastStatistics, context)
|
|
2890
2844
|
: undefined,
|
|
2891
2845
|
ServiceSummaryStatistics: output.ServiceSummaryStatistics != null
|
|
2892
|
-
?
|
|
2846
|
+
? de_ServiceStatistics(output.ServiceSummaryStatistics, context)
|
|
2893
2847
|
: undefined,
|
|
2894
2848
|
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
2895
2849
|
};
|
|
2896
2850
|
};
|
|
2897
|
-
const
|
|
2851
|
+
const de_TimeSeriesServiceStatisticsList = (output, context) => {
|
|
2898
2852
|
const retVal = (output || [])
|
|
2899
2853
|
.filter((e) => e != null)
|
|
2900
2854
|
.map((entry) => {
|
|
2901
2855
|
if (entry === null) {
|
|
2902
2856
|
return null;
|
|
2903
2857
|
}
|
|
2904
|
-
return
|
|
2858
|
+
return de_TimeSeriesServiceStatistics(entry, context);
|
|
2905
2859
|
});
|
|
2906
2860
|
return retVal;
|
|
2907
2861
|
};
|
|
2908
|
-
const
|
|
2862
|
+
const de_Trace = (output, context) => {
|
|
2909
2863
|
return {
|
|
2910
2864
|
Duration: __limitedParseDouble(output.Duration),
|
|
2911
2865
|
Id: __expectString(output.Id),
|
|
2912
2866
|
LimitExceeded: __expectBoolean(output.LimitExceeded),
|
|
2913
|
-
Segments: output.Segments != null ?
|
|
2867
|
+
Segments: output.Segments != null ? de_SegmentList(output.Segments, context) : undefined,
|
|
2914
2868
|
};
|
|
2915
2869
|
};
|
|
2916
|
-
const
|
|
2870
|
+
const de_TraceAvailabilityZones = (output, context) => {
|
|
2917
2871
|
const retVal = (output || [])
|
|
2918
2872
|
.filter((e) => e != null)
|
|
2919
2873
|
.map((entry) => {
|
|
2920
2874
|
if (entry === null) {
|
|
2921
2875
|
return null;
|
|
2922
2876
|
}
|
|
2923
|
-
return
|
|
2877
|
+
return de_AvailabilityZoneDetail(entry, context);
|
|
2924
2878
|
});
|
|
2925
2879
|
return retVal;
|
|
2926
2880
|
};
|
|
2927
|
-
const
|
|
2881
|
+
const de_TraceInstanceIds = (output, context) => {
|
|
2928
2882
|
const retVal = (output || [])
|
|
2929
2883
|
.filter((e) => e != null)
|
|
2930
2884
|
.map((entry) => {
|
|
2931
2885
|
if (entry === null) {
|
|
2932
2886
|
return null;
|
|
2933
2887
|
}
|
|
2934
|
-
return
|
|
2888
|
+
return de_InstanceIdDetail(entry, context);
|
|
2935
2889
|
});
|
|
2936
2890
|
return retVal;
|
|
2937
2891
|
};
|
|
2938
|
-
const
|
|
2892
|
+
const de_TraceList = (output, context) => {
|
|
2939
2893
|
const retVal = (output || [])
|
|
2940
2894
|
.filter((e) => e != null)
|
|
2941
2895
|
.map((entry) => {
|
|
2942
2896
|
if (entry === null) {
|
|
2943
2897
|
return null;
|
|
2944
2898
|
}
|
|
2945
|
-
return
|
|
2899
|
+
return de_Trace(entry, context);
|
|
2946
2900
|
});
|
|
2947
2901
|
return retVal;
|
|
2948
2902
|
};
|
|
2949
|
-
const
|
|
2903
|
+
const de_TraceResourceARNs = (output, context) => {
|
|
2950
2904
|
const retVal = (output || [])
|
|
2951
2905
|
.filter((e) => e != null)
|
|
2952
2906
|
.map((entry) => {
|
|
2953
2907
|
if (entry === null) {
|
|
2954
2908
|
return null;
|
|
2955
2909
|
}
|
|
2956
|
-
return
|
|
2910
|
+
return de_ResourceARNDetail(entry, context);
|
|
2957
2911
|
});
|
|
2958
2912
|
return retVal;
|
|
2959
2913
|
};
|
|
2960
|
-
const
|
|
2914
|
+
const de_TraceSummary = (output, context) => {
|
|
2961
2915
|
return {
|
|
2962
|
-
Annotations: output.Annotations != null ?
|
|
2963
|
-
AvailabilityZones: output.AvailabilityZones != null
|
|
2964
|
-
? deserializeAws_restJson1TraceAvailabilityZones(output.AvailabilityZones, context)
|
|
2965
|
-
: undefined,
|
|
2916
|
+
Annotations: output.Annotations != null ? de_Annotations(output.Annotations, context) : undefined,
|
|
2917
|
+
AvailabilityZones: output.AvailabilityZones != null ? de_TraceAvailabilityZones(output.AvailabilityZones, context) : undefined,
|
|
2966
2918
|
Duration: __limitedParseDouble(output.Duration),
|
|
2967
|
-
EntryPoint: output.EntryPoint != null ?
|
|
2968
|
-
ErrorRootCauses: output.ErrorRootCauses != null
|
|
2969
|
-
|
|
2970
|
-
: undefined,
|
|
2971
|
-
FaultRootCauses: output.FaultRootCauses != null
|
|
2972
|
-
? deserializeAws_restJson1FaultRootCauses(output.FaultRootCauses, context)
|
|
2973
|
-
: undefined,
|
|
2919
|
+
EntryPoint: output.EntryPoint != null ? de_ServiceId(output.EntryPoint, context) : undefined,
|
|
2920
|
+
ErrorRootCauses: output.ErrorRootCauses != null ? de_ErrorRootCauses(output.ErrorRootCauses, context) : undefined,
|
|
2921
|
+
FaultRootCauses: output.FaultRootCauses != null ? de_FaultRootCauses(output.FaultRootCauses, context) : undefined,
|
|
2974
2922
|
HasError: __expectBoolean(output.HasError),
|
|
2975
2923
|
HasFault: __expectBoolean(output.HasFault),
|
|
2976
2924
|
HasThrottle: __expectBoolean(output.HasThrottle),
|
|
2977
|
-
Http: output.Http != null ?
|
|
2925
|
+
Http: output.Http != null ? de_Http(output.Http, context) : undefined,
|
|
2978
2926
|
Id: __expectString(output.Id),
|
|
2979
|
-
InstanceIds: output.InstanceIds != null ?
|
|
2927
|
+
InstanceIds: output.InstanceIds != null ? de_TraceInstanceIds(output.InstanceIds, context) : undefined,
|
|
2980
2928
|
IsPartial: __expectBoolean(output.IsPartial),
|
|
2981
2929
|
MatchedEventTime: output.MatchedEventTime != null
|
|
2982
2930
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.MatchedEventTime)))
|
|
2983
2931
|
: undefined,
|
|
2984
|
-
ResourceARNs: output.ResourceARNs != null ?
|
|
2932
|
+
ResourceARNs: output.ResourceARNs != null ? de_TraceResourceARNs(output.ResourceARNs, context) : undefined,
|
|
2985
2933
|
ResponseTime: __limitedParseDouble(output.ResponseTime),
|
|
2986
2934
|
ResponseTimeRootCauses: output.ResponseTimeRootCauses != null
|
|
2987
|
-
?
|
|
2935
|
+
? de_ResponseTimeRootCauses(output.ResponseTimeRootCauses, context)
|
|
2988
2936
|
: undefined,
|
|
2989
2937
|
Revision: __expectInt32(output.Revision),
|
|
2990
|
-
ServiceIds: output.ServiceIds != null ?
|
|
2991
|
-
Users: output.Users != null ?
|
|
2938
|
+
ServiceIds: output.ServiceIds != null ? de_ServiceIds(output.ServiceIds, context) : undefined,
|
|
2939
|
+
Users: output.Users != null ? de_TraceUsers(output.Users, context) : undefined,
|
|
2992
2940
|
};
|
|
2993
2941
|
};
|
|
2994
|
-
const
|
|
2942
|
+
const de_TraceSummaryList = (output, context) => {
|
|
2995
2943
|
const retVal = (output || [])
|
|
2996
2944
|
.filter((e) => e != null)
|
|
2997
2945
|
.map((entry) => {
|
|
2998
2946
|
if (entry === null) {
|
|
2999
2947
|
return null;
|
|
3000
2948
|
}
|
|
3001
|
-
return
|
|
2949
|
+
return de_TraceSummary(entry, context);
|
|
3002
2950
|
});
|
|
3003
2951
|
return retVal;
|
|
3004
2952
|
};
|
|
3005
|
-
const
|
|
2953
|
+
const de_TraceUser = (output, context) => {
|
|
3006
2954
|
return {
|
|
3007
|
-
ServiceIds: output.ServiceIds != null ?
|
|
2955
|
+
ServiceIds: output.ServiceIds != null ? de_ServiceIds(output.ServiceIds, context) : undefined,
|
|
3008
2956
|
UserName: __expectString(output.UserName),
|
|
3009
2957
|
};
|
|
3010
2958
|
};
|
|
3011
|
-
const
|
|
2959
|
+
const de_TraceUsers = (output, context) => {
|
|
3012
2960
|
const retVal = (output || [])
|
|
3013
2961
|
.filter((e) => e != null)
|
|
3014
2962
|
.map((entry) => {
|
|
3015
2963
|
if (entry === null) {
|
|
3016
2964
|
return null;
|
|
3017
2965
|
}
|
|
3018
|
-
return
|
|
2966
|
+
return de_TraceUser(entry, context);
|
|
3019
2967
|
});
|
|
3020
2968
|
return retVal;
|
|
3021
2969
|
};
|
|
3022
|
-
const
|
|
2970
|
+
const de_UnprocessedStatistics = (output, context) => {
|
|
3023
2971
|
return {
|
|
3024
2972
|
ErrorCode: __expectString(output.ErrorCode),
|
|
3025
2973
|
Message: __expectString(output.Message),
|
|
3026
2974
|
RuleName: __expectString(output.RuleName),
|
|
3027
2975
|
};
|
|
3028
2976
|
};
|
|
3029
|
-
const
|
|
2977
|
+
const de_UnprocessedStatisticsList = (output, context) => {
|
|
3030
2978
|
const retVal = (output || [])
|
|
3031
2979
|
.filter((e) => e != null)
|
|
3032
2980
|
.map((entry) => {
|
|
3033
2981
|
if (entry === null) {
|
|
3034
2982
|
return null;
|
|
3035
2983
|
}
|
|
3036
|
-
return
|
|
2984
|
+
return de_UnprocessedStatistics(entry, context);
|
|
3037
2985
|
});
|
|
3038
2986
|
return retVal;
|
|
3039
2987
|
};
|
|
3040
|
-
const
|
|
2988
|
+
const de_UnprocessedTraceIdList = (output, context) => {
|
|
3041
2989
|
const retVal = (output || [])
|
|
3042
2990
|
.filter((e) => e != null)
|
|
3043
2991
|
.map((entry) => {
|
|
@@ -3048,41 +2996,39 @@ const deserializeAws_restJson1UnprocessedTraceIdList = (output, context) => {
|
|
|
3048
2996
|
});
|
|
3049
2997
|
return retVal;
|
|
3050
2998
|
};
|
|
3051
|
-
const
|
|
2999
|
+
const de_UnprocessedTraceSegment = (output, context) => {
|
|
3052
3000
|
return {
|
|
3053
3001
|
ErrorCode: __expectString(output.ErrorCode),
|
|
3054
3002
|
Id: __expectString(output.Id),
|
|
3055
3003
|
Message: __expectString(output.Message),
|
|
3056
3004
|
};
|
|
3057
3005
|
};
|
|
3058
|
-
const
|
|
3006
|
+
const de_UnprocessedTraceSegmentList = (output, context) => {
|
|
3059
3007
|
const retVal = (output || [])
|
|
3060
3008
|
.filter((e) => e != null)
|
|
3061
3009
|
.map((entry) => {
|
|
3062
3010
|
if (entry === null) {
|
|
3063
3011
|
return null;
|
|
3064
3012
|
}
|
|
3065
|
-
return
|
|
3013
|
+
return de_UnprocessedTraceSegment(entry, context);
|
|
3066
3014
|
});
|
|
3067
3015
|
return retVal;
|
|
3068
3016
|
};
|
|
3069
|
-
const
|
|
3017
|
+
const de_ValuesWithServiceIds = (output, context) => {
|
|
3070
3018
|
const retVal = (output || [])
|
|
3071
3019
|
.filter((e) => e != null)
|
|
3072
3020
|
.map((entry) => {
|
|
3073
3021
|
if (entry === null) {
|
|
3074
3022
|
return null;
|
|
3075
3023
|
}
|
|
3076
|
-
return
|
|
3024
|
+
return de_ValueWithServiceIds(entry, context);
|
|
3077
3025
|
});
|
|
3078
3026
|
return retVal;
|
|
3079
3027
|
};
|
|
3080
|
-
const
|
|
3028
|
+
const de_ValueWithServiceIds = (output, context) => {
|
|
3081
3029
|
return {
|
|
3082
|
-
AnnotationValue: output.AnnotationValue != null
|
|
3083
|
-
|
|
3084
|
-
: undefined,
|
|
3085
|
-
ServiceIds: output.ServiceIds != null ? deserializeAws_restJson1ServiceIds(output.ServiceIds, context) : undefined,
|
|
3030
|
+
AnnotationValue: output.AnnotationValue != null ? de_AnnotationValue(__expectUnion(output.AnnotationValue), context) : undefined,
|
|
3031
|
+
ServiceIds: output.ServiceIds != null ? de_ServiceIds(output.ServiceIds, context) : undefined,
|
|
3086
3032
|
};
|
|
3087
3033
|
};
|
|
3088
3034
|
const deserializeMetadata = (output) => ({
|