@aws-sdk/client-devops-guru 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.
@@ -72,8 +72,8 @@ const serializeAws_restJson1DescribeAccountOverviewCommand = async (input, conte
72
72
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/overview";
73
73
  let body;
74
74
  body = JSON.stringify({
75
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
76
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
75
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
76
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
77
77
  });
78
78
  return new protocol_http_1.HttpRequest({
79
79
  protocol,
@@ -201,11 +201,11 @@ const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (input,
201
201
  let body;
202
202
  body = JSON.stringify({
203
203
  ...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
204
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
204
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
205
205
  ...(input.OrganizationalUnitIds != null && {
206
206
  OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
207
207
  }),
208
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
208
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
209
209
  });
210
210
  return new protocol_http_1.HttpRequest({
211
211
  protocol,
@@ -2396,8 +2396,8 @@ const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
2396
2396
  };
2397
2397
  const serializeAws_restJson1EndTimeRange = (input, context) => {
2398
2398
  return {
2399
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2400
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2399
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
2400
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
2401
2401
  };
2402
2402
  };
2403
2403
  const serializeAws_restJson1EventSourcesConfig = (input, context) => {
@@ -2409,8 +2409,8 @@ const serializeAws_restJson1EventSourcesConfig = (input, context) => {
2409
2409
  };
2410
2410
  const serializeAws_restJson1EventTimeRange = (input, context) => {
2411
2411
  return {
2412
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2413
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2412
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
2413
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
2414
2414
  };
2415
2415
  };
2416
2416
  const serializeAws_restJson1InsightFeedback = (input, context) => {
@@ -2613,8 +2613,8 @@ const serializeAws_restJson1StackNames = (input, context) => {
2613
2613
  };
2614
2614
  const serializeAws_restJson1StartTimeRange = (input, context) => {
2615
2615
  return {
2616
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2617
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2616
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
2617
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
2618
2618
  };
2619
2619
  };
2620
2620
  const serializeAws_restJson1TagCollection = (input, context) => {
@@ -65,8 +65,8 @@ export const serializeAws_restJson1DescribeAccountOverviewCommand = async (input
65
65
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/overview";
66
66
  let body;
67
67
  body = JSON.stringify({
68
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
69
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
68
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
69
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
70
70
  });
71
71
  return new __HttpRequest({
72
72
  protocol,
@@ -188,11 +188,11 @@ export const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (
188
188
  let body;
189
189
  body = JSON.stringify({
190
190
  ...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
191
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
191
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
192
192
  ...(input.OrganizationalUnitIds != null && {
193
193
  OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
194
194
  }),
195
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
195
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
196
196
  });
197
197
  return new __HttpRequest({
198
198
  protocol,
@@ -2330,8 +2330,8 @@ const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
2330
2330
  };
2331
2331
  const serializeAws_restJson1EndTimeRange = (input, context) => {
2332
2332
  return {
2333
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2334
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2333
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
2334
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
2335
2335
  };
2336
2336
  };
2337
2337
  const serializeAws_restJson1EventSourcesConfig = (input, context) => {
@@ -2343,8 +2343,8 @@ const serializeAws_restJson1EventSourcesConfig = (input, context) => {
2343
2343
  };
2344
2344
  const serializeAws_restJson1EventTimeRange = (input, context) => {
2345
2345
  return {
2346
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2347
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2346
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
2347
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
2348
2348
  };
2349
2349
  };
2350
2350
  const serializeAws_restJson1InsightFeedback = (input, context) => {
@@ -2547,8 +2547,8 @@ const serializeAws_restJson1StackNames = (input, context) => {
2547
2547
  };
2548
2548
  const serializeAws_restJson1StartTimeRange = (input, context) => {
2549
2549
  return {
2550
- ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
2551
- ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
2550
+ ...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000).toString() }),
2551
+ ...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000).toString() }),
2552
2552
  };
2553
2553
  };
2554
2554
  const serializeAws_restJson1TagCollection = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-devops-guru",
3
3
  "description": "AWS SDK for JavaScript Devops Guru Client for Node.js, Browser and React Native",
4
- "version": "3.245.0",
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": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/devops-guru.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo devops-guru"
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.245.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.245.0",
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",