@aws-sdk/client-pinpoint-email 3.523.0 → 3.529.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/index.js +23 -63
- package/dist-es/protocols/Aws_restJson1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/PinpointEmail.js +0 -1
- package/dist-cjs/PinpointEmailClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +0 -1
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +0 -1
- package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +0 -1
- package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +0 -1
- package/dist-cjs/commands/CreateEmailIdentityCommand.js +0 -1
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +0 -1
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +0 -1
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +0 -1
- package/dist-cjs/commands/GetAccountCommand.js +0 -1
- package/dist-cjs/commands/GetBlacklistReportsCommand.js +0 -1
- package/dist-cjs/commands/GetConfigurationSetCommand.js +0 -1
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +0 -1
- package/dist-cjs/commands/GetDedicatedIpCommand.js +0 -1
- package/dist-cjs/commands/GetDedicatedIpsCommand.js +0 -1
- package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +0 -1
- package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +0 -1
- package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +0 -1
- package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +0 -1
- package/dist-cjs/commands/GetEmailIdentityCommand.js +0 -1
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +0 -1
- package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +0 -1
- package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +0 -1
- package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +0 -1
- package/dist-cjs/commands/ListEmailIdentitiesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +0 -1
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +0 -1
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +0 -1
- package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +0 -1
- package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +0 -1
- package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +0 -1
- package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +0 -1
- package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +0 -1
- package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +0 -1
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +0 -1
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +0 -1
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +0 -1
- package/dist-cjs/commands/SendEmailCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/PinpointEmailServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetDedicatedIpsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListConfigurationSetsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDedicatedIpPoolsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDeliverabilityTestReportsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js +0 -1
- package/dist-cjs/pagination/ListEmailIdentitiesPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -249,6 +249,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
249
249
|
var import_types = require("@smithy/types");
|
|
250
250
|
|
|
251
251
|
// src/protocols/Aws_restJson1.ts
|
|
252
|
+
var import_core2 = require("@aws-sdk/core");
|
|
252
253
|
|
|
253
254
|
|
|
254
255
|
|
|
@@ -1117,7 +1118,7 @@ var de_CreateDeliverabilityTestReportCommand = /* @__PURE__ */ __name(async (out
|
|
|
1117
1118
|
const contents = (0, import_smithy_client.map)({
|
|
1118
1119
|
$metadata: deserializeMetadata(output)
|
|
1119
1120
|
});
|
|
1120
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1121
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1121
1122
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1122
1123
|
DeliverabilityTestStatus: import_smithy_client.expectString,
|
|
1123
1124
|
ReportId: import_smithy_client.expectString
|
|
@@ -1132,7 +1133,7 @@ var de_CreateEmailIdentityCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1132
1133
|
const contents = (0, import_smithy_client.map)({
|
|
1133
1134
|
$metadata: deserializeMetadata(output)
|
|
1134
1135
|
});
|
|
1135
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1136
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1136
1137
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1137
1138
|
DkimAttributes: import_smithy_client._json,
|
|
1138
1139
|
IdentityType: import_smithy_client.expectString,
|
|
@@ -1188,7 +1189,7 @@ var de_GetAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1188
1189
|
const contents = (0, import_smithy_client.map)({
|
|
1189
1190
|
$metadata: deserializeMetadata(output)
|
|
1190
1191
|
});
|
|
1191
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1192
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1192
1193
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1193
1194
|
DedicatedIpAutoWarmupEnabled: import_smithy_client.expectBoolean,
|
|
1194
1195
|
EnforcementStatus: import_smithy_client.expectString,
|
|
@@ -1206,7 +1207,7 @@ var de_GetBlacklistReportsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1206
1207
|
const contents = (0, import_smithy_client.map)({
|
|
1207
1208
|
$metadata: deserializeMetadata(output)
|
|
1208
1209
|
});
|
|
1209
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1210
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1210
1211
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1211
1212
|
BlacklistReport: (_) => de_BlacklistReport(_, context)
|
|
1212
1213
|
});
|
|
@@ -1220,7 +1221,7 @@ var de_GetConfigurationSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1220
1221
|
const contents = (0, import_smithy_client.map)({
|
|
1221
1222
|
$metadata: deserializeMetadata(output)
|
|
1222
1223
|
});
|
|
1223
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1224
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1224
1225
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1225
1226
|
ConfigurationSetName: import_smithy_client.expectString,
|
|
1226
1227
|
DeliveryOptions: import_smithy_client._json,
|
|
@@ -1239,7 +1240,7 @@ var de_GetConfigurationSetEventDestinationsCommand = /* @__PURE__ */ __name(asyn
|
|
|
1239
1240
|
const contents = (0, import_smithy_client.map)({
|
|
1240
1241
|
$metadata: deserializeMetadata(output)
|
|
1241
1242
|
});
|
|
1242
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1243
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1243
1244
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1244
1245
|
EventDestinations: import_smithy_client._json
|
|
1245
1246
|
});
|
|
@@ -1253,7 +1254,7 @@ var de_GetDedicatedIpCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1253
1254
|
const contents = (0, import_smithy_client.map)({
|
|
1254
1255
|
$metadata: deserializeMetadata(output)
|
|
1255
1256
|
});
|
|
1256
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1257
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1257
1258
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1258
1259
|
DedicatedIp: import_smithy_client._json
|
|
1259
1260
|
});
|
|
@@ -1267,7 +1268,7 @@ var de_GetDedicatedIpsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1267
1268
|
const contents = (0, import_smithy_client.map)({
|
|
1268
1269
|
$metadata: deserializeMetadata(output)
|
|
1269
1270
|
});
|
|
1270
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1271
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1271
1272
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1272
1273
|
DedicatedIps: import_smithy_client._json,
|
|
1273
1274
|
NextToken: import_smithy_client.expectString
|
|
@@ -1282,7 +1283,7 @@ var de_GetDeliverabilityDashboardOptionsCommand = /* @__PURE__ */ __name(async (
|
|
|
1282
1283
|
const contents = (0, import_smithy_client.map)({
|
|
1283
1284
|
$metadata: deserializeMetadata(output)
|
|
1284
1285
|
});
|
|
1285
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1286
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1286
1287
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1287
1288
|
AccountStatus: import_smithy_client.expectString,
|
|
1288
1289
|
ActiveSubscribedDomains: (_) => de_DomainDeliverabilityTrackingOptions(_, context),
|
|
@@ -1300,7 +1301,7 @@ var de_GetDeliverabilityTestReportCommand = /* @__PURE__ */ __name(async (output
|
|
|
1300
1301
|
const contents = (0, import_smithy_client.map)({
|
|
1301
1302
|
$metadata: deserializeMetadata(output)
|
|
1302
1303
|
});
|
|
1303
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1304
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1304
1305
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1305
1306
|
DeliverabilityTestReport: (_) => de_DeliverabilityTestReport(_, context),
|
|
1306
1307
|
IspPlacements: (_) => de_IspPlacements(_, context),
|
|
@@ -1318,7 +1319,7 @@ var de_GetDomainDeliverabilityCampaignCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1318
1319
|
const contents = (0, import_smithy_client.map)({
|
|
1319
1320
|
$metadata: deserializeMetadata(output)
|
|
1320
1321
|
});
|
|
1321
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1322
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1322
1323
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1323
1324
|
DomainDeliverabilityCampaign: (_) => de_DomainDeliverabilityCampaign(_, context)
|
|
1324
1325
|
});
|
|
@@ -1332,7 +1333,7 @@ var de_GetDomainStatisticsReportCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1332
1333
|
const contents = (0, import_smithy_client.map)({
|
|
1333
1334
|
$metadata: deserializeMetadata(output)
|
|
1334
1335
|
});
|
|
1335
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1336
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1336
1337
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1337
1338
|
DailyVolumes: (_) => de_DailyVolumes(_, context),
|
|
1338
1339
|
OverallVolume: (_) => de_OverallVolume(_, context)
|
|
@@ -1347,7 +1348,7 @@ var de_GetEmailIdentityCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1347
1348
|
const contents = (0, import_smithy_client.map)({
|
|
1348
1349
|
$metadata: deserializeMetadata(output)
|
|
1349
1350
|
});
|
|
1350
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1351
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1351
1352
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1352
1353
|
DkimAttributes: import_smithy_client._json,
|
|
1353
1354
|
FeedbackForwardingStatus: import_smithy_client.expectBoolean,
|
|
@@ -1366,7 +1367,7 @@ var de_ListConfigurationSetsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1366
1367
|
const contents = (0, import_smithy_client.map)({
|
|
1367
1368
|
$metadata: deserializeMetadata(output)
|
|
1368
1369
|
});
|
|
1369
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1370
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1370
1371
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1371
1372
|
ConfigurationSets: import_smithy_client._json,
|
|
1372
1373
|
NextToken: import_smithy_client.expectString
|
|
@@ -1381,7 +1382,7 @@ var de_ListDedicatedIpPoolsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1381
1382
|
const contents = (0, import_smithy_client.map)({
|
|
1382
1383
|
$metadata: deserializeMetadata(output)
|
|
1383
1384
|
});
|
|
1384
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1385
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1385
1386
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1386
1387
|
DedicatedIpPools: import_smithy_client._json,
|
|
1387
1388
|
NextToken: import_smithy_client.expectString
|
|
@@ -1396,7 +1397,7 @@ var de_ListDeliverabilityTestReportsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1396
1397
|
const contents = (0, import_smithy_client.map)({
|
|
1397
1398
|
$metadata: deserializeMetadata(output)
|
|
1398
1399
|
});
|
|
1399
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1400
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1400
1401
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1401
1402
|
DeliverabilityTestReports: (_) => de_DeliverabilityTestReports(_, context),
|
|
1402
1403
|
NextToken: import_smithy_client.expectString
|
|
@@ -1411,7 +1412,7 @@ var de_ListDomainDeliverabilityCampaignsCommand = /* @__PURE__ */ __name(async (
|
|
|
1411
1412
|
const contents = (0, import_smithy_client.map)({
|
|
1412
1413
|
$metadata: deserializeMetadata(output)
|
|
1413
1414
|
});
|
|
1414
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1415
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1415
1416
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1416
1417
|
DomainDeliverabilityCampaigns: (_) => de_DomainDeliverabilityCampaignList(_, context),
|
|
1417
1418
|
NextToken: import_smithy_client.expectString
|
|
@@ -1426,7 +1427,7 @@ var de_ListEmailIdentitiesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1426
1427
|
const contents = (0, import_smithy_client.map)({
|
|
1427
1428
|
$metadata: deserializeMetadata(output)
|
|
1428
1429
|
});
|
|
1429
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1430
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1430
1431
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1431
1432
|
EmailIdentities: import_smithy_client._json,
|
|
1432
1433
|
NextToken: import_smithy_client.expectString
|
|
@@ -1441,7 +1442,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1441
1442
|
const contents = (0, import_smithy_client.map)({
|
|
1442
1443
|
$metadata: deserializeMetadata(output)
|
|
1443
1444
|
});
|
|
1444
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1445
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1445
1446
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1446
1447
|
Tags: import_smithy_client._json
|
|
1447
1448
|
});
|
|
@@ -1575,7 +1576,7 @@ var de_SendEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1575
1576
|
const contents = (0, import_smithy_client.map)({
|
|
1576
1577
|
$metadata: deserializeMetadata(output)
|
|
1577
1578
|
});
|
|
1578
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1579
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1579
1580
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1580
1581
|
MessageId: import_smithy_client.expectString
|
|
1581
1582
|
});
|
|
@@ -1615,9 +1616,9 @@ var de_UpdateConfigurationSetEventDestinationCommand = /* @__PURE__ */ __name(as
|
|
|
1615
1616
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1616
1617
|
const parsedOutput = {
|
|
1617
1618
|
...output,
|
|
1618
|
-
body: await
|
|
1619
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1619
1620
|
};
|
|
1620
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1621
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1621
1622
|
switch (errorCode) {
|
|
1622
1623
|
case "AlreadyExistsException":
|
|
1623
1624
|
case "com.amazonaws.pinpointemail#AlreadyExistsException":
|
|
@@ -1969,7 +1970,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1969
1970
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1970
1971
|
cfId: output.headers["x-amz-cf-id"]
|
|
1971
1972
|
}), "deserializeMetadata");
|
|
1972
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1973
1973
|
var _BIN = "BlacklistItemNames";
|
|
1974
1974
|
var _ED = "EndDate";
|
|
1975
1975
|
var _NT = "NextToken";
|
|
@@ -1978,46 +1978,6 @@ var _PS = "PageSize";
|
|
|
1978
1978
|
var _RA = "ResourceArn";
|
|
1979
1979
|
var _SD = "StartDate";
|
|
1980
1980
|
var _TK = "TagKeys";
|
|
1981
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1982
|
-
if (encoded.length) {
|
|
1983
|
-
return JSON.parse(encoded);
|
|
1984
|
-
}
|
|
1985
|
-
return {};
|
|
1986
|
-
}), "parseBody");
|
|
1987
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1988
|
-
const value = await parseBody(errorBody, context);
|
|
1989
|
-
value.message = value.message ?? value.Message;
|
|
1990
|
-
return value;
|
|
1991
|
-
}, "parseErrorBody");
|
|
1992
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1993
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1994
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1995
|
-
let cleanValue = rawValue;
|
|
1996
|
-
if (typeof cleanValue === "number") {
|
|
1997
|
-
cleanValue = cleanValue.toString();
|
|
1998
|
-
}
|
|
1999
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2000
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2001
|
-
}
|
|
2002
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2003
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2004
|
-
}
|
|
2005
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2006
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2007
|
-
}
|
|
2008
|
-
return cleanValue;
|
|
2009
|
-
}, "sanitizeErrorCode");
|
|
2010
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2011
|
-
if (headerKey !== void 0) {
|
|
2012
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2013
|
-
}
|
|
2014
|
-
if (data.code !== void 0) {
|
|
2015
|
-
return sanitizeErrorCode(data.code);
|
|
2016
|
-
}
|
|
2017
|
-
if (data["__type"] !== void 0) {
|
|
2018
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2019
|
-
}
|
|
2020
|
-
}, "loadRestJsonErrorCode");
|
|
2021
1981
|
|
|
2022
1982
|
// src/commands/CreateConfigurationSetCommand.ts
|
|
2023
1983
|
var _CreateConfigurationSetCommand = class _CreateConfigurationSetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { AccountSuspendedException, AlreadyExistsException, BadRequestException, ConcurrentModificationException, LimitExceededException, MailFromDomainNotVerifiedException, MessageRejected, NotFoundException, SendingPausedException, TooManyRequestsException, } from "../models/models_0";
|
|
@@ -1468,43 +1469,3 @@ const _PS = "PageSize";
|
|
|
1468
1469
|
const _RA = "ResourceArn";
|
|
1469
1470
|
const _SD = "StartDate";
|
|
1470
1471
|
const _TK = "TagKeys";
|
|
1471
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1472
|
-
if (encoded.length) {
|
|
1473
|
-
return JSON.parse(encoded);
|
|
1474
|
-
}
|
|
1475
|
-
return {};
|
|
1476
|
-
});
|
|
1477
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1478
|
-
const value = await parseBody(errorBody, context);
|
|
1479
|
-
value.message = value.message ?? value.Message;
|
|
1480
|
-
return value;
|
|
1481
|
-
};
|
|
1482
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1483
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1484
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1485
|
-
let cleanValue = rawValue;
|
|
1486
|
-
if (typeof cleanValue === "number") {
|
|
1487
|
-
cleanValue = cleanValue.toString();
|
|
1488
|
-
}
|
|
1489
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1490
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1491
|
-
}
|
|
1492
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1493
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1494
|
-
}
|
|
1495
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1496
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1497
|
-
}
|
|
1498
|
-
return cleanValue;
|
|
1499
|
-
};
|
|
1500
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1501
|
-
if (headerKey !== undefined) {
|
|
1502
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1503
|
-
}
|
|
1504
|
-
if (data.code !== undefined) {
|
|
1505
|
-
return sanitizeErrorCode(data.code);
|
|
1506
|
-
}
|
|
1507
|
-
if (data["__type"] !== undefined) {
|
|
1508
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1509
|
-
}
|
|
1510
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-email",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Email Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pinpoint-email",
|
|
@@ -20,40 +20,40 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|