@aws-sdk/client-xray 3.410.0 → 3.413.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.
@@ -2377,6 +2377,7 @@ const de_TraceSummary = (output, context) => {
2377
2377
  ResponseTimeRootCauses: (_) => de_ResponseTimeRootCauses(_, context),
2378
2378
  Revision: smithy_client_1.expectInt32,
2379
2379
  ServiceIds: smithy_client_1._json,
2380
+ StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2380
2381
  Users: smithy_client_1._json,
2381
2382
  });
2382
2383
  };
@@ -2313,6 +2313,7 @@ const de_TraceSummary = (output, context) => {
2313
2313
  ResponseTimeRootCauses: (_) => de_ResponseTimeRootCauses(_, context),
2314
2314
  Revision: __expectInt32,
2315
2315
  ServiceIds: _json,
2316
+ StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2316
2317
  Users: _json,
2317
2318
  });
2318
2319
  };
@@ -64,6 +64,7 @@ export interface GetTraceSummariesCommandOutput extends GetTraceSummariesResult,
64
64
  * // TraceSummaries: [ // TraceSummaryList
65
65
  * // { // TraceSummary
66
66
  * // Id: "STRING_VALUE",
67
+ * // StartTime: new Date("TIMESTAMP"),
67
68
  * // Duration: Number("double"),
68
69
  * // ResponseTime: Number("double"),
69
70
  * // HasFault: true || false,
@@ -2358,6 +2358,11 @@ export interface TraceSummary {
2358
2358
  * subsegments.</p>
2359
2359
  */
2360
2360
  Id?: string;
2361
+ /**
2362
+ * @public
2363
+ * <p>The start time of a trace, based on the earliest trace segment start time.</p>
2364
+ */
2365
+ StartTime?: Date;
2361
2366
  /**
2362
2367
  * @public
2363
2368
  * <p>The length of time in seconds between the start time of the root segment and the end
@@ -571,6 +571,7 @@ export interface TraceUser {
571
571
  }
572
572
  export interface TraceSummary {
573
573
  Id?: string;
574
+ StartTime?: Date;
574
575
  Duration?: number;
575
576
  ResponseTime?: number;
576
577
  HasFault?: boolean;
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.410.0",
4
+ "version": "3.413.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",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.410.0",
25
- "@aws-sdk/credential-provider-node": "3.410.0",
26
- "@aws-sdk/middleware-host-header": "3.410.0",
27
- "@aws-sdk/middleware-logger": "3.410.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.410.0",
29
- "@aws-sdk/middleware-signing": "3.410.0",
30
- "@aws-sdk/middleware-user-agent": "3.410.0",
31
- "@aws-sdk/types": "3.410.0",
32
- "@aws-sdk/util-endpoints": "3.410.0",
33
- "@aws-sdk/util-user-agent-browser": "3.410.0",
34
- "@aws-sdk/util-user-agent-node": "3.410.0",
35
- "@smithy/config-resolver": "^2.0.7",
36
- "@smithy/fetch-http-handler": "^2.1.2",
37
- "@smithy/hash-node": "^2.0.6",
38
- "@smithy/invalid-dependency": "^2.0.6",
39
- "@smithy/middleware-content-length": "^2.0.8",
40
- "@smithy/middleware-endpoint": "^2.0.6",
41
- "@smithy/middleware-retry": "^2.0.9",
42
- "@smithy/middleware-serde": "^2.0.6",
24
+ "@aws-sdk/client-sts": "3.413.0",
25
+ "@aws-sdk/credential-provider-node": "3.413.0",
26
+ "@aws-sdk/middleware-host-header": "3.413.0",
27
+ "@aws-sdk/middleware-logger": "3.413.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
+ "@aws-sdk/middleware-signing": "3.413.0",
30
+ "@aws-sdk/middleware-user-agent": "3.413.0",
31
+ "@aws-sdk/types": "3.413.0",
32
+ "@aws-sdk/util-endpoints": "3.413.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.413.0",
34
+ "@aws-sdk/util-user-agent-node": "3.413.0",
35
+ "@smithy/config-resolver": "^2.0.8",
36
+ "@smithy/fetch-http-handler": "^2.1.3",
37
+ "@smithy/hash-node": "^2.0.7",
38
+ "@smithy/invalid-dependency": "^2.0.7",
39
+ "@smithy/middleware-content-length": "^2.0.9",
40
+ "@smithy/middleware-endpoint": "^2.0.7",
41
+ "@smithy/middleware-retry": "^2.0.10",
42
+ "@smithy/middleware-serde": "^2.0.7",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.9",
45
- "@smithy/node-http-handler": "^2.1.2",
46
- "@smithy/protocol-http": "^3.0.2",
47
- "@smithy/smithy-client": "^2.1.3",
48
- "@smithy/types": "^2.3.0",
49
- "@smithy/url-parser": "^2.0.6",
44
+ "@smithy/node-config-provider": "^2.0.10",
45
+ "@smithy/node-http-handler": "^2.1.3",
46
+ "@smithy/protocol-http": "^3.0.3",
47
+ "@smithy/smithy-client": "^2.1.4",
48
+ "@smithy/types": "^2.3.1",
49
+ "@smithy/url-parser": "^2.0.7",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.7",
54
- "@smithy/util-defaults-mode-node": "^2.0.9",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.8",
54
+ "@smithy/util-defaults-mode-node": "^2.0.10",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0"