@aws-sdk/client-groundstation 3.241.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.
@@ -80,7 +80,9 @@ const serializeAws_restJson1CreateEphemerisCommand = async (input, context) => {
80
80
  body = JSON.stringify({
81
81
  ...(input.enabled != null && { enabled: input.enabled }),
82
82
  ...(input.ephemeris != null && { ephemeris: serializeAws_restJson1EphemerisData(input.ephemeris, context) }),
83
- ...(input.expirationTime != null && { expirationTime: Math.round(input.expirationTime.getTime() / 1000) }),
83
+ ...(input.expirationTime != null && {
84
+ expirationTime: Math.round(input.expirationTime.getTime() / 1000).toString(),
85
+ }),
84
86
  ...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
85
87
  ...(input.name != null && { name: input.name }),
86
88
  ...(input.priority != null && { priority: input.priority }),
@@ -358,13 +360,13 @@ const serializeAws_restJson1ListContactsCommand = async (input, context) => {
358
360
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contacts";
359
361
  let body;
360
362
  body = JSON.stringify({
361
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
363
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
362
364
  ...(input.groundStation != null && { groundStation: input.groundStation }),
363
365
  ...(input.maxResults != null && { maxResults: input.maxResults }),
364
366
  ...(input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn }),
365
367
  ...(input.nextToken != null && { nextToken: input.nextToken }),
366
368
  ...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
367
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
369
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
368
370
  ...(input.statusList != null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) }),
369
371
  });
370
372
  return new protocol_http_1.HttpRequest({
@@ -411,9 +413,9 @@ const serializeAws_restJson1ListEphemeridesCommand = async (input, context) => {
411
413
  });
412
414
  let body;
413
415
  body = JSON.stringify({
414
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
416
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
415
417
  ...(input.satelliteId != null && { satelliteId: input.satelliteId }),
416
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
418
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
417
419
  ...(input.statusList != null && {
418
420
  statusList: serializeAws_restJson1EphemerisStatusList(input.statusList, context),
419
421
  }),
@@ -519,11 +521,11 @@ const serializeAws_restJson1ReserveContactCommand = async (input, context) => {
519
521
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact";
520
522
  let body;
521
523
  body = JSON.stringify({
522
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
524
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
523
525
  ...(input.groundStation != null && { groundStation: input.groundStation }),
524
526
  ...(input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn }),
525
527
  ...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
526
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
528
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
527
529
  ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
528
530
  });
529
531
  return new protocol_http_1.HttpRequest({
@@ -2311,8 +2313,8 @@ const serializeAws_restJson1TagsMap = (input, context) => {
2311
2313
  };
2312
2314
  const serializeAws_restJson1TimeRange = (input, context) => {
2313
2315
  return {
2314
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2315
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2316
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
2317
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
2316
2318
  };
2317
2319
  };
2318
2320
  const serializeAws_restJson1TLEData = (input, context) => {
@@ -73,7 +73,9 @@ export const serializeAws_restJson1CreateEphemerisCommand = async (input, contex
73
73
  body = JSON.stringify({
74
74
  ...(input.enabled != null && { enabled: input.enabled }),
75
75
  ...(input.ephemeris != null && { ephemeris: serializeAws_restJson1EphemerisData(input.ephemeris, context) }),
76
- ...(input.expirationTime != null && { expirationTime: Math.round(input.expirationTime.getTime() / 1000) }),
76
+ ...(input.expirationTime != null && {
77
+ expirationTime: Math.round(input.expirationTime.getTime() / 1000).toString(),
78
+ }),
77
79
  ...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
78
80
  ...(input.name != null && { name: input.name }),
79
81
  ...(input.priority != null && { priority: input.priority }),
@@ -337,13 +339,13 @@ export const serializeAws_restJson1ListContactsCommand = async (input, context)
337
339
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contacts";
338
340
  let body;
339
341
  body = JSON.stringify({
340
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
342
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
341
343
  ...(input.groundStation != null && { groundStation: input.groundStation }),
342
344
  ...(input.maxResults != null && { maxResults: input.maxResults }),
343
345
  ...(input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn }),
344
346
  ...(input.nextToken != null && { nextToken: input.nextToken }),
345
347
  ...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
346
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
348
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
347
349
  ...(input.statusList != null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) }),
348
350
  });
349
351
  return new __HttpRequest({
@@ -388,9 +390,9 @@ export const serializeAws_restJson1ListEphemeridesCommand = async (input, contex
388
390
  });
389
391
  let body;
390
392
  body = JSON.stringify({
391
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
393
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
392
394
  ...(input.satelliteId != null && { satelliteId: input.satelliteId }),
393
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
395
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
394
396
  ...(input.statusList != null && {
395
397
  statusList: serializeAws_restJson1EphemerisStatusList(input.statusList, context),
396
398
  }),
@@ -491,11 +493,11 @@ export const serializeAws_restJson1ReserveContactCommand = async (input, context
491
493
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact";
492
494
  let body;
493
495
  body = JSON.stringify({
494
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
496
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
495
497
  ...(input.groundStation != null && { groundStation: input.groundStation }),
496
498
  ...(input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn }),
497
499
  ...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
498
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
500
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
499
501
  ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
500
502
  });
501
503
  return new __HttpRequest({
@@ -2247,8 +2249,8 @@ const serializeAws_restJson1TagsMap = (input, context) => {
2247
2249
  };
2248
2250
  const serializeAws_restJson1TimeRange = (input, context) => {
2249
2251
  return {
2250
- ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2251
- ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2252
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
2253
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
2252
2254
  };
2253
2255
  };
2254
2256
  const serializeAws_restJson1TLEData = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-groundstation",
3
3
  "description": "AWS SDK for JavaScript Groundstation Client for Node.js, Browser and React Native",
4
- "version": "3.241.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/groundstation.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo groundstation"
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.241.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.241.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",
@@ -47,7 +47,7 @@
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
49
  "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.241.0",
50
+ "@aws-sdk/util-endpoints": "3.245.0",
51
51
  "@aws-sdk/util-retry": "3.229.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.226.0",
53
53
  "@aws-sdk/util-user-agent-node": "3.226.0",