@aws-sdk/client-pinpoint 3.261.0 → 3.264.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.
|
@@ -10329,11 +10329,11 @@ const deserializeAws_restJson1APNSVoipSandboxChannelResponse = (output, context)
|
|
|
10329
10329
|
const deserializeAws_restJson1ApplicationDateRangeKpiResponse = (output, context) => {
|
|
10330
10330
|
return {
|
|
10331
10331
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
10332
|
-
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10332
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.EndTime)) : undefined,
|
|
10333
10333
|
KpiName: (0, smithy_client_1.expectString)(output.KpiName),
|
|
10334
10334
|
KpiResult: output.KpiResult != null ? deserializeAws_restJson1BaseKpiResult(output.KpiResult, context) : undefined,
|
|
10335
10335
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
10336
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10336
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartTime)) : undefined,
|
|
10337
10337
|
};
|
|
10338
10338
|
};
|
|
10339
10339
|
const deserializeAws_restJson1ApplicationResponse = (output, context) => {
|
|
@@ -10402,11 +10402,11 @@ const deserializeAws_restJson1CampaignDateRangeKpiResponse = (output, context) =
|
|
|
10402
10402
|
return {
|
|
10403
10403
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
10404
10404
|
CampaignId: (0, smithy_client_1.expectString)(output.CampaignId),
|
|
10405
|
-
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10405
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.EndTime)) : undefined,
|
|
10406
10406
|
KpiName: (0, smithy_client_1.expectString)(output.KpiName),
|
|
10407
10407
|
KpiResult: output.KpiResult != null ? deserializeAws_restJson1BaseKpiResult(output.KpiResult, context) : undefined,
|
|
10408
10408
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
10409
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10409
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartTime)) : undefined,
|
|
10410
10410
|
};
|
|
10411
10411
|
};
|
|
10412
10412
|
const deserializeAws_restJson1CampaignEmailMessage = (output, context) => {
|
|
@@ -10983,12 +10983,12 @@ const deserializeAws_restJson1JourneyCustomMessage = (output, context) => {
|
|
|
10983
10983
|
const deserializeAws_restJson1JourneyDateRangeKpiResponse = (output, context) => {
|
|
10984
10984
|
return {
|
|
10985
10985
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
10986
|
-
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10986
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.EndTime)) : undefined,
|
|
10987
10987
|
JourneyId: (0, smithy_client_1.expectString)(output.JourneyId),
|
|
10988
10988
|
KpiName: (0, smithy_client_1.expectString)(output.KpiName),
|
|
10989
10989
|
KpiResult: output.KpiResult != null ? deserializeAws_restJson1BaseKpiResult(output.KpiResult, context) : undefined,
|
|
10990
10990
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
10991
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10991
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartTime)) : undefined,
|
|
10992
10992
|
};
|
|
10993
10993
|
};
|
|
10994
10994
|
const deserializeAws_restJson1JourneyEmailMessage = (output, context) => {
|
|
@@ -11058,8 +11058,8 @@ const deserializeAws_restJson1JourneyResponse = (output, context) => {
|
|
|
11058
11058
|
};
|
|
11059
11059
|
const deserializeAws_restJson1JourneySchedule = (output, context) => {
|
|
11060
11060
|
return {
|
|
11061
|
-
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11062
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11061
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.EndTime)) : undefined,
|
|
11062
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartTime)) : undefined,
|
|
11063
11063
|
Timezone: (0, smithy_client_1.expectString)(output.Timezone),
|
|
11064
11064
|
};
|
|
11065
11065
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, MethodNotAllowedException, NotFoundException, PayloadTooLargeException, TooManyRequestsException, } from "../models/models_0";
|
|
4
4
|
import { PinpointServiceException as __BaseException } from "../models/PinpointServiceException";
|
|
5
5
|
export const serializeAws_restJson1CreateAppCommand = async (input, context) => {
|
|
@@ -10084,11 +10084,11 @@ const deserializeAws_restJson1APNSVoipSandboxChannelResponse = (output, context)
|
|
|
10084
10084
|
const deserializeAws_restJson1ApplicationDateRangeKpiResponse = (output, context) => {
|
|
10085
10085
|
return {
|
|
10086
10086
|
ApplicationId: __expectString(output.ApplicationId),
|
|
10087
|
-
EndTime: output.EndTime != null ? __expectNonNull(
|
|
10087
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.EndTime)) : undefined,
|
|
10088
10088
|
KpiName: __expectString(output.KpiName),
|
|
10089
10089
|
KpiResult: output.KpiResult != null ? deserializeAws_restJson1BaseKpiResult(output.KpiResult, context) : undefined,
|
|
10090
10090
|
NextToken: __expectString(output.NextToken),
|
|
10091
|
-
StartTime: output.StartTime != null ? __expectNonNull(
|
|
10091
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.StartTime)) : undefined,
|
|
10092
10092
|
};
|
|
10093
10093
|
};
|
|
10094
10094
|
const deserializeAws_restJson1ApplicationResponse = (output, context) => {
|
|
@@ -10157,11 +10157,11 @@ const deserializeAws_restJson1CampaignDateRangeKpiResponse = (output, context) =
|
|
|
10157
10157
|
return {
|
|
10158
10158
|
ApplicationId: __expectString(output.ApplicationId),
|
|
10159
10159
|
CampaignId: __expectString(output.CampaignId),
|
|
10160
|
-
EndTime: output.EndTime != null ? __expectNonNull(
|
|
10160
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.EndTime)) : undefined,
|
|
10161
10161
|
KpiName: __expectString(output.KpiName),
|
|
10162
10162
|
KpiResult: output.KpiResult != null ? deserializeAws_restJson1BaseKpiResult(output.KpiResult, context) : undefined,
|
|
10163
10163
|
NextToken: __expectString(output.NextToken),
|
|
10164
|
-
StartTime: output.StartTime != null ? __expectNonNull(
|
|
10164
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.StartTime)) : undefined,
|
|
10165
10165
|
};
|
|
10166
10166
|
};
|
|
10167
10167
|
const deserializeAws_restJson1CampaignEmailMessage = (output, context) => {
|
|
@@ -10738,12 +10738,12 @@ const deserializeAws_restJson1JourneyCustomMessage = (output, context) => {
|
|
|
10738
10738
|
const deserializeAws_restJson1JourneyDateRangeKpiResponse = (output, context) => {
|
|
10739
10739
|
return {
|
|
10740
10740
|
ApplicationId: __expectString(output.ApplicationId),
|
|
10741
|
-
EndTime: output.EndTime != null ? __expectNonNull(
|
|
10741
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.EndTime)) : undefined,
|
|
10742
10742
|
JourneyId: __expectString(output.JourneyId),
|
|
10743
10743
|
KpiName: __expectString(output.KpiName),
|
|
10744
10744
|
KpiResult: output.KpiResult != null ? deserializeAws_restJson1BaseKpiResult(output.KpiResult, context) : undefined,
|
|
10745
10745
|
NextToken: __expectString(output.NextToken),
|
|
10746
|
-
StartTime: output.StartTime != null ? __expectNonNull(
|
|
10746
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.StartTime)) : undefined,
|
|
10747
10747
|
};
|
|
10748
10748
|
};
|
|
10749
10749
|
const deserializeAws_restJson1JourneyEmailMessage = (output, context) => {
|
|
@@ -10813,8 +10813,8 @@ const deserializeAws_restJson1JourneyResponse = (output, context) => {
|
|
|
10813
10813
|
};
|
|
10814
10814
|
const deserializeAws_restJson1JourneySchedule = (output, context) => {
|
|
10815
10815
|
return {
|
|
10816
|
-
EndTime: output.EndTime != null ? __expectNonNull(
|
|
10817
|
-
StartTime: output.StartTime != null ? __expectNonNull(
|
|
10816
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.EndTime)) : undefined,
|
|
10817
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.StartTime)) : undefined,
|
|
10818
10818
|
Timezone: __expectString(output.Timezone),
|
|
10819
10819
|
};
|
|
10820
10820
|
};
|
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.264.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",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.264.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.264.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.264.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|