@aws-sdk/client-xray 3.582.0 → 3.587.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/index.js CHANGED
@@ -660,10 +660,10 @@ var se_GetInsightImpactGraphCommand = /* @__PURE__ */ __name(async (input, conte
660
660
  let body;
661
661
  body = JSON.stringify(
662
662
  (0, import_smithy_client.take)(input, {
663
- EndTime: (_) => Math.round(_.getTime() / 1e3),
663
+ EndTime: (_) => _.getTime() / 1e3,
664
664
  InsightId: [],
665
665
  NextToken: [],
666
- StartTime: (_) => Math.round(_.getTime() / 1e3)
666
+ StartTime: (_) => _.getTime() / 1e3
667
667
  })
668
668
  );
669
669
  b.m("POST").h(headers).b(body);
@@ -678,12 +678,12 @@ var se_GetInsightSummariesCommand = /* @__PURE__ */ __name(async (input, context
678
678
  let body;
679
679
  body = JSON.stringify(
680
680
  (0, import_smithy_client.take)(input, {
681
- EndTime: (_) => Math.round(_.getTime() / 1e3),
681
+ EndTime: (_) => _.getTime() / 1e3,
682
682
  GroupARN: [],
683
683
  GroupName: [],
684
684
  MaxResults: [],
685
685
  NextToken: [],
686
- StartTime: (_) => Math.round(_.getTime() / 1e3),
686
+ StartTime: (_) => _.getTime() / 1e3,
687
687
  States: (_) => (0, import_smithy_client._json)(_)
688
688
  })
689
689
  );
@@ -744,11 +744,11 @@ var se_GetServiceGraphCommand = /* @__PURE__ */ __name(async (input, context) =>
744
744
  let body;
745
745
  body = JSON.stringify(
746
746
  (0, import_smithy_client.take)(input, {
747
- EndTime: (_) => Math.round(_.getTime() / 1e3),
747
+ EndTime: (_) => _.getTime() / 1e3,
748
748
  GroupARN: [],
749
749
  GroupName: [],
750
750
  NextToken: [],
751
- StartTime: (_) => Math.round(_.getTime() / 1e3)
751
+ StartTime: (_) => _.getTime() / 1e3
752
752
  })
753
753
  );
754
754
  b.m("POST").h(headers).b(body);
@@ -763,14 +763,14 @@ var se_GetTimeSeriesServiceStatisticsCommand = /* @__PURE__ */ __name(async (inp
763
763
  let body;
764
764
  body = JSON.stringify(
765
765
  (0, import_smithy_client.take)(input, {
766
- EndTime: (_) => Math.round(_.getTime() / 1e3),
766
+ EndTime: (_) => _.getTime() / 1e3,
767
767
  EntitySelectorExpression: [],
768
768
  ForecastStatistics: [],
769
769
  GroupARN: [],
770
770
  GroupName: [],
771
771
  NextToken: [],
772
772
  Period: [],
773
- StartTime: (_) => Math.round(_.getTime() / 1e3)
773
+ StartTime: (_) => _.getTime() / 1e3
774
774
  })
775
775
  );
776
776
  b.m("POST").h(headers).b(body);
@@ -801,12 +801,12 @@ var se_GetTraceSummariesCommand = /* @__PURE__ */ __name(async (input, context)
801
801
  let body;
802
802
  body = JSON.stringify(
803
803
  (0, import_smithy_client.take)(input, {
804
- EndTime: (_) => Math.round(_.getTime() / 1e3),
804
+ EndTime: (_) => _.getTime() / 1e3,
805
805
  FilterExpression: [],
806
806
  NextToken: [],
807
807
  Sampling: [],
808
808
  SamplingStrategy: (_) => se_SamplingStrategy(_, context),
809
- StartTime: (_) => Math.round(_.getTime() / 1e3),
809
+ StartTime: (_) => _.getTime() / 1e3,
810
810
  TimeRangeType: []
811
811
  })
812
812
  );
@@ -1622,7 +1622,7 @@ var se_SamplingStatisticsDocument = /* @__PURE__ */ __name((input, context) => {
1622
1622
  RequestCount: [],
1623
1623
  RuleName: [],
1624
1624
  SampledCount: [],
1625
- Timestamp: (_) => Math.round(_.getTime() / 1e3)
1625
+ Timestamp: (_) => _.getTime() / 1e3
1626
1626
  });
1627
1627
  }, "se_SamplingStatisticsDocument");
1628
1628
  var se_SamplingStatisticsDocumentList = /* @__PURE__ */ __name((input, context) => {
@@ -1643,7 +1643,7 @@ var se_TelemetryRecord = /* @__PURE__ */ __name((input, context) => {
1643
1643
  SegmentsRejectedCount: [],
1644
1644
  SegmentsSentCount: [],
1645
1645
  SegmentsSpilloverCount: [],
1646
- Timestamp: (_) => Math.round(_.getTime() / 1e3)
1646
+ Timestamp: (_) => _.getTime() / 1e3
1647
1647
  });
1648
1648
  }, "se_TelemetryRecord");
1649
1649
  var se_TelemetryRecordList = /* @__PURE__ */ __name((input, context) => {
@@ -163,10 +163,10 @@ export const se_GetInsightImpactGraphCommand = async (input, context) => {
163
163
  b.bp("/InsightImpactGraph");
164
164
  let body;
165
165
  body = JSON.stringify(take(input, {
166
- EndTime: (_) => Math.round(_.getTime() / 1000),
166
+ EndTime: (_) => _.getTime() / 1000,
167
167
  InsightId: [],
168
168
  NextToken: [],
169
- StartTime: (_) => Math.round(_.getTime() / 1000),
169
+ StartTime: (_) => _.getTime() / 1000,
170
170
  }));
171
171
  b.m("POST").h(headers).b(body);
172
172
  return b.build();
@@ -179,12 +179,12 @@ export const se_GetInsightSummariesCommand = async (input, context) => {
179
179
  b.bp("/InsightSummaries");
180
180
  let body;
181
181
  body = JSON.stringify(take(input, {
182
- EndTime: (_) => Math.round(_.getTime() / 1000),
182
+ EndTime: (_) => _.getTime() / 1000,
183
183
  GroupARN: [],
184
184
  GroupName: [],
185
185
  MaxResults: [],
186
186
  NextToken: [],
187
- StartTime: (_) => Math.round(_.getTime() / 1000),
187
+ StartTime: (_) => _.getTime() / 1000,
188
188
  States: (_) => _json(_),
189
189
  }));
190
190
  b.m("POST").h(headers).b(body);
@@ -237,11 +237,11 @@ export const se_GetServiceGraphCommand = async (input, context) => {
237
237
  b.bp("/ServiceGraph");
238
238
  let body;
239
239
  body = JSON.stringify(take(input, {
240
- EndTime: (_) => Math.round(_.getTime() / 1000),
240
+ EndTime: (_) => _.getTime() / 1000,
241
241
  GroupARN: [],
242
242
  GroupName: [],
243
243
  NextToken: [],
244
- StartTime: (_) => Math.round(_.getTime() / 1000),
244
+ StartTime: (_) => _.getTime() / 1000,
245
245
  }));
246
246
  b.m("POST").h(headers).b(body);
247
247
  return b.build();
@@ -254,14 +254,14 @@ export const se_GetTimeSeriesServiceStatisticsCommand = async (input, context) =
254
254
  b.bp("/TimeSeriesServiceStatistics");
255
255
  let body;
256
256
  body = JSON.stringify(take(input, {
257
- EndTime: (_) => Math.round(_.getTime() / 1000),
257
+ EndTime: (_) => _.getTime() / 1000,
258
258
  EntitySelectorExpression: [],
259
259
  ForecastStatistics: [],
260
260
  GroupARN: [],
261
261
  GroupName: [],
262
262
  NextToken: [],
263
263
  Period: [],
264
- StartTime: (_) => Math.round(_.getTime() / 1000),
264
+ StartTime: (_) => _.getTime() / 1000,
265
265
  }));
266
266
  b.m("POST").h(headers).b(body);
267
267
  return b.build();
@@ -288,12 +288,12 @@ export const se_GetTraceSummariesCommand = async (input, context) => {
288
288
  b.bp("/TraceSummaries");
289
289
  let body;
290
290
  body = JSON.stringify(take(input, {
291
- EndTime: (_) => Math.round(_.getTime() / 1000),
291
+ EndTime: (_) => _.getTime() / 1000,
292
292
  FilterExpression: [],
293
293
  NextToken: [],
294
294
  Sampling: [],
295
295
  SamplingStrategy: (_) => se_SamplingStrategy(_, context),
296
- StartTime: (_) => Math.round(_.getTime() / 1000),
296
+ StartTime: (_) => _.getTime() / 1000,
297
297
  TimeRangeType: [],
298
298
  }));
299
299
  b.m("POST").h(headers).b(body);
@@ -1088,7 +1088,7 @@ const se_SamplingStatisticsDocument = (input, context) => {
1088
1088
  RequestCount: [],
1089
1089
  RuleName: [],
1090
1090
  SampledCount: [],
1091
- Timestamp: (_) => Math.round(_.getTime() / 1000),
1091
+ Timestamp: (_) => _.getTime() / 1000,
1092
1092
  });
1093
1093
  };
1094
1094
  const se_SamplingStatisticsDocumentList = (input, context) => {
@@ -1111,7 +1111,7 @@ const se_TelemetryRecord = (input, context) => {
1111
1111
  SegmentsRejectedCount: [],
1112
1112
  SegmentsSentCount: [],
1113
1113
  SegmentsSpilloverCount: [],
1114
- Timestamp: (_) => Math.round(_.getTime() / 1000),
1114
+ Timestamp: (_) => _.getTime() / 1000,
1115
1115
  });
1116
1116
  };
1117
1117
  const se_TelemetryRecordList = (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.582.0",
4
+ "version": "3.587.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-xray",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.582.0",
24
- "@aws-sdk/client-sts": "3.582.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.582.0",
23
+ "@aws-sdk/client-sso-oidc": "3.587.0",
24
+ "@aws-sdk/client-sts": "3.587.0",
25
+ "@aws-sdk/core": "3.587.0",
26
+ "@aws-sdk/credential-provider-node": "3.587.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.577.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.577.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-utf8": "^3.0.0",