@aws-sdk/client-ecs 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.
@@ -4557,13 +4557,13 @@ const serializeAws_json1_1SubmitTaskStateChangeRequest = (input, context) => {
4557
4557
  containers: serializeAws_json1_1ContainerStateChanges(input.containers, context),
4558
4558
  }),
4559
4559
  ...(input.executionStoppedAt != null && {
4560
- executionStoppedAt: Math.round(input.executionStoppedAt.getTime() / 1000),
4560
+ executionStoppedAt: Math.round(input.executionStoppedAt.getTime() / 1000).toString(),
4561
4561
  }),
4562
4562
  ...(input.managedAgents != null && {
4563
4563
  managedAgents: serializeAws_json1_1ManagedAgentStateChanges(input.managedAgents, context),
4564
4564
  }),
4565
- ...(input.pullStartedAt != null && { pullStartedAt: Math.round(input.pullStartedAt.getTime() / 1000) }),
4566
- ...(input.pullStoppedAt != null && { pullStoppedAt: Math.round(input.pullStoppedAt.getTime() / 1000) }),
4565
+ ...(input.pullStartedAt != null && { pullStartedAt: Math.round(input.pullStartedAt.getTime() / 1000).toString() }),
4566
+ ...(input.pullStoppedAt != null && { pullStoppedAt: Math.round(input.pullStoppedAt.getTime() / 1000).toString() }),
4567
4567
  ...(input.reason != null && { reason: input.reason }),
4568
4568
  ...(input.status != null && { status: input.status }),
4569
4569
  ...(input.task != null && { task: input.task }),
@@ -4442,13 +4442,13 @@ const serializeAws_json1_1SubmitTaskStateChangeRequest = (input, context) => {
4442
4442
  containers: serializeAws_json1_1ContainerStateChanges(input.containers, context),
4443
4443
  }),
4444
4444
  ...(input.executionStoppedAt != null && {
4445
- executionStoppedAt: Math.round(input.executionStoppedAt.getTime() / 1000),
4445
+ executionStoppedAt: Math.round(input.executionStoppedAt.getTime() / 1000).toString(),
4446
4446
  }),
4447
4447
  ...(input.managedAgents != null && {
4448
4448
  managedAgents: serializeAws_json1_1ManagedAgentStateChanges(input.managedAgents, context),
4449
4449
  }),
4450
- ...(input.pullStartedAt != null && { pullStartedAt: Math.round(input.pullStartedAt.getTime() / 1000) }),
4451
- ...(input.pullStoppedAt != null && { pullStoppedAt: Math.round(input.pullStoppedAt.getTime() / 1000) }),
4450
+ ...(input.pullStartedAt != null && { pullStartedAt: Math.round(input.pullStartedAt.getTime() / 1000).toString() }),
4451
+ ...(input.pullStoppedAt != null && { pullStoppedAt: Math.round(input.pullStoppedAt.getTime() / 1000).toString() }),
4452
4452
  ...(input.reason != null && { reason: input.reason }),
4453
4453
  ...(input.status != null && { status: input.status }),
4454
4454
  ...(input.task != null && { task: input.task }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs 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/ecs.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo ecs"
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",