@aws-sdk/client-sesv2 3.395.0 → 3.402.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/README.md +40 -0
- package/dist-cjs/SESv2.js +10 -0
- package/dist-cjs/commands/CancelExportJobCommand.js +46 -0
- package/dist-cjs/commands/CreateExportJobCommand.js +47 -0
- package/dist-cjs/commands/GetExportJobCommand.js +47 -0
- package/dist-cjs/commands/GetMessageInsightsCommand.js +47 -0
- package/dist-cjs/commands/ListExportJobsCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +76 -8
- package/dist-cjs/models/models_1.js +2 -0
- package/dist-cjs/pagination/ListExportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +405 -4
- package/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/SESv2.js +10 -0
- package/dist-es/commands/CancelExportJobCommand.js +42 -0
- package/dist-es/commands/CreateExportJobCommand.js +43 -0
- package/dist-es/commands/GetExportJobCommand.js +43 -0
- package/dist-es/commands/GetMessageInsightsCommand.js +43 -0
- package/dist-es/commands/ListExportJobsCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +67 -6
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListExportJobsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +391 -0
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/SESv2.d.ts +35 -0
- package/dist-types/SESv2Client.d.ts +7 -2
- package/dist-types/commands/CancelExportJobCommand.d.ts +80 -0
- package/dist-types/commands/CreateExportJobCommand.d.ts +152 -0
- package/dist-types/commands/GetExportJobCommand.d.ts +161 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetMessageInsightsCommand.d.ts +115 -0
- package/dist-types/commands/ListExportJobsCommand.d.ts +91 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +2 -1
- package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -1
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
- package/dist-types/commands/SendEmailCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactListCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +811 -558
- package/dist-types/models/models_1.d.ts +523 -0
- package/dist-types/pagination/ListExportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/SESv2.d.ts +85 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CancelExportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMessageInsightsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListExportJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +176 -102
- package/dist-types/ts3.4/models/models_1.d.ts +109 -0
- package/dist-types/ts3.4/pagination/ListExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -2
- package/package.json +29 -29
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -2
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
|
@@ -22,6 +22,22 @@ export const se_BatchGetMetricDataCommand = async (input, context) => {
|
|
|
22
22
|
body,
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
|
+
export const se_CancelExportJobCommand = async (input, context) => {
|
|
26
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
27
|
+
const headers = {};
|
|
28
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/export-jobs/{JobId}/cancel";
|
|
29
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
30
|
+
let body;
|
|
31
|
+
return new __HttpRequest({
|
|
32
|
+
protocol,
|
|
33
|
+
hostname,
|
|
34
|
+
port,
|
|
35
|
+
method: "PUT",
|
|
36
|
+
headers,
|
|
37
|
+
path: resolvedPath,
|
|
38
|
+
body,
|
|
39
|
+
});
|
|
40
|
+
};
|
|
25
41
|
export const se_CreateConfigurationSetCommand = async (input, context) => {
|
|
26
42
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
27
43
|
const headers = {
|
|
@@ -258,6 +274,27 @@ export const se_CreateEmailTemplateCommand = async (input, context) => {
|
|
|
258
274
|
body,
|
|
259
275
|
});
|
|
260
276
|
};
|
|
277
|
+
export const se_CreateExportJobCommand = async (input, context) => {
|
|
278
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
279
|
+
const headers = {
|
|
280
|
+
"content-type": "application/json",
|
|
281
|
+
};
|
|
282
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/export-jobs";
|
|
283
|
+
let body;
|
|
284
|
+
body = JSON.stringify(take(input, {
|
|
285
|
+
ExportDataSource: (_) => se_ExportDataSource(_, context),
|
|
286
|
+
ExportDestination: (_) => _json(_),
|
|
287
|
+
}));
|
|
288
|
+
return new __HttpRequest({
|
|
289
|
+
protocol,
|
|
290
|
+
hostname,
|
|
291
|
+
port,
|
|
292
|
+
method: "POST",
|
|
293
|
+
headers,
|
|
294
|
+
path: resolvedPath,
|
|
295
|
+
body,
|
|
296
|
+
});
|
|
297
|
+
};
|
|
261
298
|
export const se_CreateImportJobCommand = async (input, context) => {
|
|
262
299
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
263
300
|
const headers = {
|
|
@@ -756,6 +793,22 @@ export const se_GetEmailTemplateCommand = async (input, context) => {
|
|
|
756
793
|
body,
|
|
757
794
|
});
|
|
758
795
|
};
|
|
796
|
+
export const se_GetExportJobCommand = async (input, context) => {
|
|
797
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
798
|
+
const headers = {};
|
|
799
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/export-jobs/{JobId}";
|
|
800
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
801
|
+
let body;
|
|
802
|
+
return new __HttpRequest({
|
|
803
|
+
protocol,
|
|
804
|
+
hostname,
|
|
805
|
+
port,
|
|
806
|
+
method: "GET",
|
|
807
|
+
headers,
|
|
808
|
+
path: resolvedPath,
|
|
809
|
+
body,
|
|
810
|
+
});
|
|
811
|
+
};
|
|
759
812
|
export const se_GetImportJobCommand = async (input, context) => {
|
|
760
813
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
761
814
|
const headers = {};
|
|
@@ -772,6 +825,22 @@ export const se_GetImportJobCommand = async (input, context) => {
|
|
|
772
825
|
body,
|
|
773
826
|
});
|
|
774
827
|
};
|
|
828
|
+
export const se_GetMessageInsightsCommand = async (input, context) => {
|
|
829
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
830
|
+
const headers = {};
|
|
831
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/insights/{MessageId}";
|
|
832
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);
|
|
833
|
+
let body;
|
|
834
|
+
return new __HttpRequest({
|
|
835
|
+
protocol,
|
|
836
|
+
hostname,
|
|
837
|
+
port,
|
|
838
|
+
method: "GET",
|
|
839
|
+
headers,
|
|
840
|
+
path: resolvedPath,
|
|
841
|
+
body,
|
|
842
|
+
});
|
|
843
|
+
};
|
|
775
844
|
export const se_GetSuppressedDestinationCommand = async (input, context) => {
|
|
776
845
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
777
846
|
const headers = {};
|
|
@@ -988,6 +1057,29 @@ export const se_ListEmailTemplatesCommand = async (input, context) => {
|
|
|
988
1057
|
body,
|
|
989
1058
|
});
|
|
990
1059
|
};
|
|
1060
|
+
export const se_ListExportJobsCommand = async (input, context) => {
|
|
1061
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1062
|
+
const headers = {
|
|
1063
|
+
"content-type": "application/json",
|
|
1064
|
+
};
|
|
1065
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/list-export-jobs";
|
|
1066
|
+
let body;
|
|
1067
|
+
body = JSON.stringify(take(input, {
|
|
1068
|
+
ExportSourceType: [],
|
|
1069
|
+
JobStatus: [],
|
|
1070
|
+
NextToken: [],
|
|
1071
|
+
PageSize: [],
|
|
1072
|
+
}));
|
|
1073
|
+
return new __HttpRequest({
|
|
1074
|
+
protocol,
|
|
1075
|
+
hostname,
|
|
1076
|
+
port,
|
|
1077
|
+
method: "POST",
|
|
1078
|
+
headers,
|
|
1079
|
+
path: resolvedPath,
|
|
1080
|
+
body,
|
|
1081
|
+
});
|
|
1082
|
+
};
|
|
991
1083
|
export const se_ListImportJobsCommand = async (input, context) => {
|
|
992
1084
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
993
1085
|
const headers = {
|
|
@@ -1863,6 +1955,41 @@ const de_BatchGetMetricDataCommandError = async (output, context) => {
|
|
|
1863
1955
|
});
|
|
1864
1956
|
}
|
|
1865
1957
|
};
|
|
1958
|
+
export const de_CancelExportJobCommand = async (output, context) => {
|
|
1959
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1960
|
+
return de_CancelExportJobCommandError(output, context);
|
|
1961
|
+
}
|
|
1962
|
+
const contents = map({
|
|
1963
|
+
$metadata: deserializeMetadata(output),
|
|
1964
|
+
});
|
|
1965
|
+
await collectBody(output.body, context);
|
|
1966
|
+
return contents;
|
|
1967
|
+
};
|
|
1968
|
+
const de_CancelExportJobCommandError = async (output, context) => {
|
|
1969
|
+
const parsedOutput = {
|
|
1970
|
+
...output,
|
|
1971
|
+
body: await parseErrorBody(output.body, context),
|
|
1972
|
+
};
|
|
1973
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1974
|
+
switch (errorCode) {
|
|
1975
|
+
case "BadRequestException":
|
|
1976
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
1977
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1978
|
+
case "NotFoundException":
|
|
1979
|
+
case "com.amazonaws.sesv2#NotFoundException":
|
|
1980
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1981
|
+
case "TooManyRequestsException":
|
|
1982
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
1983
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1984
|
+
default:
|
|
1985
|
+
const parsedBody = parsedOutput.body;
|
|
1986
|
+
return throwDefaultError({
|
|
1987
|
+
output,
|
|
1988
|
+
parsedBody,
|
|
1989
|
+
errorCode,
|
|
1990
|
+
});
|
|
1991
|
+
}
|
|
1992
|
+
};
|
|
1866
1993
|
export const de_CreateConfigurationSetCommand = async (output, context) => {
|
|
1867
1994
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1868
1995
|
return de_CreateConfigurationSetCommandError(output, context);
|
|
@@ -2293,6 +2420,48 @@ const de_CreateEmailTemplateCommandError = async (output, context) => {
|
|
|
2293
2420
|
});
|
|
2294
2421
|
}
|
|
2295
2422
|
};
|
|
2423
|
+
export const de_CreateExportJobCommand = async (output, context) => {
|
|
2424
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2425
|
+
return de_CreateExportJobCommandError(output, context);
|
|
2426
|
+
}
|
|
2427
|
+
const contents = map({
|
|
2428
|
+
$metadata: deserializeMetadata(output),
|
|
2429
|
+
});
|
|
2430
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2431
|
+
const doc = take(data, {
|
|
2432
|
+
JobId: __expectString,
|
|
2433
|
+
});
|
|
2434
|
+
Object.assign(contents, doc);
|
|
2435
|
+
return contents;
|
|
2436
|
+
};
|
|
2437
|
+
const de_CreateExportJobCommandError = async (output, context) => {
|
|
2438
|
+
const parsedOutput = {
|
|
2439
|
+
...output,
|
|
2440
|
+
body: await parseErrorBody(output.body, context),
|
|
2441
|
+
};
|
|
2442
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2443
|
+
switch (errorCode) {
|
|
2444
|
+
case "BadRequestException":
|
|
2445
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
2446
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2447
|
+
case "LimitExceededException":
|
|
2448
|
+
case "com.amazonaws.sesv2#LimitExceededException":
|
|
2449
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2450
|
+
case "NotFoundException":
|
|
2451
|
+
case "com.amazonaws.sesv2#NotFoundException":
|
|
2452
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2453
|
+
case "TooManyRequestsException":
|
|
2454
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
2455
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2456
|
+
default:
|
|
2457
|
+
const parsedBody = parsedOutput.body;
|
|
2458
|
+
return throwDefaultError({
|
|
2459
|
+
output,
|
|
2460
|
+
parsedBody,
|
|
2461
|
+
errorCode,
|
|
2462
|
+
});
|
|
2463
|
+
}
|
|
2464
|
+
};
|
|
2296
2465
|
export const de_CreateImportJobCommand = async (output, context) => {
|
|
2297
2466
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2298
2467
|
return de_CreateImportJobCommandError(output, context);
|
|
@@ -3404,6 +3573,53 @@ const de_GetEmailTemplateCommandError = async (output, context) => {
|
|
|
3404
3573
|
});
|
|
3405
3574
|
}
|
|
3406
3575
|
};
|
|
3576
|
+
export const de_GetExportJobCommand = async (output, context) => {
|
|
3577
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3578
|
+
return de_GetExportJobCommandError(output, context);
|
|
3579
|
+
}
|
|
3580
|
+
const contents = map({
|
|
3581
|
+
$metadata: deserializeMetadata(output),
|
|
3582
|
+
});
|
|
3583
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3584
|
+
const doc = take(data, {
|
|
3585
|
+
CompletedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3586
|
+
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3587
|
+
ExportDataSource: (_) => de_ExportDataSource(_, context),
|
|
3588
|
+
ExportDestination: _json,
|
|
3589
|
+
ExportSourceType: __expectString,
|
|
3590
|
+
FailureInfo: _json,
|
|
3591
|
+
JobId: __expectString,
|
|
3592
|
+
JobStatus: __expectString,
|
|
3593
|
+
Statistics: _json,
|
|
3594
|
+
});
|
|
3595
|
+
Object.assign(contents, doc);
|
|
3596
|
+
return contents;
|
|
3597
|
+
};
|
|
3598
|
+
const de_GetExportJobCommandError = async (output, context) => {
|
|
3599
|
+
const parsedOutput = {
|
|
3600
|
+
...output,
|
|
3601
|
+
body: await parseErrorBody(output.body, context),
|
|
3602
|
+
};
|
|
3603
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3604
|
+
switch (errorCode) {
|
|
3605
|
+
case "BadRequestException":
|
|
3606
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
3607
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3608
|
+
case "NotFoundException":
|
|
3609
|
+
case "com.amazonaws.sesv2#NotFoundException":
|
|
3610
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
3611
|
+
case "TooManyRequestsException":
|
|
3612
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
3613
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3614
|
+
default:
|
|
3615
|
+
const parsedBody = parsedOutput.body;
|
|
3616
|
+
return throwDefaultError({
|
|
3617
|
+
output,
|
|
3618
|
+
parsedBody,
|
|
3619
|
+
errorCode,
|
|
3620
|
+
});
|
|
3621
|
+
}
|
|
3622
|
+
};
|
|
3407
3623
|
export const de_GetImportJobCommand = async (output, context) => {
|
|
3408
3624
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3409
3625
|
return de_GetImportJobCommandError(output, context);
|
|
@@ -3451,6 +3667,49 @@ const de_GetImportJobCommandError = async (output, context) => {
|
|
|
3451
3667
|
});
|
|
3452
3668
|
}
|
|
3453
3669
|
};
|
|
3670
|
+
export const de_GetMessageInsightsCommand = async (output, context) => {
|
|
3671
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3672
|
+
return de_GetMessageInsightsCommandError(output, context);
|
|
3673
|
+
}
|
|
3674
|
+
const contents = map({
|
|
3675
|
+
$metadata: deserializeMetadata(output),
|
|
3676
|
+
});
|
|
3677
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3678
|
+
const doc = take(data, {
|
|
3679
|
+
EmailTags: _json,
|
|
3680
|
+
FromEmailAddress: __expectString,
|
|
3681
|
+
Insights: (_) => de_EmailInsightsList(_, context),
|
|
3682
|
+
MessageId: __expectString,
|
|
3683
|
+
Subject: __expectString,
|
|
3684
|
+
});
|
|
3685
|
+
Object.assign(contents, doc);
|
|
3686
|
+
return contents;
|
|
3687
|
+
};
|
|
3688
|
+
const de_GetMessageInsightsCommandError = async (output, context) => {
|
|
3689
|
+
const parsedOutput = {
|
|
3690
|
+
...output,
|
|
3691
|
+
body: await parseErrorBody(output.body, context),
|
|
3692
|
+
};
|
|
3693
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3694
|
+
switch (errorCode) {
|
|
3695
|
+
case "BadRequestException":
|
|
3696
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
3697
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3698
|
+
case "NotFoundException":
|
|
3699
|
+
case "com.amazonaws.sesv2#NotFoundException":
|
|
3700
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
3701
|
+
case "TooManyRequestsException":
|
|
3702
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
3703
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3704
|
+
default:
|
|
3705
|
+
const parsedBody = parsedOutput.body;
|
|
3706
|
+
return throwDefaultError({
|
|
3707
|
+
output,
|
|
3708
|
+
parsedBody,
|
|
3709
|
+
errorCode,
|
|
3710
|
+
});
|
|
3711
|
+
}
|
|
3712
|
+
};
|
|
3454
3713
|
export const de_GetSuppressedDestinationCommand = async (output, context) => {
|
|
3455
3714
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3456
3715
|
return de_GetSuppressedDestinationCommandError(output, context);
|
|
@@ -3832,6 +4091,43 @@ const de_ListEmailTemplatesCommandError = async (output, context) => {
|
|
|
3832
4091
|
});
|
|
3833
4092
|
}
|
|
3834
4093
|
};
|
|
4094
|
+
export const de_ListExportJobsCommand = async (output, context) => {
|
|
4095
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4096
|
+
return de_ListExportJobsCommandError(output, context);
|
|
4097
|
+
}
|
|
4098
|
+
const contents = map({
|
|
4099
|
+
$metadata: deserializeMetadata(output),
|
|
4100
|
+
});
|
|
4101
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4102
|
+
const doc = take(data, {
|
|
4103
|
+
ExportJobs: (_) => de_ExportJobSummaryList(_, context),
|
|
4104
|
+
NextToken: __expectString,
|
|
4105
|
+
});
|
|
4106
|
+
Object.assign(contents, doc);
|
|
4107
|
+
return contents;
|
|
4108
|
+
};
|
|
4109
|
+
const de_ListExportJobsCommandError = async (output, context) => {
|
|
4110
|
+
const parsedOutput = {
|
|
4111
|
+
...output,
|
|
4112
|
+
body: await parseErrorBody(output.body, context),
|
|
4113
|
+
};
|
|
4114
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4115
|
+
switch (errorCode) {
|
|
4116
|
+
case "BadRequestException":
|
|
4117
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
4118
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4119
|
+
case "TooManyRequestsException":
|
|
4120
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
4121
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4122
|
+
default:
|
|
4123
|
+
const parsedBody = parsedOutput.body;
|
|
4124
|
+
return throwDefaultError({
|
|
4125
|
+
output,
|
|
4126
|
+
parsedBody,
|
|
4127
|
+
errorCode,
|
|
4128
|
+
});
|
|
4129
|
+
}
|
|
4130
|
+
};
|
|
3835
4131
|
export const de_ListImportJobsCommand = async (output, context) => {
|
|
3836
4132
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3837
4133
|
return de_ListImportJobsCommandError(output, context);
|
|
@@ -5420,6 +5716,30 @@ const se_EmailContent = (input, context) => {
|
|
|
5420
5716
|
Template: _json,
|
|
5421
5717
|
});
|
|
5422
5718
|
};
|
|
5719
|
+
const se_ExportDataSource = (input, context) => {
|
|
5720
|
+
return take(input, {
|
|
5721
|
+
MessageInsightsDataSource: (_) => se_MessageInsightsDataSource(_, context),
|
|
5722
|
+
MetricsDataSource: (_) => se_MetricsDataSource(_, context),
|
|
5723
|
+
});
|
|
5724
|
+
};
|
|
5725
|
+
const se_MessageInsightsDataSource = (input, context) => {
|
|
5726
|
+
return take(input, {
|
|
5727
|
+
EndDate: (_) => Math.round(_.getTime() / 1000),
|
|
5728
|
+
Exclude: _json,
|
|
5729
|
+
Include: _json,
|
|
5730
|
+
MaxResults: [],
|
|
5731
|
+
StartDate: (_) => Math.round(_.getTime() / 1000),
|
|
5732
|
+
});
|
|
5733
|
+
};
|
|
5734
|
+
const se_MetricsDataSource = (input, context) => {
|
|
5735
|
+
return take(input, {
|
|
5736
|
+
Dimensions: _json,
|
|
5737
|
+
EndDate: (_) => Math.round(_.getTime() / 1000),
|
|
5738
|
+
Metrics: _json,
|
|
5739
|
+
Namespace: [],
|
|
5740
|
+
StartDate: (_) => Math.round(_.getTime() / 1000),
|
|
5741
|
+
});
|
|
5742
|
+
};
|
|
5423
5743
|
const se_RawMessage = (input, context) => {
|
|
5424
5744
|
return take(input, {
|
|
5425
5745
|
Data: context.base64Encoder,
|
|
@@ -5572,6 +5892,21 @@ const de_DomainIspPlacements = (output, context) => {
|
|
|
5572
5892
|
});
|
|
5573
5893
|
return retVal;
|
|
5574
5894
|
};
|
|
5895
|
+
const de_EmailInsights = (output, context) => {
|
|
5896
|
+
return take(output, {
|
|
5897
|
+
Destination: __expectString,
|
|
5898
|
+
Events: (_) => de_InsightsEvents(_, context),
|
|
5899
|
+
Isp: __expectString,
|
|
5900
|
+
});
|
|
5901
|
+
};
|
|
5902
|
+
const de_EmailInsightsList = (output, context) => {
|
|
5903
|
+
const retVal = (output || [])
|
|
5904
|
+
.filter((e) => e != null)
|
|
5905
|
+
.map((entry) => {
|
|
5906
|
+
return de_EmailInsights(entry, context);
|
|
5907
|
+
});
|
|
5908
|
+
return retVal;
|
|
5909
|
+
};
|
|
5575
5910
|
const de_EmailTemplateMetadata = (output, context) => {
|
|
5576
5911
|
return take(output, {
|
|
5577
5912
|
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -5586,6 +5921,29 @@ const de_EmailTemplateMetadataList = (output, context) => {
|
|
|
5586
5921
|
});
|
|
5587
5922
|
return retVal;
|
|
5588
5923
|
};
|
|
5924
|
+
const de_ExportDataSource = (output, context) => {
|
|
5925
|
+
return take(output, {
|
|
5926
|
+
MessageInsightsDataSource: (_) => de_MessageInsightsDataSource(_, context),
|
|
5927
|
+
MetricsDataSource: (_) => de_MetricsDataSource(_, context),
|
|
5928
|
+
});
|
|
5929
|
+
};
|
|
5930
|
+
const de_ExportJobSummary = (output, context) => {
|
|
5931
|
+
return take(output, {
|
|
5932
|
+
CompletedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5933
|
+
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5934
|
+
ExportSourceType: __expectString,
|
|
5935
|
+
JobId: __expectString,
|
|
5936
|
+
JobStatus: __expectString,
|
|
5937
|
+
});
|
|
5938
|
+
};
|
|
5939
|
+
const de_ExportJobSummaryList = (output, context) => {
|
|
5940
|
+
const retVal = (output || [])
|
|
5941
|
+
.filter((e) => e != null)
|
|
5942
|
+
.map((entry) => {
|
|
5943
|
+
return de_ExportJobSummary(entry, context);
|
|
5944
|
+
});
|
|
5945
|
+
return retVal;
|
|
5946
|
+
};
|
|
5589
5947
|
const de_ImportJobSummary = (output, context) => {
|
|
5590
5948
|
return take(output, {
|
|
5591
5949
|
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -5604,6 +5962,21 @@ const de_ImportJobSummaryList = (output, context) => {
|
|
|
5604
5962
|
});
|
|
5605
5963
|
return retVal;
|
|
5606
5964
|
};
|
|
5965
|
+
const de_InsightsEvent = (output, context) => {
|
|
5966
|
+
return take(output, {
|
|
5967
|
+
Details: _json,
|
|
5968
|
+
Timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5969
|
+
Type: __expectString,
|
|
5970
|
+
});
|
|
5971
|
+
};
|
|
5972
|
+
const de_InsightsEvents = (output, context) => {
|
|
5973
|
+
const retVal = (output || [])
|
|
5974
|
+
.filter((e) => e != null)
|
|
5975
|
+
.map((entry) => {
|
|
5976
|
+
return de_InsightsEvent(entry, context);
|
|
5977
|
+
});
|
|
5978
|
+
return retVal;
|
|
5979
|
+
};
|
|
5607
5980
|
const de_IspPlacement = (output, context) => {
|
|
5608
5981
|
return take(output, {
|
|
5609
5982
|
IspName: __expectString,
|
|
@@ -5634,6 +6007,15 @@ const de_ListOfContacts = (output, context) => {
|
|
|
5634
6007
|
});
|
|
5635
6008
|
return retVal;
|
|
5636
6009
|
};
|
|
6010
|
+
const de_MessageInsightsDataSource = (output, context) => {
|
|
6011
|
+
return take(output, {
|
|
6012
|
+
EndDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6013
|
+
Exclude: _json,
|
|
6014
|
+
Include: _json,
|
|
6015
|
+
MaxResults: __expectInt32,
|
|
6016
|
+
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6017
|
+
});
|
|
6018
|
+
};
|
|
5637
6019
|
const de_MetricDataResult = (output, context) => {
|
|
5638
6020
|
return take(output, {
|
|
5639
6021
|
Id: __expectString,
|
|
@@ -5649,6 +6031,15 @@ const de_MetricDataResultList = (output, context) => {
|
|
|
5649
6031
|
});
|
|
5650
6032
|
return retVal;
|
|
5651
6033
|
};
|
|
6034
|
+
const de_MetricsDataSource = (output, context) => {
|
|
6035
|
+
return take(output, {
|
|
6036
|
+
Dimensions: _json,
|
|
6037
|
+
EndDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6038
|
+
Metrics: _json,
|
|
6039
|
+
Namespace: __expectString,
|
|
6040
|
+
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6041
|
+
});
|
|
6042
|
+
};
|
|
5652
6043
|
const de_OverallVolume = (output, context) => {
|
|
5653
6044
|
return take(output, {
|
|
5654
6045
|
DomainIspPlacements: (_) => de_DomainIspPlacements(_, context),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
2
|
const asPartial = (t) => t;
|
|
3
3
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const
|
|
5
|
-
...asPartial(
|
|
4
|
+
const extensionConfiguration = {
|
|
5
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
6
6
|
};
|
|
7
|
-
extensions.forEach((extension) => extension.
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
8
|
return {
|
|
9
9
|
...runtimeConfig,
|
|
10
|
-
...resolveDefaultRuntimeConfig(
|
|
10
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
11
11
|
};
|
|
12
12
|
};
|
package/dist-types/SESv2.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BatchGetMetricDataCommandInput, BatchGetMetricDataCommandOutput } from "./commands/BatchGetMetricDataCommand";
|
|
3
|
+
import { CancelExportJobCommandInput, CancelExportJobCommandOutput } from "./commands/CancelExportJobCommand";
|
|
3
4
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
4
5
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
5
6
|
import { CreateContactCommandInput, CreateContactCommandOutput } from "./commands/CreateContactCommand";
|
|
@@ -10,6 +11,7 @@ import { CreateDeliverabilityTestReportCommandInput, CreateDeliverabilityTestRep
|
|
|
10
11
|
import { CreateEmailIdentityCommandInput, CreateEmailIdentityCommandOutput } from "./commands/CreateEmailIdentityCommand";
|
|
11
12
|
import { CreateEmailIdentityPolicyCommandInput, CreateEmailIdentityPolicyCommandOutput } from "./commands/CreateEmailIdentityPolicyCommand";
|
|
12
13
|
import { CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput } from "./commands/CreateEmailTemplateCommand";
|
|
14
|
+
import { CreateExportJobCommandInput, CreateExportJobCommandOutput } from "./commands/CreateExportJobCommand";
|
|
13
15
|
import { CreateImportJobCommandInput, CreateImportJobCommandOutput } from "./commands/CreateImportJobCommand";
|
|
14
16
|
import { DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput } from "./commands/DeleteConfigurationSetCommand";
|
|
15
17
|
import { DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput } from "./commands/DeleteConfigurationSetEventDestinationCommand";
|
|
@@ -38,7 +40,9 @@ import { GetDomainStatisticsReportCommandInput, GetDomainStatisticsReportCommand
|
|
|
38
40
|
import { GetEmailIdentityCommandInput, GetEmailIdentityCommandOutput } from "./commands/GetEmailIdentityCommand";
|
|
39
41
|
import { GetEmailIdentityPoliciesCommandInput, GetEmailIdentityPoliciesCommandOutput } from "./commands/GetEmailIdentityPoliciesCommand";
|
|
40
42
|
import { GetEmailTemplateCommandInput, GetEmailTemplateCommandOutput } from "./commands/GetEmailTemplateCommand";
|
|
43
|
+
import { GetExportJobCommandInput, GetExportJobCommandOutput } from "./commands/GetExportJobCommand";
|
|
41
44
|
import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
|
|
45
|
+
import { GetMessageInsightsCommandInput, GetMessageInsightsCommandOutput } from "./commands/GetMessageInsightsCommand";
|
|
42
46
|
import { GetSuppressedDestinationCommandInput, GetSuppressedDestinationCommandOutput } from "./commands/GetSuppressedDestinationCommand";
|
|
43
47
|
import { ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput } from "./commands/ListConfigurationSetsCommand";
|
|
44
48
|
import { ListContactListsCommandInput, ListContactListsCommandOutput } from "./commands/ListContactListsCommand";
|
|
@@ -49,6 +53,7 @@ import { ListDeliverabilityTestReportsCommandInput, ListDeliverabilityTestReport
|
|
|
49
53
|
import { ListDomainDeliverabilityCampaignsCommandInput, ListDomainDeliverabilityCampaignsCommandOutput } from "./commands/ListDomainDeliverabilityCampaignsCommand";
|
|
50
54
|
import { ListEmailIdentitiesCommandInput, ListEmailIdentitiesCommandOutput } from "./commands/ListEmailIdentitiesCommand";
|
|
51
55
|
import { ListEmailTemplatesCommandInput, ListEmailTemplatesCommandOutput } from "./commands/ListEmailTemplatesCommand";
|
|
56
|
+
import { ListExportJobsCommandInput, ListExportJobsCommandOutput } from "./commands/ListExportJobsCommand";
|
|
52
57
|
import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
|
|
53
58
|
import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
|
|
54
59
|
import { ListSuppressedDestinationsCommandInput, ListSuppressedDestinationsCommandOutput } from "./commands/ListSuppressedDestinationsCommand";
|
|
@@ -94,6 +99,12 @@ export interface SESv2 {
|
|
|
94
99
|
batchGetMetricData(args: BatchGetMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetMetricDataCommandOutput>;
|
|
95
100
|
batchGetMetricData(args: BatchGetMetricDataCommandInput, cb: (err: any, data?: BatchGetMetricDataCommandOutput) => void): void;
|
|
96
101
|
batchGetMetricData(args: BatchGetMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetMetricDataCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link CancelExportJobCommand}
|
|
104
|
+
*/
|
|
105
|
+
cancelExportJob(args: CancelExportJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelExportJobCommandOutput>;
|
|
106
|
+
cancelExportJob(args: CancelExportJobCommandInput, cb: (err: any, data?: CancelExportJobCommandOutput) => void): void;
|
|
107
|
+
cancelExportJob(args: CancelExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelExportJobCommandOutput) => void): void;
|
|
97
108
|
/**
|
|
98
109
|
* @see {@link CreateConfigurationSetCommand}
|
|
99
110
|
*/
|
|
@@ -154,6 +165,12 @@ export interface SESv2 {
|
|
|
154
165
|
createEmailTemplate(args: CreateEmailTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateEmailTemplateCommandOutput>;
|
|
155
166
|
createEmailTemplate(args: CreateEmailTemplateCommandInput, cb: (err: any, data?: CreateEmailTemplateCommandOutput) => void): void;
|
|
156
167
|
createEmailTemplate(args: CreateEmailTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEmailTemplateCommandOutput) => void): void;
|
|
168
|
+
/**
|
|
169
|
+
* @see {@link CreateExportJobCommand}
|
|
170
|
+
*/
|
|
171
|
+
createExportJob(args: CreateExportJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateExportJobCommandOutput>;
|
|
172
|
+
createExportJob(args: CreateExportJobCommandInput, cb: (err: any, data?: CreateExportJobCommandOutput) => void): void;
|
|
173
|
+
createExportJob(args: CreateExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExportJobCommandOutput) => void): void;
|
|
157
174
|
/**
|
|
158
175
|
* @see {@link CreateImportJobCommand}
|
|
159
176
|
*/
|
|
@@ -322,12 +339,24 @@ export interface SESv2 {
|
|
|
322
339
|
getEmailTemplate(args: GetEmailTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetEmailTemplateCommandOutput>;
|
|
323
340
|
getEmailTemplate(args: GetEmailTemplateCommandInput, cb: (err: any, data?: GetEmailTemplateCommandOutput) => void): void;
|
|
324
341
|
getEmailTemplate(args: GetEmailTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEmailTemplateCommandOutput) => void): void;
|
|
342
|
+
/**
|
|
343
|
+
* @see {@link GetExportJobCommand}
|
|
344
|
+
*/
|
|
345
|
+
getExportJob(args: GetExportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetExportJobCommandOutput>;
|
|
346
|
+
getExportJob(args: GetExportJobCommandInput, cb: (err: any, data?: GetExportJobCommandOutput) => void): void;
|
|
347
|
+
getExportJob(args: GetExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExportJobCommandOutput) => void): void;
|
|
325
348
|
/**
|
|
326
349
|
* @see {@link GetImportJobCommand}
|
|
327
350
|
*/
|
|
328
351
|
getImportJob(args: GetImportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetImportJobCommandOutput>;
|
|
329
352
|
getImportJob(args: GetImportJobCommandInput, cb: (err: any, data?: GetImportJobCommandOutput) => void): void;
|
|
330
353
|
getImportJob(args: GetImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportJobCommandOutput) => void): void;
|
|
354
|
+
/**
|
|
355
|
+
* @see {@link GetMessageInsightsCommand}
|
|
356
|
+
*/
|
|
357
|
+
getMessageInsights(args: GetMessageInsightsCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageInsightsCommandOutput>;
|
|
358
|
+
getMessageInsights(args: GetMessageInsightsCommandInput, cb: (err: any, data?: GetMessageInsightsCommandOutput) => void): void;
|
|
359
|
+
getMessageInsights(args: GetMessageInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageInsightsCommandOutput) => void): void;
|
|
331
360
|
/**
|
|
332
361
|
* @see {@link GetSuppressedDestinationCommand}
|
|
333
362
|
*/
|
|
@@ -388,6 +417,12 @@ export interface SESv2 {
|
|
|
388
417
|
listEmailTemplates(args: ListEmailTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListEmailTemplatesCommandOutput>;
|
|
389
418
|
listEmailTemplates(args: ListEmailTemplatesCommandInput, cb: (err: any, data?: ListEmailTemplatesCommandOutput) => void): void;
|
|
390
419
|
listEmailTemplates(args: ListEmailTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEmailTemplatesCommandOutput) => void): void;
|
|
420
|
+
/**
|
|
421
|
+
* @see {@link ListExportJobsCommand}
|
|
422
|
+
*/
|
|
423
|
+
listExportJobs(args: ListExportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListExportJobsCommandOutput>;
|
|
424
|
+
listExportJobs(args: ListExportJobsCommandInput, cb: (err: any, data?: ListExportJobsCommandOutput) => void): void;
|
|
425
|
+
listExportJobs(args: ListExportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportJobsCommandOutput) => void): void;
|
|
391
426
|
/**
|
|
392
427
|
* @see {@link ListImportJobsCommand}
|
|
393
428
|
*/
|