@aws-sdk/client-pinpoint 3.211.0 → 3.212.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.
- package/dist-cjs/protocols/Aws_restJson1.js +50 -100
- package/dist-es/protocols/Aws_restJson1.js +50 -100
- package/package.json +28 -28
|
@@ -9513,10 +9513,8 @@ const serializeAws_restJson1MapOf__double = (input, context) => {
|
|
|
9513
9513
|
if (value === null) {
|
|
9514
9514
|
return acc;
|
|
9515
9515
|
}
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
[key]: (0, smithy_client_1.serializeFloat)(value),
|
|
9519
|
-
};
|
|
9516
|
+
acc[key] = (0, smithy_client_1.serializeFloat)(value);
|
|
9517
|
+
return acc;
|
|
9520
9518
|
}, {});
|
|
9521
9519
|
};
|
|
9522
9520
|
const serializeAws_restJson1MapOf__string = (input, context) => {
|
|
@@ -9524,10 +9522,8 @@ const serializeAws_restJson1MapOf__string = (input, context) => {
|
|
|
9524
9522
|
if (value === null) {
|
|
9525
9523
|
return acc;
|
|
9526
9524
|
}
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
[key]: value,
|
|
9530
|
-
};
|
|
9525
|
+
acc[key] = value;
|
|
9526
|
+
return acc;
|
|
9531
9527
|
}, {});
|
|
9532
9528
|
};
|
|
9533
9529
|
const serializeAws_restJson1MapOfActivity = (input, context) => {
|
|
@@ -9535,10 +9531,8 @@ const serializeAws_restJson1MapOfActivity = (input, context) => {
|
|
|
9535
9531
|
if (value === null) {
|
|
9536
9532
|
return acc;
|
|
9537
9533
|
}
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
[key]: serializeAws_restJson1Activity(value, context),
|
|
9541
|
-
};
|
|
9534
|
+
acc[key] = serializeAws_restJson1Activity(value, context);
|
|
9535
|
+
return acc;
|
|
9542
9536
|
}, {});
|
|
9543
9537
|
};
|
|
9544
9538
|
const serializeAws_restJson1MapOfAddressConfiguration = (input, context) => {
|
|
@@ -9546,10 +9540,8 @@ const serializeAws_restJson1MapOfAddressConfiguration = (input, context) => {
|
|
|
9546
9540
|
if (value === null) {
|
|
9547
9541
|
return acc;
|
|
9548
9542
|
}
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
[key]: serializeAws_restJson1AddressConfiguration(value, context),
|
|
9552
|
-
};
|
|
9543
|
+
acc[key] = serializeAws_restJson1AddressConfiguration(value, context);
|
|
9544
|
+
return acc;
|
|
9553
9545
|
}, {});
|
|
9554
9546
|
};
|
|
9555
9547
|
const serializeAws_restJson1MapOfAttributeDimension = (input, context) => {
|
|
@@ -9557,10 +9549,8 @@ const serializeAws_restJson1MapOfAttributeDimension = (input, context) => {
|
|
|
9557
9549
|
if (value === null) {
|
|
9558
9550
|
return acc;
|
|
9559
9551
|
}
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
[key]: serializeAws_restJson1AttributeDimension(value, context),
|
|
9563
|
-
};
|
|
9552
|
+
acc[key] = serializeAws_restJson1AttributeDimension(value, context);
|
|
9553
|
+
return acc;
|
|
9564
9554
|
}, {});
|
|
9565
9555
|
};
|
|
9566
9556
|
const serializeAws_restJson1MapOfEndpointSendConfiguration = (input, context) => {
|
|
@@ -9568,10 +9558,8 @@ const serializeAws_restJson1MapOfEndpointSendConfiguration = (input, context) =>
|
|
|
9568
9558
|
if (value === null) {
|
|
9569
9559
|
return acc;
|
|
9570
9560
|
}
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
[key]: serializeAws_restJson1EndpointSendConfiguration(value, context),
|
|
9574
|
-
};
|
|
9561
|
+
acc[key] = serializeAws_restJson1EndpointSendConfiguration(value, context);
|
|
9562
|
+
return acc;
|
|
9575
9563
|
}, {});
|
|
9576
9564
|
};
|
|
9577
9565
|
const serializeAws_restJson1MapOfEvent = (input, context) => {
|
|
@@ -9579,10 +9567,8 @@ const serializeAws_restJson1MapOfEvent = (input, context) => {
|
|
|
9579
9567
|
if (value === null) {
|
|
9580
9568
|
return acc;
|
|
9581
9569
|
}
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
[key]: serializeAws_restJson1Event(value, context),
|
|
9585
|
-
};
|
|
9570
|
+
acc[key] = serializeAws_restJson1Event(value, context);
|
|
9571
|
+
return acc;
|
|
9586
9572
|
}, {});
|
|
9587
9573
|
};
|
|
9588
9574
|
const serializeAws_restJson1MapOfEventsBatch = (input, context) => {
|
|
@@ -9590,10 +9576,8 @@ const serializeAws_restJson1MapOfEventsBatch = (input, context) => {
|
|
|
9590
9576
|
if (value === null) {
|
|
9591
9577
|
return acc;
|
|
9592
9578
|
}
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
[key]: serializeAws_restJson1EventsBatch(value, context),
|
|
9596
|
-
};
|
|
9579
|
+
acc[key] = serializeAws_restJson1EventsBatch(value, context);
|
|
9580
|
+
return acc;
|
|
9597
9581
|
}, {});
|
|
9598
9582
|
};
|
|
9599
9583
|
const serializeAws_restJson1MapOfListOf__string = (input, context) => {
|
|
@@ -9601,10 +9585,8 @@ const serializeAws_restJson1MapOfListOf__string = (input, context) => {
|
|
|
9601
9585
|
if (value === null) {
|
|
9602
9586
|
return acc;
|
|
9603
9587
|
}
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
[key]: serializeAws_restJson1ListOf__string(value, context),
|
|
9607
|
-
};
|
|
9588
|
+
acc[key] = serializeAws_restJson1ListOf__string(value, context);
|
|
9589
|
+
return acc;
|
|
9608
9590
|
}, {});
|
|
9609
9591
|
};
|
|
9610
9592
|
const serializeAws_restJson1MapOfListOfOpenHoursRules = (input, context) => {
|
|
@@ -9612,10 +9594,8 @@ const serializeAws_restJson1MapOfListOfOpenHoursRules = (input, context) => {
|
|
|
9612
9594
|
if (value === null) {
|
|
9613
9595
|
return acc;
|
|
9614
9596
|
}
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
[key]: serializeAws_restJson1ListOfOpenHoursRules(value, context),
|
|
9618
|
-
};
|
|
9597
|
+
acc[key] = serializeAws_restJson1ListOfOpenHoursRules(value, context);
|
|
9598
|
+
return acc;
|
|
9619
9599
|
}, {});
|
|
9620
9600
|
};
|
|
9621
9601
|
const serializeAws_restJson1MapOfMetricDimension = (input, context) => {
|
|
@@ -9623,10 +9603,8 @@ const serializeAws_restJson1MapOfMetricDimension = (input, context) => {
|
|
|
9623
9603
|
if (value === null) {
|
|
9624
9604
|
return acc;
|
|
9625
9605
|
}
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
[key]: serializeAws_restJson1MetricDimension(value, context),
|
|
9629
|
-
};
|
|
9606
|
+
acc[key] = serializeAws_restJson1MetricDimension(value, context);
|
|
9607
|
+
return acc;
|
|
9630
9608
|
}, {});
|
|
9631
9609
|
};
|
|
9632
9610
|
const serializeAws_restJson1Message = (input, context) => {
|
|
@@ -11396,10 +11374,8 @@ const deserializeAws_restJson1MapOf__double = (output, context) => {
|
|
|
11396
11374
|
if (value === null) {
|
|
11397
11375
|
return acc;
|
|
11398
11376
|
}
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
[key]: (0, smithy_client_1.limitedParseDouble)(value),
|
|
11402
|
-
};
|
|
11377
|
+
acc[key] = (0, smithy_client_1.limitedParseDouble)(value);
|
|
11378
|
+
return acc;
|
|
11403
11379
|
}, {});
|
|
11404
11380
|
};
|
|
11405
11381
|
const deserializeAws_restJson1MapOf__integer = (output, context) => {
|
|
@@ -11407,10 +11383,8 @@ const deserializeAws_restJson1MapOf__integer = (output, context) => {
|
|
|
11407
11383
|
if (value === null) {
|
|
11408
11384
|
return acc;
|
|
11409
11385
|
}
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
11413
|
-
};
|
|
11386
|
+
acc[key] = (0, smithy_client_1.expectInt32)(value);
|
|
11387
|
+
return acc;
|
|
11414
11388
|
}, {});
|
|
11415
11389
|
};
|
|
11416
11390
|
const deserializeAws_restJson1MapOf__string = (output, context) => {
|
|
@@ -11418,10 +11392,8 @@ const deserializeAws_restJson1MapOf__string = (output, context) => {
|
|
|
11418
11392
|
if (value === null) {
|
|
11419
11393
|
return acc;
|
|
11420
11394
|
}
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
11424
|
-
};
|
|
11395
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
11396
|
+
return acc;
|
|
11425
11397
|
}, {});
|
|
11426
11398
|
};
|
|
11427
11399
|
const deserializeAws_restJson1MapOfActivity = (output, context) => {
|
|
@@ -11429,10 +11401,8 @@ const deserializeAws_restJson1MapOfActivity = (output, context) => {
|
|
|
11429
11401
|
if (value === null) {
|
|
11430
11402
|
return acc;
|
|
11431
11403
|
}
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
[key]: deserializeAws_restJson1Activity(value, context),
|
|
11435
|
-
};
|
|
11404
|
+
acc[key] = deserializeAws_restJson1Activity(value, context);
|
|
11405
|
+
return acc;
|
|
11436
11406
|
}, {});
|
|
11437
11407
|
};
|
|
11438
11408
|
const deserializeAws_restJson1MapOfAttributeDimension = (output, context) => {
|
|
@@ -11440,10 +11410,8 @@ const deserializeAws_restJson1MapOfAttributeDimension = (output, context) => {
|
|
|
11440
11410
|
if (value === null) {
|
|
11441
11411
|
return acc;
|
|
11442
11412
|
}
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
[key]: deserializeAws_restJson1AttributeDimension(value, context),
|
|
11446
|
-
};
|
|
11413
|
+
acc[key] = deserializeAws_restJson1AttributeDimension(value, context);
|
|
11414
|
+
return acc;
|
|
11447
11415
|
}, {});
|
|
11448
11416
|
};
|
|
11449
11417
|
const deserializeAws_restJson1MapOfChannelResponse = (output, context) => {
|
|
@@ -11451,10 +11419,8 @@ const deserializeAws_restJson1MapOfChannelResponse = (output, context) => {
|
|
|
11451
11419
|
if (value === null) {
|
|
11452
11420
|
return acc;
|
|
11453
11421
|
}
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
[key]: deserializeAws_restJson1ChannelResponse(value, context),
|
|
11457
|
-
};
|
|
11422
|
+
acc[key] = deserializeAws_restJson1ChannelResponse(value, context);
|
|
11423
|
+
return acc;
|
|
11458
11424
|
}, {});
|
|
11459
11425
|
};
|
|
11460
11426
|
const deserializeAws_restJson1MapOfEndpointMessageResult = (output, context) => {
|
|
@@ -11462,10 +11428,8 @@ const deserializeAws_restJson1MapOfEndpointMessageResult = (output, context) =>
|
|
|
11462
11428
|
if (value === null) {
|
|
11463
11429
|
return acc;
|
|
11464
11430
|
}
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
[key]: deserializeAws_restJson1EndpointMessageResult(value, context),
|
|
11468
|
-
};
|
|
11431
|
+
acc[key] = deserializeAws_restJson1EndpointMessageResult(value, context);
|
|
11432
|
+
return acc;
|
|
11469
11433
|
}, {});
|
|
11470
11434
|
};
|
|
11471
11435
|
const deserializeAws_restJson1MapOfEventItemResponse = (output, context) => {
|
|
@@ -11473,10 +11437,8 @@ const deserializeAws_restJson1MapOfEventItemResponse = (output, context) => {
|
|
|
11473
11437
|
if (value === null) {
|
|
11474
11438
|
return acc;
|
|
11475
11439
|
}
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
[key]: deserializeAws_restJson1EventItemResponse(value, context),
|
|
11479
|
-
};
|
|
11440
|
+
acc[key] = deserializeAws_restJson1EventItemResponse(value, context);
|
|
11441
|
+
return acc;
|
|
11480
11442
|
}, {});
|
|
11481
11443
|
};
|
|
11482
11444
|
const deserializeAws_restJson1MapOfItemResponse = (output, context) => {
|
|
@@ -11484,10 +11446,8 @@ const deserializeAws_restJson1MapOfItemResponse = (output, context) => {
|
|
|
11484
11446
|
if (value === null) {
|
|
11485
11447
|
return acc;
|
|
11486
11448
|
}
|
|
11487
|
-
|
|
11488
|
-
|
|
11489
|
-
[key]: deserializeAws_restJson1ItemResponse(value, context),
|
|
11490
|
-
};
|
|
11449
|
+
acc[key] = deserializeAws_restJson1ItemResponse(value, context);
|
|
11450
|
+
return acc;
|
|
11491
11451
|
}, {});
|
|
11492
11452
|
};
|
|
11493
11453
|
const deserializeAws_restJson1MapOfListOf__string = (output, context) => {
|
|
@@ -11495,10 +11455,8 @@ const deserializeAws_restJson1MapOfListOf__string = (output, context) => {
|
|
|
11495
11455
|
if (value === null) {
|
|
11496
11456
|
return acc;
|
|
11497
11457
|
}
|
|
11498
|
-
|
|
11499
|
-
|
|
11500
|
-
[key]: deserializeAws_restJson1ListOf__string(value, context),
|
|
11501
|
-
};
|
|
11458
|
+
acc[key] = deserializeAws_restJson1ListOf__string(value, context);
|
|
11459
|
+
return acc;
|
|
11502
11460
|
}, {});
|
|
11503
11461
|
};
|
|
11504
11462
|
const deserializeAws_restJson1MapOfListOfOpenHoursRules = (output, context) => {
|
|
@@ -11506,10 +11464,8 @@ const deserializeAws_restJson1MapOfListOfOpenHoursRules = (output, context) => {
|
|
|
11506
11464
|
if (value === null) {
|
|
11507
11465
|
return acc;
|
|
11508
11466
|
}
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
[key]: deserializeAws_restJson1ListOfOpenHoursRules(value, context),
|
|
11512
|
-
};
|
|
11467
|
+
acc[key] = deserializeAws_restJson1ListOfOpenHoursRules(value, context);
|
|
11468
|
+
return acc;
|
|
11513
11469
|
}, {});
|
|
11514
11470
|
};
|
|
11515
11471
|
const deserializeAws_restJson1MapOfMapOfEndpointMessageResult = (output, context) => {
|
|
@@ -11517,10 +11473,8 @@ const deserializeAws_restJson1MapOfMapOfEndpointMessageResult = (output, context
|
|
|
11517
11473
|
if (value === null) {
|
|
11518
11474
|
return acc;
|
|
11519
11475
|
}
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
[key]: deserializeAws_restJson1MapOfEndpointMessageResult(value, context),
|
|
11523
|
-
};
|
|
11476
|
+
acc[key] = deserializeAws_restJson1MapOfEndpointMessageResult(value, context);
|
|
11477
|
+
return acc;
|
|
11524
11478
|
}, {});
|
|
11525
11479
|
};
|
|
11526
11480
|
const deserializeAws_restJson1MapOfMessageResult = (output, context) => {
|
|
@@ -11528,10 +11482,8 @@ const deserializeAws_restJson1MapOfMessageResult = (output, context) => {
|
|
|
11528
11482
|
if (value === null) {
|
|
11529
11483
|
return acc;
|
|
11530
11484
|
}
|
|
11531
|
-
|
|
11532
|
-
|
|
11533
|
-
[key]: deserializeAws_restJson1MessageResult(value, context),
|
|
11534
|
-
};
|
|
11485
|
+
acc[key] = deserializeAws_restJson1MessageResult(value, context);
|
|
11486
|
+
return acc;
|
|
11535
11487
|
}, {});
|
|
11536
11488
|
};
|
|
11537
11489
|
const deserializeAws_restJson1MapOfMetricDimension = (output, context) => {
|
|
@@ -11539,10 +11491,8 @@ const deserializeAws_restJson1MapOfMetricDimension = (output, context) => {
|
|
|
11539
11491
|
if (value === null) {
|
|
11540
11492
|
return acc;
|
|
11541
11493
|
}
|
|
11542
|
-
|
|
11543
|
-
|
|
11544
|
-
[key]: deserializeAws_restJson1MetricDimension(value, context),
|
|
11545
|
-
};
|
|
11494
|
+
acc[key] = deserializeAws_restJson1MetricDimension(value, context);
|
|
11495
|
+
return acc;
|
|
11546
11496
|
}, {});
|
|
11547
11497
|
};
|
|
11548
11498
|
const deserializeAws_restJson1Message = (output, context) => {
|
|
@@ -9268,10 +9268,8 @@ const serializeAws_restJson1MapOf__double = (input, context) => {
|
|
|
9268
9268
|
if (value === null) {
|
|
9269
9269
|
return acc;
|
|
9270
9270
|
}
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
[key]: __serializeFloat(value),
|
|
9274
|
-
};
|
|
9271
|
+
acc[key] = __serializeFloat(value);
|
|
9272
|
+
return acc;
|
|
9275
9273
|
}, {});
|
|
9276
9274
|
};
|
|
9277
9275
|
const serializeAws_restJson1MapOf__string = (input, context) => {
|
|
@@ -9279,10 +9277,8 @@ const serializeAws_restJson1MapOf__string = (input, context) => {
|
|
|
9279
9277
|
if (value === null) {
|
|
9280
9278
|
return acc;
|
|
9281
9279
|
}
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
[key]: value,
|
|
9285
|
-
};
|
|
9280
|
+
acc[key] = value;
|
|
9281
|
+
return acc;
|
|
9286
9282
|
}, {});
|
|
9287
9283
|
};
|
|
9288
9284
|
const serializeAws_restJson1MapOfActivity = (input, context) => {
|
|
@@ -9290,10 +9286,8 @@ const serializeAws_restJson1MapOfActivity = (input, context) => {
|
|
|
9290
9286
|
if (value === null) {
|
|
9291
9287
|
return acc;
|
|
9292
9288
|
}
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
[key]: serializeAws_restJson1Activity(value, context),
|
|
9296
|
-
};
|
|
9289
|
+
acc[key] = serializeAws_restJson1Activity(value, context);
|
|
9290
|
+
return acc;
|
|
9297
9291
|
}, {});
|
|
9298
9292
|
};
|
|
9299
9293
|
const serializeAws_restJson1MapOfAddressConfiguration = (input, context) => {
|
|
@@ -9301,10 +9295,8 @@ const serializeAws_restJson1MapOfAddressConfiguration = (input, context) => {
|
|
|
9301
9295
|
if (value === null) {
|
|
9302
9296
|
return acc;
|
|
9303
9297
|
}
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
[key]: serializeAws_restJson1AddressConfiguration(value, context),
|
|
9307
|
-
};
|
|
9298
|
+
acc[key] = serializeAws_restJson1AddressConfiguration(value, context);
|
|
9299
|
+
return acc;
|
|
9308
9300
|
}, {});
|
|
9309
9301
|
};
|
|
9310
9302
|
const serializeAws_restJson1MapOfAttributeDimension = (input, context) => {
|
|
@@ -9312,10 +9304,8 @@ const serializeAws_restJson1MapOfAttributeDimension = (input, context) => {
|
|
|
9312
9304
|
if (value === null) {
|
|
9313
9305
|
return acc;
|
|
9314
9306
|
}
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
[key]: serializeAws_restJson1AttributeDimension(value, context),
|
|
9318
|
-
};
|
|
9307
|
+
acc[key] = serializeAws_restJson1AttributeDimension(value, context);
|
|
9308
|
+
return acc;
|
|
9319
9309
|
}, {});
|
|
9320
9310
|
};
|
|
9321
9311
|
const serializeAws_restJson1MapOfEndpointSendConfiguration = (input, context) => {
|
|
@@ -9323,10 +9313,8 @@ const serializeAws_restJson1MapOfEndpointSendConfiguration = (input, context) =>
|
|
|
9323
9313
|
if (value === null) {
|
|
9324
9314
|
return acc;
|
|
9325
9315
|
}
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
[key]: serializeAws_restJson1EndpointSendConfiguration(value, context),
|
|
9329
|
-
};
|
|
9316
|
+
acc[key] = serializeAws_restJson1EndpointSendConfiguration(value, context);
|
|
9317
|
+
return acc;
|
|
9330
9318
|
}, {});
|
|
9331
9319
|
};
|
|
9332
9320
|
const serializeAws_restJson1MapOfEvent = (input, context) => {
|
|
@@ -9334,10 +9322,8 @@ const serializeAws_restJson1MapOfEvent = (input, context) => {
|
|
|
9334
9322
|
if (value === null) {
|
|
9335
9323
|
return acc;
|
|
9336
9324
|
}
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
[key]: serializeAws_restJson1Event(value, context),
|
|
9340
|
-
};
|
|
9325
|
+
acc[key] = serializeAws_restJson1Event(value, context);
|
|
9326
|
+
return acc;
|
|
9341
9327
|
}, {});
|
|
9342
9328
|
};
|
|
9343
9329
|
const serializeAws_restJson1MapOfEventsBatch = (input, context) => {
|
|
@@ -9345,10 +9331,8 @@ const serializeAws_restJson1MapOfEventsBatch = (input, context) => {
|
|
|
9345
9331
|
if (value === null) {
|
|
9346
9332
|
return acc;
|
|
9347
9333
|
}
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
[key]: serializeAws_restJson1EventsBatch(value, context),
|
|
9351
|
-
};
|
|
9334
|
+
acc[key] = serializeAws_restJson1EventsBatch(value, context);
|
|
9335
|
+
return acc;
|
|
9352
9336
|
}, {});
|
|
9353
9337
|
};
|
|
9354
9338
|
const serializeAws_restJson1MapOfListOf__string = (input, context) => {
|
|
@@ -9356,10 +9340,8 @@ const serializeAws_restJson1MapOfListOf__string = (input, context) => {
|
|
|
9356
9340
|
if (value === null) {
|
|
9357
9341
|
return acc;
|
|
9358
9342
|
}
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
[key]: serializeAws_restJson1ListOf__string(value, context),
|
|
9362
|
-
};
|
|
9343
|
+
acc[key] = serializeAws_restJson1ListOf__string(value, context);
|
|
9344
|
+
return acc;
|
|
9363
9345
|
}, {});
|
|
9364
9346
|
};
|
|
9365
9347
|
const serializeAws_restJson1MapOfListOfOpenHoursRules = (input, context) => {
|
|
@@ -9367,10 +9349,8 @@ const serializeAws_restJson1MapOfListOfOpenHoursRules = (input, context) => {
|
|
|
9367
9349
|
if (value === null) {
|
|
9368
9350
|
return acc;
|
|
9369
9351
|
}
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
[key]: serializeAws_restJson1ListOfOpenHoursRules(value, context),
|
|
9373
|
-
};
|
|
9352
|
+
acc[key] = serializeAws_restJson1ListOfOpenHoursRules(value, context);
|
|
9353
|
+
return acc;
|
|
9374
9354
|
}, {});
|
|
9375
9355
|
};
|
|
9376
9356
|
const serializeAws_restJson1MapOfMetricDimension = (input, context) => {
|
|
@@ -9378,10 +9358,8 @@ const serializeAws_restJson1MapOfMetricDimension = (input, context) => {
|
|
|
9378
9358
|
if (value === null) {
|
|
9379
9359
|
return acc;
|
|
9380
9360
|
}
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
[key]: serializeAws_restJson1MetricDimension(value, context),
|
|
9384
|
-
};
|
|
9361
|
+
acc[key] = serializeAws_restJson1MetricDimension(value, context);
|
|
9362
|
+
return acc;
|
|
9385
9363
|
}, {});
|
|
9386
9364
|
};
|
|
9387
9365
|
const serializeAws_restJson1Message = (input, context) => {
|
|
@@ -11151,10 +11129,8 @@ const deserializeAws_restJson1MapOf__double = (output, context) => {
|
|
|
11151
11129
|
if (value === null) {
|
|
11152
11130
|
return acc;
|
|
11153
11131
|
}
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
[key]: __limitedParseDouble(value),
|
|
11157
|
-
};
|
|
11132
|
+
acc[key] = __limitedParseDouble(value);
|
|
11133
|
+
return acc;
|
|
11158
11134
|
}, {});
|
|
11159
11135
|
};
|
|
11160
11136
|
const deserializeAws_restJson1MapOf__integer = (output, context) => {
|
|
@@ -11162,10 +11138,8 @@ const deserializeAws_restJson1MapOf__integer = (output, context) => {
|
|
|
11162
11138
|
if (value === null) {
|
|
11163
11139
|
return acc;
|
|
11164
11140
|
}
|
|
11165
|
-
|
|
11166
|
-
|
|
11167
|
-
[key]: __expectInt32(value),
|
|
11168
|
-
};
|
|
11141
|
+
acc[key] = __expectInt32(value);
|
|
11142
|
+
return acc;
|
|
11169
11143
|
}, {});
|
|
11170
11144
|
};
|
|
11171
11145
|
const deserializeAws_restJson1MapOf__string = (output, context) => {
|
|
@@ -11173,10 +11147,8 @@ const deserializeAws_restJson1MapOf__string = (output, context) => {
|
|
|
11173
11147
|
if (value === null) {
|
|
11174
11148
|
return acc;
|
|
11175
11149
|
}
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
[key]: __expectString(value),
|
|
11179
|
-
};
|
|
11150
|
+
acc[key] = __expectString(value);
|
|
11151
|
+
return acc;
|
|
11180
11152
|
}, {});
|
|
11181
11153
|
};
|
|
11182
11154
|
const deserializeAws_restJson1MapOfActivity = (output, context) => {
|
|
@@ -11184,10 +11156,8 @@ const deserializeAws_restJson1MapOfActivity = (output, context) => {
|
|
|
11184
11156
|
if (value === null) {
|
|
11185
11157
|
return acc;
|
|
11186
11158
|
}
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
[key]: deserializeAws_restJson1Activity(value, context),
|
|
11190
|
-
};
|
|
11159
|
+
acc[key] = deserializeAws_restJson1Activity(value, context);
|
|
11160
|
+
return acc;
|
|
11191
11161
|
}, {});
|
|
11192
11162
|
};
|
|
11193
11163
|
const deserializeAws_restJson1MapOfAttributeDimension = (output, context) => {
|
|
@@ -11195,10 +11165,8 @@ const deserializeAws_restJson1MapOfAttributeDimension = (output, context) => {
|
|
|
11195
11165
|
if (value === null) {
|
|
11196
11166
|
return acc;
|
|
11197
11167
|
}
|
|
11198
|
-
|
|
11199
|
-
|
|
11200
|
-
[key]: deserializeAws_restJson1AttributeDimension(value, context),
|
|
11201
|
-
};
|
|
11168
|
+
acc[key] = deserializeAws_restJson1AttributeDimension(value, context);
|
|
11169
|
+
return acc;
|
|
11202
11170
|
}, {});
|
|
11203
11171
|
};
|
|
11204
11172
|
const deserializeAws_restJson1MapOfChannelResponse = (output, context) => {
|
|
@@ -11206,10 +11174,8 @@ const deserializeAws_restJson1MapOfChannelResponse = (output, context) => {
|
|
|
11206
11174
|
if (value === null) {
|
|
11207
11175
|
return acc;
|
|
11208
11176
|
}
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
[key]: deserializeAws_restJson1ChannelResponse(value, context),
|
|
11212
|
-
};
|
|
11177
|
+
acc[key] = deserializeAws_restJson1ChannelResponse(value, context);
|
|
11178
|
+
return acc;
|
|
11213
11179
|
}, {});
|
|
11214
11180
|
};
|
|
11215
11181
|
const deserializeAws_restJson1MapOfEndpointMessageResult = (output, context) => {
|
|
@@ -11217,10 +11183,8 @@ const deserializeAws_restJson1MapOfEndpointMessageResult = (output, context) =>
|
|
|
11217
11183
|
if (value === null) {
|
|
11218
11184
|
return acc;
|
|
11219
11185
|
}
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
[key]: deserializeAws_restJson1EndpointMessageResult(value, context),
|
|
11223
|
-
};
|
|
11186
|
+
acc[key] = deserializeAws_restJson1EndpointMessageResult(value, context);
|
|
11187
|
+
return acc;
|
|
11224
11188
|
}, {});
|
|
11225
11189
|
};
|
|
11226
11190
|
const deserializeAws_restJson1MapOfEventItemResponse = (output, context) => {
|
|
@@ -11228,10 +11192,8 @@ const deserializeAws_restJson1MapOfEventItemResponse = (output, context) => {
|
|
|
11228
11192
|
if (value === null) {
|
|
11229
11193
|
return acc;
|
|
11230
11194
|
}
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
|
-
[key]: deserializeAws_restJson1EventItemResponse(value, context),
|
|
11234
|
-
};
|
|
11195
|
+
acc[key] = deserializeAws_restJson1EventItemResponse(value, context);
|
|
11196
|
+
return acc;
|
|
11235
11197
|
}, {});
|
|
11236
11198
|
};
|
|
11237
11199
|
const deserializeAws_restJson1MapOfItemResponse = (output, context) => {
|
|
@@ -11239,10 +11201,8 @@ const deserializeAws_restJson1MapOfItemResponse = (output, context) => {
|
|
|
11239
11201
|
if (value === null) {
|
|
11240
11202
|
return acc;
|
|
11241
11203
|
}
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
[key]: deserializeAws_restJson1ItemResponse(value, context),
|
|
11245
|
-
};
|
|
11204
|
+
acc[key] = deserializeAws_restJson1ItemResponse(value, context);
|
|
11205
|
+
return acc;
|
|
11246
11206
|
}, {});
|
|
11247
11207
|
};
|
|
11248
11208
|
const deserializeAws_restJson1MapOfListOf__string = (output, context) => {
|
|
@@ -11250,10 +11210,8 @@ const deserializeAws_restJson1MapOfListOf__string = (output, context) => {
|
|
|
11250
11210
|
if (value === null) {
|
|
11251
11211
|
return acc;
|
|
11252
11212
|
}
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
[key]: deserializeAws_restJson1ListOf__string(value, context),
|
|
11256
|
-
};
|
|
11213
|
+
acc[key] = deserializeAws_restJson1ListOf__string(value, context);
|
|
11214
|
+
return acc;
|
|
11257
11215
|
}, {});
|
|
11258
11216
|
};
|
|
11259
11217
|
const deserializeAws_restJson1MapOfListOfOpenHoursRules = (output, context) => {
|
|
@@ -11261,10 +11219,8 @@ const deserializeAws_restJson1MapOfListOfOpenHoursRules = (output, context) => {
|
|
|
11261
11219
|
if (value === null) {
|
|
11262
11220
|
return acc;
|
|
11263
11221
|
}
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
[key]: deserializeAws_restJson1ListOfOpenHoursRules(value, context),
|
|
11267
|
-
};
|
|
11222
|
+
acc[key] = deserializeAws_restJson1ListOfOpenHoursRules(value, context);
|
|
11223
|
+
return acc;
|
|
11268
11224
|
}, {});
|
|
11269
11225
|
};
|
|
11270
11226
|
const deserializeAws_restJson1MapOfMapOfEndpointMessageResult = (output, context) => {
|
|
@@ -11272,10 +11228,8 @@ const deserializeAws_restJson1MapOfMapOfEndpointMessageResult = (output, context
|
|
|
11272
11228
|
if (value === null) {
|
|
11273
11229
|
return acc;
|
|
11274
11230
|
}
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
[key]: deserializeAws_restJson1MapOfEndpointMessageResult(value, context),
|
|
11278
|
-
};
|
|
11231
|
+
acc[key] = deserializeAws_restJson1MapOfEndpointMessageResult(value, context);
|
|
11232
|
+
return acc;
|
|
11279
11233
|
}, {});
|
|
11280
11234
|
};
|
|
11281
11235
|
const deserializeAws_restJson1MapOfMessageResult = (output, context) => {
|
|
@@ -11283,10 +11237,8 @@ const deserializeAws_restJson1MapOfMessageResult = (output, context) => {
|
|
|
11283
11237
|
if (value === null) {
|
|
11284
11238
|
return acc;
|
|
11285
11239
|
}
|
|
11286
|
-
|
|
11287
|
-
|
|
11288
|
-
[key]: deserializeAws_restJson1MessageResult(value, context),
|
|
11289
|
-
};
|
|
11240
|
+
acc[key] = deserializeAws_restJson1MessageResult(value, context);
|
|
11241
|
+
return acc;
|
|
11290
11242
|
}, {});
|
|
11291
11243
|
};
|
|
11292
11244
|
const deserializeAws_restJson1MapOfMetricDimension = (output, context) => {
|
|
@@ -11294,10 +11246,8 @@ const deserializeAws_restJson1MapOfMetricDimension = (output, context) => {
|
|
|
11294
11246
|
if (value === null) {
|
|
11295
11247
|
return acc;
|
|
11296
11248
|
}
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
[key]: deserializeAws_restJson1MetricDimension(value, context),
|
|
11300
|
-
};
|
|
11249
|
+
acc[key] = deserializeAws_restJson1MetricDimension(value, context);
|
|
11250
|
+
return acc;
|
|
11301
11251
|
}, {});
|
|
11302
11252
|
};
|
|
11303
11253
|
const deserializeAws_restJson1Message = (output, context) => {
|
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.212.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",
|
|
@@ -19,36 +19,36 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.212.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
42
|
+
"@aws-sdk/types": "3.212.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
54
|
"tslib": "^2.3.1"
|