@aws-sdk/client-sesv2 3.180.0 → 3.183.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/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +87 -81
- package/dist-es/SESv2.js +326 -333
- package/dist-es/SESv2Client.js +22 -28
- package/dist-es/commands/CreateConfigurationSetCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/CreateContactCommand.js +21 -28
- package/dist-es/commands/CreateContactListCommand.js +21 -28
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +21 -28
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +21 -28
- package/dist-es/commands/CreateEmailIdentityCommand.js +21 -28
- package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/CreateEmailTemplateCommand.js +21 -28
- package/dist-es/commands/CreateImportJobCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/DeleteContactCommand.js +21 -28
- package/dist-es/commands/DeleteContactListCommand.js +21 -28
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +21 -28
- package/dist-es/commands/DeleteEmailIdentityCommand.js +21 -28
- package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteEmailTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/GetAccountCommand.js +21 -28
- package/dist-es/commands/GetBlacklistReportsCommand.js +21 -28
- package/dist-es/commands/GetConfigurationSetCommand.js +21 -28
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +21 -28
- package/dist-es/commands/GetContactCommand.js +21 -28
- package/dist-es/commands/GetContactListCommand.js +21 -28
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetDedicatedIpCommand.js +21 -28
- package/dist-es/commands/GetDedicatedIpsCommand.js +21 -28
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +21 -28
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +21 -28
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +21 -28
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +21 -28
- package/dist-es/commands/GetEmailIdentityCommand.js +21 -28
- package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +21 -28
- package/dist-es/commands/GetEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetImportJobCommand.js +21 -28
- package/dist-es/commands/GetSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/ListConfigurationSetsCommand.js +21 -28
- package/dist-es/commands/ListContactListsCommand.js +21 -28
- package/dist-es/commands/ListContactsCommand.js +21 -28
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +21 -28
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +21 -28
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +21 -28
- package/dist-es/commands/ListEmailIdentitiesCommand.js +21 -28
- package/dist-es/commands/ListEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListImportJobsCommand.js +21 -28
- package/dist-es/commands/ListSuppressedDestinationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +21 -28
- package/dist-es/commands/PutAccountDetailsCommand.js +21 -28
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +21 -28
- package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +21 -28
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +21 -28
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +21 -28
- package/dist-es/commands/PutSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/SendBulkEmailCommand.js +21 -28
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +21 -28
- package/dist-es/commands/SendEmailCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/TestRenderEmailTemplateCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/UpdateContactCommand.js +21 -28
- package/dist-es/commands/UpdateContactListCommand.js +21 -28
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/UpdateEmailTemplateCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SESv2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +825 -362
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +25 -68
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +25 -68
- package/dist-es/pagination/ListContactListsPaginator.js +25 -68
- package/dist-es/pagination/ListContactsPaginator.js +25 -68
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +25 -68
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +25 -68
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +25 -68
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +25 -68
- package/dist-es/pagination/ListEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListImportJobsPaginator.js +25 -68
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +5615 -7817
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1850,7 +1850,7 @@ exports.deserializeAws_restJson1CreateConfigurationSetCommand = deserializeAws_r
|
|
|
1850
1850
|
const deserializeAws_restJson1CreateConfigurationSetCommandError = async (output, context) => {
|
|
1851
1851
|
const parsedOutput = {
|
|
1852
1852
|
...output,
|
|
1853
|
-
body: await
|
|
1853
|
+
body: await parseErrorBody(output.body, context),
|
|
1854
1854
|
};
|
|
1855
1855
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1856
1856
|
switch (errorCode) {
|
|
@@ -1896,7 +1896,7 @@ exports.deserializeAws_restJson1CreateConfigurationSetEventDestinationCommand =
|
|
|
1896
1896
|
const deserializeAws_restJson1CreateConfigurationSetEventDestinationCommandError = async (output, context) => {
|
|
1897
1897
|
const parsedOutput = {
|
|
1898
1898
|
...output,
|
|
1899
|
-
body: await
|
|
1899
|
+
body: await parseErrorBody(output.body, context),
|
|
1900
1900
|
};
|
|
1901
1901
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1902
1902
|
switch (errorCode) {
|
|
@@ -1939,7 +1939,7 @@ exports.deserializeAws_restJson1CreateContactCommand = deserializeAws_restJson1C
|
|
|
1939
1939
|
const deserializeAws_restJson1CreateContactCommandError = async (output, context) => {
|
|
1940
1940
|
const parsedOutput = {
|
|
1941
1941
|
...output,
|
|
1942
|
-
body: await
|
|
1942
|
+
body: await parseErrorBody(output.body, context),
|
|
1943
1943
|
};
|
|
1944
1944
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1945
1945
|
switch (errorCode) {
|
|
@@ -1979,7 +1979,7 @@ exports.deserializeAws_restJson1CreateContactListCommand = deserializeAws_restJs
|
|
|
1979
1979
|
const deserializeAws_restJson1CreateContactListCommandError = async (output, context) => {
|
|
1980
1980
|
const parsedOutput = {
|
|
1981
1981
|
...output,
|
|
1982
|
-
body: await
|
|
1982
|
+
body: await parseErrorBody(output.body, context),
|
|
1983
1983
|
};
|
|
1984
1984
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1985
1985
|
switch (errorCode) {
|
|
@@ -2019,7 +2019,7 @@ exports.deserializeAws_restJson1CreateCustomVerificationEmailTemplateCommand = d
|
|
|
2019
2019
|
const deserializeAws_restJson1CreateCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
2020
2020
|
const parsedOutput = {
|
|
2021
2021
|
...output,
|
|
2022
|
-
body: await
|
|
2022
|
+
body: await parseErrorBody(output.body, context),
|
|
2023
2023
|
};
|
|
2024
2024
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2025
2025
|
switch (errorCode) {
|
|
@@ -2062,7 +2062,7 @@ exports.deserializeAws_restJson1CreateDedicatedIpPoolCommand = deserializeAws_re
|
|
|
2062
2062
|
const deserializeAws_restJson1CreateDedicatedIpPoolCommandError = async (output, context) => {
|
|
2063
2063
|
const parsedOutput = {
|
|
2064
2064
|
...output,
|
|
2065
|
-
body: await
|
|
2065
|
+
body: await parseErrorBody(output.body, context),
|
|
2066
2066
|
};
|
|
2067
2067
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2068
2068
|
switch (errorCode) {
|
|
@@ -2111,7 +2111,7 @@ exports.deserializeAws_restJson1CreateDeliverabilityTestReportCommand = deserial
|
|
|
2111
2111
|
const deserializeAws_restJson1CreateDeliverabilityTestReportCommandError = async (output, context) => {
|
|
2112
2112
|
const parsedOutput = {
|
|
2113
2113
|
...output,
|
|
2114
|
-
body: await
|
|
2114
|
+
body: await parseErrorBody(output.body, context),
|
|
2115
2115
|
};
|
|
2116
2116
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2117
2117
|
switch (errorCode) {
|
|
@@ -2175,7 +2175,7 @@ exports.deserializeAws_restJson1CreateEmailIdentityCommand = deserializeAws_rest
|
|
|
2175
2175
|
const deserializeAws_restJson1CreateEmailIdentityCommandError = async (output, context) => {
|
|
2176
2176
|
const parsedOutput = {
|
|
2177
2177
|
...output,
|
|
2178
|
-
body: await
|
|
2178
|
+
body: await parseErrorBody(output.body, context),
|
|
2179
2179
|
};
|
|
2180
2180
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2181
2181
|
switch (errorCode) {
|
|
@@ -2221,7 +2221,7 @@ exports.deserializeAws_restJson1CreateEmailIdentityPolicyCommand = deserializeAw
|
|
|
2221
2221
|
const deserializeAws_restJson1CreateEmailIdentityPolicyCommandError = async (output, context) => {
|
|
2222
2222
|
const parsedOutput = {
|
|
2223
2223
|
...output,
|
|
2224
|
-
body: await
|
|
2224
|
+
body: await parseErrorBody(output.body, context),
|
|
2225
2225
|
};
|
|
2226
2226
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2227
2227
|
switch (errorCode) {
|
|
@@ -2264,7 +2264,7 @@ exports.deserializeAws_restJson1CreateEmailTemplateCommand = deserializeAws_rest
|
|
|
2264
2264
|
const deserializeAws_restJson1CreateEmailTemplateCommandError = async (output, context) => {
|
|
2265
2265
|
const parsedOutput = {
|
|
2266
2266
|
...output,
|
|
2267
|
-
body: await
|
|
2267
|
+
body: await parseErrorBody(output.body, context),
|
|
2268
2268
|
};
|
|
2269
2269
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2270
2270
|
switch (errorCode) {
|
|
@@ -2307,7 +2307,7 @@ exports.deserializeAws_restJson1CreateImportJobCommand = deserializeAws_restJson
|
|
|
2307
2307
|
const deserializeAws_restJson1CreateImportJobCommandError = async (output, context) => {
|
|
2308
2308
|
const parsedOutput = {
|
|
2309
2309
|
...output,
|
|
2310
|
-
body: await
|
|
2310
|
+
body: await parseErrorBody(output.body, context),
|
|
2311
2311
|
};
|
|
2312
2312
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2313
2313
|
switch (errorCode) {
|
|
@@ -2344,7 +2344,7 @@ exports.deserializeAws_restJson1DeleteConfigurationSetCommand = deserializeAws_r
|
|
|
2344
2344
|
const deserializeAws_restJson1DeleteConfigurationSetCommandError = async (output, context) => {
|
|
2345
2345
|
const parsedOutput = {
|
|
2346
2346
|
...output,
|
|
2347
|
-
body: await
|
|
2347
|
+
body: await parseErrorBody(output.body, context),
|
|
2348
2348
|
};
|
|
2349
2349
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2350
2350
|
switch (errorCode) {
|
|
@@ -2384,7 +2384,7 @@ exports.deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommand =
|
|
|
2384
2384
|
const deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommandError = async (output, context) => {
|
|
2385
2385
|
const parsedOutput = {
|
|
2386
2386
|
...output,
|
|
2387
|
-
body: await
|
|
2387
|
+
body: await parseErrorBody(output.body, context),
|
|
2388
2388
|
};
|
|
2389
2389
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2390
2390
|
switch (errorCode) {
|
|
@@ -2421,7 +2421,7 @@ exports.deserializeAws_restJson1DeleteContactCommand = deserializeAws_restJson1D
|
|
|
2421
2421
|
const deserializeAws_restJson1DeleteContactCommandError = async (output, context) => {
|
|
2422
2422
|
const parsedOutput = {
|
|
2423
2423
|
...output,
|
|
2424
|
-
body: await
|
|
2424
|
+
body: await parseErrorBody(output.body, context),
|
|
2425
2425
|
};
|
|
2426
2426
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2427
2427
|
switch (errorCode) {
|
|
@@ -2458,7 +2458,7 @@ exports.deserializeAws_restJson1DeleteContactListCommand = deserializeAws_restJs
|
|
|
2458
2458
|
const deserializeAws_restJson1DeleteContactListCommandError = async (output, context) => {
|
|
2459
2459
|
const parsedOutput = {
|
|
2460
2460
|
...output,
|
|
2461
|
-
body: await
|
|
2461
|
+
body: await parseErrorBody(output.body, context),
|
|
2462
2462
|
};
|
|
2463
2463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2464
2464
|
switch (errorCode) {
|
|
@@ -2498,7 +2498,7 @@ exports.deserializeAws_restJson1DeleteCustomVerificationEmailTemplateCommand = d
|
|
|
2498
2498
|
const deserializeAws_restJson1DeleteCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
2499
2499
|
const parsedOutput = {
|
|
2500
2500
|
...output,
|
|
2501
|
-
body: await
|
|
2501
|
+
body: await parseErrorBody(output.body, context),
|
|
2502
2502
|
};
|
|
2503
2503
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2504
2504
|
switch (errorCode) {
|
|
@@ -2535,7 +2535,7 @@ exports.deserializeAws_restJson1DeleteDedicatedIpPoolCommand = deserializeAws_re
|
|
|
2535
2535
|
const deserializeAws_restJson1DeleteDedicatedIpPoolCommandError = async (output, context) => {
|
|
2536
2536
|
const parsedOutput = {
|
|
2537
2537
|
...output,
|
|
2538
|
-
body: await
|
|
2538
|
+
body: await parseErrorBody(output.body, context),
|
|
2539
2539
|
};
|
|
2540
2540
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2541
2541
|
switch (errorCode) {
|
|
@@ -2575,7 +2575,7 @@ exports.deserializeAws_restJson1DeleteEmailIdentityCommand = deserializeAws_rest
|
|
|
2575
2575
|
const deserializeAws_restJson1DeleteEmailIdentityCommandError = async (output, context) => {
|
|
2576
2576
|
const parsedOutput = {
|
|
2577
2577
|
...output,
|
|
2578
|
-
body: await
|
|
2578
|
+
body: await parseErrorBody(output.body, context),
|
|
2579
2579
|
};
|
|
2580
2580
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2581
2581
|
switch (errorCode) {
|
|
@@ -2615,7 +2615,7 @@ exports.deserializeAws_restJson1DeleteEmailIdentityPolicyCommand = deserializeAw
|
|
|
2615
2615
|
const deserializeAws_restJson1DeleteEmailIdentityPolicyCommandError = async (output, context) => {
|
|
2616
2616
|
const parsedOutput = {
|
|
2617
2617
|
...output,
|
|
2618
|
-
body: await
|
|
2618
|
+
body: await parseErrorBody(output.body, context),
|
|
2619
2619
|
};
|
|
2620
2620
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2621
2621
|
switch (errorCode) {
|
|
@@ -2652,7 +2652,7 @@ exports.deserializeAws_restJson1DeleteEmailTemplateCommand = deserializeAws_rest
|
|
|
2652
2652
|
const deserializeAws_restJson1DeleteEmailTemplateCommandError = async (output, context) => {
|
|
2653
2653
|
const parsedOutput = {
|
|
2654
2654
|
...output,
|
|
2655
|
-
body: await
|
|
2655
|
+
body: await parseErrorBody(output.body, context),
|
|
2656
2656
|
};
|
|
2657
2657
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2658
2658
|
switch (errorCode) {
|
|
@@ -2689,7 +2689,7 @@ exports.deserializeAws_restJson1DeleteSuppressedDestinationCommand = deserialize
|
|
|
2689
2689
|
const deserializeAws_restJson1DeleteSuppressedDestinationCommandError = async (output, context) => {
|
|
2690
2690
|
const parsedOutput = {
|
|
2691
2691
|
...output,
|
|
2692
|
-
body: await
|
|
2692
|
+
body: await parseErrorBody(output.body, context),
|
|
2693
2693
|
};
|
|
2694
2694
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2695
2695
|
switch (errorCode) {
|
|
@@ -2747,7 +2747,7 @@ exports.deserializeAws_restJson1GetAccountCommand = deserializeAws_restJson1GetA
|
|
|
2747
2747
|
const deserializeAws_restJson1GetAccountCommandError = async (output, context) => {
|
|
2748
2748
|
const parsedOutput = {
|
|
2749
2749
|
...output,
|
|
2750
|
-
body: await
|
|
2750
|
+
body: await parseErrorBody(output.body, context),
|
|
2751
2751
|
};
|
|
2752
2752
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2753
2753
|
switch (errorCode) {
|
|
@@ -2784,7 +2784,7 @@ exports.deserializeAws_restJson1GetBlacklistReportsCommand = deserializeAws_rest
|
|
|
2784
2784
|
const deserializeAws_restJson1GetBlacklistReportsCommandError = async (output, context) => {
|
|
2785
2785
|
const parsedOutput = {
|
|
2786
2786
|
...output,
|
|
2787
|
-
body: await
|
|
2787
|
+
body: await parseErrorBody(output.body, context),
|
|
2788
2788
|
};
|
|
2789
2789
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2790
2790
|
switch (errorCode) {
|
|
@@ -2842,7 +2842,7 @@ exports.deserializeAws_restJson1GetConfigurationSetCommand = deserializeAws_rest
|
|
|
2842
2842
|
const deserializeAws_restJson1GetConfigurationSetCommandError = async (output, context) => {
|
|
2843
2843
|
const parsedOutput = {
|
|
2844
2844
|
...output,
|
|
2845
|
-
body: await
|
|
2845
|
+
body: await parseErrorBody(output.body, context),
|
|
2846
2846
|
};
|
|
2847
2847
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2848
2848
|
switch (errorCode) {
|
|
@@ -2882,7 +2882,7 @@ exports.deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = de
|
|
|
2882
2882
|
const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommandError = async (output, context) => {
|
|
2883
2883
|
const parsedOutput = {
|
|
2884
2884
|
...output,
|
|
2885
|
-
body: await
|
|
2885
|
+
body: await parseErrorBody(output.body, context),
|
|
2886
2886
|
};
|
|
2887
2887
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2888
2888
|
switch (errorCode) {
|
|
@@ -2943,7 +2943,7 @@ exports.deserializeAws_restJson1GetContactCommand = deserializeAws_restJson1GetC
|
|
|
2943
2943
|
const deserializeAws_restJson1GetContactCommandError = async (output, context) => {
|
|
2944
2944
|
const parsedOutput = {
|
|
2945
2945
|
...output,
|
|
2946
|
-
body: await
|
|
2946
|
+
body: await parseErrorBody(output.body, context),
|
|
2947
2947
|
};
|
|
2948
2948
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2949
2949
|
switch (errorCode) {
|
|
@@ -2998,7 +2998,7 @@ exports.deserializeAws_restJson1GetContactListCommand = deserializeAws_restJson1
|
|
|
2998
2998
|
const deserializeAws_restJson1GetContactListCommandError = async (output, context) => {
|
|
2999
2999
|
const parsedOutput = {
|
|
3000
3000
|
...output,
|
|
3001
|
-
body: await
|
|
3001
|
+
body: await parseErrorBody(output.body, context),
|
|
3002
3002
|
};
|
|
3003
3003
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3004
3004
|
switch (errorCode) {
|
|
@@ -3053,7 +3053,7 @@ exports.deserializeAws_restJson1GetCustomVerificationEmailTemplateCommand = dese
|
|
|
3053
3053
|
const deserializeAws_restJson1GetCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
3054
3054
|
const parsedOutput = {
|
|
3055
3055
|
...output,
|
|
3056
|
-
body: await
|
|
3056
|
+
body: await parseErrorBody(output.body, context),
|
|
3057
3057
|
};
|
|
3058
3058
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3059
3059
|
switch (errorCode) {
|
|
@@ -3093,7 +3093,7 @@ exports.deserializeAws_restJson1GetDedicatedIpCommand = deserializeAws_restJson1
|
|
|
3093
3093
|
const deserializeAws_restJson1GetDedicatedIpCommandError = async (output, context) => {
|
|
3094
3094
|
const parsedOutput = {
|
|
3095
3095
|
...output,
|
|
3096
|
-
body: await
|
|
3096
|
+
body: await parseErrorBody(output.body, context),
|
|
3097
3097
|
};
|
|
3098
3098
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3099
3099
|
switch (errorCode) {
|
|
@@ -3136,7 +3136,7 @@ exports.deserializeAws_restJson1GetDedicatedIpsCommand = deserializeAws_restJson
|
|
|
3136
3136
|
const deserializeAws_restJson1GetDedicatedIpsCommandError = async (output, context) => {
|
|
3137
3137
|
const parsedOutput = {
|
|
3138
3138
|
...output,
|
|
3139
|
-
body: await
|
|
3139
|
+
body: await parseErrorBody(output.body, context),
|
|
3140
3140
|
};
|
|
3141
3141
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3142
3142
|
switch (errorCode) {
|
|
@@ -3188,7 +3188,7 @@ exports.deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand = deser
|
|
|
3188
3188
|
const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommandError = async (output, context) => {
|
|
3189
3189
|
const parsedOutput = {
|
|
3190
3190
|
...output,
|
|
3191
|
-
body: await
|
|
3191
|
+
body: await parseErrorBody(output.body, context),
|
|
3192
3192
|
};
|
|
3193
3193
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3194
3194
|
switch (errorCode) {
|
|
@@ -3240,7 +3240,7 @@ exports.deserializeAws_restJson1GetDeliverabilityTestReportCommand = deserialize
|
|
|
3240
3240
|
const deserializeAws_restJson1GetDeliverabilityTestReportCommandError = async (output, context) => {
|
|
3241
3241
|
const parsedOutput = {
|
|
3242
3242
|
...output,
|
|
3243
|
-
body: await
|
|
3243
|
+
body: await parseErrorBody(output.body, context),
|
|
3244
3244
|
};
|
|
3245
3245
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3246
3246
|
switch (errorCode) {
|
|
@@ -3280,7 +3280,7 @@ exports.deserializeAws_restJson1GetDomainDeliverabilityCampaignCommand = deseria
|
|
|
3280
3280
|
const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommandError = async (output, context) => {
|
|
3281
3281
|
const parsedOutput = {
|
|
3282
3282
|
...output,
|
|
3283
|
-
body: await
|
|
3283
|
+
body: await parseErrorBody(output.body, context),
|
|
3284
3284
|
};
|
|
3285
3285
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3286
3286
|
switch (errorCode) {
|
|
@@ -3323,7 +3323,7 @@ exports.deserializeAws_restJson1GetDomainStatisticsReportCommand = deserializeAw
|
|
|
3323
3323
|
const deserializeAws_restJson1GetDomainStatisticsReportCommandError = async (output, context) => {
|
|
3324
3324
|
const parsedOutput = {
|
|
3325
3325
|
...output,
|
|
3326
|
-
body: await
|
|
3326
|
+
body: await parseErrorBody(output.body, context),
|
|
3327
3327
|
};
|
|
3328
3328
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3329
3329
|
switch (errorCode) {
|
|
@@ -3384,7 +3384,7 @@ exports.deserializeAws_restJson1GetEmailIdentityCommand = deserializeAws_restJso
|
|
|
3384
3384
|
const deserializeAws_restJson1GetEmailIdentityCommandError = async (output, context) => {
|
|
3385
3385
|
const parsedOutput = {
|
|
3386
3386
|
...output,
|
|
3387
|
-
body: await
|
|
3387
|
+
body: await parseErrorBody(output.body, context),
|
|
3388
3388
|
};
|
|
3389
3389
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3390
3390
|
switch (errorCode) {
|
|
@@ -3424,7 +3424,7 @@ exports.deserializeAws_restJson1GetEmailIdentityPoliciesCommand = deserializeAws
|
|
|
3424
3424
|
const deserializeAws_restJson1GetEmailIdentityPoliciesCommandError = async (output, context) => {
|
|
3425
3425
|
const parsedOutput = {
|
|
3426
3426
|
...output,
|
|
3427
|
-
body: await
|
|
3427
|
+
body: await parseErrorBody(output.body, context),
|
|
3428
3428
|
};
|
|
3429
3429
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3430
3430
|
switch (errorCode) {
|
|
@@ -3467,7 +3467,7 @@ exports.deserializeAws_restJson1GetEmailTemplateCommand = deserializeAws_restJso
|
|
|
3467
3467
|
const deserializeAws_restJson1GetEmailTemplateCommandError = async (output, context) => {
|
|
3468
3468
|
const parsedOutput = {
|
|
3469
3469
|
...output,
|
|
3470
|
-
body: await
|
|
3470
|
+
body: await parseErrorBody(output.body, context),
|
|
3471
3471
|
};
|
|
3472
3472
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3473
3473
|
switch (errorCode) {
|
|
@@ -3531,7 +3531,7 @@ exports.deserializeAws_restJson1GetImportJobCommand = deserializeAws_restJson1Ge
|
|
|
3531
3531
|
const deserializeAws_restJson1GetImportJobCommandError = async (output, context) => {
|
|
3532
3532
|
const parsedOutput = {
|
|
3533
3533
|
...output,
|
|
3534
|
-
body: await
|
|
3534
|
+
body: await parseErrorBody(output.body, context),
|
|
3535
3535
|
};
|
|
3536
3536
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3537
3537
|
switch (errorCode) {
|
|
@@ -3571,7 +3571,7 @@ exports.deserializeAws_restJson1GetSuppressedDestinationCommand = deserializeAws
|
|
|
3571
3571
|
const deserializeAws_restJson1GetSuppressedDestinationCommandError = async (output, context) => {
|
|
3572
3572
|
const parsedOutput = {
|
|
3573
3573
|
...output,
|
|
3574
|
-
body: await
|
|
3574
|
+
body: await parseErrorBody(output.body, context),
|
|
3575
3575
|
};
|
|
3576
3576
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3577
3577
|
switch (errorCode) {
|
|
@@ -3614,7 +3614,7 @@ exports.deserializeAws_restJson1ListConfigurationSetsCommand = deserializeAws_re
|
|
|
3614
3614
|
const deserializeAws_restJson1ListConfigurationSetsCommandError = async (output, context) => {
|
|
3615
3615
|
const parsedOutput = {
|
|
3616
3616
|
...output,
|
|
3617
|
-
body: await
|
|
3617
|
+
body: await parseErrorBody(output.body, context),
|
|
3618
3618
|
};
|
|
3619
3619
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3620
3620
|
switch (errorCode) {
|
|
@@ -3654,7 +3654,7 @@ exports.deserializeAws_restJson1ListContactListsCommand = deserializeAws_restJso
|
|
|
3654
3654
|
const deserializeAws_restJson1ListContactListsCommandError = async (output, context) => {
|
|
3655
3655
|
const parsedOutput = {
|
|
3656
3656
|
...output,
|
|
3657
|
-
body: await
|
|
3657
|
+
body: await parseErrorBody(output.body, context),
|
|
3658
3658
|
};
|
|
3659
3659
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3660
3660
|
switch (errorCode) {
|
|
@@ -3694,7 +3694,7 @@ exports.deserializeAws_restJson1ListContactsCommand = deserializeAws_restJson1Li
|
|
|
3694
3694
|
const deserializeAws_restJson1ListContactsCommandError = async (output, context) => {
|
|
3695
3695
|
const parsedOutput = {
|
|
3696
3696
|
...output,
|
|
3697
|
-
body: await
|
|
3697
|
+
body: await parseErrorBody(output.body, context),
|
|
3698
3698
|
};
|
|
3699
3699
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3700
3700
|
switch (errorCode) {
|
|
@@ -3737,7 +3737,7 @@ exports.deserializeAws_restJson1ListCustomVerificationEmailTemplatesCommand = de
|
|
|
3737
3737
|
const deserializeAws_restJson1ListCustomVerificationEmailTemplatesCommandError = async (output, context) => {
|
|
3738
3738
|
const parsedOutput = {
|
|
3739
3739
|
...output,
|
|
3740
|
-
body: await
|
|
3740
|
+
body: await parseErrorBody(output.body, context),
|
|
3741
3741
|
};
|
|
3742
3742
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3743
3743
|
switch (errorCode) {
|
|
@@ -3777,7 +3777,7 @@ exports.deserializeAws_restJson1ListDedicatedIpPoolsCommand = deserializeAws_res
|
|
|
3777
3777
|
const deserializeAws_restJson1ListDedicatedIpPoolsCommandError = async (output, context) => {
|
|
3778
3778
|
const parsedOutput = {
|
|
3779
3779
|
...output,
|
|
3780
|
-
body: await
|
|
3780
|
+
body: await parseErrorBody(output.body, context),
|
|
3781
3781
|
};
|
|
3782
3782
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3783
3783
|
switch (errorCode) {
|
|
@@ -3817,7 +3817,7 @@ exports.deserializeAws_restJson1ListDeliverabilityTestReportsCommand = deseriali
|
|
|
3817
3817
|
const deserializeAws_restJson1ListDeliverabilityTestReportsCommandError = async (output, context) => {
|
|
3818
3818
|
const parsedOutput = {
|
|
3819
3819
|
...output,
|
|
3820
|
-
body: await
|
|
3820
|
+
body: await parseErrorBody(output.body, context),
|
|
3821
3821
|
};
|
|
3822
3822
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3823
3823
|
switch (errorCode) {
|
|
@@ -3860,7 +3860,7 @@ exports.deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = deser
|
|
|
3860
3860
|
const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommandError = async (output, context) => {
|
|
3861
3861
|
const parsedOutput = {
|
|
3862
3862
|
...output,
|
|
3863
|
-
body: await
|
|
3863
|
+
body: await parseErrorBody(output.body, context),
|
|
3864
3864
|
};
|
|
3865
3865
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3866
3866
|
switch (errorCode) {
|
|
@@ -3903,7 +3903,7 @@ exports.deserializeAws_restJson1ListEmailIdentitiesCommand = deserializeAws_rest
|
|
|
3903
3903
|
const deserializeAws_restJson1ListEmailIdentitiesCommandError = async (output, context) => {
|
|
3904
3904
|
const parsedOutput = {
|
|
3905
3905
|
...output,
|
|
3906
|
-
body: await
|
|
3906
|
+
body: await parseErrorBody(output.body, context),
|
|
3907
3907
|
};
|
|
3908
3908
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3909
3909
|
switch (errorCode) {
|
|
@@ -3943,7 +3943,7 @@ exports.deserializeAws_restJson1ListEmailTemplatesCommand = deserializeAws_restJ
|
|
|
3943
3943
|
const deserializeAws_restJson1ListEmailTemplatesCommandError = async (output, context) => {
|
|
3944
3944
|
const parsedOutput = {
|
|
3945
3945
|
...output,
|
|
3946
|
-
body: await
|
|
3946
|
+
body: await parseErrorBody(output.body, context),
|
|
3947
3947
|
};
|
|
3948
3948
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3949
3949
|
switch (errorCode) {
|
|
@@ -3983,7 +3983,7 @@ exports.deserializeAws_restJson1ListImportJobsCommand = deserializeAws_restJson1
|
|
|
3983
3983
|
const deserializeAws_restJson1ListImportJobsCommandError = async (output, context) => {
|
|
3984
3984
|
const parsedOutput = {
|
|
3985
3985
|
...output,
|
|
3986
|
-
body: await
|
|
3986
|
+
body: await parseErrorBody(output.body, context),
|
|
3987
3987
|
};
|
|
3988
3988
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3989
3989
|
switch (errorCode) {
|
|
@@ -4023,7 +4023,7 @@ exports.deserializeAws_restJson1ListSuppressedDestinationsCommand = deserializeA
|
|
|
4023
4023
|
const deserializeAws_restJson1ListSuppressedDestinationsCommandError = async (output, context) => {
|
|
4024
4024
|
const parsedOutput = {
|
|
4025
4025
|
...output,
|
|
4026
|
-
body: await
|
|
4026
|
+
body: await parseErrorBody(output.body, context),
|
|
4027
4027
|
};
|
|
4028
4028
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4029
4029
|
switch (errorCode) {
|
|
@@ -4063,7 +4063,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
4063
4063
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
4064
4064
|
const parsedOutput = {
|
|
4065
4065
|
...output,
|
|
4066
|
-
body: await
|
|
4066
|
+
body: await parseErrorBody(output.body, context),
|
|
4067
4067
|
};
|
|
4068
4068
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4069
4069
|
switch (errorCode) {
|
|
@@ -4100,7 +4100,7 @@ exports.deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand = d
|
|
|
4100
4100
|
const deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommandError = async (output, context) => {
|
|
4101
4101
|
const parsedOutput = {
|
|
4102
4102
|
...output,
|
|
4103
|
-
body: await
|
|
4103
|
+
body: await parseErrorBody(output.body, context),
|
|
4104
4104
|
};
|
|
4105
4105
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4106
4106
|
switch (errorCode) {
|
|
@@ -4134,7 +4134,7 @@ exports.deserializeAws_restJson1PutAccountDetailsCommand = deserializeAws_restJs
|
|
|
4134
4134
|
const deserializeAws_restJson1PutAccountDetailsCommandError = async (output, context) => {
|
|
4135
4135
|
const parsedOutput = {
|
|
4136
4136
|
...output,
|
|
4137
|
-
body: await
|
|
4137
|
+
body: await parseErrorBody(output.body, context),
|
|
4138
4138
|
};
|
|
4139
4139
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4140
4140
|
switch (errorCode) {
|
|
@@ -4171,7 +4171,7 @@ exports.deserializeAws_restJson1PutAccountSendingAttributesCommand = deserialize
|
|
|
4171
4171
|
const deserializeAws_restJson1PutAccountSendingAttributesCommandError = async (output, context) => {
|
|
4172
4172
|
const parsedOutput = {
|
|
4173
4173
|
...output,
|
|
4174
|
-
body: await
|
|
4174
|
+
body: await parseErrorBody(output.body, context),
|
|
4175
4175
|
};
|
|
4176
4176
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4177
4177
|
switch (errorCode) {
|
|
@@ -4205,7 +4205,7 @@ exports.deserializeAws_restJson1PutAccountSuppressionAttributesCommand = deseria
|
|
|
4205
4205
|
const deserializeAws_restJson1PutAccountSuppressionAttributesCommandError = async (output, context) => {
|
|
4206
4206
|
const parsedOutput = {
|
|
4207
4207
|
...output,
|
|
4208
|
-
body: await
|
|
4208
|
+
body: await parseErrorBody(output.body, context),
|
|
4209
4209
|
};
|
|
4210
4210
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4211
4211
|
switch (errorCode) {
|
|
@@ -4239,7 +4239,7 @@ exports.deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand = dese
|
|
|
4239
4239
|
const deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommandError = async (output, context) => {
|
|
4240
4240
|
const parsedOutput = {
|
|
4241
4241
|
...output,
|
|
4242
|
-
body: await
|
|
4242
|
+
body: await parseErrorBody(output.body, context),
|
|
4243
4243
|
};
|
|
4244
4244
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4245
4245
|
switch (errorCode) {
|
|
@@ -4276,7 +4276,7 @@ exports.deserializeAws_restJson1PutConfigurationSetReputationOptionsCommand = de
|
|
|
4276
4276
|
const deserializeAws_restJson1PutConfigurationSetReputationOptionsCommandError = async (output, context) => {
|
|
4277
4277
|
const parsedOutput = {
|
|
4278
4278
|
...output,
|
|
4279
|
-
body: await
|
|
4279
|
+
body: await parseErrorBody(output.body, context),
|
|
4280
4280
|
};
|
|
4281
4281
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4282
4282
|
switch (errorCode) {
|
|
@@ -4313,7 +4313,7 @@ exports.deserializeAws_restJson1PutConfigurationSetSendingOptionsCommand = deser
|
|
|
4313
4313
|
const deserializeAws_restJson1PutConfigurationSetSendingOptionsCommandError = async (output, context) => {
|
|
4314
4314
|
const parsedOutput = {
|
|
4315
4315
|
...output,
|
|
4316
|
-
body: await
|
|
4316
|
+
body: await parseErrorBody(output.body, context),
|
|
4317
4317
|
};
|
|
4318
4318
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4319
4319
|
switch (errorCode) {
|
|
@@ -4350,7 +4350,7 @@ exports.deserializeAws_restJson1PutConfigurationSetSuppressionOptionsCommand = d
|
|
|
4350
4350
|
const deserializeAws_restJson1PutConfigurationSetSuppressionOptionsCommandError = async (output, context) => {
|
|
4351
4351
|
const parsedOutput = {
|
|
4352
4352
|
...output,
|
|
4353
|
-
body: await
|
|
4353
|
+
body: await parseErrorBody(output.body, context),
|
|
4354
4354
|
};
|
|
4355
4355
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4356
4356
|
switch (errorCode) {
|
|
@@ -4387,7 +4387,7 @@ exports.deserializeAws_restJson1PutConfigurationSetTrackingOptionsCommand = dese
|
|
|
4387
4387
|
const deserializeAws_restJson1PutConfigurationSetTrackingOptionsCommandError = async (output, context) => {
|
|
4388
4388
|
const parsedOutput = {
|
|
4389
4389
|
...output,
|
|
4390
|
-
body: await
|
|
4390
|
+
body: await parseErrorBody(output.body, context),
|
|
4391
4391
|
};
|
|
4392
4392
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4393
4393
|
switch (errorCode) {
|
|
@@ -4424,7 +4424,7 @@ exports.deserializeAws_restJson1PutDedicatedIpInPoolCommand = deserializeAws_res
|
|
|
4424
4424
|
const deserializeAws_restJson1PutDedicatedIpInPoolCommandError = async (output, context) => {
|
|
4425
4425
|
const parsedOutput = {
|
|
4426
4426
|
...output,
|
|
4427
|
-
body: await
|
|
4427
|
+
body: await parseErrorBody(output.body, context),
|
|
4428
4428
|
};
|
|
4429
4429
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4430
4430
|
switch (errorCode) {
|
|
@@ -4461,7 +4461,7 @@ exports.deserializeAws_restJson1PutDedicatedIpWarmupAttributesCommand = deserial
|
|
|
4461
4461
|
const deserializeAws_restJson1PutDedicatedIpWarmupAttributesCommandError = async (output, context) => {
|
|
4462
4462
|
const parsedOutput = {
|
|
4463
4463
|
...output,
|
|
4464
|
-
body: await
|
|
4464
|
+
body: await parseErrorBody(output.body, context),
|
|
4465
4465
|
};
|
|
4466
4466
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4467
4467
|
switch (errorCode) {
|
|
@@ -4498,7 +4498,7 @@ exports.deserializeAws_restJson1PutDeliverabilityDashboardOptionCommand = deseri
|
|
|
4498
4498
|
const deserializeAws_restJson1PutDeliverabilityDashboardOptionCommandError = async (output, context) => {
|
|
4499
4499
|
const parsedOutput = {
|
|
4500
4500
|
...output,
|
|
4501
|
-
body: await
|
|
4501
|
+
body: await parseErrorBody(output.body, context),
|
|
4502
4502
|
};
|
|
4503
4503
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4504
4504
|
switch (errorCode) {
|
|
@@ -4541,7 +4541,7 @@ exports.deserializeAws_restJson1PutEmailIdentityConfigurationSetAttributesComman
|
|
|
4541
4541
|
const deserializeAws_restJson1PutEmailIdentityConfigurationSetAttributesCommandError = async (output, context) => {
|
|
4542
4542
|
const parsedOutput = {
|
|
4543
4543
|
...output,
|
|
4544
|
-
body: await
|
|
4544
|
+
body: await parseErrorBody(output.body, context),
|
|
4545
4545
|
};
|
|
4546
4546
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4547
4547
|
switch (errorCode) {
|
|
@@ -4578,7 +4578,7 @@ exports.deserializeAws_restJson1PutEmailIdentityDkimAttributesCommand = deserial
|
|
|
4578
4578
|
const deserializeAws_restJson1PutEmailIdentityDkimAttributesCommandError = async (output, context) => {
|
|
4579
4579
|
const parsedOutput = {
|
|
4580
4580
|
...output,
|
|
4581
|
-
body: await
|
|
4581
|
+
body: await parseErrorBody(output.body, context),
|
|
4582
4582
|
};
|
|
4583
4583
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4584
4584
|
switch (errorCode) {
|
|
@@ -4621,7 +4621,7 @@ exports.deserializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommand = d
|
|
|
4621
4621
|
const deserializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommandError = async (output, context) => {
|
|
4622
4622
|
const parsedOutput = {
|
|
4623
4623
|
...output,
|
|
4624
|
-
body: await
|
|
4624
|
+
body: await parseErrorBody(output.body, context),
|
|
4625
4625
|
};
|
|
4626
4626
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4627
4627
|
switch (errorCode) {
|
|
@@ -4658,7 +4658,7 @@ exports.deserializeAws_restJson1PutEmailIdentityFeedbackAttributesCommand = dese
|
|
|
4658
4658
|
const deserializeAws_restJson1PutEmailIdentityFeedbackAttributesCommandError = async (output, context) => {
|
|
4659
4659
|
const parsedOutput = {
|
|
4660
4660
|
...output,
|
|
4661
|
-
body: await
|
|
4661
|
+
body: await parseErrorBody(output.body, context),
|
|
4662
4662
|
};
|
|
4663
4663
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4664
4664
|
switch (errorCode) {
|
|
@@ -4695,7 +4695,7 @@ exports.deserializeAws_restJson1PutEmailIdentityMailFromAttributesCommand = dese
|
|
|
4695
4695
|
const deserializeAws_restJson1PutEmailIdentityMailFromAttributesCommandError = async (output, context) => {
|
|
4696
4696
|
const parsedOutput = {
|
|
4697
4697
|
...output,
|
|
4698
|
-
body: await
|
|
4698
|
+
body: await parseErrorBody(output.body, context),
|
|
4699
4699
|
};
|
|
4700
4700
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4701
4701
|
switch (errorCode) {
|
|
@@ -4732,7 +4732,7 @@ exports.deserializeAws_restJson1PutSuppressedDestinationCommand = deserializeAws
|
|
|
4732
4732
|
const deserializeAws_restJson1PutSuppressedDestinationCommandError = async (output, context) => {
|
|
4733
4733
|
const parsedOutput = {
|
|
4734
4734
|
...output,
|
|
4735
|
-
body: await
|
|
4735
|
+
body: await parseErrorBody(output.body, context),
|
|
4736
4736
|
};
|
|
4737
4737
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4738
4738
|
switch (errorCode) {
|
|
@@ -4769,7 +4769,7 @@ exports.deserializeAws_restJson1SendBulkEmailCommand = deserializeAws_restJson1S
|
|
|
4769
4769
|
const deserializeAws_restJson1SendBulkEmailCommandError = async (output, context) => {
|
|
4770
4770
|
const parsedOutput = {
|
|
4771
4771
|
...output,
|
|
4772
|
-
body: await
|
|
4772
|
+
body: await parseErrorBody(output.body, context),
|
|
4773
4773
|
};
|
|
4774
4774
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4775
4775
|
switch (errorCode) {
|
|
@@ -4824,7 +4824,7 @@ exports.deserializeAws_restJson1SendCustomVerificationEmailCommand = deserialize
|
|
|
4824
4824
|
const deserializeAws_restJson1SendCustomVerificationEmailCommandError = async (output, context) => {
|
|
4825
4825
|
const parsedOutput = {
|
|
4826
4826
|
...output,
|
|
4827
|
-
body: await
|
|
4827
|
+
body: await parseErrorBody(output.body, context),
|
|
4828
4828
|
};
|
|
4829
4829
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4830
4830
|
switch (errorCode) {
|
|
@@ -4876,7 +4876,7 @@ exports.deserializeAws_restJson1SendEmailCommand = deserializeAws_restJson1SendE
|
|
|
4876
4876
|
const deserializeAws_restJson1SendEmailCommandError = async (output, context) => {
|
|
4877
4877
|
const parsedOutput = {
|
|
4878
4878
|
...output,
|
|
4879
|
-
body: await
|
|
4879
|
+
body: await parseErrorBody(output.body, context),
|
|
4880
4880
|
};
|
|
4881
4881
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4882
4882
|
switch (errorCode) {
|
|
@@ -4928,7 +4928,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
4928
4928
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
4929
4929
|
const parsedOutput = {
|
|
4930
4930
|
...output,
|
|
4931
|
-
body: await
|
|
4931
|
+
body: await parseErrorBody(output.body, context),
|
|
4932
4932
|
};
|
|
4933
4933
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4934
4934
|
switch (errorCode) {
|
|
@@ -4971,7 +4971,7 @@ exports.deserializeAws_restJson1TestRenderEmailTemplateCommand = deserializeAws_
|
|
|
4971
4971
|
const deserializeAws_restJson1TestRenderEmailTemplateCommandError = async (output, context) => {
|
|
4972
4972
|
const parsedOutput = {
|
|
4973
4973
|
...output,
|
|
4974
|
-
body: await
|
|
4974
|
+
body: await parseErrorBody(output.body, context),
|
|
4975
4975
|
};
|
|
4976
4976
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4977
4977
|
switch (errorCode) {
|
|
@@ -5008,7 +5008,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
5008
5008
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
5009
5009
|
const parsedOutput = {
|
|
5010
5010
|
...output,
|
|
5011
|
-
body: await
|
|
5011
|
+
body: await parseErrorBody(output.body, context),
|
|
5012
5012
|
};
|
|
5013
5013
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5014
5014
|
switch (errorCode) {
|
|
@@ -5048,7 +5048,7 @@ exports.deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommand =
|
|
|
5048
5048
|
const deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommandError = async (output, context) => {
|
|
5049
5049
|
const parsedOutput = {
|
|
5050
5050
|
...output,
|
|
5051
|
-
body: await
|
|
5051
|
+
body: await parseErrorBody(output.body, context),
|
|
5052
5052
|
};
|
|
5053
5053
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5054
5054
|
switch (errorCode) {
|
|
@@ -5085,7 +5085,7 @@ exports.deserializeAws_restJson1UpdateContactCommand = deserializeAws_restJson1U
|
|
|
5085
5085
|
const deserializeAws_restJson1UpdateContactCommandError = async (output, context) => {
|
|
5086
5086
|
const parsedOutput = {
|
|
5087
5087
|
...output,
|
|
5088
|
-
body: await
|
|
5088
|
+
body: await parseErrorBody(output.body, context),
|
|
5089
5089
|
};
|
|
5090
5090
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5091
5091
|
switch (errorCode) {
|
|
@@ -5125,7 +5125,7 @@ exports.deserializeAws_restJson1UpdateContactListCommand = deserializeAws_restJs
|
|
|
5125
5125
|
const deserializeAws_restJson1UpdateContactListCommandError = async (output, context) => {
|
|
5126
5126
|
const parsedOutput = {
|
|
5127
5127
|
...output,
|
|
5128
|
-
body: await
|
|
5128
|
+
body: await parseErrorBody(output.body, context),
|
|
5129
5129
|
};
|
|
5130
5130
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5131
5131
|
switch (errorCode) {
|
|
@@ -5165,7 +5165,7 @@ exports.deserializeAws_restJson1UpdateCustomVerificationEmailTemplateCommand = d
|
|
|
5165
5165
|
const deserializeAws_restJson1UpdateCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
5166
5166
|
const parsedOutput = {
|
|
5167
5167
|
...output,
|
|
5168
|
-
body: await
|
|
5168
|
+
body: await parseErrorBody(output.body, context),
|
|
5169
5169
|
};
|
|
5170
5170
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5171
5171
|
switch (errorCode) {
|
|
@@ -5202,7 +5202,7 @@ exports.deserializeAws_restJson1UpdateEmailIdentityPolicyCommand = deserializeAw
|
|
|
5202
5202
|
const deserializeAws_restJson1UpdateEmailIdentityPolicyCommandError = async (output, context) => {
|
|
5203
5203
|
const parsedOutput = {
|
|
5204
5204
|
...output,
|
|
5205
|
-
body: await
|
|
5205
|
+
body: await parseErrorBody(output.body, context),
|
|
5206
5206
|
};
|
|
5207
5207
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5208
5208
|
switch (errorCode) {
|
|
@@ -5239,7 +5239,7 @@ exports.deserializeAws_restJson1UpdateEmailTemplateCommand = deserializeAws_rest
|
|
|
5239
5239
|
const deserializeAws_restJson1UpdateEmailTemplateCommandError = async (output, context) => {
|
|
5240
5240
|
const parsedOutput = {
|
|
5241
5241
|
...output,
|
|
5242
|
-
body: await
|
|
5242
|
+
body: await parseErrorBody(output.body, context),
|
|
5243
5243
|
};
|
|
5244
5244
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5245
5245
|
switch (errorCode) {
|
|
@@ -6542,6 +6542,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6542
6542
|
}
|
|
6543
6543
|
return {};
|
|
6544
6544
|
});
|
|
6545
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
6546
|
+
var _a;
|
|
6547
|
+
const value = await parseBody(errorBody, context);
|
|
6548
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
6549
|
+
return value;
|
|
6550
|
+
};
|
|
6545
6551
|
const loadRestJsonErrorCode = (output, data) => {
|
|
6546
6552
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
6547
6553
|
const sanitizeErrorCode = (rawValue) => {
|