@aws-sdk/client-sesv2 3.927.0 → 3.929.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 +4102 -4732
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SESv2Client.js +2 -0
- package/dist-es/commands/BatchGetMetricDataCommand.js +3 -9
- package/dist-es/commands/CancelExportJobCommand.js +3 -9
- package/dist-es/commands/CreateConfigurationSetCommand.js +3 -9
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +3 -9
- package/dist-es/commands/CreateContactCommand.js +3 -9
- package/dist-es/commands/CreateContactListCommand.js +3 -9
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +3 -9
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +3 -9
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +3 -9
- package/dist-es/commands/CreateEmailIdentityCommand.js +3 -10
- package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +3 -9
- package/dist-es/commands/CreateEmailTemplateCommand.js +3 -9
- package/dist-es/commands/CreateExportJobCommand.js +3 -10
- package/dist-es/commands/CreateImportJobCommand.js +3 -9
- package/dist-es/commands/CreateMultiRegionEndpointCommand.js +3 -9
- package/dist-es/commands/CreateTenantCommand.js +3 -9
- package/dist-es/commands/CreateTenantResourceAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteConfigurationSetCommand.js +3 -9
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -9
- package/dist-es/commands/DeleteContactCommand.js +3 -9
- package/dist-es/commands/DeleteContactListCommand.js +3 -9
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +3 -9
- package/dist-es/commands/DeleteEmailIdentityCommand.js +3 -9
- package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteEmailTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteMultiRegionEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteSuppressedDestinationCommand.js +3 -9
- package/dist-es/commands/DeleteTenantCommand.js +3 -9
- package/dist-es/commands/DeleteTenantResourceAssociationCommand.js +3 -9
- package/dist-es/commands/GetAccountCommand.js +3 -10
- package/dist-es/commands/GetBlacklistReportsCommand.js +3 -9
- package/dist-es/commands/GetConfigurationSetCommand.js +3 -9
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +3 -9
- package/dist-es/commands/GetContactCommand.js +3 -9
- package/dist-es/commands/GetContactListCommand.js +3 -9
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +3 -9
- package/dist-es/commands/GetDedicatedIpCommand.js +3 -9
- package/dist-es/commands/GetDedicatedIpPoolCommand.js +3 -9
- package/dist-es/commands/GetDedicatedIpsCommand.js +3 -9
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +3 -9
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +3 -9
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +3 -9
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +3 -9
- package/dist-es/commands/GetEmailIdentityCommand.js +3 -9
- package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +3 -9
- package/dist-es/commands/GetEmailTemplateCommand.js +3 -9
- package/dist-es/commands/GetExportJobCommand.js +3 -10
- package/dist-es/commands/GetImportJobCommand.js +3 -9
- package/dist-es/commands/GetMessageInsightsCommand.js +3 -10
- package/dist-es/commands/GetMultiRegionEndpointCommand.js +3 -9
- package/dist-es/commands/GetReputationEntityCommand.js +3 -9
- package/dist-es/commands/GetSuppressedDestinationCommand.js +3 -9
- package/dist-es/commands/GetTenantCommand.js +3 -9
- package/dist-es/commands/ListConfigurationSetsCommand.js +3 -9
- package/dist-es/commands/ListContactListsCommand.js +3 -9
- package/dist-es/commands/ListContactsCommand.js +3 -9
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +3 -9
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +3 -9
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +3 -9
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +3 -9
- package/dist-es/commands/ListEmailIdentitiesCommand.js +3 -9
- package/dist-es/commands/ListEmailTemplatesCommand.js +3 -9
- package/dist-es/commands/ListExportJobsCommand.js +3 -9
- package/dist-es/commands/ListImportJobsCommand.js +3 -9
- package/dist-es/commands/ListMultiRegionEndpointsCommand.js +3 -9
- package/dist-es/commands/ListRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListReputationEntitiesCommand.js +3 -9
- package/dist-es/commands/ListResourceTenantsCommand.js +3 -9
- package/dist-es/commands/ListSuppressedDestinationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTenantResourcesCommand.js +3 -9
- package/dist-es/commands/ListTenantsCommand.js +3 -9
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +3 -9
- package/dist-es/commands/PutAccountDetailsCommand.js +3 -10
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +3 -9
- package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +3 -9
- package/dist-es/commands/PutAccountVdmAttributesCommand.js +3 -9
- package/dist-es/commands/PutConfigurationSetArchivingOptionsCommand.js +3 -9
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -9
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +3 -9
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +3 -9
- package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +3 -9
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +3 -9
- package/dist-es/commands/PutConfigurationSetVdmOptionsCommand.js +3 -9
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +3 -9
- package/dist-es/commands/PutDedicatedIpPoolScalingAttributesCommand.js +3 -9
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +3 -9
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +3 -9
- package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +3 -9
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +3 -9
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +3 -10
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +3 -9
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +3 -9
- package/dist-es/commands/PutSuppressedDestinationCommand.js +3 -9
- package/dist-es/commands/SendBulkEmailCommand.js +3 -9
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +3 -9
- package/dist-es/commands/SendEmailCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestRenderEmailTemplateCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -9
- package/dist-es/commands/UpdateContactCommand.js +3 -9
- package/dist-es/commands/UpdateContactListCommand.js +3 -9
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +3 -9
- package/dist-es/commands/UpdateEmailTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateReputationEntityCustomerManagedStatusCommand.js +3 -9
- package/dist-es/commands/UpdateReputationEntityPolicyCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -56
- package/dist-es/models/models_1.js +0 -12
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +3671 -0
- package/dist-types/SESv2Client.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -44
- package/dist-types/models/models_1.d.ts +0 -8
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +522 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -33
- package/dist-types/ts3.4/models/models_1.d.ts +0 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +529 -0
- package/package.json +6 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -3656
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -983
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1313
|
@@ -1,3656 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { AccountSuspendedException, AlreadyExistsException, BadRequestException, ConcurrentModificationException, ConflictException, InternalServiceErrorException, InvalidNextTokenException, LimitExceededException, MailFromDomainNotVerifiedException, MessageRejected, NotFoundException, SendingPausedException, TooManyRequestsException, } from "../models/models_0";
|
|
5
|
-
import { SESv2ServiceException as __BaseException } from "../models/SESv2ServiceException";
|
|
6
|
-
export const se_BatchGetMetricDataCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {
|
|
9
|
-
"content-type": "application/json",
|
|
10
|
-
};
|
|
11
|
-
b.bp("/v2/email/metrics/batch");
|
|
12
|
-
let body;
|
|
13
|
-
body = JSON.stringify(take(input, {
|
|
14
|
-
Queries: (_) => se_BatchGetMetricDataQueries(_, context),
|
|
15
|
-
}));
|
|
16
|
-
b.m("POST").h(headers).b(body);
|
|
17
|
-
return b.build();
|
|
18
|
-
};
|
|
19
|
-
export const se_CancelExportJobCommand = async (input, context) => {
|
|
20
|
-
const b = rb(input, context);
|
|
21
|
-
const headers = {};
|
|
22
|
-
b.bp("/v2/email/export-jobs/{JobId}/cancel");
|
|
23
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
24
|
-
let body;
|
|
25
|
-
b.m("PUT").h(headers).b(body);
|
|
26
|
-
return b.build();
|
|
27
|
-
};
|
|
28
|
-
export const se_CreateConfigurationSetCommand = async (input, context) => {
|
|
29
|
-
const b = rb(input, context);
|
|
30
|
-
const headers = {
|
|
31
|
-
"content-type": "application/json",
|
|
32
|
-
};
|
|
33
|
-
b.bp("/v2/email/configuration-sets");
|
|
34
|
-
let body;
|
|
35
|
-
body = JSON.stringify(take(input, {
|
|
36
|
-
ArchivingOptions: (_) => _json(_),
|
|
37
|
-
ConfigurationSetName: [],
|
|
38
|
-
DeliveryOptions: (_) => _json(_),
|
|
39
|
-
ReputationOptions: (_) => se_ReputationOptions(_, context),
|
|
40
|
-
SendingOptions: (_) => _json(_),
|
|
41
|
-
SuppressionOptions: (_) => _json(_),
|
|
42
|
-
Tags: (_) => _json(_),
|
|
43
|
-
TrackingOptions: (_) => _json(_),
|
|
44
|
-
VdmOptions: (_) => _json(_),
|
|
45
|
-
}));
|
|
46
|
-
b.m("POST").h(headers).b(body);
|
|
47
|
-
return b.build();
|
|
48
|
-
};
|
|
49
|
-
export const se_CreateConfigurationSetEventDestinationCommand = async (input, context) => {
|
|
50
|
-
const b = rb(input, context);
|
|
51
|
-
const headers = {
|
|
52
|
-
"content-type": "application/json",
|
|
53
|
-
};
|
|
54
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations");
|
|
55
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(take(input, {
|
|
58
|
-
EventDestination: (_) => _json(_),
|
|
59
|
-
EventDestinationName: [],
|
|
60
|
-
}));
|
|
61
|
-
b.m("POST").h(headers).b(body);
|
|
62
|
-
return b.build();
|
|
63
|
-
};
|
|
64
|
-
export const se_CreateContactCommand = async (input, context) => {
|
|
65
|
-
const b = rb(input, context);
|
|
66
|
-
const headers = {
|
|
67
|
-
"content-type": "application/json",
|
|
68
|
-
};
|
|
69
|
-
b.bp("/v2/email/contact-lists/{ContactListName}/contacts");
|
|
70
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
71
|
-
let body;
|
|
72
|
-
body = JSON.stringify(take(input, {
|
|
73
|
-
AttributesData: [],
|
|
74
|
-
EmailAddress: [],
|
|
75
|
-
TopicPreferences: (_) => _json(_),
|
|
76
|
-
UnsubscribeAll: [],
|
|
77
|
-
}));
|
|
78
|
-
b.m("POST").h(headers).b(body);
|
|
79
|
-
return b.build();
|
|
80
|
-
};
|
|
81
|
-
export const se_CreateContactListCommand = async (input, context) => {
|
|
82
|
-
const b = rb(input, context);
|
|
83
|
-
const headers = {
|
|
84
|
-
"content-type": "application/json",
|
|
85
|
-
};
|
|
86
|
-
b.bp("/v2/email/contact-lists");
|
|
87
|
-
let body;
|
|
88
|
-
body = JSON.stringify(take(input, {
|
|
89
|
-
ContactListName: [],
|
|
90
|
-
Description: [],
|
|
91
|
-
Tags: (_) => _json(_),
|
|
92
|
-
Topics: (_) => _json(_),
|
|
93
|
-
}));
|
|
94
|
-
b.m("POST").h(headers).b(body);
|
|
95
|
-
return b.build();
|
|
96
|
-
};
|
|
97
|
-
export const se_CreateCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
98
|
-
const b = rb(input, context);
|
|
99
|
-
const headers = {
|
|
100
|
-
"content-type": "application/json",
|
|
101
|
-
};
|
|
102
|
-
b.bp("/v2/email/custom-verification-email-templates");
|
|
103
|
-
let body;
|
|
104
|
-
body = JSON.stringify(take(input, {
|
|
105
|
-
FailureRedirectionURL: [],
|
|
106
|
-
FromEmailAddress: [],
|
|
107
|
-
SuccessRedirectionURL: [],
|
|
108
|
-
TemplateContent: [],
|
|
109
|
-
TemplateName: [],
|
|
110
|
-
TemplateSubject: [],
|
|
111
|
-
}));
|
|
112
|
-
b.m("POST").h(headers).b(body);
|
|
113
|
-
return b.build();
|
|
114
|
-
};
|
|
115
|
-
export const se_CreateDedicatedIpPoolCommand = async (input, context) => {
|
|
116
|
-
const b = rb(input, context);
|
|
117
|
-
const headers = {
|
|
118
|
-
"content-type": "application/json",
|
|
119
|
-
};
|
|
120
|
-
b.bp("/v2/email/dedicated-ip-pools");
|
|
121
|
-
let body;
|
|
122
|
-
body = JSON.stringify(take(input, {
|
|
123
|
-
PoolName: [],
|
|
124
|
-
ScalingMode: [],
|
|
125
|
-
Tags: (_) => _json(_),
|
|
126
|
-
}));
|
|
127
|
-
b.m("POST").h(headers).b(body);
|
|
128
|
-
return b.build();
|
|
129
|
-
};
|
|
130
|
-
export const se_CreateDeliverabilityTestReportCommand = async (input, context) => {
|
|
131
|
-
const b = rb(input, context);
|
|
132
|
-
const headers = {
|
|
133
|
-
"content-type": "application/json",
|
|
134
|
-
};
|
|
135
|
-
b.bp("/v2/email/deliverability-dashboard/test");
|
|
136
|
-
let body;
|
|
137
|
-
body = JSON.stringify(take(input, {
|
|
138
|
-
Content: (_) => se_EmailContent(_, context),
|
|
139
|
-
FromEmailAddress: [],
|
|
140
|
-
ReportName: [],
|
|
141
|
-
Tags: (_) => _json(_),
|
|
142
|
-
}));
|
|
143
|
-
b.m("POST").h(headers).b(body);
|
|
144
|
-
return b.build();
|
|
145
|
-
};
|
|
146
|
-
export const se_CreateEmailIdentityCommand = async (input, context) => {
|
|
147
|
-
const b = rb(input, context);
|
|
148
|
-
const headers = {
|
|
149
|
-
"content-type": "application/json",
|
|
150
|
-
};
|
|
151
|
-
b.bp("/v2/email/identities");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(take(input, {
|
|
154
|
-
ConfigurationSetName: [],
|
|
155
|
-
DkimSigningAttributes: (_) => _json(_),
|
|
156
|
-
EmailIdentity: [],
|
|
157
|
-
Tags: (_) => _json(_),
|
|
158
|
-
}));
|
|
159
|
-
b.m("POST").h(headers).b(body);
|
|
160
|
-
return b.build();
|
|
161
|
-
};
|
|
162
|
-
export const se_CreateEmailIdentityPolicyCommand = async (input, context) => {
|
|
163
|
-
const b = rb(input, context);
|
|
164
|
-
const headers = {
|
|
165
|
-
"content-type": "application/json",
|
|
166
|
-
};
|
|
167
|
-
b.bp("/v2/email/identities/{EmailIdentity}/policies/{PolicyName}");
|
|
168
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
169
|
-
b.p("PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(take(input, {
|
|
172
|
-
Policy: [],
|
|
173
|
-
}));
|
|
174
|
-
b.m("POST").h(headers).b(body);
|
|
175
|
-
return b.build();
|
|
176
|
-
};
|
|
177
|
-
export const se_CreateEmailTemplateCommand = async (input, context) => {
|
|
178
|
-
const b = rb(input, context);
|
|
179
|
-
const headers = {
|
|
180
|
-
"content-type": "application/json",
|
|
181
|
-
};
|
|
182
|
-
b.bp("/v2/email/templates");
|
|
183
|
-
let body;
|
|
184
|
-
body = JSON.stringify(take(input, {
|
|
185
|
-
TemplateContent: (_) => _json(_),
|
|
186
|
-
TemplateName: [],
|
|
187
|
-
}));
|
|
188
|
-
b.m("POST").h(headers).b(body);
|
|
189
|
-
return b.build();
|
|
190
|
-
};
|
|
191
|
-
export const se_CreateExportJobCommand = async (input, context) => {
|
|
192
|
-
const b = rb(input, context);
|
|
193
|
-
const headers = {
|
|
194
|
-
"content-type": "application/json",
|
|
195
|
-
};
|
|
196
|
-
b.bp("/v2/email/export-jobs");
|
|
197
|
-
let body;
|
|
198
|
-
body = JSON.stringify(take(input, {
|
|
199
|
-
ExportDataSource: (_) => se_ExportDataSource(_, context),
|
|
200
|
-
ExportDestination: (_) => _json(_),
|
|
201
|
-
}));
|
|
202
|
-
b.m("POST").h(headers).b(body);
|
|
203
|
-
return b.build();
|
|
204
|
-
};
|
|
205
|
-
export const se_CreateImportJobCommand = async (input, context) => {
|
|
206
|
-
const b = rb(input, context);
|
|
207
|
-
const headers = {
|
|
208
|
-
"content-type": "application/json",
|
|
209
|
-
};
|
|
210
|
-
b.bp("/v2/email/import-jobs");
|
|
211
|
-
let body;
|
|
212
|
-
body = JSON.stringify(take(input, {
|
|
213
|
-
ImportDataSource: (_) => _json(_),
|
|
214
|
-
ImportDestination: (_) => _json(_),
|
|
215
|
-
}));
|
|
216
|
-
b.m("POST").h(headers).b(body);
|
|
217
|
-
return b.build();
|
|
218
|
-
};
|
|
219
|
-
export const se_CreateMultiRegionEndpointCommand = async (input, context) => {
|
|
220
|
-
const b = rb(input, context);
|
|
221
|
-
const headers = {
|
|
222
|
-
"content-type": "application/json",
|
|
223
|
-
};
|
|
224
|
-
b.bp("/v2/email/multi-region-endpoints");
|
|
225
|
-
let body;
|
|
226
|
-
body = JSON.stringify(take(input, {
|
|
227
|
-
Details: (_) => _json(_),
|
|
228
|
-
EndpointName: [],
|
|
229
|
-
Tags: (_) => _json(_),
|
|
230
|
-
}));
|
|
231
|
-
b.m("POST").h(headers).b(body);
|
|
232
|
-
return b.build();
|
|
233
|
-
};
|
|
234
|
-
export const se_CreateTenantCommand = async (input, context) => {
|
|
235
|
-
const b = rb(input, context);
|
|
236
|
-
const headers = {
|
|
237
|
-
"content-type": "application/json",
|
|
238
|
-
};
|
|
239
|
-
b.bp("/v2/email/tenants");
|
|
240
|
-
let body;
|
|
241
|
-
body = JSON.stringify(take(input, {
|
|
242
|
-
Tags: (_) => _json(_),
|
|
243
|
-
TenantName: [],
|
|
244
|
-
}));
|
|
245
|
-
b.m("POST").h(headers).b(body);
|
|
246
|
-
return b.build();
|
|
247
|
-
};
|
|
248
|
-
export const se_CreateTenantResourceAssociationCommand = async (input, context) => {
|
|
249
|
-
const b = rb(input, context);
|
|
250
|
-
const headers = {
|
|
251
|
-
"content-type": "application/json",
|
|
252
|
-
};
|
|
253
|
-
b.bp("/v2/email/tenants/resources");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(take(input, {
|
|
256
|
-
ResourceArn: [],
|
|
257
|
-
TenantName: [],
|
|
258
|
-
}));
|
|
259
|
-
b.m("POST").h(headers).b(body);
|
|
260
|
-
return b.build();
|
|
261
|
-
};
|
|
262
|
-
export const se_DeleteConfigurationSetCommand = async (input, context) => {
|
|
263
|
-
const b = rb(input, context);
|
|
264
|
-
const headers = {};
|
|
265
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}");
|
|
266
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
267
|
-
let body;
|
|
268
|
-
b.m("DELETE").h(headers).b(body);
|
|
269
|
-
return b.build();
|
|
270
|
-
};
|
|
271
|
-
export const se_DeleteConfigurationSetEventDestinationCommand = async (input, context) => {
|
|
272
|
-
const b = rb(input, context);
|
|
273
|
-
const headers = {};
|
|
274
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
|
|
275
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
276
|
-
b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
|
|
277
|
-
let body;
|
|
278
|
-
b.m("DELETE").h(headers).b(body);
|
|
279
|
-
return b.build();
|
|
280
|
-
};
|
|
281
|
-
export const se_DeleteContactCommand = async (input, context) => {
|
|
282
|
-
const b = rb(input, context);
|
|
283
|
-
const headers = {};
|
|
284
|
-
b.bp("/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}");
|
|
285
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
286
|
-
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
287
|
-
let body;
|
|
288
|
-
b.m("DELETE").h(headers).b(body);
|
|
289
|
-
return b.build();
|
|
290
|
-
};
|
|
291
|
-
export const se_DeleteContactListCommand = async (input, context) => {
|
|
292
|
-
const b = rb(input, context);
|
|
293
|
-
const headers = {};
|
|
294
|
-
b.bp("/v2/email/contact-lists/{ContactListName}");
|
|
295
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
296
|
-
let body;
|
|
297
|
-
b.m("DELETE").h(headers).b(body);
|
|
298
|
-
return b.build();
|
|
299
|
-
};
|
|
300
|
-
export const se_DeleteCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
301
|
-
const b = rb(input, context);
|
|
302
|
-
const headers = {};
|
|
303
|
-
b.bp("/v2/email/custom-verification-email-templates/{TemplateName}");
|
|
304
|
-
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
305
|
-
let body;
|
|
306
|
-
b.m("DELETE").h(headers).b(body);
|
|
307
|
-
return b.build();
|
|
308
|
-
};
|
|
309
|
-
export const se_DeleteDedicatedIpPoolCommand = async (input, context) => {
|
|
310
|
-
const b = rb(input, context);
|
|
311
|
-
const headers = {};
|
|
312
|
-
b.bp("/v2/email/dedicated-ip-pools/{PoolName}");
|
|
313
|
-
b.p("PoolName", () => input.PoolName, "{PoolName}", false);
|
|
314
|
-
let body;
|
|
315
|
-
b.m("DELETE").h(headers).b(body);
|
|
316
|
-
return b.build();
|
|
317
|
-
};
|
|
318
|
-
export const se_DeleteEmailIdentityCommand = async (input, context) => {
|
|
319
|
-
const b = rb(input, context);
|
|
320
|
-
const headers = {};
|
|
321
|
-
b.bp("/v2/email/identities/{EmailIdentity}");
|
|
322
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
323
|
-
let body;
|
|
324
|
-
b.m("DELETE").h(headers).b(body);
|
|
325
|
-
return b.build();
|
|
326
|
-
};
|
|
327
|
-
export const se_DeleteEmailIdentityPolicyCommand = async (input, context) => {
|
|
328
|
-
const b = rb(input, context);
|
|
329
|
-
const headers = {};
|
|
330
|
-
b.bp("/v2/email/identities/{EmailIdentity}/policies/{PolicyName}");
|
|
331
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
332
|
-
b.p("PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
333
|
-
let body;
|
|
334
|
-
b.m("DELETE").h(headers).b(body);
|
|
335
|
-
return b.build();
|
|
336
|
-
};
|
|
337
|
-
export const se_DeleteEmailTemplateCommand = async (input, context) => {
|
|
338
|
-
const b = rb(input, context);
|
|
339
|
-
const headers = {};
|
|
340
|
-
b.bp("/v2/email/templates/{TemplateName}");
|
|
341
|
-
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
342
|
-
let body;
|
|
343
|
-
b.m("DELETE").h(headers).b(body);
|
|
344
|
-
return b.build();
|
|
345
|
-
};
|
|
346
|
-
export const se_DeleteMultiRegionEndpointCommand = async (input, context) => {
|
|
347
|
-
const b = rb(input, context);
|
|
348
|
-
const headers = {};
|
|
349
|
-
b.bp("/v2/email/multi-region-endpoints/{EndpointName}");
|
|
350
|
-
b.p("EndpointName", () => input.EndpointName, "{EndpointName}", false);
|
|
351
|
-
let body;
|
|
352
|
-
b.m("DELETE").h(headers).b(body);
|
|
353
|
-
return b.build();
|
|
354
|
-
};
|
|
355
|
-
export const se_DeleteSuppressedDestinationCommand = async (input, context) => {
|
|
356
|
-
const b = rb(input, context);
|
|
357
|
-
const headers = {};
|
|
358
|
-
b.bp("/v2/email/suppression/addresses/{EmailAddress}");
|
|
359
|
-
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
360
|
-
let body;
|
|
361
|
-
b.m("DELETE").h(headers).b(body);
|
|
362
|
-
return b.build();
|
|
363
|
-
};
|
|
364
|
-
export const se_DeleteTenantCommand = async (input, context) => {
|
|
365
|
-
const b = rb(input, context);
|
|
366
|
-
const headers = {
|
|
367
|
-
"content-type": "application/json",
|
|
368
|
-
};
|
|
369
|
-
b.bp("/v2/email/tenants/delete");
|
|
370
|
-
let body;
|
|
371
|
-
body = JSON.stringify(take(input, {
|
|
372
|
-
TenantName: [],
|
|
373
|
-
}));
|
|
374
|
-
b.m("POST").h(headers).b(body);
|
|
375
|
-
return b.build();
|
|
376
|
-
};
|
|
377
|
-
export const se_DeleteTenantResourceAssociationCommand = async (input, context) => {
|
|
378
|
-
const b = rb(input, context);
|
|
379
|
-
const headers = {
|
|
380
|
-
"content-type": "application/json",
|
|
381
|
-
};
|
|
382
|
-
b.bp("/v2/email/tenants/resources/delete");
|
|
383
|
-
let body;
|
|
384
|
-
body = JSON.stringify(take(input, {
|
|
385
|
-
ResourceArn: [],
|
|
386
|
-
TenantName: [],
|
|
387
|
-
}));
|
|
388
|
-
b.m("POST").h(headers).b(body);
|
|
389
|
-
return b.build();
|
|
390
|
-
};
|
|
391
|
-
export const se_GetAccountCommand = async (input, context) => {
|
|
392
|
-
const b = rb(input, context);
|
|
393
|
-
const headers = {};
|
|
394
|
-
b.bp("/v2/email/account");
|
|
395
|
-
let body;
|
|
396
|
-
b.m("GET").h(headers).b(body);
|
|
397
|
-
return b.build();
|
|
398
|
-
};
|
|
399
|
-
export const se_GetBlacklistReportsCommand = async (input, context) => {
|
|
400
|
-
const b = rb(input, context);
|
|
401
|
-
const headers = {};
|
|
402
|
-
b.bp("/v2/email/deliverability-dashboard/blacklist-report");
|
|
403
|
-
const query = map({
|
|
404
|
-
[_BIN]: [__expectNonNull(input.BlacklistItemNames, `BlacklistItemNames`) != null, () => input[_BIN] || []],
|
|
405
|
-
});
|
|
406
|
-
let body;
|
|
407
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
408
|
-
return b.build();
|
|
409
|
-
};
|
|
410
|
-
export const se_GetConfigurationSetCommand = async (input, context) => {
|
|
411
|
-
const b = rb(input, context);
|
|
412
|
-
const headers = {};
|
|
413
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}");
|
|
414
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
415
|
-
let body;
|
|
416
|
-
b.m("GET").h(headers).b(body);
|
|
417
|
-
return b.build();
|
|
418
|
-
};
|
|
419
|
-
export const se_GetConfigurationSetEventDestinationsCommand = async (input, context) => {
|
|
420
|
-
const b = rb(input, context);
|
|
421
|
-
const headers = {};
|
|
422
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations");
|
|
423
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
424
|
-
let body;
|
|
425
|
-
b.m("GET").h(headers).b(body);
|
|
426
|
-
return b.build();
|
|
427
|
-
};
|
|
428
|
-
export const se_GetContactCommand = async (input, context) => {
|
|
429
|
-
const b = rb(input, context);
|
|
430
|
-
const headers = {};
|
|
431
|
-
b.bp("/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}");
|
|
432
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
433
|
-
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
434
|
-
let body;
|
|
435
|
-
b.m("GET").h(headers).b(body);
|
|
436
|
-
return b.build();
|
|
437
|
-
};
|
|
438
|
-
export const se_GetContactListCommand = async (input, context) => {
|
|
439
|
-
const b = rb(input, context);
|
|
440
|
-
const headers = {};
|
|
441
|
-
b.bp("/v2/email/contact-lists/{ContactListName}");
|
|
442
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
443
|
-
let body;
|
|
444
|
-
b.m("GET").h(headers).b(body);
|
|
445
|
-
return b.build();
|
|
446
|
-
};
|
|
447
|
-
export const se_GetCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
448
|
-
const b = rb(input, context);
|
|
449
|
-
const headers = {};
|
|
450
|
-
b.bp("/v2/email/custom-verification-email-templates/{TemplateName}");
|
|
451
|
-
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
452
|
-
let body;
|
|
453
|
-
b.m("GET").h(headers).b(body);
|
|
454
|
-
return b.build();
|
|
455
|
-
};
|
|
456
|
-
export const se_GetDedicatedIpCommand = async (input, context) => {
|
|
457
|
-
const b = rb(input, context);
|
|
458
|
-
const headers = {};
|
|
459
|
-
b.bp("/v2/email/dedicated-ips/{Ip}");
|
|
460
|
-
b.p("Ip", () => input.Ip, "{Ip}", false);
|
|
461
|
-
let body;
|
|
462
|
-
b.m("GET").h(headers).b(body);
|
|
463
|
-
return b.build();
|
|
464
|
-
};
|
|
465
|
-
export const se_GetDedicatedIpPoolCommand = async (input, context) => {
|
|
466
|
-
const b = rb(input, context);
|
|
467
|
-
const headers = {};
|
|
468
|
-
b.bp("/v2/email/dedicated-ip-pools/{PoolName}");
|
|
469
|
-
b.p("PoolName", () => input.PoolName, "{PoolName}", false);
|
|
470
|
-
let body;
|
|
471
|
-
b.m("GET").h(headers).b(body);
|
|
472
|
-
return b.build();
|
|
473
|
-
};
|
|
474
|
-
export const se_GetDedicatedIpsCommand = async (input, context) => {
|
|
475
|
-
const b = rb(input, context);
|
|
476
|
-
const headers = {};
|
|
477
|
-
b.bp("/v2/email/dedicated-ips");
|
|
478
|
-
const query = map({
|
|
479
|
-
[_PN]: [, input[_PN]],
|
|
480
|
-
[_NT]: [, input[_NT]],
|
|
481
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
482
|
-
});
|
|
483
|
-
let body;
|
|
484
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
485
|
-
return b.build();
|
|
486
|
-
};
|
|
487
|
-
export const se_GetDeliverabilityDashboardOptionsCommand = async (input, context) => {
|
|
488
|
-
const b = rb(input, context);
|
|
489
|
-
const headers = {};
|
|
490
|
-
b.bp("/v2/email/deliverability-dashboard");
|
|
491
|
-
let body;
|
|
492
|
-
b.m("GET").h(headers).b(body);
|
|
493
|
-
return b.build();
|
|
494
|
-
};
|
|
495
|
-
export const se_GetDeliverabilityTestReportCommand = async (input, context) => {
|
|
496
|
-
const b = rb(input, context);
|
|
497
|
-
const headers = {};
|
|
498
|
-
b.bp("/v2/email/deliverability-dashboard/test-reports/{ReportId}");
|
|
499
|
-
b.p("ReportId", () => input.ReportId, "{ReportId}", false);
|
|
500
|
-
let body;
|
|
501
|
-
b.m("GET").h(headers).b(body);
|
|
502
|
-
return b.build();
|
|
503
|
-
};
|
|
504
|
-
export const se_GetDomainDeliverabilityCampaignCommand = async (input, context) => {
|
|
505
|
-
const b = rb(input, context);
|
|
506
|
-
const headers = {};
|
|
507
|
-
b.bp("/v2/email/deliverability-dashboard/campaigns/{CampaignId}");
|
|
508
|
-
b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);
|
|
509
|
-
let body;
|
|
510
|
-
b.m("GET").h(headers).b(body);
|
|
511
|
-
return b.build();
|
|
512
|
-
};
|
|
513
|
-
export const se_GetDomainStatisticsReportCommand = async (input, context) => {
|
|
514
|
-
const b = rb(input, context);
|
|
515
|
-
const headers = {};
|
|
516
|
-
b.bp("/v2/email/deliverability-dashboard/statistics-report/{Domain}");
|
|
517
|
-
b.p("Domain", () => input.Domain, "{Domain}", false);
|
|
518
|
-
const query = map({
|
|
519
|
-
[_SD]: [__expectNonNull(input.StartDate, `StartDate`) != null, () => __serializeDateTime(input[_SD]).toString()],
|
|
520
|
-
[_ED]: [__expectNonNull(input.EndDate, `EndDate`) != null, () => __serializeDateTime(input[_ED]).toString()],
|
|
521
|
-
});
|
|
522
|
-
let body;
|
|
523
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
524
|
-
return b.build();
|
|
525
|
-
};
|
|
526
|
-
export const se_GetEmailIdentityCommand = async (input, context) => {
|
|
527
|
-
const b = rb(input, context);
|
|
528
|
-
const headers = {};
|
|
529
|
-
b.bp("/v2/email/identities/{EmailIdentity}");
|
|
530
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
531
|
-
let body;
|
|
532
|
-
b.m("GET").h(headers).b(body);
|
|
533
|
-
return b.build();
|
|
534
|
-
};
|
|
535
|
-
export const se_GetEmailIdentityPoliciesCommand = async (input, context) => {
|
|
536
|
-
const b = rb(input, context);
|
|
537
|
-
const headers = {};
|
|
538
|
-
b.bp("/v2/email/identities/{EmailIdentity}/policies");
|
|
539
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
540
|
-
let body;
|
|
541
|
-
b.m("GET").h(headers).b(body);
|
|
542
|
-
return b.build();
|
|
543
|
-
};
|
|
544
|
-
export const se_GetEmailTemplateCommand = async (input, context) => {
|
|
545
|
-
const b = rb(input, context);
|
|
546
|
-
const headers = {};
|
|
547
|
-
b.bp("/v2/email/templates/{TemplateName}");
|
|
548
|
-
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
549
|
-
let body;
|
|
550
|
-
b.m("GET").h(headers).b(body);
|
|
551
|
-
return b.build();
|
|
552
|
-
};
|
|
553
|
-
export const se_GetExportJobCommand = async (input, context) => {
|
|
554
|
-
const b = rb(input, context);
|
|
555
|
-
const headers = {};
|
|
556
|
-
b.bp("/v2/email/export-jobs/{JobId}");
|
|
557
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
558
|
-
let body;
|
|
559
|
-
b.m("GET").h(headers).b(body);
|
|
560
|
-
return b.build();
|
|
561
|
-
};
|
|
562
|
-
export const se_GetImportJobCommand = async (input, context) => {
|
|
563
|
-
const b = rb(input, context);
|
|
564
|
-
const headers = {};
|
|
565
|
-
b.bp("/v2/email/import-jobs/{JobId}");
|
|
566
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
567
|
-
let body;
|
|
568
|
-
b.m("GET").h(headers).b(body);
|
|
569
|
-
return b.build();
|
|
570
|
-
};
|
|
571
|
-
export const se_GetMessageInsightsCommand = async (input, context) => {
|
|
572
|
-
const b = rb(input, context);
|
|
573
|
-
const headers = {};
|
|
574
|
-
b.bp("/v2/email/insights/{MessageId}");
|
|
575
|
-
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
576
|
-
let body;
|
|
577
|
-
b.m("GET").h(headers).b(body);
|
|
578
|
-
return b.build();
|
|
579
|
-
};
|
|
580
|
-
export const se_GetMultiRegionEndpointCommand = async (input, context) => {
|
|
581
|
-
const b = rb(input, context);
|
|
582
|
-
const headers = {};
|
|
583
|
-
b.bp("/v2/email/multi-region-endpoints/{EndpointName}");
|
|
584
|
-
b.p("EndpointName", () => input.EndpointName, "{EndpointName}", false);
|
|
585
|
-
let body;
|
|
586
|
-
b.m("GET").h(headers).b(body);
|
|
587
|
-
return b.build();
|
|
588
|
-
};
|
|
589
|
-
export const se_GetReputationEntityCommand = async (input, context) => {
|
|
590
|
-
const b = rb(input, context);
|
|
591
|
-
const headers = {};
|
|
592
|
-
b.bp("/v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}");
|
|
593
|
-
b.p("ReputationEntityReference", () => input.ReputationEntityReference, "{ReputationEntityReference}", false);
|
|
594
|
-
b.p("ReputationEntityType", () => input.ReputationEntityType, "{ReputationEntityType}", false);
|
|
595
|
-
let body;
|
|
596
|
-
b.m("GET").h(headers).b(body);
|
|
597
|
-
return b.build();
|
|
598
|
-
};
|
|
599
|
-
export const se_GetSuppressedDestinationCommand = async (input, context) => {
|
|
600
|
-
const b = rb(input, context);
|
|
601
|
-
const headers = {};
|
|
602
|
-
b.bp("/v2/email/suppression/addresses/{EmailAddress}");
|
|
603
|
-
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
604
|
-
let body;
|
|
605
|
-
b.m("GET").h(headers).b(body);
|
|
606
|
-
return b.build();
|
|
607
|
-
};
|
|
608
|
-
export const se_GetTenantCommand = async (input, context) => {
|
|
609
|
-
const b = rb(input, context);
|
|
610
|
-
const headers = {
|
|
611
|
-
"content-type": "application/json",
|
|
612
|
-
};
|
|
613
|
-
b.bp("/v2/email/tenants/get");
|
|
614
|
-
let body;
|
|
615
|
-
body = JSON.stringify(take(input, {
|
|
616
|
-
TenantName: [],
|
|
617
|
-
}));
|
|
618
|
-
b.m("POST").h(headers).b(body);
|
|
619
|
-
return b.build();
|
|
620
|
-
};
|
|
621
|
-
export const se_ListConfigurationSetsCommand = async (input, context) => {
|
|
622
|
-
const b = rb(input, context);
|
|
623
|
-
const headers = {};
|
|
624
|
-
b.bp("/v2/email/configuration-sets");
|
|
625
|
-
const query = map({
|
|
626
|
-
[_NT]: [, input[_NT]],
|
|
627
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
628
|
-
});
|
|
629
|
-
let body;
|
|
630
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
631
|
-
return b.build();
|
|
632
|
-
};
|
|
633
|
-
export const se_ListContactListsCommand = async (input, context) => {
|
|
634
|
-
const b = rb(input, context);
|
|
635
|
-
const headers = {};
|
|
636
|
-
b.bp("/v2/email/contact-lists");
|
|
637
|
-
const query = map({
|
|
638
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
639
|
-
[_NT]: [, input[_NT]],
|
|
640
|
-
});
|
|
641
|
-
let body;
|
|
642
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
643
|
-
return b.build();
|
|
644
|
-
};
|
|
645
|
-
export const se_ListContactsCommand = async (input, context) => {
|
|
646
|
-
const b = rb(input, context);
|
|
647
|
-
const headers = {
|
|
648
|
-
"content-type": "application/json",
|
|
649
|
-
};
|
|
650
|
-
b.bp("/v2/email/contact-lists/{ContactListName}/contacts/list");
|
|
651
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
652
|
-
let body;
|
|
653
|
-
body = JSON.stringify(take(input, {
|
|
654
|
-
Filter: (_) => _json(_),
|
|
655
|
-
NextToken: [],
|
|
656
|
-
PageSize: [],
|
|
657
|
-
}));
|
|
658
|
-
b.m("POST").h(headers).b(body);
|
|
659
|
-
return b.build();
|
|
660
|
-
};
|
|
661
|
-
export const se_ListCustomVerificationEmailTemplatesCommand = async (input, context) => {
|
|
662
|
-
const b = rb(input, context);
|
|
663
|
-
const headers = {};
|
|
664
|
-
b.bp("/v2/email/custom-verification-email-templates");
|
|
665
|
-
const query = map({
|
|
666
|
-
[_NT]: [, input[_NT]],
|
|
667
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
668
|
-
});
|
|
669
|
-
let body;
|
|
670
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
671
|
-
return b.build();
|
|
672
|
-
};
|
|
673
|
-
export const se_ListDedicatedIpPoolsCommand = async (input, context) => {
|
|
674
|
-
const b = rb(input, context);
|
|
675
|
-
const headers = {};
|
|
676
|
-
b.bp("/v2/email/dedicated-ip-pools");
|
|
677
|
-
const query = map({
|
|
678
|
-
[_NT]: [, input[_NT]],
|
|
679
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
680
|
-
});
|
|
681
|
-
let body;
|
|
682
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
683
|
-
return b.build();
|
|
684
|
-
};
|
|
685
|
-
export const se_ListDeliverabilityTestReportsCommand = async (input, context) => {
|
|
686
|
-
const b = rb(input, context);
|
|
687
|
-
const headers = {};
|
|
688
|
-
b.bp("/v2/email/deliverability-dashboard/test-reports");
|
|
689
|
-
const query = map({
|
|
690
|
-
[_NT]: [, input[_NT]],
|
|
691
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
692
|
-
});
|
|
693
|
-
let body;
|
|
694
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
695
|
-
return b.build();
|
|
696
|
-
};
|
|
697
|
-
export const se_ListDomainDeliverabilityCampaignsCommand = async (input, context) => {
|
|
698
|
-
const b = rb(input, context);
|
|
699
|
-
const headers = {};
|
|
700
|
-
b.bp("/v2/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns");
|
|
701
|
-
b.p("SubscribedDomain", () => input.SubscribedDomain, "{SubscribedDomain}", false);
|
|
702
|
-
const query = map({
|
|
703
|
-
[_SD]: [__expectNonNull(input.StartDate, `StartDate`) != null, () => __serializeDateTime(input[_SD]).toString()],
|
|
704
|
-
[_ED]: [__expectNonNull(input.EndDate, `EndDate`) != null, () => __serializeDateTime(input[_ED]).toString()],
|
|
705
|
-
[_NT]: [, input[_NT]],
|
|
706
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
707
|
-
});
|
|
708
|
-
let body;
|
|
709
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
710
|
-
return b.build();
|
|
711
|
-
};
|
|
712
|
-
export const se_ListEmailIdentitiesCommand = async (input, context) => {
|
|
713
|
-
const b = rb(input, context);
|
|
714
|
-
const headers = {};
|
|
715
|
-
b.bp("/v2/email/identities");
|
|
716
|
-
const query = map({
|
|
717
|
-
[_NT]: [, input[_NT]],
|
|
718
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
719
|
-
});
|
|
720
|
-
let body;
|
|
721
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
722
|
-
return b.build();
|
|
723
|
-
};
|
|
724
|
-
export const se_ListEmailTemplatesCommand = async (input, context) => {
|
|
725
|
-
const b = rb(input, context);
|
|
726
|
-
const headers = {};
|
|
727
|
-
b.bp("/v2/email/templates");
|
|
728
|
-
const query = map({
|
|
729
|
-
[_NT]: [, input[_NT]],
|
|
730
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
731
|
-
});
|
|
732
|
-
let body;
|
|
733
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
734
|
-
return b.build();
|
|
735
|
-
};
|
|
736
|
-
export const se_ListExportJobsCommand = async (input, context) => {
|
|
737
|
-
const b = rb(input, context);
|
|
738
|
-
const headers = {
|
|
739
|
-
"content-type": "application/json",
|
|
740
|
-
};
|
|
741
|
-
b.bp("/v2/email/list-export-jobs");
|
|
742
|
-
let body;
|
|
743
|
-
body = JSON.stringify(take(input, {
|
|
744
|
-
ExportSourceType: [],
|
|
745
|
-
JobStatus: [],
|
|
746
|
-
NextToken: [],
|
|
747
|
-
PageSize: [],
|
|
748
|
-
}));
|
|
749
|
-
b.m("POST").h(headers).b(body);
|
|
750
|
-
return b.build();
|
|
751
|
-
};
|
|
752
|
-
export const se_ListImportJobsCommand = async (input, context) => {
|
|
753
|
-
const b = rb(input, context);
|
|
754
|
-
const headers = {
|
|
755
|
-
"content-type": "application/json",
|
|
756
|
-
};
|
|
757
|
-
b.bp("/v2/email/import-jobs/list");
|
|
758
|
-
let body;
|
|
759
|
-
body = JSON.stringify(take(input, {
|
|
760
|
-
ImportDestinationType: [],
|
|
761
|
-
NextToken: [],
|
|
762
|
-
PageSize: [],
|
|
763
|
-
}));
|
|
764
|
-
b.m("POST").h(headers).b(body);
|
|
765
|
-
return b.build();
|
|
766
|
-
};
|
|
767
|
-
export const se_ListMultiRegionEndpointsCommand = async (input, context) => {
|
|
768
|
-
const b = rb(input, context);
|
|
769
|
-
const headers = {};
|
|
770
|
-
b.bp("/v2/email/multi-region-endpoints");
|
|
771
|
-
const query = map({
|
|
772
|
-
[_NT]: [, input[_NT]],
|
|
773
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
774
|
-
});
|
|
775
|
-
let body;
|
|
776
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
777
|
-
return b.build();
|
|
778
|
-
};
|
|
779
|
-
export const se_ListRecommendationsCommand = async (input, context) => {
|
|
780
|
-
const b = rb(input, context);
|
|
781
|
-
const headers = {
|
|
782
|
-
"content-type": "application/json",
|
|
783
|
-
};
|
|
784
|
-
b.bp("/v2/email/vdm/recommendations");
|
|
785
|
-
let body;
|
|
786
|
-
body = JSON.stringify(take(input, {
|
|
787
|
-
Filter: (_) => _json(_),
|
|
788
|
-
NextToken: [],
|
|
789
|
-
PageSize: [],
|
|
790
|
-
}));
|
|
791
|
-
b.m("POST").h(headers).b(body);
|
|
792
|
-
return b.build();
|
|
793
|
-
};
|
|
794
|
-
export const se_ListReputationEntitiesCommand = async (input, context) => {
|
|
795
|
-
const b = rb(input, context);
|
|
796
|
-
const headers = {
|
|
797
|
-
"content-type": "application/json",
|
|
798
|
-
};
|
|
799
|
-
b.bp("/v2/email/reputation/entities");
|
|
800
|
-
let body;
|
|
801
|
-
body = JSON.stringify(take(input, {
|
|
802
|
-
Filter: (_) => _json(_),
|
|
803
|
-
NextToken: [],
|
|
804
|
-
PageSize: [],
|
|
805
|
-
}));
|
|
806
|
-
b.m("POST").h(headers).b(body);
|
|
807
|
-
return b.build();
|
|
808
|
-
};
|
|
809
|
-
export const se_ListResourceTenantsCommand = async (input, context) => {
|
|
810
|
-
const b = rb(input, context);
|
|
811
|
-
const headers = {
|
|
812
|
-
"content-type": "application/json",
|
|
813
|
-
};
|
|
814
|
-
b.bp("/v2/email/resources/tenants/list");
|
|
815
|
-
let body;
|
|
816
|
-
body = JSON.stringify(take(input, {
|
|
817
|
-
NextToken: [],
|
|
818
|
-
PageSize: [],
|
|
819
|
-
ResourceArn: [],
|
|
820
|
-
}));
|
|
821
|
-
b.m("POST").h(headers).b(body);
|
|
822
|
-
return b.build();
|
|
823
|
-
};
|
|
824
|
-
export const se_ListSuppressedDestinationsCommand = async (input, context) => {
|
|
825
|
-
const b = rb(input, context);
|
|
826
|
-
const headers = {};
|
|
827
|
-
b.bp("/v2/email/suppression/addresses");
|
|
828
|
-
const query = map({
|
|
829
|
-
[_Re]: [() => input.Reasons !== void 0, () => input[_R] || []],
|
|
830
|
-
[_SD]: [() => input.StartDate !== void 0, () => __serializeDateTime(input[_SD]).toString()],
|
|
831
|
-
[_ED]: [() => input.EndDate !== void 0, () => __serializeDateTime(input[_ED]).toString()],
|
|
832
|
-
[_NT]: [, input[_NT]],
|
|
833
|
-
[_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
|
|
834
|
-
});
|
|
835
|
-
let body;
|
|
836
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
837
|
-
return b.build();
|
|
838
|
-
};
|
|
839
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
840
|
-
const b = rb(input, context);
|
|
841
|
-
const headers = {};
|
|
842
|
-
b.bp("/v2/email/tags");
|
|
843
|
-
const query = map({
|
|
844
|
-
[_RA]: [, __expectNonNull(input[_RA], `ResourceArn`)],
|
|
845
|
-
});
|
|
846
|
-
let body;
|
|
847
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
848
|
-
return b.build();
|
|
849
|
-
};
|
|
850
|
-
export const se_ListTenantResourcesCommand = async (input, context) => {
|
|
851
|
-
const b = rb(input, context);
|
|
852
|
-
const headers = {
|
|
853
|
-
"content-type": "application/json",
|
|
854
|
-
};
|
|
855
|
-
b.bp("/v2/email/tenants/resources/list");
|
|
856
|
-
let body;
|
|
857
|
-
body = JSON.stringify(take(input, {
|
|
858
|
-
Filter: (_) => _json(_),
|
|
859
|
-
NextToken: [],
|
|
860
|
-
PageSize: [],
|
|
861
|
-
TenantName: [],
|
|
862
|
-
}));
|
|
863
|
-
b.m("POST").h(headers).b(body);
|
|
864
|
-
return b.build();
|
|
865
|
-
};
|
|
866
|
-
export const se_ListTenantsCommand = async (input, context) => {
|
|
867
|
-
const b = rb(input, context);
|
|
868
|
-
const headers = {
|
|
869
|
-
"content-type": "application/json",
|
|
870
|
-
};
|
|
871
|
-
b.bp("/v2/email/tenants/list");
|
|
872
|
-
let body;
|
|
873
|
-
body = JSON.stringify(take(input, {
|
|
874
|
-
NextToken: [],
|
|
875
|
-
PageSize: [],
|
|
876
|
-
}));
|
|
877
|
-
b.m("POST").h(headers).b(body);
|
|
878
|
-
return b.build();
|
|
879
|
-
};
|
|
880
|
-
export const se_PutAccountDedicatedIpWarmupAttributesCommand = async (input, context) => {
|
|
881
|
-
const b = rb(input, context);
|
|
882
|
-
const headers = {
|
|
883
|
-
"content-type": "application/json",
|
|
884
|
-
};
|
|
885
|
-
b.bp("/v2/email/account/dedicated-ips/warmup");
|
|
886
|
-
let body;
|
|
887
|
-
body = JSON.stringify(take(input, {
|
|
888
|
-
AutoWarmupEnabled: [],
|
|
889
|
-
}));
|
|
890
|
-
b.m("PUT").h(headers).b(body);
|
|
891
|
-
return b.build();
|
|
892
|
-
};
|
|
893
|
-
export const se_PutAccountDetailsCommand = async (input, context) => {
|
|
894
|
-
const b = rb(input, context);
|
|
895
|
-
const headers = {
|
|
896
|
-
"content-type": "application/json",
|
|
897
|
-
};
|
|
898
|
-
b.bp("/v2/email/account/details");
|
|
899
|
-
let body;
|
|
900
|
-
body = JSON.stringify(take(input, {
|
|
901
|
-
AdditionalContactEmailAddresses: (_) => _json(_),
|
|
902
|
-
ContactLanguage: [],
|
|
903
|
-
MailType: [],
|
|
904
|
-
ProductionAccessEnabled: [],
|
|
905
|
-
UseCaseDescription: [],
|
|
906
|
-
WebsiteURL: [],
|
|
907
|
-
}));
|
|
908
|
-
b.m("POST").h(headers).b(body);
|
|
909
|
-
return b.build();
|
|
910
|
-
};
|
|
911
|
-
export const se_PutAccountSendingAttributesCommand = async (input, context) => {
|
|
912
|
-
const b = rb(input, context);
|
|
913
|
-
const headers = {
|
|
914
|
-
"content-type": "application/json",
|
|
915
|
-
};
|
|
916
|
-
b.bp("/v2/email/account/sending");
|
|
917
|
-
let body;
|
|
918
|
-
body = JSON.stringify(take(input, {
|
|
919
|
-
SendingEnabled: [],
|
|
920
|
-
}));
|
|
921
|
-
b.m("PUT").h(headers).b(body);
|
|
922
|
-
return b.build();
|
|
923
|
-
};
|
|
924
|
-
export const se_PutAccountSuppressionAttributesCommand = async (input, context) => {
|
|
925
|
-
const b = rb(input, context);
|
|
926
|
-
const headers = {
|
|
927
|
-
"content-type": "application/json",
|
|
928
|
-
};
|
|
929
|
-
b.bp("/v2/email/account/suppression");
|
|
930
|
-
let body;
|
|
931
|
-
body = JSON.stringify(take(input, {
|
|
932
|
-
SuppressedReasons: (_) => _json(_),
|
|
933
|
-
}));
|
|
934
|
-
b.m("PUT").h(headers).b(body);
|
|
935
|
-
return b.build();
|
|
936
|
-
};
|
|
937
|
-
export const se_PutAccountVdmAttributesCommand = async (input, context) => {
|
|
938
|
-
const b = rb(input, context);
|
|
939
|
-
const headers = {
|
|
940
|
-
"content-type": "application/json",
|
|
941
|
-
};
|
|
942
|
-
b.bp("/v2/email/account/vdm");
|
|
943
|
-
let body;
|
|
944
|
-
body = JSON.stringify(take(input, {
|
|
945
|
-
VdmAttributes: (_) => _json(_),
|
|
946
|
-
}));
|
|
947
|
-
b.m("PUT").h(headers).b(body);
|
|
948
|
-
return b.build();
|
|
949
|
-
};
|
|
950
|
-
export const se_PutConfigurationSetArchivingOptionsCommand = async (input, context) => {
|
|
951
|
-
const b = rb(input, context);
|
|
952
|
-
const headers = {
|
|
953
|
-
"content-type": "application/json",
|
|
954
|
-
};
|
|
955
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/archiving-options");
|
|
956
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
957
|
-
let body;
|
|
958
|
-
body = JSON.stringify(take(input, {
|
|
959
|
-
ArchiveArn: [],
|
|
960
|
-
}));
|
|
961
|
-
b.m("PUT").h(headers).b(body);
|
|
962
|
-
return b.build();
|
|
963
|
-
};
|
|
964
|
-
export const se_PutConfigurationSetDeliveryOptionsCommand = async (input, context) => {
|
|
965
|
-
const b = rb(input, context);
|
|
966
|
-
const headers = {
|
|
967
|
-
"content-type": "application/json",
|
|
968
|
-
};
|
|
969
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/delivery-options");
|
|
970
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
971
|
-
let body;
|
|
972
|
-
body = JSON.stringify(take(input, {
|
|
973
|
-
MaxDeliverySeconds: [],
|
|
974
|
-
SendingPoolName: [],
|
|
975
|
-
TlsPolicy: [],
|
|
976
|
-
}));
|
|
977
|
-
b.m("PUT").h(headers).b(body);
|
|
978
|
-
return b.build();
|
|
979
|
-
};
|
|
980
|
-
export const se_PutConfigurationSetReputationOptionsCommand = async (input, context) => {
|
|
981
|
-
const b = rb(input, context);
|
|
982
|
-
const headers = {
|
|
983
|
-
"content-type": "application/json",
|
|
984
|
-
};
|
|
985
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/reputation-options");
|
|
986
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
987
|
-
let body;
|
|
988
|
-
body = JSON.stringify(take(input, {
|
|
989
|
-
ReputationMetricsEnabled: [],
|
|
990
|
-
}));
|
|
991
|
-
b.m("PUT").h(headers).b(body);
|
|
992
|
-
return b.build();
|
|
993
|
-
};
|
|
994
|
-
export const se_PutConfigurationSetSendingOptionsCommand = async (input, context) => {
|
|
995
|
-
const b = rb(input, context);
|
|
996
|
-
const headers = {
|
|
997
|
-
"content-type": "application/json",
|
|
998
|
-
};
|
|
999
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/sending");
|
|
1000
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1001
|
-
let body;
|
|
1002
|
-
body = JSON.stringify(take(input, {
|
|
1003
|
-
SendingEnabled: [],
|
|
1004
|
-
}));
|
|
1005
|
-
b.m("PUT").h(headers).b(body);
|
|
1006
|
-
return b.build();
|
|
1007
|
-
};
|
|
1008
|
-
export const se_PutConfigurationSetSuppressionOptionsCommand = async (input, context) => {
|
|
1009
|
-
const b = rb(input, context);
|
|
1010
|
-
const headers = {
|
|
1011
|
-
"content-type": "application/json",
|
|
1012
|
-
};
|
|
1013
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/suppression-options");
|
|
1014
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1015
|
-
let body;
|
|
1016
|
-
body = JSON.stringify(take(input, {
|
|
1017
|
-
SuppressedReasons: (_) => _json(_),
|
|
1018
|
-
}));
|
|
1019
|
-
b.m("PUT").h(headers).b(body);
|
|
1020
|
-
return b.build();
|
|
1021
|
-
};
|
|
1022
|
-
export const se_PutConfigurationSetTrackingOptionsCommand = async (input, context) => {
|
|
1023
|
-
const b = rb(input, context);
|
|
1024
|
-
const headers = {
|
|
1025
|
-
"content-type": "application/json",
|
|
1026
|
-
};
|
|
1027
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/tracking-options");
|
|
1028
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1029
|
-
let body;
|
|
1030
|
-
body = JSON.stringify(take(input, {
|
|
1031
|
-
CustomRedirectDomain: [],
|
|
1032
|
-
HttpsPolicy: [],
|
|
1033
|
-
}));
|
|
1034
|
-
b.m("PUT").h(headers).b(body);
|
|
1035
|
-
return b.build();
|
|
1036
|
-
};
|
|
1037
|
-
export const se_PutConfigurationSetVdmOptionsCommand = async (input, context) => {
|
|
1038
|
-
const b = rb(input, context);
|
|
1039
|
-
const headers = {
|
|
1040
|
-
"content-type": "application/json",
|
|
1041
|
-
};
|
|
1042
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/vdm-options");
|
|
1043
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1044
|
-
let body;
|
|
1045
|
-
body = JSON.stringify(take(input, {
|
|
1046
|
-
VdmOptions: (_) => _json(_),
|
|
1047
|
-
}));
|
|
1048
|
-
b.m("PUT").h(headers).b(body);
|
|
1049
|
-
return b.build();
|
|
1050
|
-
};
|
|
1051
|
-
export const se_PutDedicatedIpInPoolCommand = async (input, context) => {
|
|
1052
|
-
const b = rb(input, context);
|
|
1053
|
-
const headers = {
|
|
1054
|
-
"content-type": "application/json",
|
|
1055
|
-
};
|
|
1056
|
-
b.bp("/v2/email/dedicated-ips/{Ip}/pool");
|
|
1057
|
-
b.p("Ip", () => input.Ip, "{Ip}", false);
|
|
1058
|
-
let body;
|
|
1059
|
-
body = JSON.stringify(take(input, {
|
|
1060
|
-
DestinationPoolName: [],
|
|
1061
|
-
}));
|
|
1062
|
-
b.m("PUT").h(headers).b(body);
|
|
1063
|
-
return b.build();
|
|
1064
|
-
};
|
|
1065
|
-
export const se_PutDedicatedIpPoolScalingAttributesCommand = async (input, context) => {
|
|
1066
|
-
const b = rb(input, context);
|
|
1067
|
-
const headers = {
|
|
1068
|
-
"content-type": "application/json",
|
|
1069
|
-
};
|
|
1070
|
-
b.bp("/v2/email/dedicated-ip-pools/{PoolName}/scaling");
|
|
1071
|
-
b.p("PoolName", () => input.PoolName, "{PoolName}", false);
|
|
1072
|
-
let body;
|
|
1073
|
-
body = JSON.stringify(take(input, {
|
|
1074
|
-
ScalingMode: [],
|
|
1075
|
-
}));
|
|
1076
|
-
b.m("PUT").h(headers).b(body);
|
|
1077
|
-
return b.build();
|
|
1078
|
-
};
|
|
1079
|
-
export const se_PutDedicatedIpWarmupAttributesCommand = async (input, context) => {
|
|
1080
|
-
const b = rb(input, context);
|
|
1081
|
-
const headers = {
|
|
1082
|
-
"content-type": "application/json",
|
|
1083
|
-
};
|
|
1084
|
-
b.bp("/v2/email/dedicated-ips/{Ip}/warmup");
|
|
1085
|
-
b.p("Ip", () => input.Ip, "{Ip}", false);
|
|
1086
|
-
let body;
|
|
1087
|
-
body = JSON.stringify(take(input, {
|
|
1088
|
-
WarmupPercentage: [],
|
|
1089
|
-
}));
|
|
1090
|
-
b.m("PUT").h(headers).b(body);
|
|
1091
|
-
return b.build();
|
|
1092
|
-
};
|
|
1093
|
-
export const se_PutDeliverabilityDashboardOptionCommand = async (input, context) => {
|
|
1094
|
-
const b = rb(input, context);
|
|
1095
|
-
const headers = {
|
|
1096
|
-
"content-type": "application/json",
|
|
1097
|
-
};
|
|
1098
|
-
b.bp("/v2/email/deliverability-dashboard");
|
|
1099
|
-
let body;
|
|
1100
|
-
body = JSON.stringify(take(input, {
|
|
1101
|
-
DashboardEnabled: [],
|
|
1102
|
-
SubscribedDomains: (_) => se_DomainDeliverabilityTrackingOptions(_, context),
|
|
1103
|
-
}));
|
|
1104
|
-
b.m("PUT").h(headers).b(body);
|
|
1105
|
-
return b.build();
|
|
1106
|
-
};
|
|
1107
|
-
export const se_PutEmailIdentityConfigurationSetAttributesCommand = async (input, context) => {
|
|
1108
|
-
const b = rb(input, context);
|
|
1109
|
-
const headers = {
|
|
1110
|
-
"content-type": "application/json",
|
|
1111
|
-
};
|
|
1112
|
-
b.bp("/v2/email/identities/{EmailIdentity}/configuration-set");
|
|
1113
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1114
|
-
let body;
|
|
1115
|
-
body = JSON.stringify(take(input, {
|
|
1116
|
-
ConfigurationSetName: [],
|
|
1117
|
-
}));
|
|
1118
|
-
b.m("PUT").h(headers).b(body);
|
|
1119
|
-
return b.build();
|
|
1120
|
-
};
|
|
1121
|
-
export const se_PutEmailIdentityDkimAttributesCommand = async (input, context) => {
|
|
1122
|
-
const b = rb(input, context);
|
|
1123
|
-
const headers = {
|
|
1124
|
-
"content-type": "application/json",
|
|
1125
|
-
};
|
|
1126
|
-
b.bp("/v2/email/identities/{EmailIdentity}/dkim");
|
|
1127
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1128
|
-
let body;
|
|
1129
|
-
body = JSON.stringify(take(input, {
|
|
1130
|
-
SigningEnabled: [],
|
|
1131
|
-
}));
|
|
1132
|
-
b.m("PUT").h(headers).b(body);
|
|
1133
|
-
return b.build();
|
|
1134
|
-
};
|
|
1135
|
-
export const se_PutEmailIdentityDkimSigningAttributesCommand = async (input, context) => {
|
|
1136
|
-
const b = rb(input, context);
|
|
1137
|
-
const headers = {
|
|
1138
|
-
"content-type": "application/json",
|
|
1139
|
-
};
|
|
1140
|
-
b.bp("/v1/email/identities/{EmailIdentity}/dkim/signing");
|
|
1141
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1142
|
-
let body;
|
|
1143
|
-
body = JSON.stringify(take(input, {
|
|
1144
|
-
SigningAttributes: (_) => _json(_),
|
|
1145
|
-
SigningAttributesOrigin: [],
|
|
1146
|
-
}));
|
|
1147
|
-
b.m("PUT").h(headers).b(body);
|
|
1148
|
-
return b.build();
|
|
1149
|
-
};
|
|
1150
|
-
export const se_PutEmailIdentityFeedbackAttributesCommand = async (input, context) => {
|
|
1151
|
-
const b = rb(input, context);
|
|
1152
|
-
const headers = {
|
|
1153
|
-
"content-type": "application/json",
|
|
1154
|
-
};
|
|
1155
|
-
b.bp("/v2/email/identities/{EmailIdentity}/feedback");
|
|
1156
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1157
|
-
let body;
|
|
1158
|
-
body = JSON.stringify(take(input, {
|
|
1159
|
-
EmailForwardingEnabled: [],
|
|
1160
|
-
}));
|
|
1161
|
-
b.m("PUT").h(headers).b(body);
|
|
1162
|
-
return b.build();
|
|
1163
|
-
};
|
|
1164
|
-
export const se_PutEmailIdentityMailFromAttributesCommand = async (input, context) => {
|
|
1165
|
-
const b = rb(input, context);
|
|
1166
|
-
const headers = {
|
|
1167
|
-
"content-type": "application/json",
|
|
1168
|
-
};
|
|
1169
|
-
b.bp("/v2/email/identities/{EmailIdentity}/mail-from");
|
|
1170
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1171
|
-
let body;
|
|
1172
|
-
body = JSON.stringify(take(input, {
|
|
1173
|
-
BehaviorOnMxFailure: [],
|
|
1174
|
-
MailFromDomain: [],
|
|
1175
|
-
}));
|
|
1176
|
-
b.m("PUT").h(headers).b(body);
|
|
1177
|
-
return b.build();
|
|
1178
|
-
};
|
|
1179
|
-
export const se_PutSuppressedDestinationCommand = async (input, context) => {
|
|
1180
|
-
const b = rb(input, context);
|
|
1181
|
-
const headers = {
|
|
1182
|
-
"content-type": "application/json",
|
|
1183
|
-
};
|
|
1184
|
-
b.bp("/v2/email/suppression/addresses");
|
|
1185
|
-
let body;
|
|
1186
|
-
body = JSON.stringify(take(input, {
|
|
1187
|
-
EmailAddress: [],
|
|
1188
|
-
Reason: [],
|
|
1189
|
-
}));
|
|
1190
|
-
b.m("PUT").h(headers).b(body);
|
|
1191
|
-
return b.build();
|
|
1192
|
-
};
|
|
1193
|
-
export const se_SendBulkEmailCommand = async (input, context) => {
|
|
1194
|
-
const b = rb(input, context);
|
|
1195
|
-
const headers = {
|
|
1196
|
-
"content-type": "application/json",
|
|
1197
|
-
};
|
|
1198
|
-
b.bp("/v2/email/outbound-bulk-emails");
|
|
1199
|
-
let body;
|
|
1200
|
-
body = JSON.stringify(take(input, {
|
|
1201
|
-
BulkEmailEntries: (_) => _json(_),
|
|
1202
|
-
ConfigurationSetName: [],
|
|
1203
|
-
DefaultContent: (_) => se_BulkEmailContent(_, context),
|
|
1204
|
-
DefaultEmailTags: (_) => _json(_),
|
|
1205
|
-
EndpointId: [],
|
|
1206
|
-
FeedbackForwardingEmailAddress: [],
|
|
1207
|
-
FeedbackForwardingEmailAddressIdentityArn: [],
|
|
1208
|
-
FromEmailAddress: [],
|
|
1209
|
-
FromEmailAddressIdentityArn: [],
|
|
1210
|
-
ReplyToAddresses: (_) => _json(_),
|
|
1211
|
-
TenantName: [],
|
|
1212
|
-
}));
|
|
1213
|
-
b.m("POST").h(headers).b(body);
|
|
1214
|
-
return b.build();
|
|
1215
|
-
};
|
|
1216
|
-
export const se_SendCustomVerificationEmailCommand = async (input, context) => {
|
|
1217
|
-
const b = rb(input, context);
|
|
1218
|
-
const headers = {
|
|
1219
|
-
"content-type": "application/json",
|
|
1220
|
-
};
|
|
1221
|
-
b.bp("/v2/email/outbound-custom-verification-emails");
|
|
1222
|
-
let body;
|
|
1223
|
-
body = JSON.stringify(take(input, {
|
|
1224
|
-
ConfigurationSetName: [],
|
|
1225
|
-
EmailAddress: [],
|
|
1226
|
-
TemplateName: [],
|
|
1227
|
-
}));
|
|
1228
|
-
b.m("POST").h(headers).b(body);
|
|
1229
|
-
return b.build();
|
|
1230
|
-
};
|
|
1231
|
-
export const se_SendEmailCommand = async (input, context) => {
|
|
1232
|
-
const b = rb(input, context);
|
|
1233
|
-
const headers = {
|
|
1234
|
-
"content-type": "application/json",
|
|
1235
|
-
};
|
|
1236
|
-
b.bp("/v2/email/outbound-emails");
|
|
1237
|
-
let body;
|
|
1238
|
-
body = JSON.stringify(take(input, {
|
|
1239
|
-
ConfigurationSetName: [],
|
|
1240
|
-
Content: (_) => se_EmailContent(_, context),
|
|
1241
|
-
Destination: (_) => _json(_),
|
|
1242
|
-
EmailTags: (_) => _json(_),
|
|
1243
|
-
EndpointId: [],
|
|
1244
|
-
FeedbackForwardingEmailAddress: [],
|
|
1245
|
-
FeedbackForwardingEmailAddressIdentityArn: [],
|
|
1246
|
-
FromEmailAddress: [],
|
|
1247
|
-
FromEmailAddressIdentityArn: [],
|
|
1248
|
-
ListManagementOptions: (_) => _json(_),
|
|
1249
|
-
ReplyToAddresses: (_) => _json(_),
|
|
1250
|
-
TenantName: [],
|
|
1251
|
-
}));
|
|
1252
|
-
b.m("POST").h(headers).b(body);
|
|
1253
|
-
return b.build();
|
|
1254
|
-
};
|
|
1255
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
1256
|
-
const b = rb(input, context);
|
|
1257
|
-
const headers = {
|
|
1258
|
-
"content-type": "application/json",
|
|
1259
|
-
};
|
|
1260
|
-
b.bp("/v2/email/tags");
|
|
1261
|
-
let body;
|
|
1262
|
-
body = JSON.stringify(take(input, {
|
|
1263
|
-
ResourceArn: [],
|
|
1264
|
-
Tags: (_) => _json(_),
|
|
1265
|
-
}));
|
|
1266
|
-
b.m("POST").h(headers).b(body);
|
|
1267
|
-
return b.build();
|
|
1268
|
-
};
|
|
1269
|
-
export const se_TestRenderEmailTemplateCommand = async (input, context) => {
|
|
1270
|
-
const b = rb(input, context);
|
|
1271
|
-
const headers = {
|
|
1272
|
-
"content-type": "application/json",
|
|
1273
|
-
};
|
|
1274
|
-
b.bp("/v2/email/templates/{TemplateName}/render");
|
|
1275
|
-
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
1276
|
-
let body;
|
|
1277
|
-
body = JSON.stringify(take(input, {
|
|
1278
|
-
TemplateData: [],
|
|
1279
|
-
}));
|
|
1280
|
-
b.m("POST").h(headers).b(body);
|
|
1281
|
-
return b.build();
|
|
1282
|
-
};
|
|
1283
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
1284
|
-
const b = rb(input, context);
|
|
1285
|
-
const headers = {};
|
|
1286
|
-
b.bp("/v2/email/tags");
|
|
1287
|
-
const query = map({
|
|
1288
|
-
[_RA]: [, __expectNonNull(input[_RA], `ResourceArn`)],
|
|
1289
|
-
[_TK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
1290
|
-
});
|
|
1291
|
-
let body;
|
|
1292
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
1293
|
-
return b.build();
|
|
1294
|
-
};
|
|
1295
|
-
export const se_UpdateConfigurationSetEventDestinationCommand = async (input, context) => {
|
|
1296
|
-
const b = rb(input, context);
|
|
1297
|
-
const headers = {
|
|
1298
|
-
"content-type": "application/json",
|
|
1299
|
-
};
|
|
1300
|
-
b.bp("/v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
|
|
1301
|
-
b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
|
|
1302
|
-
b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
|
|
1303
|
-
let body;
|
|
1304
|
-
body = JSON.stringify(take(input, {
|
|
1305
|
-
EventDestination: (_) => _json(_),
|
|
1306
|
-
}));
|
|
1307
|
-
b.m("PUT").h(headers).b(body);
|
|
1308
|
-
return b.build();
|
|
1309
|
-
};
|
|
1310
|
-
export const se_UpdateContactCommand = async (input, context) => {
|
|
1311
|
-
const b = rb(input, context);
|
|
1312
|
-
const headers = {
|
|
1313
|
-
"content-type": "application/json",
|
|
1314
|
-
};
|
|
1315
|
-
b.bp("/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}");
|
|
1316
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
1317
|
-
b.p("EmailAddress", () => input.EmailAddress, "{EmailAddress}", false);
|
|
1318
|
-
let body;
|
|
1319
|
-
body = JSON.stringify(take(input, {
|
|
1320
|
-
AttributesData: [],
|
|
1321
|
-
TopicPreferences: (_) => _json(_),
|
|
1322
|
-
UnsubscribeAll: [],
|
|
1323
|
-
}));
|
|
1324
|
-
b.m("PUT").h(headers).b(body);
|
|
1325
|
-
return b.build();
|
|
1326
|
-
};
|
|
1327
|
-
export const se_UpdateContactListCommand = async (input, context) => {
|
|
1328
|
-
const b = rb(input, context);
|
|
1329
|
-
const headers = {
|
|
1330
|
-
"content-type": "application/json",
|
|
1331
|
-
};
|
|
1332
|
-
b.bp("/v2/email/contact-lists/{ContactListName}");
|
|
1333
|
-
b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
|
|
1334
|
-
let body;
|
|
1335
|
-
body = JSON.stringify(take(input, {
|
|
1336
|
-
Description: [],
|
|
1337
|
-
Topics: (_) => _json(_),
|
|
1338
|
-
}));
|
|
1339
|
-
b.m("PUT").h(headers).b(body);
|
|
1340
|
-
return b.build();
|
|
1341
|
-
};
|
|
1342
|
-
export const se_UpdateCustomVerificationEmailTemplateCommand = async (input, context) => {
|
|
1343
|
-
const b = rb(input, context);
|
|
1344
|
-
const headers = {
|
|
1345
|
-
"content-type": "application/json",
|
|
1346
|
-
};
|
|
1347
|
-
b.bp("/v2/email/custom-verification-email-templates/{TemplateName}");
|
|
1348
|
-
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
1349
|
-
let body;
|
|
1350
|
-
body = JSON.stringify(take(input, {
|
|
1351
|
-
FailureRedirectionURL: [],
|
|
1352
|
-
FromEmailAddress: [],
|
|
1353
|
-
SuccessRedirectionURL: [],
|
|
1354
|
-
TemplateContent: [],
|
|
1355
|
-
TemplateSubject: [],
|
|
1356
|
-
}));
|
|
1357
|
-
b.m("PUT").h(headers).b(body);
|
|
1358
|
-
return b.build();
|
|
1359
|
-
};
|
|
1360
|
-
export const se_UpdateEmailIdentityPolicyCommand = async (input, context) => {
|
|
1361
|
-
const b = rb(input, context);
|
|
1362
|
-
const headers = {
|
|
1363
|
-
"content-type": "application/json",
|
|
1364
|
-
};
|
|
1365
|
-
b.bp("/v2/email/identities/{EmailIdentity}/policies/{PolicyName}");
|
|
1366
|
-
b.p("EmailIdentity", () => input.EmailIdentity, "{EmailIdentity}", false);
|
|
1367
|
-
b.p("PolicyName", () => input.PolicyName, "{PolicyName}", false);
|
|
1368
|
-
let body;
|
|
1369
|
-
body = JSON.stringify(take(input, {
|
|
1370
|
-
Policy: [],
|
|
1371
|
-
}));
|
|
1372
|
-
b.m("PUT").h(headers).b(body);
|
|
1373
|
-
return b.build();
|
|
1374
|
-
};
|
|
1375
|
-
export const se_UpdateEmailTemplateCommand = async (input, context) => {
|
|
1376
|
-
const b = rb(input, context);
|
|
1377
|
-
const headers = {
|
|
1378
|
-
"content-type": "application/json",
|
|
1379
|
-
};
|
|
1380
|
-
b.bp("/v2/email/templates/{TemplateName}");
|
|
1381
|
-
b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);
|
|
1382
|
-
let body;
|
|
1383
|
-
body = JSON.stringify(take(input, {
|
|
1384
|
-
TemplateContent: (_) => _json(_),
|
|
1385
|
-
}));
|
|
1386
|
-
b.m("PUT").h(headers).b(body);
|
|
1387
|
-
return b.build();
|
|
1388
|
-
};
|
|
1389
|
-
export const se_UpdateReputationEntityCustomerManagedStatusCommand = async (input, context) => {
|
|
1390
|
-
const b = rb(input, context);
|
|
1391
|
-
const headers = {
|
|
1392
|
-
"content-type": "application/json",
|
|
1393
|
-
};
|
|
1394
|
-
b.bp("/v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}/customer-managed-status");
|
|
1395
|
-
b.p("ReputationEntityType", () => input.ReputationEntityType, "{ReputationEntityType}", false);
|
|
1396
|
-
b.p("ReputationEntityReference", () => input.ReputationEntityReference, "{ReputationEntityReference}", false);
|
|
1397
|
-
let body;
|
|
1398
|
-
body = JSON.stringify(take(input, {
|
|
1399
|
-
SendingStatus: [],
|
|
1400
|
-
}));
|
|
1401
|
-
b.m("PUT").h(headers).b(body);
|
|
1402
|
-
return b.build();
|
|
1403
|
-
};
|
|
1404
|
-
export const se_UpdateReputationEntityPolicyCommand = async (input, context) => {
|
|
1405
|
-
const b = rb(input, context);
|
|
1406
|
-
const headers = {
|
|
1407
|
-
"content-type": "application/json",
|
|
1408
|
-
};
|
|
1409
|
-
b.bp("/v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}/policy");
|
|
1410
|
-
b.p("ReputationEntityType", () => input.ReputationEntityType, "{ReputationEntityType}", false);
|
|
1411
|
-
b.p("ReputationEntityReference", () => input.ReputationEntityReference, "{ReputationEntityReference}", false);
|
|
1412
|
-
let body;
|
|
1413
|
-
body = JSON.stringify(take(input, {
|
|
1414
|
-
ReputationEntityPolicy: [],
|
|
1415
|
-
}));
|
|
1416
|
-
b.m("PUT").h(headers).b(body);
|
|
1417
|
-
return b.build();
|
|
1418
|
-
};
|
|
1419
|
-
export const de_BatchGetMetricDataCommand = async (output, context) => {
|
|
1420
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1421
|
-
return de_CommandError(output, context);
|
|
1422
|
-
}
|
|
1423
|
-
const contents = map({
|
|
1424
|
-
$metadata: deserializeMetadata(output),
|
|
1425
|
-
});
|
|
1426
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1427
|
-
const doc = take(data, {
|
|
1428
|
-
Errors: _json,
|
|
1429
|
-
Results: (_) => de_MetricDataResultList(_, context),
|
|
1430
|
-
});
|
|
1431
|
-
Object.assign(contents, doc);
|
|
1432
|
-
return contents;
|
|
1433
|
-
};
|
|
1434
|
-
export const de_CancelExportJobCommand = async (output, context) => {
|
|
1435
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1436
|
-
return de_CommandError(output, context);
|
|
1437
|
-
}
|
|
1438
|
-
const contents = map({
|
|
1439
|
-
$metadata: deserializeMetadata(output),
|
|
1440
|
-
});
|
|
1441
|
-
await collectBody(output.body, context);
|
|
1442
|
-
return contents;
|
|
1443
|
-
};
|
|
1444
|
-
export const de_CreateConfigurationSetCommand = async (output, context) => {
|
|
1445
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1446
|
-
return de_CommandError(output, context);
|
|
1447
|
-
}
|
|
1448
|
-
const contents = map({
|
|
1449
|
-
$metadata: deserializeMetadata(output),
|
|
1450
|
-
});
|
|
1451
|
-
await collectBody(output.body, context);
|
|
1452
|
-
return contents;
|
|
1453
|
-
};
|
|
1454
|
-
export const de_CreateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
1455
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1456
|
-
return de_CommandError(output, context);
|
|
1457
|
-
}
|
|
1458
|
-
const contents = map({
|
|
1459
|
-
$metadata: deserializeMetadata(output),
|
|
1460
|
-
});
|
|
1461
|
-
await collectBody(output.body, context);
|
|
1462
|
-
return contents;
|
|
1463
|
-
};
|
|
1464
|
-
export const de_CreateContactCommand = async (output, context) => {
|
|
1465
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1466
|
-
return de_CommandError(output, context);
|
|
1467
|
-
}
|
|
1468
|
-
const contents = map({
|
|
1469
|
-
$metadata: deserializeMetadata(output),
|
|
1470
|
-
});
|
|
1471
|
-
await collectBody(output.body, context);
|
|
1472
|
-
return contents;
|
|
1473
|
-
};
|
|
1474
|
-
export const de_CreateContactListCommand = async (output, context) => {
|
|
1475
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1476
|
-
return de_CommandError(output, context);
|
|
1477
|
-
}
|
|
1478
|
-
const contents = map({
|
|
1479
|
-
$metadata: deserializeMetadata(output),
|
|
1480
|
-
});
|
|
1481
|
-
await collectBody(output.body, context);
|
|
1482
|
-
return contents;
|
|
1483
|
-
};
|
|
1484
|
-
export const de_CreateCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
1485
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1486
|
-
return de_CommandError(output, context);
|
|
1487
|
-
}
|
|
1488
|
-
const contents = map({
|
|
1489
|
-
$metadata: deserializeMetadata(output),
|
|
1490
|
-
});
|
|
1491
|
-
await collectBody(output.body, context);
|
|
1492
|
-
return contents;
|
|
1493
|
-
};
|
|
1494
|
-
export const de_CreateDedicatedIpPoolCommand = async (output, context) => {
|
|
1495
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1496
|
-
return de_CommandError(output, context);
|
|
1497
|
-
}
|
|
1498
|
-
const contents = map({
|
|
1499
|
-
$metadata: deserializeMetadata(output),
|
|
1500
|
-
});
|
|
1501
|
-
await collectBody(output.body, context);
|
|
1502
|
-
return contents;
|
|
1503
|
-
};
|
|
1504
|
-
export const de_CreateDeliverabilityTestReportCommand = async (output, context) => {
|
|
1505
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1506
|
-
return de_CommandError(output, context);
|
|
1507
|
-
}
|
|
1508
|
-
const contents = map({
|
|
1509
|
-
$metadata: deserializeMetadata(output),
|
|
1510
|
-
});
|
|
1511
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1512
|
-
const doc = take(data, {
|
|
1513
|
-
DeliverabilityTestStatus: __expectString,
|
|
1514
|
-
ReportId: __expectString,
|
|
1515
|
-
});
|
|
1516
|
-
Object.assign(contents, doc);
|
|
1517
|
-
return contents;
|
|
1518
|
-
};
|
|
1519
|
-
export const de_CreateEmailIdentityCommand = async (output, context) => {
|
|
1520
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1521
|
-
return de_CommandError(output, context);
|
|
1522
|
-
}
|
|
1523
|
-
const contents = map({
|
|
1524
|
-
$metadata: deserializeMetadata(output),
|
|
1525
|
-
});
|
|
1526
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1527
|
-
const doc = take(data, {
|
|
1528
|
-
DkimAttributes: (_) => de_DkimAttributes(_, context),
|
|
1529
|
-
IdentityType: __expectString,
|
|
1530
|
-
VerifiedForSendingStatus: __expectBoolean,
|
|
1531
|
-
});
|
|
1532
|
-
Object.assign(contents, doc);
|
|
1533
|
-
return contents;
|
|
1534
|
-
};
|
|
1535
|
-
export const de_CreateEmailIdentityPolicyCommand = async (output, context) => {
|
|
1536
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1537
|
-
return de_CommandError(output, context);
|
|
1538
|
-
}
|
|
1539
|
-
const contents = map({
|
|
1540
|
-
$metadata: deserializeMetadata(output),
|
|
1541
|
-
});
|
|
1542
|
-
await collectBody(output.body, context);
|
|
1543
|
-
return contents;
|
|
1544
|
-
};
|
|
1545
|
-
export const de_CreateEmailTemplateCommand = async (output, context) => {
|
|
1546
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1547
|
-
return de_CommandError(output, context);
|
|
1548
|
-
}
|
|
1549
|
-
const contents = map({
|
|
1550
|
-
$metadata: deserializeMetadata(output),
|
|
1551
|
-
});
|
|
1552
|
-
await collectBody(output.body, context);
|
|
1553
|
-
return contents;
|
|
1554
|
-
};
|
|
1555
|
-
export const de_CreateExportJobCommand = async (output, context) => {
|
|
1556
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1557
|
-
return de_CommandError(output, context);
|
|
1558
|
-
}
|
|
1559
|
-
const contents = map({
|
|
1560
|
-
$metadata: deserializeMetadata(output),
|
|
1561
|
-
});
|
|
1562
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1563
|
-
const doc = take(data, {
|
|
1564
|
-
JobId: __expectString,
|
|
1565
|
-
});
|
|
1566
|
-
Object.assign(contents, doc);
|
|
1567
|
-
return contents;
|
|
1568
|
-
};
|
|
1569
|
-
export const de_CreateImportJobCommand = async (output, context) => {
|
|
1570
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1571
|
-
return de_CommandError(output, context);
|
|
1572
|
-
}
|
|
1573
|
-
const contents = map({
|
|
1574
|
-
$metadata: deserializeMetadata(output),
|
|
1575
|
-
});
|
|
1576
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1577
|
-
const doc = take(data, {
|
|
1578
|
-
JobId: __expectString,
|
|
1579
|
-
});
|
|
1580
|
-
Object.assign(contents, doc);
|
|
1581
|
-
return contents;
|
|
1582
|
-
};
|
|
1583
|
-
export const de_CreateMultiRegionEndpointCommand = async (output, context) => {
|
|
1584
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1585
|
-
return de_CommandError(output, context);
|
|
1586
|
-
}
|
|
1587
|
-
const contents = map({
|
|
1588
|
-
$metadata: deserializeMetadata(output),
|
|
1589
|
-
});
|
|
1590
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1591
|
-
const doc = take(data, {
|
|
1592
|
-
EndpointId: __expectString,
|
|
1593
|
-
Status: __expectString,
|
|
1594
|
-
});
|
|
1595
|
-
Object.assign(contents, doc);
|
|
1596
|
-
return contents;
|
|
1597
|
-
};
|
|
1598
|
-
export const de_CreateTenantCommand = async (output, context) => {
|
|
1599
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1600
|
-
return de_CommandError(output, context);
|
|
1601
|
-
}
|
|
1602
|
-
const contents = map({
|
|
1603
|
-
$metadata: deserializeMetadata(output),
|
|
1604
|
-
});
|
|
1605
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1606
|
-
const doc = take(data, {
|
|
1607
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1608
|
-
SendingStatus: __expectString,
|
|
1609
|
-
Tags: _json,
|
|
1610
|
-
TenantArn: __expectString,
|
|
1611
|
-
TenantId: __expectString,
|
|
1612
|
-
TenantName: __expectString,
|
|
1613
|
-
});
|
|
1614
|
-
Object.assign(contents, doc);
|
|
1615
|
-
return contents;
|
|
1616
|
-
};
|
|
1617
|
-
export const de_CreateTenantResourceAssociationCommand = async (output, context) => {
|
|
1618
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1619
|
-
return de_CommandError(output, context);
|
|
1620
|
-
}
|
|
1621
|
-
const contents = map({
|
|
1622
|
-
$metadata: deserializeMetadata(output),
|
|
1623
|
-
});
|
|
1624
|
-
await collectBody(output.body, context);
|
|
1625
|
-
return contents;
|
|
1626
|
-
};
|
|
1627
|
-
export const de_DeleteConfigurationSetCommand = async (output, context) => {
|
|
1628
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1629
|
-
return de_CommandError(output, context);
|
|
1630
|
-
}
|
|
1631
|
-
const contents = map({
|
|
1632
|
-
$metadata: deserializeMetadata(output),
|
|
1633
|
-
});
|
|
1634
|
-
await collectBody(output.body, context);
|
|
1635
|
-
return contents;
|
|
1636
|
-
};
|
|
1637
|
-
export const de_DeleteConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
1638
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1639
|
-
return de_CommandError(output, context);
|
|
1640
|
-
}
|
|
1641
|
-
const contents = map({
|
|
1642
|
-
$metadata: deserializeMetadata(output),
|
|
1643
|
-
});
|
|
1644
|
-
await collectBody(output.body, context);
|
|
1645
|
-
return contents;
|
|
1646
|
-
};
|
|
1647
|
-
export const de_DeleteContactCommand = async (output, context) => {
|
|
1648
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1649
|
-
return de_CommandError(output, context);
|
|
1650
|
-
}
|
|
1651
|
-
const contents = map({
|
|
1652
|
-
$metadata: deserializeMetadata(output),
|
|
1653
|
-
});
|
|
1654
|
-
await collectBody(output.body, context);
|
|
1655
|
-
return contents;
|
|
1656
|
-
};
|
|
1657
|
-
export const de_DeleteContactListCommand = async (output, context) => {
|
|
1658
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1659
|
-
return de_CommandError(output, context);
|
|
1660
|
-
}
|
|
1661
|
-
const contents = map({
|
|
1662
|
-
$metadata: deserializeMetadata(output),
|
|
1663
|
-
});
|
|
1664
|
-
await collectBody(output.body, context);
|
|
1665
|
-
return contents;
|
|
1666
|
-
};
|
|
1667
|
-
export const de_DeleteCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
1668
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1669
|
-
return de_CommandError(output, context);
|
|
1670
|
-
}
|
|
1671
|
-
const contents = map({
|
|
1672
|
-
$metadata: deserializeMetadata(output),
|
|
1673
|
-
});
|
|
1674
|
-
await collectBody(output.body, context);
|
|
1675
|
-
return contents;
|
|
1676
|
-
};
|
|
1677
|
-
export const de_DeleteDedicatedIpPoolCommand = async (output, context) => {
|
|
1678
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1679
|
-
return de_CommandError(output, context);
|
|
1680
|
-
}
|
|
1681
|
-
const contents = map({
|
|
1682
|
-
$metadata: deserializeMetadata(output),
|
|
1683
|
-
});
|
|
1684
|
-
await collectBody(output.body, context);
|
|
1685
|
-
return contents;
|
|
1686
|
-
};
|
|
1687
|
-
export const de_DeleteEmailIdentityCommand = async (output, context) => {
|
|
1688
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1689
|
-
return de_CommandError(output, context);
|
|
1690
|
-
}
|
|
1691
|
-
const contents = map({
|
|
1692
|
-
$metadata: deserializeMetadata(output),
|
|
1693
|
-
});
|
|
1694
|
-
await collectBody(output.body, context);
|
|
1695
|
-
return contents;
|
|
1696
|
-
};
|
|
1697
|
-
export const de_DeleteEmailIdentityPolicyCommand = async (output, context) => {
|
|
1698
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1699
|
-
return de_CommandError(output, context);
|
|
1700
|
-
}
|
|
1701
|
-
const contents = map({
|
|
1702
|
-
$metadata: deserializeMetadata(output),
|
|
1703
|
-
});
|
|
1704
|
-
await collectBody(output.body, context);
|
|
1705
|
-
return contents;
|
|
1706
|
-
};
|
|
1707
|
-
export const de_DeleteEmailTemplateCommand = async (output, context) => {
|
|
1708
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1709
|
-
return de_CommandError(output, context);
|
|
1710
|
-
}
|
|
1711
|
-
const contents = map({
|
|
1712
|
-
$metadata: deserializeMetadata(output),
|
|
1713
|
-
});
|
|
1714
|
-
await collectBody(output.body, context);
|
|
1715
|
-
return contents;
|
|
1716
|
-
};
|
|
1717
|
-
export const de_DeleteMultiRegionEndpointCommand = async (output, context) => {
|
|
1718
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1719
|
-
return de_CommandError(output, context);
|
|
1720
|
-
}
|
|
1721
|
-
const contents = map({
|
|
1722
|
-
$metadata: deserializeMetadata(output),
|
|
1723
|
-
});
|
|
1724
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1725
|
-
const doc = take(data, {
|
|
1726
|
-
Status: __expectString,
|
|
1727
|
-
});
|
|
1728
|
-
Object.assign(contents, doc);
|
|
1729
|
-
return contents;
|
|
1730
|
-
};
|
|
1731
|
-
export const de_DeleteSuppressedDestinationCommand = async (output, context) => {
|
|
1732
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1733
|
-
return de_CommandError(output, context);
|
|
1734
|
-
}
|
|
1735
|
-
const contents = map({
|
|
1736
|
-
$metadata: deserializeMetadata(output),
|
|
1737
|
-
});
|
|
1738
|
-
await collectBody(output.body, context);
|
|
1739
|
-
return contents;
|
|
1740
|
-
};
|
|
1741
|
-
export const de_DeleteTenantCommand = async (output, context) => {
|
|
1742
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1743
|
-
return de_CommandError(output, context);
|
|
1744
|
-
}
|
|
1745
|
-
const contents = map({
|
|
1746
|
-
$metadata: deserializeMetadata(output),
|
|
1747
|
-
});
|
|
1748
|
-
await collectBody(output.body, context);
|
|
1749
|
-
return contents;
|
|
1750
|
-
};
|
|
1751
|
-
export const de_DeleteTenantResourceAssociationCommand = async (output, context) => {
|
|
1752
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1753
|
-
return de_CommandError(output, context);
|
|
1754
|
-
}
|
|
1755
|
-
const contents = map({
|
|
1756
|
-
$metadata: deserializeMetadata(output),
|
|
1757
|
-
});
|
|
1758
|
-
await collectBody(output.body, context);
|
|
1759
|
-
return contents;
|
|
1760
|
-
};
|
|
1761
|
-
export const de_GetAccountCommand = async (output, context) => {
|
|
1762
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1763
|
-
return de_CommandError(output, context);
|
|
1764
|
-
}
|
|
1765
|
-
const contents = map({
|
|
1766
|
-
$metadata: deserializeMetadata(output),
|
|
1767
|
-
});
|
|
1768
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1769
|
-
const doc = take(data, {
|
|
1770
|
-
DedicatedIpAutoWarmupEnabled: __expectBoolean,
|
|
1771
|
-
Details: _json,
|
|
1772
|
-
EnforcementStatus: __expectString,
|
|
1773
|
-
ProductionAccessEnabled: __expectBoolean,
|
|
1774
|
-
SendQuota: (_) => de_SendQuota(_, context),
|
|
1775
|
-
SendingEnabled: __expectBoolean,
|
|
1776
|
-
SuppressionAttributes: _json,
|
|
1777
|
-
VdmAttributes: _json,
|
|
1778
|
-
});
|
|
1779
|
-
Object.assign(contents, doc);
|
|
1780
|
-
return contents;
|
|
1781
|
-
};
|
|
1782
|
-
export const de_GetBlacklistReportsCommand = async (output, context) => {
|
|
1783
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1784
|
-
return de_CommandError(output, context);
|
|
1785
|
-
}
|
|
1786
|
-
const contents = map({
|
|
1787
|
-
$metadata: deserializeMetadata(output),
|
|
1788
|
-
});
|
|
1789
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1790
|
-
const doc = take(data, {
|
|
1791
|
-
BlacklistReport: (_) => de_BlacklistReport(_, context),
|
|
1792
|
-
});
|
|
1793
|
-
Object.assign(contents, doc);
|
|
1794
|
-
return contents;
|
|
1795
|
-
};
|
|
1796
|
-
export const de_GetConfigurationSetCommand = async (output, context) => {
|
|
1797
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1798
|
-
return de_CommandError(output, context);
|
|
1799
|
-
}
|
|
1800
|
-
const contents = map({
|
|
1801
|
-
$metadata: deserializeMetadata(output),
|
|
1802
|
-
});
|
|
1803
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1804
|
-
const doc = take(data, {
|
|
1805
|
-
ArchivingOptions: _json,
|
|
1806
|
-
ConfigurationSetName: __expectString,
|
|
1807
|
-
DeliveryOptions: _json,
|
|
1808
|
-
ReputationOptions: (_) => de_ReputationOptions(_, context),
|
|
1809
|
-
SendingOptions: _json,
|
|
1810
|
-
SuppressionOptions: _json,
|
|
1811
|
-
Tags: _json,
|
|
1812
|
-
TrackingOptions: _json,
|
|
1813
|
-
VdmOptions: _json,
|
|
1814
|
-
});
|
|
1815
|
-
Object.assign(contents, doc);
|
|
1816
|
-
return contents;
|
|
1817
|
-
};
|
|
1818
|
-
export const de_GetConfigurationSetEventDestinationsCommand = async (output, context) => {
|
|
1819
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1820
|
-
return de_CommandError(output, context);
|
|
1821
|
-
}
|
|
1822
|
-
const contents = map({
|
|
1823
|
-
$metadata: deserializeMetadata(output),
|
|
1824
|
-
});
|
|
1825
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1826
|
-
const doc = take(data, {
|
|
1827
|
-
EventDestinations: _json,
|
|
1828
|
-
});
|
|
1829
|
-
Object.assign(contents, doc);
|
|
1830
|
-
return contents;
|
|
1831
|
-
};
|
|
1832
|
-
export const de_GetContactCommand = async (output, context) => {
|
|
1833
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1834
|
-
return de_CommandError(output, context);
|
|
1835
|
-
}
|
|
1836
|
-
const contents = map({
|
|
1837
|
-
$metadata: deserializeMetadata(output),
|
|
1838
|
-
});
|
|
1839
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1840
|
-
const doc = take(data, {
|
|
1841
|
-
AttributesData: __expectString,
|
|
1842
|
-
ContactListName: __expectString,
|
|
1843
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1844
|
-
EmailAddress: __expectString,
|
|
1845
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1846
|
-
TopicDefaultPreferences: _json,
|
|
1847
|
-
TopicPreferences: _json,
|
|
1848
|
-
UnsubscribeAll: __expectBoolean,
|
|
1849
|
-
});
|
|
1850
|
-
Object.assign(contents, doc);
|
|
1851
|
-
return contents;
|
|
1852
|
-
};
|
|
1853
|
-
export const de_GetContactListCommand = async (output, context) => {
|
|
1854
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1855
|
-
return de_CommandError(output, context);
|
|
1856
|
-
}
|
|
1857
|
-
const contents = map({
|
|
1858
|
-
$metadata: deserializeMetadata(output),
|
|
1859
|
-
});
|
|
1860
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1861
|
-
const doc = take(data, {
|
|
1862
|
-
ContactListName: __expectString,
|
|
1863
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1864
|
-
Description: __expectString,
|
|
1865
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1866
|
-
Tags: _json,
|
|
1867
|
-
Topics: _json,
|
|
1868
|
-
});
|
|
1869
|
-
Object.assign(contents, doc);
|
|
1870
|
-
return contents;
|
|
1871
|
-
};
|
|
1872
|
-
export const de_GetCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
1873
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1874
|
-
return de_CommandError(output, context);
|
|
1875
|
-
}
|
|
1876
|
-
const contents = map({
|
|
1877
|
-
$metadata: deserializeMetadata(output),
|
|
1878
|
-
});
|
|
1879
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1880
|
-
const doc = take(data, {
|
|
1881
|
-
FailureRedirectionURL: __expectString,
|
|
1882
|
-
FromEmailAddress: __expectString,
|
|
1883
|
-
SuccessRedirectionURL: __expectString,
|
|
1884
|
-
TemplateContent: __expectString,
|
|
1885
|
-
TemplateName: __expectString,
|
|
1886
|
-
TemplateSubject: __expectString,
|
|
1887
|
-
});
|
|
1888
|
-
Object.assign(contents, doc);
|
|
1889
|
-
return contents;
|
|
1890
|
-
};
|
|
1891
|
-
export const de_GetDedicatedIpCommand = async (output, context) => {
|
|
1892
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1893
|
-
return de_CommandError(output, context);
|
|
1894
|
-
}
|
|
1895
|
-
const contents = map({
|
|
1896
|
-
$metadata: deserializeMetadata(output),
|
|
1897
|
-
});
|
|
1898
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1899
|
-
const doc = take(data, {
|
|
1900
|
-
DedicatedIp: _json,
|
|
1901
|
-
});
|
|
1902
|
-
Object.assign(contents, doc);
|
|
1903
|
-
return contents;
|
|
1904
|
-
};
|
|
1905
|
-
export const de_GetDedicatedIpPoolCommand = async (output, context) => {
|
|
1906
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1907
|
-
return de_CommandError(output, context);
|
|
1908
|
-
}
|
|
1909
|
-
const contents = map({
|
|
1910
|
-
$metadata: deserializeMetadata(output),
|
|
1911
|
-
});
|
|
1912
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1913
|
-
const doc = take(data, {
|
|
1914
|
-
DedicatedIpPool: _json,
|
|
1915
|
-
});
|
|
1916
|
-
Object.assign(contents, doc);
|
|
1917
|
-
return contents;
|
|
1918
|
-
};
|
|
1919
|
-
export const de_GetDedicatedIpsCommand = async (output, context) => {
|
|
1920
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1921
|
-
return de_CommandError(output, context);
|
|
1922
|
-
}
|
|
1923
|
-
const contents = map({
|
|
1924
|
-
$metadata: deserializeMetadata(output),
|
|
1925
|
-
});
|
|
1926
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1927
|
-
const doc = take(data, {
|
|
1928
|
-
DedicatedIps: _json,
|
|
1929
|
-
NextToken: __expectString,
|
|
1930
|
-
});
|
|
1931
|
-
Object.assign(contents, doc);
|
|
1932
|
-
return contents;
|
|
1933
|
-
};
|
|
1934
|
-
export const de_GetDeliverabilityDashboardOptionsCommand = async (output, context) => {
|
|
1935
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1936
|
-
return de_CommandError(output, context);
|
|
1937
|
-
}
|
|
1938
|
-
const contents = map({
|
|
1939
|
-
$metadata: deserializeMetadata(output),
|
|
1940
|
-
});
|
|
1941
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1942
|
-
const doc = take(data, {
|
|
1943
|
-
AccountStatus: __expectString,
|
|
1944
|
-
ActiveSubscribedDomains: (_) => de_DomainDeliverabilityTrackingOptions(_, context),
|
|
1945
|
-
DashboardEnabled: __expectBoolean,
|
|
1946
|
-
PendingExpirationSubscribedDomains: (_) => de_DomainDeliverabilityTrackingOptions(_, context),
|
|
1947
|
-
SubscriptionExpiryDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1948
|
-
});
|
|
1949
|
-
Object.assign(contents, doc);
|
|
1950
|
-
return contents;
|
|
1951
|
-
};
|
|
1952
|
-
export const de_GetDeliverabilityTestReportCommand = async (output, context) => {
|
|
1953
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1954
|
-
return de_CommandError(output, context);
|
|
1955
|
-
}
|
|
1956
|
-
const contents = map({
|
|
1957
|
-
$metadata: deserializeMetadata(output),
|
|
1958
|
-
});
|
|
1959
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1960
|
-
const doc = take(data, {
|
|
1961
|
-
DeliverabilityTestReport: (_) => de_DeliverabilityTestReport(_, context),
|
|
1962
|
-
IspPlacements: (_) => de_IspPlacements(_, context),
|
|
1963
|
-
Message: __expectString,
|
|
1964
|
-
OverallPlacement: (_) => de_PlacementStatistics(_, context),
|
|
1965
|
-
Tags: _json,
|
|
1966
|
-
});
|
|
1967
|
-
Object.assign(contents, doc);
|
|
1968
|
-
return contents;
|
|
1969
|
-
};
|
|
1970
|
-
export const de_GetDomainDeliverabilityCampaignCommand = async (output, context) => {
|
|
1971
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1972
|
-
return de_CommandError(output, context);
|
|
1973
|
-
}
|
|
1974
|
-
const contents = map({
|
|
1975
|
-
$metadata: deserializeMetadata(output),
|
|
1976
|
-
});
|
|
1977
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1978
|
-
const doc = take(data, {
|
|
1979
|
-
DomainDeliverabilityCampaign: (_) => de_DomainDeliverabilityCampaign(_, context),
|
|
1980
|
-
});
|
|
1981
|
-
Object.assign(contents, doc);
|
|
1982
|
-
return contents;
|
|
1983
|
-
};
|
|
1984
|
-
export const de_GetDomainStatisticsReportCommand = async (output, context) => {
|
|
1985
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1986
|
-
return de_CommandError(output, context);
|
|
1987
|
-
}
|
|
1988
|
-
const contents = map({
|
|
1989
|
-
$metadata: deserializeMetadata(output),
|
|
1990
|
-
});
|
|
1991
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1992
|
-
const doc = take(data, {
|
|
1993
|
-
DailyVolumes: (_) => de_DailyVolumes(_, context),
|
|
1994
|
-
OverallVolume: (_) => de_OverallVolume(_, context),
|
|
1995
|
-
});
|
|
1996
|
-
Object.assign(contents, doc);
|
|
1997
|
-
return contents;
|
|
1998
|
-
};
|
|
1999
|
-
export const de_GetEmailIdentityCommand = async (output, context) => {
|
|
2000
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2001
|
-
return de_CommandError(output, context);
|
|
2002
|
-
}
|
|
2003
|
-
const contents = map({
|
|
2004
|
-
$metadata: deserializeMetadata(output),
|
|
2005
|
-
});
|
|
2006
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2007
|
-
const doc = take(data, {
|
|
2008
|
-
ConfigurationSetName: __expectString,
|
|
2009
|
-
DkimAttributes: (_) => de_DkimAttributes(_, context),
|
|
2010
|
-
FeedbackForwardingStatus: __expectBoolean,
|
|
2011
|
-
IdentityType: __expectString,
|
|
2012
|
-
MailFromAttributes: _json,
|
|
2013
|
-
Policies: _json,
|
|
2014
|
-
Tags: _json,
|
|
2015
|
-
VerificationInfo: (_) => de_VerificationInfo(_, context),
|
|
2016
|
-
VerificationStatus: __expectString,
|
|
2017
|
-
VerifiedForSendingStatus: __expectBoolean,
|
|
2018
|
-
});
|
|
2019
|
-
Object.assign(contents, doc);
|
|
2020
|
-
return contents;
|
|
2021
|
-
};
|
|
2022
|
-
export const de_GetEmailIdentityPoliciesCommand = async (output, context) => {
|
|
2023
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2024
|
-
return de_CommandError(output, context);
|
|
2025
|
-
}
|
|
2026
|
-
const contents = map({
|
|
2027
|
-
$metadata: deserializeMetadata(output),
|
|
2028
|
-
});
|
|
2029
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2030
|
-
const doc = take(data, {
|
|
2031
|
-
Policies: _json,
|
|
2032
|
-
});
|
|
2033
|
-
Object.assign(contents, doc);
|
|
2034
|
-
return contents;
|
|
2035
|
-
};
|
|
2036
|
-
export const de_GetEmailTemplateCommand = async (output, context) => {
|
|
2037
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2038
|
-
return de_CommandError(output, context);
|
|
2039
|
-
}
|
|
2040
|
-
const contents = map({
|
|
2041
|
-
$metadata: deserializeMetadata(output),
|
|
2042
|
-
});
|
|
2043
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2044
|
-
const doc = take(data, {
|
|
2045
|
-
TemplateContent: _json,
|
|
2046
|
-
TemplateName: __expectString,
|
|
2047
|
-
});
|
|
2048
|
-
Object.assign(contents, doc);
|
|
2049
|
-
return contents;
|
|
2050
|
-
};
|
|
2051
|
-
export const de_GetExportJobCommand = async (output, context) => {
|
|
2052
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2053
|
-
return de_CommandError(output, context);
|
|
2054
|
-
}
|
|
2055
|
-
const contents = map({
|
|
2056
|
-
$metadata: deserializeMetadata(output),
|
|
2057
|
-
});
|
|
2058
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2059
|
-
const doc = take(data, {
|
|
2060
|
-
CompletedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2061
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2062
|
-
ExportDataSource: (_) => de_ExportDataSource(_, context),
|
|
2063
|
-
ExportDestination: _json,
|
|
2064
|
-
ExportSourceType: __expectString,
|
|
2065
|
-
FailureInfo: _json,
|
|
2066
|
-
JobId: __expectString,
|
|
2067
|
-
JobStatus: __expectString,
|
|
2068
|
-
Statistics: _json,
|
|
2069
|
-
});
|
|
2070
|
-
Object.assign(contents, doc);
|
|
2071
|
-
return contents;
|
|
2072
|
-
};
|
|
2073
|
-
export const de_GetImportJobCommand = async (output, context) => {
|
|
2074
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2075
|
-
return de_CommandError(output, context);
|
|
2076
|
-
}
|
|
2077
|
-
const contents = map({
|
|
2078
|
-
$metadata: deserializeMetadata(output),
|
|
2079
|
-
});
|
|
2080
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2081
|
-
const doc = take(data, {
|
|
2082
|
-
CompletedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2083
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2084
|
-
FailedRecordsCount: __expectInt32,
|
|
2085
|
-
FailureInfo: _json,
|
|
2086
|
-
ImportDataSource: _json,
|
|
2087
|
-
ImportDestination: _json,
|
|
2088
|
-
JobId: __expectString,
|
|
2089
|
-
JobStatus: __expectString,
|
|
2090
|
-
ProcessedRecordsCount: __expectInt32,
|
|
2091
|
-
});
|
|
2092
|
-
Object.assign(contents, doc);
|
|
2093
|
-
return contents;
|
|
2094
|
-
};
|
|
2095
|
-
export const de_GetMessageInsightsCommand = async (output, context) => {
|
|
2096
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2097
|
-
return de_CommandError(output, context);
|
|
2098
|
-
}
|
|
2099
|
-
const contents = map({
|
|
2100
|
-
$metadata: deserializeMetadata(output),
|
|
2101
|
-
});
|
|
2102
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2103
|
-
const doc = take(data, {
|
|
2104
|
-
EmailTags: _json,
|
|
2105
|
-
FromEmailAddress: __expectString,
|
|
2106
|
-
Insights: (_) => de_EmailInsightsList(_, context),
|
|
2107
|
-
MessageId: __expectString,
|
|
2108
|
-
Subject: __expectString,
|
|
2109
|
-
});
|
|
2110
|
-
Object.assign(contents, doc);
|
|
2111
|
-
return contents;
|
|
2112
|
-
};
|
|
2113
|
-
export const de_GetMultiRegionEndpointCommand = async (output, context) => {
|
|
2114
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2115
|
-
return de_CommandError(output, context);
|
|
2116
|
-
}
|
|
2117
|
-
const contents = map({
|
|
2118
|
-
$metadata: deserializeMetadata(output),
|
|
2119
|
-
});
|
|
2120
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2121
|
-
const doc = take(data, {
|
|
2122
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2123
|
-
EndpointId: __expectString,
|
|
2124
|
-
EndpointName: __expectString,
|
|
2125
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2126
|
-
Routes: _json,
|
|
2127
|
-
Status: __expectString,
|
|
2128
|
-
});
|
|
2129
|
-
Object.assign(contents, doc);
|
|
2130
|
-
return contents;
|
|
2131
|
-
};
|
|
2132
|
-
export const de_GetReputationEntityCommand = async (output, context) => {
|
|
2133
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2134
|
-
return de_CommandError(output, context);
|
|
2135
|
-
}
|
|
2136
|
-
const contents = map({
|
|
2137
|
-
$metadata: deserializeMetadata(output),
|
|
2138
|
-
});
|
|
2139
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2140
|
-
const doc = take(data, {
|
|
2141
|
-
ReputationEntity: (_) => de_ReputationEntity(_, context),
|
|
2142
|
-
});
|
|
2143
|
-
Object.assign(contents, doc);
|
|
2144
|
-
return contents;
|
|
2145
|
-
};
|
|
2146
|
-
export const de_GetSuppressedDestinationCommand = async (output, context) => {
|
|
2147
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2148
|
-
return de_CommandError(output, context);
|
|
2149
|
-
}
|
|
2150
|
-
const contents = map({
|
|
2151
|
-
$metadata: deserializeMetadata(output),
|
|
2152
|
-
});
|
|
2153
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2154
|
-
const doc = take(data, {
|
|
2155
|
-
SuppressedDestination: (_) => de_SuppressedDestination(_, context),
|
|
2156
|
-
});
|
|
2157
|
-
Object.assign(contents, doc);
|
|
2158
|
-
return contents;
|
|
2159
|
-
};
|
|
2160
|
-
export const de_GetTenantCommand = async (output, context) => {
|
|
2161
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2162
|
-
return de_CommandError(output, context);
|
|
2163
|
-
}
|
|
2164
|
-
const contents = map({
|
|
2165
|
-
$metadata: deserializeMetadata(output),
|
|
2166
|
-
});
|
|
2167
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2168
|
-
const doc = take(data, {
|
|
2169
|
-
Tenant: (_) => de_Tenant(_, context),
|
|
2170
|
-
});
|
|
2171
|
-
Object.assign(contents, doc);
|
|
2172
|
-
return contents;
|
|
2173
|
-
};
|
|
2174
|
-
export const de_ListConfigurationSetsCommand = async (output, context) => {
|
|
2175
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2176
|
-
return de_CommandError(output, context);
|
|
2177
|
-
}
|
|
2178
|
-
const contents = map({
|
|
2179
|
-
$metadata: deserializeMetadata(output),
|
|
2180
|
-
});
|
|
2181
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2182
|
-
const doc = take(data, {
|
|
2183
|
-
ConfigurationSets: _json,
|
|
2184
|
-
NextToken: __expectString,
|
|
2185
|
-
});
|
|
2186
|
-
Object.assign(contents, doc);
|
|
2187
|
-
return contents;
|
|
2188
|
-
};
|
|
2189
|
-
export const de_ListContactListsCommand = async (output, context) => {
|
|
2190
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2191
|
-
return de_CommandError(output, context);
|
|
2192
|
-
}
|
|
2193
|
-
const contents = map({
|
|
2194
|
-
$metadata: deserializeMetadata(output),
|
|
2195
|
-
});
|
|
2196
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2197
|
-
const doc = take(data, {
|
|
2198
|
-
ContactLists: (_) => de_ListOfContactLists(_, context),
|
|
2199
|
-
NextToken: __expectString,
|
|
2200
|
-
});
|
|
2201
|
-
Object.assign(contents, doc);
|
|
2202
|
-
return contents;
|
|
2203
|
-
};
|
|
2204
|
-
export const de_ListContactsCommand = async (output, context) => {
|
|
2205
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2206
|
-
return de_CommandError(output, context);
|
|
2207
|
-
}
|
|
2208
|
-
const contents = map({
|
|
2209
|
-
$metadata: deserializeMetadata(output),
|
|
2210
|
-
});
|
|
2211
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2212
|
-
const doc = take(data, {
|
|
2213
|
-
Contacts: (_) => de_ListOfContacts(_, context),
|
|
2214
|
-
NextToken: __expectString,
|
|
2215
|
-
});
|
|
2216
|
-
Object.assign(contents, doc);
|
|
2217
|
-
return contents;
|
|
2218
|
-
};
|
|
2219
|
-
export const de_ListCustomVerificationEmailTemplatesCommand = async (output, context) => {
|
|
2220
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2221
|
-
return de_CommandError(output, context);
|
|
2222
|
-
}
|
|
2223
|
-
const contents = map({
|
|
2224
|
-
$metadata: deserializeMetadata(output),
|
|
2225
|
-
});
|
|
2226
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2227
|
-
const doc = take(data, {
|
|
2228
|
-
CustomVerificationEmailTemplates: _json,
|
|
2229
|
-
NextToken: __expectString,
|
|
2230
|
-
});
|
|
2231
|
-
Object.assign(contents, doc);
|
|
2232
|
-
return contents;
|
|
2233
|
-
};
|
|
2234
|
-
export const de_ListDedicatedIpPoolsCommand = async (output, context) => {
|
|
2235
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2236
|
-
return de_CommandError(output, context);
|
|
2237
|
-
}
|
|
2238
|
-
const contents = map({
|
|
2239
|
-
$metadata: deserializeMetadata(output),
|
|
2240
|
-
});
|
|
2241
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2242
|
-
const doc = take(data, {
|
|
2243
|
-
DedicatedIpPools: _json,
|
|
2244
|
-
NextToken: __expectString,
|
|
2245
|
-
});
|
|
2246
|
-
Object.assign(contents, doc);
|
|
2247
|
-
return contents;
|
|
2248
|
-
};
|
|
2249
|
-
export const de_ListDeliverabilityTestReportsCommand = async (output, context) => {
|
|
2250
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2251
|
-
return de_CommandError(output, context);
|
|
2252
|
-
}
|
|
2253
|
-
const contents = map({
|
|
2254
|
-
$metadata: deserializeMetadata(output),
|
|
2255
|
-
});
|
|
2256
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2257
|
-
const doc = take(data, {
|
|
2258
|
-
DeliverabilityTestReports: (_) => de_DeliverabilityTestReports(_, context),
|
|
2259
|
-
NextToken: __expectString,
|
|
2260
|
-
});
|
|
2261
|
-
Object.assign(contents, doc);
|
|
2262
|
-
return contents;
|
|
2263
|
-
};
|
|
2264
|
-
export const de_ListDomainDeliverabilityCampaignsCommand = async (output, context) => {
|
|
2265
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2266
|
-
return de_CommandError(output, context);
|
|
2267
|
-
}
|
|
2268
|
-
const contents = map({
|
|
2269
|
-
$metadata: deserializeMetadata(output),
|
|
2270
|
-
});
|
|
2271
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2272
|
-
const doc = take(data, {
|
|
2273
|
-
DomainDeliverabilityCampaigns: (_) => de_DomainDeliverabilityCampaignList(_, context),
|
|
2274
|
-
NextToken: __expectString,
|
|
2275
|
-
});
|
|
2276
|
-
Object.assign(contents, doc);
|
|
2277
|
-
return contents;
|
|
2278
|
-
};
|
|
2279
|
-
export const de_ListEmailIdentitiesCommand = async (output, context) => {
|
|
2280
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2281
|
-
return de_CommandError(output, context);
|
|
2282
|
-
}
|
|
2283
|
-
const contents = map({
|
|
2284
|
-
$metadata: deserializeMetadata(output),
|
|
2285
|
-
});
|
|
2286
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2287
|
-
const doc = take(data, {
|
|
2288
|
-
EmailIdentities: _json,
|
|
2289
|
-
NextToken: __expectString,
|
|
2290
|
-
});
|
|
2291
|
-
Object.assign(contents, doc);
|
|
2292
|
-
return contents;
|
|
2293
|
-
};
|
|
2294
|
-
export const de_ListEmailTemplatesCommand = async (output, context) => {
|
|
2295
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2296
|
-
return de_CommandError(output, context);
|
|
2297
|
-
}
|
|
2298
|
-
const contents = map({
|
|
2299
|
-
$metadata: deserializeMetadata(output),
|
|
2300
|
-
});
|
|
2301
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2302
|
-
const doc = take(data, {
|
|
2303
|
-
NextToken: __expectString,
|
|
2304
|
-
TemplatesMetadata: (_) => de_EmailTemplateMetadataList(_, context),
|
|
2305
|
-
});
|
|
2306
|
-
Object.assign(contents, doc);
|
|
2307
|
-
return contents;
|
|
2308
|
-
};
|
|
2309
|
-
export const de_ListExportJobsCommand = async (output, context) => {
|
|
2310
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2311
|
-
return de_CommandError(output, context);
|
|
2312
|
-
}
|
|
2313
|
-
const contents = map({
|
|
2314
|
-
$metadata: deserializeMetadata(output),
|
|
2315
|
-
});
|
|
2316
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2317
|
-
const doc = take(data, {
|
|
2318
|
-
ExportJobs: (_) => de_ExportJobSummaryList(_, context),
|
|
2319
|
-
NextToken: __expectString,
|
|
2320
|
-
});
|
|
2321
|
-
Object.assign(contents, doc);
|
|
2322
|
-
return contents;
|
|
2323
|
-
};
|
|
2324
|
-
export const de_ListImportJobsCommand = async (output, context) => {
|
|
2325
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2326
|
-
return de_CommandError(output, context);
|
|
2327
|
-
}
|
|
2328
|
-
const contents = map({
|
|
2329
|
-
$metadata: deserializeMetadata(output),
|
|
2330
|
-
});
|
|
2331
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2332
|
-
const doc = take(data, {
|
|
2333
|
-
ImportJobs: (_) => de_ImportJobSummaryList(_, context),
|
|
2334
|
-
NextToken: __expectString,
|
|
2335
|
-
});
|
|
2336
|
-
Object.assign(contents, doc);
|
|
2337
|
-
return contents;
|
|
2338
|
-
};
|
|
2339
|
-
export const de_ListMultiRegionEndpointsCommand = async (output, context) => {
|
|
2340
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2341
|
-
return de_CommandError(output, context);
|
|
2342
|
-
}
|
|
2343
|
-
const contents = map({
|
|
2344
|
-
$metadata: deserializeMetadata(output),
|
|
2345
|
-
});
|
|
2346
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2347
|
-
const doc = take(data, {
|
|
2348
|
-
MultiRegionEndpoints: (_) => de_MultiRegionEndpoints(_, context),
|
|
2349
|
-
NextToken: __expectString,
|
|
2350
|
-
});
|
|
2351
|
-
Object.assign(contents, doc);
|
|
2352
|
-
return contents;
|
|
2353
|
-
};
|
|
2354
|
-
export const de_ListRecommendationsCommand = async (output, context) => {
|
|
2355
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2356
|
-
return de_CommandError(output, context);
|
|
2357
|
-
}
|
|
2358
|
-
const contents = map({
|
|
2359
|
-
$metadata: deserializeMetadata(output),
|
|
2360
|
-
});
|
|
2361
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2362
|
-
const doc = take(data, {
|
|
2363
|
-
NextToken: __expectString,
|
|
2364
|
-
Recommendations: (_) => de_RecommendationsList(_, context),
|
|
2365
|
-
});
|
|
2366
|
-
Object.assign(contents, doc);
|
|
2367
|
-
return contents;
|
|
2368
|
-
};
|
|
2369
|
-
export const de_ListReputationEntitiesCommand = async (output, context) => {
|
|
2370
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2371
|
-
return de_CommandError(output, context);
|
|
2372
|
-
}
|
|
2373
|
-
const contents = map({
|
|
2374
|
-
$metadata: deserializeMetadata(output),
|
|
2375
|
-
});
|
|
2376
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2377
|
-
const doc = take(data, {
|
|
2378
|
-
NextToken: __expectString,
|
|
2379
|
-
ReputationEntities: (_) => de_ReputationEntitiesList(_, context),
|
|
2380
|
-
});
|
|
2381
|
-
Object.assign(contents, doc);
|
|
2382
|
-
return contents;
|
|
2383
|
-
};
|
|
2384
|
-
export const de_ListResourceTenantsCommand = async (output, context) => {
|
|
2385
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2386
|
-
return de_CommandError(output, context);
|
|
2387
|
-
}
|
|
2388
|
-
const contents = map({
|
|
2389
|
-
$metadata: deserializeMetadata(output),
|
|
2390
|
-
});
|
|
2391
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2392
|
-
const doc = take(data, {
|
|
2393
|
-
NextToken: __expectString,
|
|
2394
|
-
ResourceTenants: (_) => de_ResourceTenantMetadataList(_, context),
|
|
2395
|
-
});
|
|
2396
|
-
Object.assign(contents, doc);
|
|
2397
|
-
return contents;
|
|
2398
|
-
};
|
|
2399
|
-
export const de_ListSuppressedDestinationsCommand = async (output, context) => {
|
|
2400
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2401
|
-
return de_CommandError(output, context);
|
|
2402
|
-
}
|
|
2403
|
-
const contents = map({
|
|
2404
|
-
$metadata: deserializeMetadata(output),
|
|
2405
|
-
});
|
|
2406
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2407
|
-
const doc = take(data, {
|
|
2408
|
-
NextToken: __expectString,
|
|
2409
|
-
SuppressedDestinationSummaries: (_) => de_SuppressedDestinationSummaries(_, context),
|
|
2410
|
-
});
|
|
2411
|
-
Object.assign(contents, doc);
|
|
2412
|
-
return contents;
|
|
2413
|
-
};
|
|
2414
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2415
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2416
|
-
return de_CommandError(output, context);
|
|
2417
|
-
}
|
|
2418
|
-
const contents = map({
|
|
2419
|
-
$metadata: deserializeMetadata(output),
|
|
2420
|
-
});
|
|
2421
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2422
|
-
const doc = take(data, {
|
|
2423
|
-
Tags: _json,
|
|
2424
|
-
});
|
|
2425
|
-
Object.assign(contents, doc);
|
|
2426
|
-
return contents;
|
|
2427
|
-
};
|
|
2428
|
-
export const de_ListTenantResourcesCommand = async (output, context) => {
|
|
2429
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2430
|
-
return de_CommandError(output, context);
|
|
2431
|
-
}
|
|
2432
|
-
const contents = map({
|
|
2433
|
-
$metadata: deserializeMetadata(output),
|
|
2434
|
-
});
|
|
2435
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2436
|
-
const doc = take(data, {
|
|
2437
|
-
NextToken: __expectString,
|
|
2438
|
-
TenantResources: _json,
|
|
2439
|
-
});
|
|
2440
|
-
Object.assign(contents, doc);
|
|
2441
|
-
return contents;
|
|
2442
|
-
};
|
|
2443
|
-
export const de_ListTenantsCommand = async (output, context) => {
|
|
2444
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2445
|
-
return de_CommandError(output, context);
|
|
2446
|
-
}
|
|
2447
|
-
const contents = map({
|
|
2448
|
-
$metadata: deserializeMetadata(output),
|
|
2449
|
-
});
|
|
2450
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2451
|
-
const doc = take(data, {
|
|
2452
|
-
NextToken: __expectString,
|
|
2453
|
-
Tenants: (_) => de_TenantInfoList(_, context),
|
|
2454
|
-
});
|
|
2455
|
-
Object.assign(contents, doc);
|
|
2456
|
-
return contents;
|
|
2457
|
-
};
|
|
2458
|
-
export const de_PutAccountDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
2459
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2460
|
-
return de_CommandError(output, context);
|
|
2461
|
-
}
|
|
2462
|
-
const contents = map({
|
|
2463
|
-
$metadata: deserializeMetadata(output),
|
|
2464
|
-
});
|
|
2465
|
-
await collectBody(output.body, context);
|
|
2466
|
-
return contents;
|
|
2467
|
-
};
|
|
2468
|
-
export const de_PutAccountDetailsCommand = async (output, context) => {
|
|
2469
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2470
|
-
return de_CommandError(output, context);
|
|
2471
|
-
}
|
|
2472
|
-
const contents = map({
|
|
2473
|
-
$metadata: deserializeMetadata(output),
|
|
2474
|
-
});
|
|
2475
|
-
await collectBody(output.body, context);
|
|
2476
|
-
return contents;
|
|
2477
|
-
};
|
|
2478
|
-
export const de_PutAccountSendingAttributesCommand = async (output, context) => {
|
|
2479
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2480
|
-
return de_CommandError(output, context);
|
|
2481
|
-
}
|
|
2482
|
-
const contents = map({
|
|
2483
|
-
$metadata: deserializeMetadata(output),
|
|
2484
|
-
});
|
|
2485
|
-
await collectBody(output.body, context);
|
|
2486
|
-
return contents;
|
|
2487
|
-
};
|
|
2488
|
-
export const de_PutAccountSuppressionAttributesCommand = async (output, context) => {
|
|
2489
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2490
|
-
return de_CommandError(output, context);
|
|
2491
|
-
}
|
|
2492
|
-
const contents = map({
|
|
2493
|
-
$metadata: deserializeMetadata(output),
|
|
2494
|
-
});
|
|
2495
|
-
await collectBody(output.body, context);
|
|
2496
|
-
return contents;
|
|
2497
|
-
};
|
|
2498
|
-
export const de_PutAccountVdmAttributesCommand = async (output, context) => {
|
|
2499
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2500
|
-
return de_CommandError(output, context);
|
|
2501
|
-
}
|
|
2502
|
-
const contents = map({
|
|
2503
|
-
$metadata: deserializeMetadata(output),
|
|
2504
|
-
});
|
|
2505
|
-
await collectBody(output.body, context);
|
|
2506
|
-
return contents;
|
|
2507
|
-
};
|
|
2508
|
-
export const de_PutConfigurationSetArchivingOptionsCommand = async (output, context) => {
|
|
2509
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2510
|
-
return de_CommandError(output, context);
|
|
2511
|
-
}
|
|
2512
|
-
const contents = map({
|
|
2513
|
-
$metadata: deserializeMetadata(output),
|
|
2514
|
-
});
|
|
2515
|
-
await collectBody(output.body, context);
|
|
2516
|
-
return contents;
|
|
2517
|
-
};
|
|
2518
|
-
export const de_PutConfigurationSetDeliveryOptionsCommand = async (output, context) => {
|
|
2519
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2520
|
-
return de_CommandError(output, context);
|
|
2521
|
-
}
|
|
2522
|
-
const contents = map({
|
|
2523
|
-
$metadata: deserializeMetadata(output),
|
|
2524
|
-
});
|
|
2525
|
-
await collectBody(output.body, context);
|
|
2526
|
-
return contents;
|
|
2527
|
-
};
|
|
2528
|
-
export const de_PutConfigurationSetReputationOptionsCommand = async (output, context) => {
|
|
2529
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2530
|
-
return de_CommandError(output, context);
|
|
2531
|
-
}
|
|
2532
|
-
const contents = map({
|
|
2533
|
-
$metadata: deserializeMetadata(output),
|
|
2534
|
-
});
|
|
2535
|
-
await collectBody(output.body, context);
|
|
2536
|
-
return contents;
|
|
2537
|
-
};
|
|
2538
|
-
export const de_PutConfigurationSetSendingOptionsCommand = async (output, context) => {
|
|
2539
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2540
|
-
return de_CommandError(output, context);
|
|
2541
|
-
}
|
|
2542
|
-
const contents = map({
|
|
2543
|
-
$metadata: deserializeMetadata(output),
|
|
2544
|
-
});
|
|
2545
|
-
await collectBody(output.body, context);
|
|
2546
|
-
return contents;
|
|
2547
|
-
};
|
|
2548
|
-
export const de_PutConfigurationSetSuppressionOptionsCommand = async (output, context) => {
|
|
2549
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2550
|
-
return de_CommandError(output, context);
|
|
2551
|
-
}
|
|
2552
|
-
const contents = map({
|
|
2553
|
-
$metadata: deserializeMetadata(output),
|
|
2554
|
-
});
|
|
2555
|
-
await collectBody(output.body, context);
|
|
2556
|
-
return contents;
|
|
2557
|
-
};
|
|
2558
|
-
export const de_PutConfigurationSetTrackingOptionsCommand = async (output, context) => {
|
|
2559
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2560
|
-
return de_CommandError(output, context);
|
|
2561
|
-
}
|
|
2562
|
-
const contents = map({
|
|
2563
|
-
$metadata: deserializeMetadata(output),
|
|
2564
|
-
});
|
|
2565
|
-
await collectBody(output.body, context);
|
|
2566
|
-
return contents;
|
|
2567
|
-
};
|
|
2568
|
-
export const de_PutConfigurationSetVdmOptionsCommand = async (output, context) => {
|
|
2569
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2570
|
-
return de_CommandError(output, context);
|
|
2571
|
-
}
|
|
2572
|
-
const contents = map({
|
|
2573
|
-
$metadata: deserializeMetadata(output),
|
|
2574
|
-
});
|
|
2575
|
-
await collectBody(output.body, context);
|
|
2576
|
-
return contents;
|
|
2577
|
-
};
|
|
2578
|
-
export const de_PutDedicatedIpInPoolCommand = async (output, context) => {
|
|
2579
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2580
|
-
return de_CommandError(output, context);
|
|
2581
|
-
}
|
|
2582
|
-
const contents = map({
|
|
2583
|
-
$metadata: deserializeMetadata(output),
|
|
2584
|
-
});
|
|
2585
|
-
await collectBody(output.body, context);
|
|
2586
|
-
return contents;
|
|
2587
|
-
};
|
|
2588
|
-
export const de_PutDedicatedIpPoolScalingAttributesCommand = async (output, context) => {
|
|
2589
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2590
|
-
return de_CommandError(output, context);
|
|
2591
|
-
}
|
|
2592
|
-
const contents = map({
|
|
2593
|
-
$metadata: deserializeMetadata(output),
|
|
2594
|
-
});
|
|
2595
|
-
await collectBody(output.body, context);
|
|
2596
|
-
return contents;
|
|
2597
|
-
};
|
|
2598
|
-
export const de_PutDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
2599
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2600
|
-
return de_CommandError(output, context);
|
|
2601
|
-
}
|
|
2602
|
-
const contents = map({
|
|
2603
|
-
$metadata: deserializeMetadata(output),
|
|
2604
|
-
});
|
|
2605
|
-
await collectBody(output.body, context);
|
|
2606
|
-
return contents;
|
|
2607
|
-
};
|
|
2608
|
-
export const de_PutDeliverabilityDashboardOptionCommand = async (output, context) => {
|
|
2609
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2610
|
-
return de_CommandError(output, context);
|
|
2611
|
-
}
|
|
2612
|
-
const contents = map({
|
|
2613
|
-
$metadata: deserializeMetadata(output),
|
|
2614
|
-
});
|
|
2615
|
-
await collectBody(output.body, context);
|
|
2616
|
-
return contents;
|
|
2617
|
-
};
|
|
2618
|
-
export const de_PutEmailIdentityConfigurationSetAttributesCommand = async (output, context) => {
|
|
2619
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2620
|
-
return de_CommandError(output, context);
|
|
2621
|
-
}
|
|
2622
|
-
const contents = map({
|
|
2623
|
-
$metadata: deserializeMetadata(output),
|
|
2624
|
-
});
|
|
2625
|
-
await collectBody(output.body, context);
|
|
2626
|
-
return contents;
|
|
2627
|
-
};
|
|
2628
|
-
export const de_PutEmailIdentityDkimAttributesCommand = async (output, context) => {
|
|
2629
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2630
|
-
return de_CommandError(output, context);
|
|
2631
|
-
}
|
|
2632
|
-
const contents = map({
|
|
2633
|
-
$metadata: deserializeMetadata(output),
|
|
2634
|
-
});
|
|
2635
|
-
await collectBody(output.body, context);
|
|
2636
|
-
return contents;
|
|
2637
|
-
};
|
|
2638
|
-
export const de_PutEmailIdentityDkimSigningAttributesCommand = async (output, context) => {
|
|
2639
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2640
|
-
return de_CommandError(output, context);
|
|
2641
|
-
}
|
|
2642
|
-
const contents = map({
|
|
2643
|
-
$metadata: deserializeMetadata(output),
|
|
2644
|
-
});
|
|
2645
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2646
|
-
const doc = take(data, {
|
|
2647
|
-
DkimStatus: __expectString,
|
|
2648
|
-
DkimTokens: _json,
|
|
2649
|
-
});
|
|
2650
|
-
Object.assign(contents, doc);
|
|
2651
|
-
return contents;
|
|
2652
|
-
};
|
|
2653
|
-
export const de_PutEmailIdentityFeedbackAttributesCommand = async (output, context) => {
|
|
2654
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2655
|
-
return de_CommandError(output, context);
|
|
2656
|
-
}
|
|
2657
|
-
const contents = map({
|
|
2658
|
-
$metadata: deserializeMetadata(output),
|
|
2659
|
-
});
|
|
2660
|
-
await collectBody(output.body, context);
|
|
2661
|
-
return contents;
|
|
2662
|
-
};
|
|
2663
|
-
export const de_PutEmailIdentityMailFromAttributesCommand = async (output, context) => {
|
|
2664
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2665
|
-
return de_CommandError(output, context);
|
|
2666
|
-
}
|
|
2667
|
-
const contents = map({
|
|
2668
|
-
$metadata: deserializeMetadata(output),
|
|
2669
|
-
});
|
|
2670
|
-
await collectBody(output.body, context);
|
|
2671
|
-
return contents;
|
|
2672
|
-
};
|
|
2673
|
-
export const de_PutSuppressedDestinationCommand = async (output, context) => {
|
|
2674
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2675
|
-
return de_CommandError(output, context);
|
|
2676
|
-
}
|
|
2677
|
-
const contents = map({
|
|
2678
|
-
$metadata: deserializeMetadata(output),
|
|
2679
|
-
});
|
|
2680
|
-
await collectBody(output.body, context);
|
|
2681
|
-
return contents;
|
|
2682
|
-
};
|
|
2683
|
-
export const de_SendBulkEmailCommand = async (output, context) => {
|
|
2684
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2685
|
-
return de_CommandError(output, context);
|
|
2686
|
-
}
|
|
2687
|
-
const contents = map({
|
|
2688
|
-
$metadata: deserializeMetadata(output),
|
|
2689
|
-
});
|
|
2690
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2691
|
-
const doc = take(data, {
|
|
2692
|
-
BulkEmailEntryResults: _json,
|
|
2693
|
-
});
|
|
2694
|
-
Object.assign(contents, doc);
|
|
2695
|
-
return contents;
|
|
2696
|
-
};
|
|
2697
|
-
export const de_SendCustomVerificationEmailCommand = async (output, context) => {
|
|
2698
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2699
|
-
return de_CommandError(output, context);
|
|
2700
|
-
}
|
|
2701
|
-
const contents = map({
|
|
2702
|
-
$metadata: deserializeMetadata(output),
|
|
2703
|
-
});
|
|
2704
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2705
|
-
const doc = take(data, {
|
|
2706
|
-
MessageId: __expectString,
|
|
2707
|
-
});
|
|
2708
|
-
Object.assign(contents, doc);
|
|
2709
|
-
return contents;
|
|
2710
|
-
};
|
|
2711
|
-
export const de_SendEmailCommand = async (output, context) => {
|
|
2712
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2713
|
-
return de_CommandError(output, context);
|
|
2714
|
-
}
|
|
2715
|
-
const contents = map({
|
|
2716
|
-
$metadata: deserializeMetadata(output),
|
|
2717
|
-
});
|
|
2718
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2719
|
-
const doc = take(data, {
|
|
2720
|
-
MessageId: __expectString,
|
|
2721
|
-
});
|
|
2722
|
-
Object.assign(contents, doc);
|
|
2723
|
-
return contents;
|
|
2724
|
-
};
|
|
2725
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
2726
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2727
|
-
return de_CommandError(output, context);
|
|
2728
|
-
}
|
|
2729
|
-
const contents = map({
|
|
2730
|
-
$metadata: deserializeMetadata(output),
|
|
2731
|
-
});
|
|
2732
|
-
await collectBody(output.body, context);
|
|
2733
|
-
return contents;
|
|
2734
|
-
};
|
|
2735
|
-
export const de_TestRenderEmailTemplateCommand = async (output, context) => {
|
|
2736
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2737
|
-
return de_CommandError(output, context);
|
|
2738
|
-
}
|
|
2739
|
-
const contents = map({
|
|
2740
|
-
$metadata: deserializeMetadata(output),
|
|
2741
|
-
});
|
|
2742
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2743
|
-
const doc = take(data, {
|
|
2744
|
-
RenderedTemplate: __expectString,
|
|
2745
|
-
});
|
|
2746
|
-
Object.assign(contents, doc);
|
|
2747
|
-
return contents;
|
|
2748
|
-
};
|
|
2749
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
2750
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2751
|
-
return de_CommandError(output, context);
|
|
2752
|
-
}
|
|
2753
|
-
const contents = map({
|
|
2754
|
-
$metadata: deserializeMetadata(output),
|
|
2755
|
-
});
|
|
2756
|
-
await collectBody(output.body, context);
|
|
2757
|
-
return contents;
|
|
2758
|
-
};
|
|
2759
|
-
export const de_UpdateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
2760
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2761
|
-
return de_CommandError(output, context);
|
|
2762
|
-
}
|
|
2763
|
-
const contents = map({
|
|
2764
|
-
$metadata: deserializeMetadata(output),
|
|
2765
|
-
});
|
|
2766
|
-
await collectBody(output.body, context);
|
|
2767
|
-
return contents;
|
|
2768
|
-
};
|
|
2769
|
-
export const de_UpdateContactCommand = async (output, context) => {
|
|
2770
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2771
|
-
return de_CommandError(output, context);
|
|
2772
|
-
}
|
|
2773
|
-
const contents = map({
|
|
2774
|
-
$metadata: deserializeMetadata(output),
|
|
2775
|
-
});
|
|
2776
|
-
await collectBody(output.body, context);
|
|
2777
|
-
return contents;
|
|
2778
|
-
};
|
|
2779
|
-
export const de_UpdateContactListCommand = async (output, context) => {
|
|
2780
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2781
|
-
return de_CommandError(output, context);
|
|
2782
|
-
}
|
|
2783
|
-
const contents = map({
|
|
2784
|
-
$metadata: deserializeMetadata(output),
|
|
2785
|
-
});
|
|
2786
|
-
await collectBody(output.body, context);
|
|
2787
|
-
return contents;
|
|
2788
|
-
};
|
|
2789
|
-
export const de_UpdateCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
2790
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2791
|
-
return de_CommandError(output, context);
|
|
2792
|
-
}
|
|
2793
|
-
const contents = map({
|
|
2794
|
-
$metadata: deserializeMetadata(output),
|
|
2795
|
-
});
|
|
2796
|
-
await collectBody(output.body, context);
|
|
2797
|
-
return contents;
|
|
2798
|
-
};
|
|
2799
|
-
export const de_UpdateEmailIdentityPolicyCommand = async (output, context) => {
|
|
2800
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2801
|
-
return de_CommandError(output, context);
|
|
2802
|
-
}
|
|
2803
|
-
const contents = map({
|
|
2804
|
-
$metadata: deserializeMetadata(output),
|
|
2805
|
-
});
|
|
2806
|
-
await collectBody(output.body, context);
|
|
2807
|
-
return contents;
|
|
2808
|
-
};
|
|
2809
|
-
export const de_UpdateEmailTemplateCommand = async (output, context) => {
|
|
2810
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2811
|
-
return de_CommandError(output, context);
|
|
2812
|
-
}
|
|
2813
|
-
const contents = map({
|
|
2814
|
-
$metadata: deserializeMetadata(output),
|
|
2815
|
-
});
|
|
2816
|
-
await collectBody(output.body, context);
|
|
2817
|
-
return contents;
|
|
2818
|
-
};
|
|
2819
|
-
export const de_UpdateReputationEntityCustomerManagedStatusCommand = async (output, context) => {
|
|
2820
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2821
|
-
return de_CommandError(output, context);
|
|
2822
|
-
}
|
|
2823
|
-
const contents = map({
|
|
2824
|
-
$metadata: deserializeMetadata(output),
|
|
2825
|
-
});
|
|
2826
|
-
await collectBody(output.body, context);
|
|
2827
|
-
return contents;
|
|
2828
|
-
};
|
|
2829
|
-
export const de_UpdateReputationEntityPolicyCommand = async (output, context) => {
|
|
2830
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2831
|
-
return de_CommandError(output, context);
|
|
2832
|
-
}
|
|
2833
|
-
const contents = map({
|
|
2834
|
-
$metadata: deserializeMetadata(output),
|
|
2835
|
-
});
|
|
2836
|
-
await collectBody(output.body, context);
|
|
2837
|
-
return contents;
|
|
2838
|
-
};
|
|
2839
|
-
const de_CommandError = async (output, context) => {
|
|
2840
|
-
const parsedOutput = {
|
|
2841
|
-
...output,
|
|
2842
|
-
body: await parseErrorBody(output.body, context),
|
|
2843
|
-
};
|
|
2844
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2845
|
-
switch (errorCode) {
|
|
2846
|
-
case "BadRequestException":
|
|
2847
|
-
case "com.amazonaws.sesv2#BadRequestException":
|
|
2848
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2849
|
-
case "InternalServiceErrorException":
|
|
2850
|
-
case "com.amazonaws.sesv2#InternalServiceErrorException":
|
|
2851
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2852
|
-
case "NotFoundException":
|
|
2853
|
-
case "com.amazonaws.sesv2#NotFoundException":
|
|
2854
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2855
|
-
case "TooManyRequestsException":
|
|
2856
|
-
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
2857
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2858
|
-
case "AlreadyExistsException":
|
|
2859
|
-
case "com.amazonaws.sesv2#AlreadyExistsException":
|
|
2860
|
-
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
2861
|
-
case "ConcurrentModificationException":
|
|
2862
|
-
case "com.amazonaws.sesv2#ConcurrentModificationException":
|
|
2863
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2864
|
-
case "LimitExceededException":
|
|
2865
|
-
case "com.amazonaws.sesv2#LimitExceededException":
|
|
2866
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2867
|
-
case "AccountSuspendedException":
|
|
2868
|
-
case "com.amazonaws.sesv2#AccountSuspendedException":
|
|
2869
|
-
throw await de_AccountSuspendedExceptionRes(parsedOutput, context);
|
|
2870
|
-
case "MailFromDomainNotVerifiedException":
|
|
2871
|
-
case "com.amazonaws.sesv2#MailFromDomainNotVerifiedException":
|
|
2872
|
-
throw await de_MailFromDomainNotVerifiedExceptionRes(parsedOutput, context);
|
|
2873
|
-
case "MessageRejected":
|
|
2874
|
-
case "com.amazonaws.sesv2#MessageRejected":
|
|
2875
|
-
throw await de_MessageRejectedRes(parsedOutput, context);
|
|
2876
|
-
case "SendingPausedException":
|
|
2877
|
-
case "com.amazonaws.sesv2#SendingPausedException":
|
|
2878
|
-
throw await de_SendingPausedExceptionRes(parsedOutput, context);
|
|
2879
|
-
case "InvalidNextTokenException":
|
|
2880
|
-
case "com.amazonaws.sesv2#InvalidNextTokenException":
|
|
2881
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2882
|
-
case "ConflictException":
|
|
2883
|
-
case "com.amazonaws.sesv2#ConflictException":
|
|
2884
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2885
|
-
default:
|
|
2886
|
-
const parsedBody = parsedOutput.body;
|
|
2887
|
-
return throwDefaultError({
|
|
2888
|
-
output,
|
|
2889
|
-
parsedBody,
|
|
2890
|
-
errorCode,
|
|
2891
|
-
});
|
|
2892
|
-
}
|
|
2893
|
-
};
|
|
2894
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2895
|
-
const de_AccountSuspendedExceptionRes = async (parsedOutput, context) => {
|
|
2896
|
-
const contents = map({});
|
|
2897
|
-
const data = parsedOutput.body;
|
|
2898
|
-
const doc = take(data, {
|
|
2899
|
-
message: __expectString,
|
|
2900
|
-
});
|
|
2901
|
-
Object.assign(contents, doc);
|
|
2902
|
-
const exception = new AccountSuspendedException({
|
|
2903
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2904
|
-
...contents,
|
|
2905
|
-
});
|
|
2906
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2907
|
-
};
|
|
2908
|
-
const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2909
|
-
const contents = map({});
|
|
2910
|
-
const data = parsedOutput.body;
|
|
2911
|
-
const doc = take(data, {
|
|
2912
|
-
message: __expectString,
|
|
2913
|
-
});
|
|
2914
|
-
Object.assign(contents, doc);
|
|
2915
|
-
const exception = new AlreadyExistsException({
|
|
2916
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2917
|
-
...contents,
|
|
2918
|
-
});
|
|
2919
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2920
|
-
};
|
|
2921
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
2922
|
-
const contents = map({});
|
|
2923
|
-
const data = parsedOutput.body;
|
|
2924
|
-
const doc = take(data, {
|
|
2925
|
-
message: __expectString,
|
|
2926
|
-
});
|
|
2927
|
-
Object.assign(contents, doc);
|
|
2928
|
-
const exception = new BadRequestException({
|
|
2929
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2930
|
-
...contents,
|
|
2931
|
-
});
|
|
2932
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2933
|
-
};
|
|
2934
|
-
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
2935
|
-
const contents = map({});
|
|
2936
|
-
const data = parsedOutput.body;
|
|
2937
|
-
const doc = take(data, {
|
|
2938
|
-
message: __expectString,
|
|
2939
|
-
});
|
|
2940
|
-
Object.assign(contents, doc);
|
|
2941
|
-
const exception = new ConcurrentModificationException({
|
|
2942
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2943
|
-
...contents,
|
|
2944
|
-
});
|
|
2945
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2946
|
-
};
|
|
2947
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2948
|
-
const contents = map({});
|
|
2949
|
-
const data = parsedOutput.body;
|
|
2950
|
-
const doc = take(data, {
|
|
2951
|
-
message: __expectString,
|
|
2952
|
-
});
|
|
2953
|
-
Object.assign(contents, doc);
|
|
2954
|
-
const exception = new ConflictException({
|
|
2955
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2956
|
-
...contents,
|
|
2957
|
-
});
|
|
2958
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2959
|
-
};
|
|
2960
|
-
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
2961
|
-
const contents = map({});
|
|
2962
|
-
const data = parsedOutput.body;
|
|
2963
|
-
const doc = take(data, {
|
|
2964
|
-
message: __expectString,
|
|
2965
|
-
});
|
|
2966
|
-
Object.assign(contents, doc);
|
|
2967
|
-
const exception = new InternalServiceErrorException({
|
|
2968
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2969
|
-
...contents,
|
|
2970
|
-
});
|
|
2971
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2972
|
-
};
|
|
2973
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2974
|
-
const contents = map({});
|
|
2975
|
-
const data = parsedOutput.body;
|
|
2976
|
-
const doc = take(data, {
|
|
2977
|
-
message: __expectString,
|
|
2978
|
-
});
|
|
2979
|
-
Object.assign(contents, doc);
|
|
2980
|
-
const exception = new InvalidNextTokenException({
|
|
2981
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2982
|
-
...contents,
|
|
2983
|
-
});
|
|
2984
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2985
|
-
};
|
|
2986
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2987
|
-
const contents = map({});
|
|
2988
|
-
const data = parsedOutput.body;
|
|
2989
|
-
const doc = take(data, {
|
|
2990
|
-
message: __expectString,
|
|
2991
|
-
});
|
|
2992
|
-
Object.assign(contents, doc);
|
|
2993
|
-
const exception = new LimitExceededException({
|
|
2994
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2995
|
-
...contents,
|
|
2996
|
-
});
|
|
2997
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2998
|
-
};
|
|
2999
|
-
const de_MailFromDomainNotVerifiedExceptionRes = async (parsedOutput, context) => {
|
|
3000
|
-
const contents = map({});
|
|
3001
|
-
const data = parsedOutput.body;
|
|
3002
|
-
const doc = take(data, {
|
|
3003
|
-
message: __expectString,
|
|
3004
|
-
});
|
|
3005
|
-
Object.assign(contents, doc);
|
|
3006
|
-
const exception = new MailFromDomainNotVerifiedException({
|
|
3007
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3008
|
-
...contents,
|
|
3009
|
-
});
|
|
3010
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
3011
|
-
};
|
|
3012
|
-
const de_MessageRejectedRes = async (parsedOutput, context) => {
|
|
3013
|
-
const contents = map({});
|
|
3014
|
-
const data = parsedOutput.body;
|
|
3015
|
-
const doc = take(data, {
|
|
3016
|
-
message: __expectString,
|
|
3017
|
-
});
|
|
3018
|
-
Object.assign(contents, doc);
|
|
3019
|
-
const exception = new MessageRejected({
|
|
3020
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3021
|
-
...contents,
|
|
3022
|
-
});
|
|
3023
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
3024
|
-
};
|
|
3025
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3026
|
-
const contents = map({});
|
|
3027
|
-
const data = parsedOutput.body;
|
|
3028
|
-
const doc = take(data, {
|
|
3029
|
-
message: __expectString,
|
|
3030
|
-
});
|
|
3031
|
-
Object.assign(contents, doc);
|
|
3032
|
-
const exception = new NotFoundException({
|
|
3033
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3034
|
-
...contents,
|
|
3035
|
-
});
|
|
3036
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
3037
|
-
};
|
|
3038
|
-
const de_SendingPausedExceptionRes = async (parsedOutput, context) => {
|
|
3039
|
-
const contents = map({});
|
|
3040
|
-
const data = parsedOutput.body;
|
|
3041
|
-
const doc = take(data, {
|
|
3042
|
-
message: __expectString,
|
|
3043
|
-
});
|
|
3044
|
-
Object.assign(contents, doc);
|
|
3045
|
-
const exception = new SendingPausedException({
|
|
3046
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3047
|
-
...contents,
|
|
3048
|
-
});
|
|
3049
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
3050
|
-
};
|
|
3051
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
3052
|
-
const contents = map({});
|
|
3053
|
-
const data = parsedOutput.body;
|
|
3054
|
-
const doc = take(data, {
|
|
3055
|
-
message: __expectString,
|
|
3056
|
-
});
|
|
3057
|
-
Object.assign(contents, doc);
|
|
3058
|
-
const exception = new TooManyRequestsException({
|
|
3059
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3060
|
-
...contents,
|
|
3061
|
-
});
|
|
3062
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
3063
|
-
};
|
|
3064
|
-
const se_Attachment = (input, context) => {
|
|
3065
|
-
return take(input, {
|
|
3066
|
-
ContentDescription: [],
|
|
3067
|
-
ContentDisposition: [],
|
|
3068
|
-
ContentId: [],
|
|
3069
|
-
ContentTransferEncoding: [],
|
|
3070
|
-
ContentType: [],
|
|
3071
|
-
FileName: [],
|
|
3072
|
-
RawContent: context.base64Encoder,
|
|
3073
|
-
});
|
|
3074
|
-
};
|
|
3075
|
-
const se_AttachmentList = (input, context) => {
|
|
3076
|
-
return input
|
|
3077
|
-
.filter((e) => e != null)
|
|
3078
|
-
.map((entry) => {
|
|
3079
|
-
return se_Attachment(entry, context);
|
|
3080
|
-
});
|
|
3081
|
-
};
|
|
3082
|
-
const se_BatchGetMetricDataQueries = (input, context) => {
|
|
3083
|
-
return input
|
|
3084
|
-
.filter((e) => e != null)
|
|
3085
|
-
.map((entry) => {
|
|
3086
|
-
return se_BatchGetMetricDataQuery(entry, context);
|
|
3087
|
-
});
|
|
3088
|
-
};
|
|
3089
|
-
const se_BatchGetMetricDataQuery = (input, context) => {
|
|
3090
|
-
return take(input, {
|
|
3091
|
-
Dimensions: _json,
|
|
3092
|
-
EndDate: (_) => _.getTime() / 1_000,
|
|
3093
|
-
Id: [],
|
|
3094
|
-
Metric: [],
|
|
3095
|
-
Namespace: [],
|
|
3096
|
-
StartDate: (_) => _.getTime() / 1_000,
|
|
3097
|
-
});
|
|
3098
|
-
};
|
|
3099
|
-
const se_BulkEmailContent = (input, context) => {
|
|
3100
|
-
return take(input, {
|
|
3101
|
-
Template: (_) => se_Template(_, context),
|
|
3102
|
-
});
|
|
3103
|
-
};
|
|
3104
|
-
const se_DomainDeliverabilityTrackingOption = (input, context) => {
|
|
3105
|
-
return take(input, {
|
|
3106
|
-
Domain: [],
|
|
3107
|
-
InboxPlacementTrackingOption: _json,
|
|
3108
|
-
SubscriptionStartDate: (_) => _.getTime() / 1_000,
|
|
3109
|
-
});
|
|
3110
|
-
};
|
|
3111
|
-
const se_DomainDeliverabilityTrackingOptions = (input, context) => {
|
|
3112
|
-
return input
|
|
3113
|
-
.filter((e) => e != null)
|
|
3114
|
-
.map((entry) => {
|
|
3115
|
-
return se_DomainDeliverabilityTrackingOption(entry, context);
|
|
3116
|
-
});
|
|
3117
|
-
};
|
|
3118
|
-
const se_EmailContent = (input, context) => {
|
|
3119
|
-
return take(input, {
|
|
3120
|
-
Raw: (_) => se_RawMessage(_, context),
|
|
3121
|
-
Simple: (_) => se_Message(_, context),
|
|
3122
|
-
Template: (_) => se_Template(_, context),
|
|
3123
|
-
});
|
|
3124
|
-
};
|
|
3125
|
-
const se_ExportDataSource = (input, context) => {
|
|
3126
|
-
return take(input, {
|
|
3127
|
-
MessageInsightsDataSource: (_) => se_MessageInsightsDataSource(_, context),
|
|
3128
|
-
MetricsDataSource: (_) => se_MetricsDataSource(_, context),
|
|
3129
|
-
});
|
|
3130
|
-
};
|
|
3131
|
-
const se_Message = (input, context) => {
|
|
3132
|
-
return take(input, {
|
|
3133
|
-
Attachments: (_) => se_AttachmentList(_, context),
|
|
3134
|
-
Body: _json,
|
|
3135
|
-
Headers: _json,
|
|
3136
|
-
Subject: _json,
|
|
3137
|
-
});
|
|
3138
|
-
};
|
|
3139
|
-
const se_MessageInsightsDataSource = (input, context) => {
|
|
3140
|
-
return take(input, {
|
|
3141
|
-
EndDate: (_) => _.getTime() / 1_000,
|
|
3142
|
-
Exclude: _json,
|
|
3143
|
-
Include: _json,
|
|
3144
|
-
MaxResults: [],
|
|
3145
|
-
StartDate: (_) => _.getTime() / 1_000,
|
|
3146
|
-
});
|
|
3147
|
-
};
|
|
3148
|
-
const se_MetricsDataSource = (input, context) => {
|
|
3149
|
-
return take(input, {
|
|
3150
|
-
Dimensions: _json,
|
|
3151
|
-
EndDate: (_) => _.getTime() / 1_000,
|
|
3152
|
-
Metrics: _json,
|
|
3153
|
-
Namespace: [],
|
|
3154
|
-
StartDate: (_) => _.getTime() / 1_000,
|
|
3155
|
-
});
|
|
3156
|
-
};
|
|
3157
|
-
const se_RawMessage = (input, context) => {
|
|
3158
|
-
return take(input, {
|
|
3159
|
-
Data: context.base64Encoder,
|
|
3160
|
-
});
|
|
3161
|
-
};
|
|
3162
|
-
const se_ReputationOptions = (input, context) => {
|
|
3163
|
-
return take(input, {
|
|
3164
|
-
LastFreshStart: (_) => _.getTime() / 1_000,
|
|
3165
|
-
ReputationMetricsEnabled: [],
|
|
3166
|
-
});
|
|
3167
|
-
};
|
|
3168
|
-
const se_Template = (input, context) => {
|
|
3169
|
-
return take(input, {
|
|
3170
|
-
Attachments: (_) => se_AttachmentList(_, context),
|
|
3171
|
-
Headers: _json,
|
|
3172
|
-
TemplateArn: [],
|
|
3173
|
-
TemplateContent: _json,
|
|
3174
|
-
TemplateData: [],
|
|
3175
|
-
TemplateName: [],
|
|
3176
|
-
});
|
|
3177
|
-
};
|
|
3178
|
-
const de_BlacklistEntries = (output, context) => {
|
|
3179
|
-
const retVal = (output || [])
|
|
3180
|
-
.filter((e) => e != null)
|
|
3181
|
-
.map((entry) => {
|
|
3182
|
-
return de_BlacklistEntry(entry, context);
|
|
3183
|
-
});
|
|
3184
|
-
return retVal;
|
|
3185
|
-
};
|
|
3186
|
-
const de_BlacklistEntry = (output, context) => {
|
|
3187
|
-
return take(output, {
|
|
3188
|
-
Description: __expectString,
|
|
3189
|
-
ListingTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3190
|
-
RblName: __expectString,
|
|
3191
|
-
});
|
|
3192
|
-
};
|
|
3193
|
-
const de_BlacklistReport = (output, context) => {
|
|
3194
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3195
|
-
if (value === null) {
|
|
3196
|
-
return acc;
|
|
3197
|
-
}
|
|
3198
|
-
acc[key] = de_BlacklistEntries(value, context);
|
|
3199
|
-
return acc;
|
|
3200
|
-
}, {});
|
|
3201
|
-
};
|
|
3202
|
-
const de_Contact = (output, context) => {
|
|
3203
|
-
return take(output, {
|
|
3204
|
-
EmailAddress: __expectString,
|
|
3205
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3206
|
-
TopicDefaultPreferences: _json,
|
|
3207
|
-
TopicPreferences: _json,
|
|
3208
|
-
UnsubscribeAll: __expectBoolean,
|
|
3209
|
-
});
|
|
3210
|
-
};
|
|
3211
|
-
const de_ContactList = (output, context) => {
|
|
3212
|
-
return take(output, {
|
|
3213
|
-
ContactListName: __expectString,
|
|
3214
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3215
|
-
});
|
|
3216
|
-
};
|
|
3217
|
-
const de_DailyVolume = (output, context) => {
|
|
3218
|
-
return take(output, {
|
|
3219
|
-
DomainIspPlacements: (_) => de_DomainIspPlacements(_, context),
|
|
3220
|
-
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3221
|
-
VolumeStatistics: _json,
|
|
3222
|
-
});
|
|
3223
|
-
};
|
|
3224
|
-
const de_DailyVolumes = (output, context) => {
|
|
3225
|
-
const retVal = (output || [])
|
|
3226
|
-
.filter((e) => e != null)
|
|
3227
|
-
.map((entry) => {
|
|
3228
|
-
return de_DailyVolume(entry, context);
|
|
3229
|
-
});
|
|
3230
|
-
return retVal;
|
|
3231
|
-
};
|
|
3232
|
-
const de_DeliverabilityTestReport = (output, context) => {
|
|
3233
|
-
return take(output, {
|
|
3234
|
-
CreateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3235
|
-
DeliverabilityTestStatus: __expectString,
|
|
3236
|
-
FromEmailAddress: __expectString,
|
|
3237
|
-
ReportId: __expectString,
|
|
3238
|
-
ReportName: __expectString,
|
|
3239
|
-
Subject: __expectString,
|
|
3240
|
-
});
|
|
3241
|
-
};
|
|
3242
|
-
const de_DeliverabilityTestReports = (output, context) => {
|
|
3243
|
-
const retVal = (output || [])
|
|
3244
|
-
.filter((e) => e != null)
|
|
3245
|
-
.map((entry) => {
|
|
3246
|
-
return de_DeliverabilityTestReport(entry, context);
|
|
3247
|
-
});
|
|
3248
|
-
return retVal;
|
|
3249
|
-
};
|
|
3250
|
-
const de_DkimAttributes = (output, context) => {
|
|
3251
|
-
return take(output, {
|
|
3252
|
-
CurrentSigningKeyLength: __expectString,
|
|
3253
|
-
LastKeyGenerationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3254
|
-
NextSigningKeyLength: __expectString,
|
|
3255
|
-
SigningAttributesOrigin: __expectString,
|
|
3256
|
-
SigningEnabled: __expectBoolean,
|
|
3257
|
-
Status: __expectString,
|
|
3258
|
-
Tokens: _json,
|
|
3259
|
-
});
|
|
3260
|
-
};
|
|
3261
|
-
const de_DomainDeliverabilityCampaign = (output, context) => {
|
|
3262
|
-
return take(output, {
|
|
3263
|
-
CampaignId: __expectString,
|
|
3264
|
-
DeleteRate: __limitedParseDouble,
|
|
3265
|
-
Esps: _json,
|
|
3266
|
-
FirstSeenDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3267
|
-
FromAddress: __expectString,
|
|
3268
|
-
ImageUrl: __expectString,
|
|
3269
|
-
InboxCount: __expectLong,
|
|
3270
|
-
LastSeenDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3271
|
-
ProjectedVolume: __expectLong,
|
|
3272
|
-
ReadDeleteRate: __limitedParseDouble,
|
|
3273
|
-
ReadRate: __limitedParseDouble,
|
|
3274
|
-
SendingIps: _json,
|
|
3275
|
-
SpamCount: __expectLong,
|
|
3276
|
-
Subject: __expectString,
|
|
3277
|
-
});
|
|
3278
|
-
};
|
|
3279
|
-
const de_DomainDeliverabilityCampaignList = (output, context) => {
|
|
3280
|
-
const retVal = (output || [])
|
|
3281
|
-
.filter((e) => e != null)
|
|
3282
|
-
.map((entry) => {
|
|
3283
|
-
return de_DomainDeliverabilityCampaign(entry, context);
|
|
3284
|
-
});
|
|
3285
|
-
return retVal;
|
|
3286
|
-
};
|
|
3287
|
-
const de_DomainDeliverabilityTrackingOption = (output, context) => {
|
|
3288
|
-
return take(output, {
|
|
3289
|
-
Domain: __expectString,
|
|
3290
|
-
InboxPlacementTrackingOption: _json,
|
|
3291
|
-
SubscriptionStartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3292
|
-
});
|
|
3293
|
-
};
|
|
3294
|
-
const de_DomainDeliverabilityTrackingOptions = (output, context) => {
|
|
3295
|
-
const retVal = (output || [])
|
|
3296
|
-
.filter((e) => e != null)
|
|
3297
|
-
.map((entry) => {
|
|
3298
|
-
return de_DomainDeliverabilityTrackingOption(entry, context);
|
|
3299
|
-
});
|
|
3300
|
-
return retVal;
|
|
3301
|
-
};
|
|
3302
|
-
const de_DomainIspPlacement = (output, context) => {
|
|
3303
|
-
return take(output, {
|
|
3304
|
-
InboxPercentage: __limitedParseDouble,
|
|
3305
|
-
InboxRawCount: __expectLong,
|
|
3306
|
-
IspName: __expectString,
|
|
3307
|
-
SpamPercentage: __limitedParseDouble,
|
|
3308
|
-
SpamRawCount: __expectLong,
|
|
3309
|
-
});
|
|
3310
|
-
};
|
|
3311
|
-
const de_DomainIspPlacements = (output, context) => {
|
|
3312
|
-
const retVal = (output || [])
|
|
3313
|
-
.filter((e) => e != null)
|
|
3314
|
-
.map((entry) => {
|
|
3315
|
-
return de_DomainIspPlacement(entry, context);
|
|
3316
|
-
});
|
|
3317
|
-
return retVal;
|
|
3318
|
-
};
|
|
3319
|
-
const de_EmailInsights = (output, context) => {
|
|
3320
|
-
return take(output, {
|
|
3321
|
-
Destination: __expectString,
|
|
3322
|
-
Events: (_) => de_InsightsEvents(_, context),
|
|
3323
|
-
Isp: __expectString,
|
|
3324
|
-
});
|
|
3325
|
-
};
|
|
3326
|
-
const de_EmailInsightsList = (output, context) => {
|
|
3327
|
-
const retVal = (output || [])
|
|
3328
|
-
.filter((e) => e != null)
|
|
3329
|
-
.map((entry) => {
|
|
3330
|
-
return de_EmailInsights(entry, context);
|
|
3331
|
-
});
|
|
3332
|
-
return retVal;
|
|
3333
|
-
};
|
|
3334
|
-
const de_EmailTemplateMetadata = (output, context) => {
|
|
3335
|
-
return take(output, {
|
|
3336
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3337
|
-
TemplateName: __expectString,
|
|
3338
|
-
});
|
|
3339
|
-
};
|
|
3340
|
-
const de_EmailTemplateMetadataList = (output, context) => {
|
|
3341
|
-
const retVal = (output || [])
|
|
3342
|
-
.filter((e) => e != null)
|
|
3343
|
-
.map((entry) => {
|
|
3344
|
-
return de_EmailTemplateMetadata(entry, context);
|
|
3345
|
-
});
|
|
3346
|
-
return retVal;
|
|
3347
|
-
};
|
|
3348
|
-
const de_ExportDataSource = (output, context) => {
|
|
3349
|
-
return take(output, {
|
|
3350
|
-
MessageInsightsDataSource: (_) => de_MessageInsightsDataSource(_, context),
|
|
3351
|
-
MetricsDataSource: (_) => de_MetricsDataSource(_, context),
|
|
3352
|
-
});
|
|
3353
|
-
};
|
|
3354
|
-
const de_ExportJobSummary = (output, context) => {
|
|
3355
|
-
return take(output, {
|
|
3356
|
-
CompletedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3357
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3358
|
-
ExportSourceType: __expectString,
|
|
3359
|
-
JobId: __expectString,
|
|
3360
|
-
JobStatus: __expectString,
|
|
3361
|
-
});
|
|
3362
|
-
};
|
|
3363
|
-
const de_ExportJobSummaryList = (output, context) => {
|
|
3364
|
-
const retVal = (output || [])
|
|
3365
|
-
.filter((e) => e != null)
|
|
3366
|
-
.map((entry) => {
|
|
3367
|
-
return de_ExportJobSummary(entry, context);
|
|
3368
|
-
});
|
|
3369
|
-
return retVal;
|
|
3370
|
-
};
|
|
3371
|
-
const de_ImportJobSummary = (output, context) => {
|
|
3372
|
-
return take(output, {
|
|
3373
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3374
|
-
FailedRecordsCount: __expectInt32,
|
|
3375
|
-
ImportDestination: _json,
|
|
3376
|
-
JobId: __expectString,
|
|
3377
|
-
JobStatus: __expectString,
|
|
3378
|
-
ProcessedRecordsCount: __expectInt32,
|
|
3379
|
-
});
|
|
3380
|
-
};
|
|
3381
|
-
const de_ImportJobSummaryList = (output, context) => {
|
|
3382
|
-
const retVal = (output || [])
|
|
3383
|
-
.filter((e) => e != null)
|
|
3384
|
-
.map((entry) => {
|
|
3385
|
-
return de_ImportJobSummary(entry, context);
|
|
3386
|
-
});
|
|
3387
|
-
return retVal;
|
|
3388
|
-
};
|
|
3389
|
-
const de_InsightsEvent = (output, context) => {
|
|
3390
|
-
return take(output, {
|
|
3391
|
-
Details: _json,
|
|
3392
|
-
Timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3393
|
-
Type: __expectString,
|
|
3394
|
-
});
|
|
3395
|
-
};
|
|
3396
|
-
const de_InsightsEvents = (output, context) => {
|
|
3397
|
-
const retVal = (output || [])
|
|
3398
|
-
.filter((e) => e != null)
|
|
3399
|
-
.map((entry) => {
|
|
3400
|
-
return de_InsightsEvent(entry, context);
|
|
3401
|
-
});
|
|
3402
|
-
return retVal;
|
|
3403
|
-
};
|
|
3404
|
-
const de_IspPlacement = (output, context) => {
|
|
3405
|
-
return take(output, {
|
|
3406
|
-
IspName: __expectString,
|
|
3407
|
-
PlacementStatistics: (_) => de_PlacementStatistics(_, context),
|
|
3408
|
-
});
|
|
3409
|
-
};
|
|
3410
|
-
const de_IspPlacements = (output, context) => {
|
|
3411
|
-
const retVal = (output || [])
|
|
3412
|
-
.filter((e) => e != null)
|
|
3413
|
-
.map((entry) => {
|
|
3414
|
-
return de_IspPlacement(entry, context);
|
|
3415
|
-
});
|
|
3416
|
-
return retVal;
|
|
3417
|
-
};
|
|
3418
|
-
const de_ListOfContactLists = (output, context) => {
|
|
3419
|
-
const retVal = (output || [])
|
|
3420
|
-
.filter((e) => e != null)
|
|
3421
|
-
.map((entry) => {
|
|
3422
|
-
return de_ContactList(entry, context);
|
|
3423
|
-
});
|
|
3424
|
-
return retVal;
|
|
3425
|
-
};
|
|
3426
|
-
const de_ListOfContacts = (output, context) => {
|
|
3427
|
-
const retVal = (output || [])
|
|
3428
|
-
.filter((e) => e != null)
|
|
3429
|
-
.map((entry) => {
|
|
3430
|
-
return de_Contact(entry, context);
|
|
3431
|
-
});
|
|
3432
|
-
return retVal;
|
|
3433
|
-
};
|
|
3434
|
-
const de_MessageInsightsDataSource = (output, context) => {
|
|
3435
|
-
return take(output, {
|
|
3436
|
-
EndDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3437
|
-
Exclude: _json,
|
|
3438
|
-
Include: _json,
|
|
3439
|
-
MaxResults: __expectInt32,
|
|
3440
|
-
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3441
|
-
});
|
|
3442
|
-
};
|
|
3443
|
-
const de_MetricDataResult = (output, context) => {
|
|
3444
|
-
return take(output, {
|
|
3445
|
-
Id: __expectString,
|
|
3446
|
-
Timestamps: (_) => de_TimestampList(_, context),
|
|
3447
|
-
Values: _json,
|
|
3448
|
-
});
|
|
3449
|
-
};
|
|
3450
|
-
const de_MetricDataResultList = (output, context) => {
|
|
3451
|
-
const retVal = (output || [])
|
|
3452
|
-
.filter((e) => e != null)
|
|
3453
|
-
.map((entry) => {
|
|
3454
|
-
return de_MetricDataResult(entry, context);
|
|
3455
|
-
});
|
|
3456
|
-
return retVal;
|
|
3457
|
-
};
|
|
3458
|
-
const de_MetricsDataSource = (output, context) => {
|
|
3459
|
-
return take(output, {
|
|
3460
|
-
Dimensions: _json,
|
|
3461
|
-
EndDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3462
|
-
Metrics: _json,
|
|
3463
|
-
Namespace: __expectString,
|
|
3464
|
-
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3465
|
-
});
|
|
3466
|
-
};
|
|
3467
|
-
const de_MultiRegionEndpoint = (output, context) => {
|
|
3468
|
-
return take(output, {
|
|
3469
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3470
|
-
EndpointId: __expectString,
|
|
3471
|
-
EndpointName: __expectString,
|
|
3472
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3473
|
-
Regions: _json,
|
|
3474
|
-
Status: __expectString,
|
|
3475
|
-
});
|
|
3476
|
-
};
|
|
3477
|
-
const de_MultiRegionEndpoints = (output, context) => {
|
|
3478
|
-
const retVal = (output || [])
|
|
3479
|
-
.filter((e) => e != null)
|
|
3480
|
-
.map((entry) => {
|
|
3481
|
-
return de_MultiRegionEndpoint(entry, context);
|
|
3482
|
-
});
|
|
3483
|
-
return retVal;
|
|
3484
|
-
};
|
|
3485
|
-
const de_OverallVolume = (output, context) => {
|
|
3486
|
-
return take(output, {
|
|
3487
|
-
DomainIspPlacements: (_) => de_DomainIspPlacements(_, context),
|
|
3488
|
-
ReadRatePercent: __limitedParseDouble,
|
|
3489
|
-
VolumeStatistics: _json,
|
|
3490
|
-
});
|
|
3491
|
-
};
|
|
3492
|
-
const de_PlacementStatistics = (output, context) => {
|
|
3493
|
-
return take(output, {
|
|
3494
|
-
DkimPercentage: __limitedParseDouble,
|
|
3495
|
-
InboxPercentage: __limitedParseDouble,
|
|
3496
|
-
MissingPercentage: __limitedParseDouble,
|
|
3497
|
-
SpamPercentage: __limitedParseDouble,
|
|
3498
|
-
SpfPercentage: __limitedParseDouble,
|
|
3499
|
-
});
|
|
3500
|
-
};
|
|
3501
|
-
const de_Recommendation = (output, context) => {
|
|
3502
|
-
return take(output, {
|
|
3503
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3504
|
-
Description: __expectString,
|
|
3505
|
-
Impact: __expectString,
|
|
3506
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3507
|
-
ResourceArn: __expectString,
|
|
3508
|
-
Status: __expectString,
|
|
3509
|
-
Type: __expectString,
|
|
3510
|
-
});
|
|
3511
|
-
};
|
|
3512
|
-
const de_RecommendationsList = (output, context) => {
|
|
3513
|
-
const retVal = (output || [])
|
|
3514
|
-
.filter((e) => e != null)
|
|
3515
|
-
.map((entry) => {
|
|
3516
|
-
return de_Recommendation(entry, context);
|
|
3517
|
-
});
|
|
3518
|
-
return retVal;
|
|
3519
|
-
};
|
|
3520
|
-
const de_ReputationEntitiesList = (output, context) => {
|
|
3521
|
-
const retVal = (output || [])
|
|
3522
|
-
.filter((e) => e != null)
|
|
3523
|
-
.map((entry) => {
|
|
3524
|
-
return de_ReputationEntity(entry, context);
|
|
3525
|
-
});
|
|
3526
|
-
return retVal;
|
|
3527
|
-
};
|
|
3528
|
-
const de_ReputationEntity = (output, context) => {
|
|
3529
|
-
return take(output, {
|
|
3530
|
-
AwsSesManagedStatus: (_) => de_StatusRecord(_, context),
|
|
3531
|
-
CustomerManagedStatus: (_) => de_StatusRecord(_, context),
|
|
3532
|
-
ReputationEntityReference: __expectString,
|
|
3533
|
-
ReputationEntityType: __expectString,
|
|
3534
|
-
ReputationImpact: __expectString,
|
|
3535
|
-
ReputationManagementPolicy: __expectString,
|
|
3536
|
-
SendingStatusAggregate: __expectString,
|
|
3537
|
-
});
|
|
3538
|
-
};
|
|
3539
|
-
const de_ReputationOptions = (output, context) => {
|
|
3540
|
-
return take(output, {
|
|
3541
|
-
LastFreshStart: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3542
|
-
ReputationMetricsEnabled: __expectBoolean,
|
|
3543
|
-
});
|
|
3544
|
-
};
|
|
3545
|
-
const de_ResourceTenantMetadata = (output, context) => {
|
|
3546
|
-
return take(output, {
|
|
3547
|
-
AssociatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3548
|
-
ResourceArn: __expectString,
|
|
3549
|
-
TenantId: __expectString,
|
|
3550
|
-
TenantName: __expectString,
|
|
3551
|
-
});
|
|
3552
|
-
};
|
|
3553
|
-
const de_ResourceTenantMetadataList = (output, context) => {
|
|
3554
|
-
const retVal = (output || [])
|
|
3555
|
-
.filter((e) => e != null)
|
|
3556
|
-
.map((entry) => {
|
|
3557
|
-
return de_ResourceTenantMetadata(entry, context);
|
|
3558
|
-
});
|
|
3559
|
-
return retVal;
|
|
3560
|
-
};
|
|
3561
|
-
const de_SendQuota = (output, context) => {
|
|
3562
|
-
return take(output, {
|
|
3563
|
-
Max24HourSend: __limitedParseDouble,
|
|
3564
|
-
MaxSendRate: __limitedParseDouble,
|
|
3565
|
-
SentLast24Hours: __limitedParseDouble,
|
|
3566
|
-
});
|
|
3567
|
-
};
|
|
3568
|
-
const de_StatusRecord = (output, context) => {
|
|
3569
|
-
return take(output, {
|
|
3570
|
-
Cause: __expectString,
|
|
3571
|
-
LastUpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3572
|
-
Status: __expectString,
|
|
3573
|
-
});
|
|
3574
|
-
};
|
|
3575
|
-
const de_SuppressedDestination = (output, context) => {
|
|
3576
|
-
return take(output, {
|
|
3577
|
-
Attributes: _json,
|
|
3578
|
-
EmailAddress: __expectString,
|
|
3579
|
-
LastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3580
|
-
Reason: __expectString,
|
|
3581
|
-
});
|
|
3582
|
-
};
|
|
3583
|
-
const de_SuppressedDestinationSummaries = (output, context) => {
|
|
3584
|
-
const retVal = (output || [])
|
|
3585
|
-
.filter((e) => e != null)
|
|
3586
|
-
.map((entry) => {
|
|
3587
|
-
return de_SuppressedDestinationSummary(entry, context);
|
|
3588
|
-
});
|
|
3589
|
-
return retVal;
|
|
3590
|
-
};
|
|
3591
|
-
const de_SuppressedDestinationSummary = (output, context) => {
|
|
3592
|
-
return take(output, {
|
|
3593
|
-
EmailAddress: __expectString,
|
|
3594
|
-
LastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3595
|
-
Reason: __expectString,
|
|
3596
|
-
});
|
|
3597
|
-
};
|
|
3598
|
-
const de_Tenant = (output, context) => {
|
|
3599
|
-
return take(output, {
|
|
3600
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3601
|
-
SendingStatus: __expectString,
|
|
3602
|
-
Tags: _json,
|
|
3603
|
-
TenantArn: __expectString,
|
|
3604
|
-
TenantId: __expectString,
|
|
3605
|
-
TenantName: __expectString,
|
|
3606
|
-
});
|
|
3607
|
-
};
|
|
3608
|
-
const de_TenantInfo = (output, context) => {
|
|
3609
|
-
return take(output, {
|
|
3610
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3611
|
-
TenantArn: __expectString,
|
|
3612
|
-
TenantId: __expectString,
|
|
3613
|
-
TenantName: __expectString,
|
|
3614
|
-
});
|
|
3615
|
-
};
|
|
3616
|
-
const de_TenantInfoList = (output, context) => {
|
|
3617
|
-
const retVal = (output || [])
|
|
3618
|
-
.filter((e) => e != null)
|
|
3619
|
-
.map((entry) => {
|
|
3620
|
-
return de_TenantInfo(entry, context);
|
|
3621
|
-
});
|
|
3622
|
-
return retVal;
|
|
3623
|
-
};
|
|
3624
|
-
const de_TimestampList = (output, context) => {
|
|
3625
|
-
const retVal = (output || [])
|
|
3626
|
-
.filter((e) => e != null)
|
|
3627
|
-
.map((entry) => {
|
|
3628
|
-
return __expectNonNull(__parseEpochTimestamp(__expectNumber(entry)));
|
|
3629
|
-
});
|
|
3630
|
-
return retVal;
|
|
3631
|
-
};
|
|
3632
|
-
const de_VerificationInfo = (output, context) => {
|
|
3633
|
-
return take(output, {
|
|
3634
|
-
ErrorType: __expectString,
|
|
3635
|
-
LastCheckedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3636
|
-
LastSuccessTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3637
|
-
SOARecord: _json,
|
|
3638
|
-
});
|
|
3639
|
-
};
|
|
3640
|
-
const deserializeMetadata = (output) => ({
|
|
3641
|
-
httpStatusCode: output.statusCode,
|
|
3642
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3643
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3644
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
3645
|
-
});
|
|
3646
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3647
|
-
const _BIN = "BlacklistItemNames";
|
|
3648
|
-
const _ED = "EndDate";
|
|
3649
|
-
const _NT = "NextToken";
|
|
3650
|
-
const _PN = "PoolName";
|
|
3651
|
-
const _PS = "PageSize";
|
|
3652
|
-
const _R = "Reasons";
|
|
3653
|
-
const _RA = "ResourceArn";
|
|
3654
|
-
const _Re = "Reason";
|
|
3655
|
-
const _SD = "StartDate";
|
|
3656
|
-
const _TK = "TagKeys";
|