@aws-sdk/client-pinpoint 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.
|
@@ -855,13 +855,10 @@ const serializeAws_restJson1GetApplicationDateRangeKpiCommand = async (input, co
|
|
|
855
855
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
856
856
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "KpiName", () => input.KpiName, "{KpiName}", false);
|
|
857
857
|
const query = map({
|
|
858
|
-
"end-time": [() => input.EndTime !== void 0, () =>
|
|
858
|
+
"end-time": [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
|
|
859
859
|
"next-token": [, input.NextToken],
|
|
860
860
|
"page-size": [, input.PageSize],
|
|
861
|
-
"start-time": [
|
|
862
|
-
() => input.StartTime !== void 0,
|
|
863
|
-
() => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
|
|
864
|
-
],
|
|
861
|
+
"start-time": [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
|
|
865
862
|
});
|
|
866
863
|
let body;
|
|
867
864
|
return new protocol_http_1.HttpRequest({
|
|
@@ -983,13 +980,10 @@ const serializeAws_restJson1GetCampaignDateRangeKpiCommand = async (input, conte
|
|
|
983
980
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CampaignId", () => input.CampaignId, "{CampaignId}", false);
|
|
984
981
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "KpiName", () => input.KpiName, "{KpiName}", false);
|
|
985
982
|
const query = map({
|
|
986
|
-
"end-time": [() => input.EndTime !== void 0, () =>
|
|
983
|
+
"end-time": [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
|
|
987
984
|
"next-token": [, input.NextToken],
|
|
988
985
|
"page-size": [, input.PageSize],
|
|
989
|
-
"start-time": [
|
|
990
|
-
() => input.StartTime !== void 0,
|
|
991
|
-
() => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
|
|
992
|
-
],
|
|
986
|
+
"start-time": [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
|
|
993
987
|
});
|
|
994
988
|
let body;
|
|
995
989
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1328,13 +1322,10 @@ const serializeAws_restJson1GetJourneyDateRangeKpiCommand = async (input, contex
|
|
|
1328
1322
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JourneyId", () => input.JourneyId, "{JourneyId}", false);
|
|
1329
1323
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "KpiName", () => input.KpiName, "{KpiName}", false);
|
|
1330
1324
|
const query = map({
|
|
1331
|
-
"end-time": [() => input.EndTime !== void 0, () =>
|
|
1325
|
+
"end-time": [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
|
|
1332
1326
|
"next-token": [, input.NextToken],
|
|
1333
1327
|
"page-size": [, input.PageSize],
|
|
1334
|
-
"start-time": [
|
|
1335
|
-
() => input.StartTime !== void 0,
|
|
1336
|
-
() => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
|
|
1337
|
-
],
|
|
1328
|
+
"start-time": [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
|
|
1338
1329
|
});
|
|
1339
1330
|
let body;
|
|
1340
1331
|
return new protocol_http_1.HttpRequest({
|
|
@@ -807,13 +807,10 @@ export const serializeAws_restJson1GetApplicationDateRangeKpiCommand = async (in
|
|
|
807
807
|
resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
808
808
|
resolvedPath = __resolvedPath(resolvedPath, input, "KpiName", () => input.KpiName, "{KpiName}", false);
|
|
809
809
|
const query = map({
|
|
810
|
-
"end-time": [() => input.EndTime !== void 0, () =>
|
|
810
|
+
"end-time": [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
|
|
811
811
|
"next-token": [, input.NextToken],
|
|
812
812
|
"page-size": [, input.PageSize],
|
|
813
|
-
"start-time": [
|
|
814
|
-
() => input.StartTime !== void 0,
|
|
815
|
-
() => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
|
|
816
|
-
],
|
|
813
|
+
"start-time": [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
|
|
817
814
|
});
|
|
818
815
|
let body;
|
|
819
816
|
return new __HttpRequest({
|
|
@@ -929,13 +926,10 @@ export const serializeAws_restJson1GetCampaignDateRangeKpiCommand = async (input
|
|
|
929
926
|
resolvedPath = __resolvedPath(resolvedPath, input, "CampaignId", () => input.CampaignId, "{CampaignId}", false);
|
|
930
927
|
resolvedPath = __resolvedPath(resolvedPath, input, "KpiName", () => input.KpiName, "{KpiName}", false);
|
|
931
928
|
const query = map({
|
|
932
|
-
"end-time": [() => input.EndTime !== void 0, () =>
|
|
929
|
+
"end-time": [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
|
|
933
930
|
"next-token": [, input.NextToken],
|
|
934
931
|
"page-size": [, input.PageSize],
|
|
935
|
-
"start-time": [
|
|
936
|
-
() => input.StartTime !== void 0,
|
|
937
|
-
() => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
|
|
938
|
-
],
|
|
932
|
+
"start-time": [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
|
|
939
933
|
});
|
|
940
934
|
let body;
|
|
941
935
|
return new __HttpRequest({
|
|
@@ -1257,13 +1251,10 @@ export const serializeAws_restJson1GetJourneyDateRangeKpiCommand = async (input,
|
|
|
1257
1251
|
resolvedPath = __resolvedPath(resolvedPath, input, "JourneyId", () => input.JourneyId, "{JourneyId}", false);
|
|
1258
1252
|
resolvedPath = __resolvedPath(resolvedPath, input, "KpiName", () => input.KpiName, "{KpiName}", false);
|
|
1259
1253
|
const query = map({
|
|
1260
|
-
"end-time": [() => input.EndTime !== void 0, () =>
|
|
1254
|
+
"end-time": [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
|
|
1261
1255
|
"next-token": [, input.NextToken],
|
|
1262
1256
|
"page-size": [, input.PageSize],
|
|
1263
|
-
"start-time": [
|
|
1264
|
-
() => input.StartTime !== void 0,
|
|
1265
|
-
() => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
|
|
1266
|
-
],
|
|
1257
|
+
"start-time": [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
|
|
1267
1258
|
});
|
|
1268
1259
|
let body;
|
|
1269
1260
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint 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 pinpoint"
|
|
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",
|