@aws-sdk/client-amplify 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.
|
@@ -311,8 +311,8 @@ const serializeAws_restJson1GenerateAccessLogsCommand = async (input, context) =
|
|
|
311
311
|
let body;
|
|
312
312
|
body = JSON.stringify({
|
|
313
313
|
...(input.domainName != null && { domainName: input.domainName }),
|
|
314
|
-
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
315
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
314
|
+
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
|
|
315
|
+
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
|
|
316
316
|
});
|
|
317
317
|
return new protocol_http_1.HttpRequest({
|
|
318
318
|
protocol,
|
|
@@ -663,7 +663,7 @@ const serializeAws_restJson1StartJobCommand = async (input, context) => {
|
|
|
663
663
|
body = JSON.stringify({
|
|
664
664
|
...(input.commitId != null && { commitId: input.commitId }),
|
|
665
665
|
...(input.commitMessage != null && { commitMessage: input.commitMessage }),
|
|
666
|
-
...(input.commitTime != null && { commitTime: Math.round(input.commitTime.getTime() / 1000) }),
|
|
666
|
+
...(input.commitTime != null && { commitTime: Math.round(input.commitTime.getTime() / 1000).toString() }),
|
|
667
667
|
...(input.jobId != null && { jobId: input.jobId }),
|
|
668
668
|
...(input.jobReason != null && { jobReason: input.jobReason }),
|
|
669
669
|
...(input.jobType != null && { jobType: input.jobType }),
|
|
@@ -295,8 +295,8 @@ export const serializeAws_restJson1GenerateAccessLogsCommand = async (input, con
|
|
|
295
295
|
let body;
|
|
296
296
|
body = JSON.stringify({
|
|
297
297
|
...(input.domainName != null && { domainName: input.domainName }),
|
|
298
|
-
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
299
|
-
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
298
|
+
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000).toString() }),
|
|
299
|
+
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000).toString() }),
|
|
300
300
|
});
|
|
301
301
|
return new __HttpRequest({
|
|
302
302
|
protocol,
|
|
@@ -630,7 +630,7 @@ export const serializeAws_restJson1StartJobCommand = async (input, context) => {
|
|
|
630
630
|
body = JSON.stringify({
|
|
631
631
|
...(input.commitId != null && { commitId: input.commitId }),
|
|
632
632
|
...(input.commitMessage != null && { commitMessage: input.commitMessage }),
|
|
633
|
-
...(input.commitTime != null && { commitTime: Math.round(input.commitTime.getTime() / 1000) }),
|
|
633
|
+
...(input.commitTime != null && { commitTime: Math.round(input.commitTime.getTime() / 1000).toString() }),
|
|
634
634
|
...(input.jobId != null && { jobId: input.jobId }),
|
|
635
635
|
...(input.jobReason != null && { jobReason: input.jobReason }),
|
|
636
636
|
...(input.jobType != null && { jobType: input.jobType }),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplify",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo amplify"
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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",
|