@aws-sdk/client-xray 3.245.0 → 3.252.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.
|
@@ -258,10 +258,10 @@ const serializeAws_restJson1GetInsightImpactGraphCommand = async (input, context
|
|
|
258
258
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/InsightImpactGraph";
|
|
259
259
|
let body;
|
|
260
260
|
body = JSON.stringify({
|
|
261
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
261
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
262
262
|
...(input.InsightId != null && { InsightId: input.InsightId }),
|
|
263
263
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
264
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
264
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
265
265
|
});
|
|
266
266
|
return new protocol_http_1.HttpRequest({
|
|
267
267
|
protocol,
|
|
@@ -282,12 +282,12 @@ const serializeAws_restJson1GetInsightSummariesCommand = async (input, context)
|
|
|
282
282
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/InsightSummaries";
|
|
283
283
|
let body;
|
|
284
284
|
body = JSON.stringify({
|
|
285
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
285
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
286
286
|
...(input.GroupARN != null && { GroupARN: input.GroupARN }),
|
|
287
287
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
288
288
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
289
289
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
290
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
290
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
291
291
|
...(input.States != null && { States: serializeAws_restJson1InsightStateList(input.States, context) }),
|
|
292
292
|
});
|
|
293
293
|
return new protocol_http_1.HttpRequest({
|
|
@@ -374,11 +374,11 @@ const serializeAws_restJson1GetServiceGraphCommand = async (input, context) => {
|
|
|
374
374
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ServiceGraph";
|
|
375
375
|
let body;
|
|
376
376
|
body = JSON.stringify({
|
|
377
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
377
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
378
378
|
...(input.GroupARN != null && { GroupARN: input.GroupARN }),
|
|
379
379
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
380
380
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
381
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
381
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
382
382
|
});
|
|
383
383
|
return new protocol_http_1.HttpRequest({
|
|
384
384
|
protocol,
|
|
@@ -399,14 +399,14 @@ const serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async (input
|
|
|
399
399
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/TimeSeriesServiceStatistics";
|
|
400
400
|
let body;
|
|
401
401
|
body = JSON.stringify({
|
|
402
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
402
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
403
403
|
...(input.EntitySelectorExpression != null && { EntitySelectorExpression: input.EntitySelectorExpression }),
|
|
404
404
|
...(input.ForecastStatistics != null && { ForecastStatistics: input.ForecastStatistics }),
|
|
405
405
|
...(input.GroupARN != null && { GroupARN: input.GroupARN }),
|
|
406
406
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
407
407
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
408
408
|
...(input.Period != null && { Period: input.Period }),
|
|
409
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
409
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
410
410
|
});
|
|
411
411
|
return new protocol_http_1.HttpRequest({
|
|
412
412
|
protocol,
|
|
@@ -449,14 +449,14 @@ const serializeAws_restJson1GetTraceSummariesCommand = async (input, context) =>
|
|
|
449
449
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/TraceSummaries";
|
|
450
450
|
let body;
|
|
451
451
|
body = JSON.stringify({
|
|
452
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
452
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
453
453
|
...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
|
|
454
454
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
455
455
|
...(input.Sampling != null && { Sampling: input.Sampling }),
|
|
456
456
|
...(input.SamplingStrategy != null && {
|
|
457
457
|
SamplingStrategy: serializeAws_restJson1SamplingStrategy(input.SamplingStrategy, context),
|
|
458
458
|
}),
|
|
459
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
459
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
460
460
|
...(input.TimeRangeType != null && { TimeRangeType: input.TimeRangeType }),
|
|
461
461
|
});
|
|
462
462
|
return new protocol_http_1.HttpRequest({
|
|
@@ -2106,7 +2106,7 @@ const serializeAws_restJson1SamplingStatisticsDocument = (input, context) => {
|
|
|
2106
2106
|
...(input.RequestCount != null && { RequestCount: input.RequestCount }),
|
|
2107
2107
|
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
2108
2108
|
...(input.SampledCount != null && { SampledCount: input.SampledCount }),
|
|
2109
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
2109
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
2110
2110
|
};
|
|
2111
2111
|
};
|
|
2112
2112
|
const serializeAws_restJson1SamplingStatisticsDocumentList = (input, context) => {
|
|
@@ -2151,7 +2151,7 @@ const serializeAws_restJson1TelemetryRecord = (input, context) => {
|
|
|
2151
2151
|
...(input.SegmentsRejectedCount != null && { SegmentsRejectedCount: input.SegmentsRejectedCount }),
|
|
2152
2152
|
...(input.SegmentsSentCount != null && { SegmentsSentCount: input.SegmentsSentCount }),
|
|
2153
2153
|
...(input.SegmentsSpilloverCount != null && { SegmentsSpilloverCount: input.SegmentsSpilloverCount }),
|
|
2154
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
2154
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
2155
2155
|
};
|
|
2156
2156
|
};
|
|
2157
2157
|
const serializeAws_restJson1TelemetryRecordList = (input, context) => {
|
|
@@ -243,10 +243,10 @@ export const serializeAws_restJson1GetInsightImpactGraphCommand = async (input,
|
|
|
243
243
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/InsightImpactGraph";
|
|
244
244
|
let body;
|
|
245
245
|
body = JSON.stringify({
|
|
246
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
246
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
247
247
|
...(input.InsightId != null && { InsightId: input.InsightId }),
|
|
248
248
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
249
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
249
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
250
250
|
});
|
|
251
251
|
return new __HttpRequest({
|
|
252
252
|
protocol,
|
|
@@ -266,12 +266,12 @@ export const serializeAws_restJson1GetInsightSummariesCommand = async (input, co
|
|
|
266
266
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/InsightSummaries";
|
|
267
267
|
let body;
|
|
268
268
|
body = JSON.stringify({
|
|
269
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
269
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
270
270
|
...(input.GroupARN != null && { GroupARN: input.GroupARN }),
|
|
271
271
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
272
272
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
273
273
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
274
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
274
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
275
275
|
...(input.States != null && { States: serializeAws_restJson1InsightStateList(input.States, context) }),
|
|
276
276
|
});
|
|
277
277
|
return new __HttpRequest({
|
|
@@ -354,11 +354,11 @@ export const serializeAws_restJson1GetServiceGraphCommand = async (input, contex
|
|
|
354
354
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ServiceGraph";
|
|
355
355
|
let body;
|
|
356
356
|
body = JSON.stringify({
|
|
357
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
357
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
358
358
|
...(input.GroupARN != null && { GroupARN: input.GroupARN }),
|
|
359
359
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
360
360
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
361
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
361
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
362
362
|
});
|
|
363
363
|
return new __HttpRequest({
|
|
364
364
|
protocol,
|
|
@@ -378,14 +378,14 @@ export const serializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async
|
|
|
378
378
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/TimeSeriesServiceStatistics";
|
|
379
379
|
let body;
|
|
380
380
|
body = JSON.stringify({
|
|
381
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
381
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
382
382
|
...(input.EntitySelectorExpression != null && { EntitySelectorExpression: input.EntitySelectorExpression }),
|
|
383
383
|
...(input.ForecastStatistics != null && { ForecastStatistics: input.ForecastStatistics }),
|
|
384
384
|
...(input.GroupARN != null && { GroupARN: input.GroupARN }),
|
|
385
385
|
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
386
386
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
387
387
|
...(input.Period != null && { Period: input.Period }),
|
|
388
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
388
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
389
389
|
});
|
|
390
390
|
return new __HttpRequest({
|
|
391
391
|
protocol,
|
|
@@ -426,14 +426,14 @@ export const serializeAws_restJson1GetTraceSummariesCommand = async (input, cont
|
|
|
426
426
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/TraceSummaries";
|
|
427
427
|
let body;
|
|
428
428
|
body = JSON.stringify({
|
|
429
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
429
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
|
|
430
430
|
...(input.FilterExpression != null && { FilterExpression: input.FilterExpression }),
|
|
431
431
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
432
432
|
...(input.Sampling != null && { Sampling: input.Sampling }),
|
|
433
433
|
...(input.SamplingStrategy != null && {
|
|
434
434
|
SamplingStrategy: serializeAws_restJson1SamplingStrategy(input.SamplingStrategy, context),
|
|
435
435
|
}),
|
|
436
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
436
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
|
|
437
437
|
...(input.TimeRangeType != null && { TimeRangeType: input.TimeRangeType }),
|
|
438
438
|
});
|
|
439
439
|
return new __HttpRequest({
|
|
@@ -2042,7 +2042,7 @@ const serializeAws_restJson1SamplingStatisticsDocument = (input, context) => {
|
|
|
2042
2042
|
...(input.RequestCount != null && { RequestCount: input.RequestCount }),
|
|
2043
2043
|
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
2044
2044
|
...(input.SampledCount != null && { SampledCount: input.SampledCount }),
|
|
2045
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
2045
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
2046
2046
|
};
|
|
2047
2047
|
};
|
|
2048
2048
|
const serializeAws_restJson1SamplingStatisticsDocumentList = (input, context) => {
|
|
@@ -2087,7 +2087,7 @@ const serializeAws_restJson1TelemetryRecord = (input, context) => {
|
|
|
2087
2087
|
...(input.SegmentsRejectedCount != null && { SegmentsRejectedCount: input.SegmentsRejectedCount }),
|
|
2088
2088
|
...(input.SegmentsSentCount != null && { SegmentsSentCount: input.SegmentsSentCount }),
|
|
2089
2089
|
...(input.SegmentsSpilloverCount != null && { SegmentsSpilloverCount: input.SegmentsSpilloverCount }),
|
|
2090
|
-
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
2090
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
|
|
2091
2091
|
};
|
|
2092
2092
|
};
|
|
2093
2093
|
const serializeAws_restJson1TelemetryRecordList = (input, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-xray",
|
|
3
3
|
"description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo xray"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|