@aws-sdk/client-pinpoint-email 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/PinpointEmailClient.js +13 -13
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +3 -3
- package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +3 -3
- package/dist-cjs/commands/CreateEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/GetAccountCommand.js +3 -3
- package/dist-cjs/commands/GetBlacklistReportsCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +3 -3
- package/dist-cjs/commands/GetDedicatedIpCommand.js +3 -3
- package/dist-cjs/commands/GetDedicatedIpsCommand.js +3 -3
- package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +3 -3
- package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +3 -3
- package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +3 -3
- package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +3 -3
- package/dist-cjs/commands/GetEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +3 -3
- package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +3 -3
- package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +3 -3
- package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +3 -3
- package/dist-cjs/commands/ListEmailIdentitiesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +3 -3
- package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +3 -3
- package/dist-cjs/commands/SendEmailCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +210 -210
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/PinpointEmail.js +42 -42
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +4 -4
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +4 -4
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +4 -4
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +4 -4
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +4 -4
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +42 -42
- package/dist-types/PinpointEmailClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/PinpointEmailClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListEmailIdentitiesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEmailIdentitiesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listEmailIdentities.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEmailIdentities.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListEmailIdentities(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["PageSize"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof PinpointEmail)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof PinpointEmailClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateConfigurationSetCommand = function (input
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/configuration-sets";
|
|
17
17
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationSetName !== undefined &&
|
|
18
18
|
input.ConfigurationSetName !== null && { ConfigurationSetName: input.ConfigurationSetName })), (input.DeliveryOptions !== undefined &&
|
|
19
19
|
input.DeliveryOptions !== null && {
|
|
@@ -51,7 +51,7 @@ export var serializeAws_restJson1CreateConfigurationSetEventDestinationCommand =
|
|
|
51
51
|
headers = {
|
|
52
52
|
"content-type": "application/json",
|
|
53
53
|
};
|
|
54
|
-
resolvedPath = ""
|
|
54
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
55
55
|
"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations";
|
|
56
56
|
if (input.ConfigurationSetName !== undefined) {
|
|
57
57
|
labelValue = input.ConfigurationSetName;
|
|
@@ -90,7 +90,7 @@ export var serializeAws_restJson1CreateDedicatedIpPoolCommand = function (input,
|
|
|
90
90
|
headers = {
|
|
91
91
|
"content-type": "application/json",
|
|
92
92
|
};
|
|
93
|
-
resolvedPath = ""
|
|
93
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/dedicated-ip-pools";
|
|
94
94
|
body = JSON.stringify(__assign(__assign({}, (input.PoolName !== undefined && input.PoolName !== null && { PoolName: input.PoolName })), (input.Tags !== undefined &&
|
|
95
95
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
96
96
|
return [2, new __HttpRequest({
|
|
@@ -115,7 +115,7 @@ export var serializeAws_restJson1CreateDeliverabilityTestReportCommand = functio
|
|
|
115
115
|
headers = {
|
|
116
116
|
"content-type": "application/json",
|
|
117
117
|
};
|
|
118
|
-
resolvedPath = ""
|
|
118
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/deliverability-dashboard/test";
|
|
119
119
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Content !== undefined &&
|
|
120
120
|
input.Content !== null && { Content: serializeAws_restJson1EmailContent(input.Content, context) })), (input.FromEmailAddress !== undefined &&
|
|
121
121
|
input.FromEmailAddress !== null && { FromEmailAddress: input.FromEmailAddress })), (input.ReportName !== undefined && input.ReportName !== null && { ReportName: input.ReportName })), (input.Tags !== undefined &&
|
|
@@ -142,7 +142,7 @@ export var serializeAws_restJson1CreateEmailIdentityCommand = function (input, c
|
|
|
142
142
|
headers = {
|
|
143
143
|
"content-type": "application/json",
|
|
144
144
|
};
|
|
145
|
-
resolvedPath = ""
|
|
145
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/identities";
|
|
146
146
|
body = JSON.stringify(__assign(__assign({}, (input.EmailIdentity !== undefined && input.EmailIdentity !== null && { EmailIdentity: input.EmailIdentity })), (input.Tags !== undefined &&
|
|
147
147
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
148
148
|
return [2, new __HttpRequest({
|
|
@@ -165,7 +165,7 @@ export var serializeAws_restJson1DeleteConfigurationSetCommand = function (input
|
|
|
165
165
|
case 1:
|
|
166
166
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
167
167
|
headers = {};
|
|
168
|
-
resolvedPath = ""
|
|
168
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
169
169
|
"/v1/email/configuration-sets/{ConfigurationSetName}";
|
|
170
170
|
if (input.ConfigurationSetName !== undefined) {
|
|
171
171
|
labelValue = input.ConfigurationSetName;
|
|
@@ -197,7 +197,7 @@ export var serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand =
|
|
|
197
197
|
case 1:
|
|
198
198
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
199
199
|
headers = {};
|
|
200
|
-
resolvedPath = ""
|
|
200
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
201
201
|
"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
|
|
202
202
|
if (input.ConfigurationSetName !== undefined) {
|
|
203
203
|
labelValue = input.ConfigurationSetName;
|
|
@@ -239,7 +239,7 @@ export var serializeAws_restJson1DeleteDedicatedIpPoolCommand = function (input,
|
|
|
239
239
|
case 1:
|
|
240
240
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
241
241
|
headers = {};
|
|
242
|
-
resolvedPath = ""
|
|
242
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/dedicated-ip-pools/{PoolName}";
|
|
243
243
|
if (input.PoolName !== undefined) {
|
|
244
244
|
labelValue = input.PoolName;
|
|
245
245
|
if (labelValue.length <= 0) {
|
|
@@ -270,7 +270,7 @@ export var serializeAws_restJson1DeleteEmailIdentityCommand = function (input, c
|
|
|
270
270
|
case 1:
|
|
271
271
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
272
272
|
headers = {};
|
|
273
|
-
resolvedPath = ""
|
|
273
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/identities/{EmailIdentity}";
|
|
274
274
|
if (input.EmailIdentity !== undefined) {
|
|
275
275
|
labelValue = input.EmailIdentity;
|
|
276
276
|
if (labelValue.length <= 0) {
|
|
@@ -303,7 +303,7 @@ export var serializeAws_restJson1GetAccountCommand = function (input, context) {
|
|
|
303
303
|
headers = {
|
|
304
304
|
"content-type": "application/json",
|
|
305
305
|
};
|
|
306
|
-
resolvedPath = ""
|
|
306
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/account";
|
|
307
307
|
body = "";
|
|
308
308
|
return [2, new __HttpRequest({
|
|
309
309
|
protocol: protocol,
|
|
@@ -325,7 +325,7 @@ export var serializeAws_restJson1GetBlacklistReportsCommand = function (input, c
|
|
|
325
325
|
case 1:
|
|
326
326
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
327
327
|
headers = {};
|
|
328
|
-
resolvedPath = ""
|
|
328
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
329
329
|
"/v1/email/deliverability-dashboard/blacklist-report";
|
|
330
330
|
query = __assign({}, (input.BlacklistItemNames !== undefined && {
|
|
331
331
|
BlacklistItemNames: (input.BlacklistItemNames || []).map(function (_entry) { return _entry; }),
|
|
@@ -351,7 +351,7 @@ export var serializeAws_restJson1GetConfigurationSetCommand = function (input, c
|
|
|
351
351
|
case 1:
|
|
352
352
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
353
353
|
headers = {};
|
|
354
|
-
resolvedPath = ""
|
|
354
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
355
355
|
"/v1/email/configuration-sets/{ConfigurationSetName}";
|
|
356
356
|
if (input.ConfigurationSetName !== undefined) {
|
|
357
357
|
labelValue = input.ConfigurationSetName;
|
|
@@ -383,7 +383,7 @@ export var serializeAws_restJson1GetConfigurationSetEventDestinationsCommand = f
|
|
|
383
383
|
case 1:
|
|
384
384
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
385
385
|
headers = {};
|
|
386
|
-
resolvedPath = ""
|
|
386
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
387
387
|
"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations";
|
|
388
388
|
if (input.ConfigurationSetName !== undefined) {
|
|
389
389
|
labelValue = input.ConfigurationSetName;
|
|
@@ -415,7 +415,7 @@ export var serializeAws_restJson1GetDedicatedIpCommand = function (input, contex
|
|
|
415
415
|
case 1:
|
|
416
416
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
417
417
|
headers = {};
|
|
418
|
-
resolvedPath = ""
|
|
418
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/dedicated-ips/{Ip}";
|
|
419
419
|
if (input.Ip !== undefined) {
|
|
420
420
|
labelValue = input.Ip;
|
|
421
421
|
if (labelValue.length <= 0) {
|
|
@@ -446,7 +446,7 @@ export var serializeAws_restJson1GetDedicatedIpsCommand = function (input, conte
|
|
|
446
446
|
case 1:
|
|
447
447
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
448
448
|
headers = {};
|
|
449
|
-
resolvedPath = ""
|
|
449
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/dedicated-ips";
|
|
450
450
|
query = __assign(__assign(__assign({}, (input.PoolName !== undefined && { PoolName: input.PoolName })), (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.PageSize !== undefined && { PageSize: input.PageSize.toString() }));
|
|
451
451
|
return [2, new __HttpRequest({
|
|
452
452
|
protocol: protocol,
|
|
@@ -471,7 +471,7 @@ export var serializeAws_restJson1GetDeliverabilityDashboardOptionsCommand = func
|
|
|
471
471
|
headers = {
|
|
472
472
|
"content-type": "application/json",
|
|
473
473
|
};
|
|
474
|
-
resolvedPath = ""
|
|
474
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/deliverability-dashboard";
|
|
475
475
|
body = "";
|
|
476
476
|
return [2, new __HttpRequest({
|
|
477
477
|
protocol: protocol,
|
|
@@ -493,7 +493,7 @@ export var serializeAws_restJson1GetDeliverabilityTestReportCommand = function (
|
|
|
493
493
|
case 1:
|
|
494
494
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
495
495
|
headers = {};
|
|
496
|
-
resolvedPath = ""
|
|
496
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
497
497
|
"/v1/email/deliverability-dashboard/test-reports/{ReportId}";
|
|
498
498
|
if (input.ReportId !== undefined) {
|
|
499
499
|
labelValue = input.ReportId;
|
|
@@ -525,7 +525,7 @@ export var serializeAws_restJson1GetDomainDeliverabilityCampaignCommand = functi
|
|
|
525
525
|
case 1:
|
|
526
526
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
527
527
|
headers = {};
|
|
528
|
-
resolvedPath = ""
|
|
528
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
529
529
|
"/v1/email/deliverability-dashboard/campaigns/{CampaignId}";
|
|
530
530
|
if (input.CampaignId !== undefined) {
|
|
531
531
|
labelValue = input.CampaignId;
|
|
@@ -557,7 +557,7 @@ export var serializeAws_restJson1GetDomainStatisticsReportCommand = function (in
|
|
|
557
557
|
case 1:
|
|
558
558
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
559
559
|
headers = {};
|
|
560
|
-
resolvedPath = ""
|
|
560
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
561
561
|
"/v1/email/deliverability-dashboard/statistics-report/{Domain}";
|
|
562
562
|
if (input.Domain !== undefined) {
|
|
563
563
|
labelValue = input.Domain;
|
|
@@ -591,7 +591,7 @@ export var serializeAws_restJson1GetEmailIdentityCommand = function (input, cont
|
|
|
591
591
|
case 1:
|
|
592
592
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
593
593
|
headers = {};
|
|
594
|
-
resolvedPath = ""
|
|
594
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/identities/{EmailIdentity}";
|
|
595
595
|
if (input.EmailIdentity !== undefined) {
|
|
596
596
|
labelValue = input.EmailIdentity;
|
|
597
597
|
if (labelValue.length <= 0) {
|
|
@@ -622,7 +622,7 @@ export var serializeAws_restJson1ListConfigurationSetsCommand = function (input,
|
|
|
622
622
|
case 1:
|
|
623
623
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
624
624
|
headers = {};
|
|
625
|
-
resolvedPath = ""
|
|
625
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/configuration-sets";
|
|
626
626
|
query = __assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.PageSize !== undefined && { PageSize: input.PageSize.toString() }));
|
|
627
627
|
return [2, new __HttpRequest({
|
|
628
628
|
protocol: protocol,
|
|
@@ -645,7 +645,7 @@ export var serializeAws_restJson1ListDedicatedIpPoolsCommand = function (input,
|
|
|
645
645
|
case 1:
|
|
646
646
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
647
647
|
headers = {};
|
|
648
|
-
resolvedPath = ""
|
|
648
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/dedicated-ip-pools";
|
|
649
649
|
query = __assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.PageSize !== undefined && { PageSize: input.PageSize.toString() }));
|
|
650
650
|
return [2, new __HttpRequest({
|
|
651
651
|
protocol: protocol,
|
|
@@ -668,7 +668,7 @@ export var serializeAws_restJson1ListDeliverabilityTestReportsCommand = function
|
|
|
668
668
|
case 1:
|
|
669
669
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
670
670
|
headers = {};
|
|
671
|
-
resolvedPath = ""
|
|
671
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
672
672
|
"/v1/email/deliverability-dashboard/test-reports";
|
|
673
673
|
query = __assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.PageSize !== undefined && { PageSize: input.PageSize.toString() }));
|
|
674
674
|
return [2, new __HttpRequest({
|
|
@@ -692,7 +692,7 @@ export var serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = func
|
|
|
692
692
|
case 1:
|
|
693
693
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
694
694
|
headers = {};
|
|
695
|
-
resolvedPath = ""
|
|
695
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
696
696
|
"/v1/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns";
|
|
697
697
|
if (input.SubscribedDomain !== undefined) {
|
|
698
698
|
labelValue = input.SubscribedDomain;
|
|
@@ -726,7 +726,7 @@ export var serializeAws_restJson1ListEmailIdentitiesCommand = function (input, c
|
|
|
726
726
|
case 1:
|
|
727
727
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
728
728
|
headers = {};
|
|
729
|
-
resolvedPath = ""
|
|
729
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/identities";
|
|
730
730
|
query = __assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.PageSize !== undefined && { PageSize: input.PageSize.toString() }));
|
|
731
731
|
return [2, new __HttpRequest({
|
|
732
732
|
protocol: protocol,
|
|
@@ -749,7 +749,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
749
749
|
case 1:
|
|
750
750
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
751
751
|
headers = {};
|
|
752
|
-
resolvedPath = ""
|
|
752
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/tags";
|
|
753
753
|
query = __assign({}, (input.ResourceArn !== undefined && { ResourceArn: input.ResourceArn }));
|
|
754
754
|
return [2, new __HttpRequest({
|
|
755
755
|
protocol: protocol,
|
|
@@ -774,7 +774,7 @@ export var serializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand =
|
|
|
774
774
|
headers = {
|
|
775
775
|
"content-type": "application/json",
|
|
776
776
|
};
|
|
777
|
-
resolvedPath = ""
|
|
777
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/account/dedicated-ips/warmup";
|
|
778
778
|
body = JSON.stringify(__assign({}, (input.AutoWarmupEnabled !== undefined &&
|
|
779
779
|
input.AutoWarmupEnabled !== null && { AutoWarmupEnabled: input.AutoWarmupEnabled })));
|
|
780
780
|
return [2, new __HttpRequest({
|
|
@@ -799,7 +799,7 @@ export var serializeAws_restJson1PutAccountSendingAttributesCommand = function (
|
|
|
799
799
|
headers = {
|
|
800
800
|
"content-type": "application/json",
|
|
801
801
|
};
|
|
802
|
-
resolvedPath = ""
|
|
802
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/account/sending";
|
|
803
803
|
body = JSON.stringify(__assign({}, (input.SendingEnabled !== undefined &&
|
|
804
804
|
input.SendingEnabled !== null && { SendingEnabled: input.SendingEnabled })));
|
|
805
805
|
return [2, new __HttpRequest({
|
|
@@ -824,7 +824,7 @@ export var serializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand = fun
|
|
|
824
824
|
headers = {
|
|
825
825
|
"content-type": "application/json",
|
|
826
826
|
};
|
|
827
|
-
resolvedPath = ""
|
|
827
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
828
828
|
"/v1/email/configuration-sets/{ConfigurationSetName}/delivery-options";
|
|
829
829
|
if (input.ConfigurationSetName !== undefined) {
|
|
830
830
|
labelValue = input.ConfigurationSetName;
|
|
@@ -860,7 +860,7 @@ export var serializeAws_restJson1PutConfigurationSetReputationOptionsCommand = f
|
|
|
860
860
|
headers = {
|
|
861
861
|
"content-type": "application/json",
|
|
862
862
|
};
|
|
863
|
-
resolvedPath = ""
|
|
863
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
864
864
|
"/v1/email/configuration-sets/{ConfigurationSetName}/reputation-options";
|
|
865
865
|
if (input.ConfigurationSetName !== undefined) {
|
|
866
866
|
labelValue = input.ConfigurationSetName;
|
|
@@ -896,7 +896,7 @@ export var serializeAws_restJson1PutConfigurationSetSendingOptionsCommand = func
|
|
|
896
896
|
headers = {
|
|
897
897
|
"content-type": "application/json",
|
|
898
898
|
};
|
|
899
|
-
resolvedPath = ""
|
|
899
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
900
900
|
"/v1/email/configuration-sets/{ConfigurationSetName}/sending";
|
|
901
901
|
if (input.ConfigurationSetName !== undefined) {
|
|
902
902
|
labelValue = input.ConfigurationSetName;
|
|
@@ -932,7 +932,7 @@ export var serializeAws_restJson1PutConfigurationSetTrackingOptionsCommand = fun
|
|
|
932
932
|
headers = {
|
|
933
933
|
"content-type": "application/json",
|
|
934
934
|
};
|
|
935
|
-
resolvedPath = ""
|
|
935
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
936
936
|
"/v1/email/configuration-sets/{ConfigurationSetName}/tracking-options";
|
|
937
937
|
if (input.ConfigurationSetName !== undefined) {
|
|
938
938
|
labelValue = input.ConfigurationSetName;
|
|
@@ -968,7 +968,7 @@ export var serializeAws_restJson1PutDedicatedIpInPoolCommand = function (input,
|
|
|
968
968
|
headers = {
|
|
969
969
|
"content-type": "application/json",
|
|
970
970
|
};
|
|
971
|
-
resolvedPath = ""
|
|
971
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/dedicated-ips/{Ip}/pool";
|
|
972
972
|
if (input.Ip !== undefined) {
|
|
973
973
|
labelValue = input.Ip;
|
|
974
974
|
if (labelValue.length <= 0) {
|
|
@@ -1003,7 +1003,7 @@ export var serializeAws_restJson1PutDedicatedIpWarmupAttributesCommand = functio
|
|
|
1003
1003
|
headers = {
|
|
1004
1004
|
"content-type": "application/json",
|
|
1005
1005
|
};
|
|
1006
|
-
resolvedPath = ""
|
|
1006
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/dedicated-ips/{Ip}/warmup";
|
|
1007
1007
|
if (input.Ip !== undefined) {
|
|
1008
1008
|
labelValue = input.Ip;
|
|
1009
1009
|
if (labelValue.length <= 0) {
|
|
@@ -1038,7 +1038,7 @@ export var serializeAws_restJson1PutDeliverabilityDashboardOptionCommand = funct
|
|
|
1038
1038
|
headers = {
|
|
1039
1039
|
"content-type": "application/json",
|
|
1040
1040
|
};
|
|
1041
|
-
resolvedPath = ""
|
|
1041
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/deliverability-dashboard";
|
|
1042
1042
|
body = JSON.stringify(__assign(__assign({}, (input.DashboardEnabled !== undefined &&
|
|
1043
1043
|
input.DashboardEnabled !== null && { DashboardEnabled: input.DashboardEnabled })), (input.SubscribedDomains !== undefined &&
|
|
1044
1044
|
input.SubscribedDomains !== null && {
|
|
@@ -1066,7 +1066,7 @@ export var serializeAws_restJson1PutEmailIdentityDkimAttributesCommand = functio
|
|
|
1066
1066
|
headers = {
|
|
1067
1067
|
"content-type": "application/json",
|
|
1068
1068
|
};
|
|
1069
|
-
resolvedPath = ""
|
|
1069
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/identities/{EmailIdentity}/dkim";
|
|
1070
1070
|
if (input.EmailIdentity !== undefined) {
|
|
1071
1071
|
labelValue = input.EmailIdentity;
|
|
1072
1072
|
if (labelValue.length <= 0) {
|
|
@@ -1101,7 +1101,7 @@ export var serializeAws_restJson1PutEmailIdentityFeedbackAttributesCommand = fun
|
|
|
1101
1101
|
headers = {
|
|
1102
1102
|
"content-type": "application/json",
|
|
1103
1103
|
};
|
|
1104
|
-
resolvedPath = ""
|
|
1104
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1105
1105
|
"/v1/email/identities/{EmailIdentity}/feedback";
|
|
1106
1106
|
if (input.EmailIdentity !== undefined) {
|
|
1107
1107
|
labelValue = input.EmailIdentity;
|
|
@@ -1137,7 +1137,7 @@ export var serializeAws_restJson1PutEmailIdentityMailFromAttributesCommand = fun
|
|
|
1137
1137
|
headers = {
|
|
1138
1138
|
"content-type": "application/json",
|
|
1139
1139
|
};
|
|
1140
|
-
resolvedPath = ""
|
|
1140
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1141
1141
|
"/v1/email/identities/{EmailIdentity}/mail-from";
|
|
1142
1142
|
if (input.EmailIdentity !== undefined) {
|
|
1143
1143
|
labelValue = input.EmailIdentity;
|
|
@@ -1174,7 +1174,7 @@ export var serializeAws_restJson1SendEmailCommand = function (input, context) {
|
|
|
1174
1174
|
headers = {
|
|
1175
1175
|
"content-type": "application/json",
|
|
1176
1176
|
};
|
|
1177
|
-
resolvedPath = ""
|
|
1177
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/outbound-emails";
|
|
1178
1178
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfigurationSetName !== undefined &&
|
|
1179
1179
|
input.ConfigurationSetName !== null && { ConfigurationSetName: input.ConfigurationSetName })), (input.Content !== undefined &&
|
|
1180
1180
|
input.Content !== null && { Content: serializeAws_restJson1EmailContent(input.Content, context) })), (input.Destination !== undefined &&
|
|
@@ -1209,7 +1209,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1209
1209
|
headers = {
|
|
1210
1210
|
"content-type": "application/json",
|
|
1211
1211
|
};
|
|
1212
|
-
resolvedPath = ""
|
|
1212
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/tags";
|
|
1213
1213
|
body = JSON.stringify(__assign(__assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.Tags !== undefined &&
|
|
1214
1214
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
1215
1215
|
return [2, new __HttpRequest({
|
|
@@ -1232,7 +1232,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1232
1232
|
case 1:
|
|
1233
1233
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1234
1234
|
headers = {};
|
|
1235
|
-
resolvedPath = ""
|
|
1235
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/email/tags";
|
|
1236
1236
|
query = __assign(__assign({}, (input.ResourceArn !== undefined && { ResourceArn: input.ResourceArn })), (input.TagKeys !== undefined && { TagKeys: (input.TagKeys || []).map(function (_entry) { return _entry; }) }));
|
|
1237
1237
|
return [2, new __HttpRequest({
|
|
1238
1238
|
protocol: protocol,
|
|
@@ -1257,7 +1257,7 @@ export var serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand =
|
|
|
1257
1257
|
headers = {
|
|
1258
1258
|
"content-type": "application/json",
|
|
1259
1259
|
};
|
|
1260
|
-
resolvedPath = ""
|
|
1260
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1261
1261
|
"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
|
|
1262
1262
|
if (input.ConfigurationSetName !== undefined) {
|
|
1263
1263
|
labelValue = input.ConfigurationSetName;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
10
10
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
11
11
|
import { CreateDedicatedIpPoolCommandInput, CreateDedicatedIpPoolCommandOutput } from "./commands/CreateDedicatedIpPoolCommand";
|
|
@@ -70,7 +70,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
70
70
|
* A function that can calculate the length of a request body.
|
|
71
71
|
* @internal
|
|
72
72
|
*/
|
|
73
|
-
bodyLengthChecker?:
|
|
73
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
74
74
|
/**
|
|
75
75
|
* A function that converts a stream into an array of bytes.
|
|
76
76
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
10
10
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
11
11
|
import { CreateDedicatedIpPoolCommandInput, CreateDedicatedIpPoolCommandOutput } from "./commands/CreateDedicatedIpPoolCommand";
|
|
@@ -58,7 +58,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
58
58
|
|
|
59
59
|
urlParser?: __UrlParser;
|
|
60
60
|
|
|
61
|
-
bodyLengthChecker?:
|
|
61
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
62
62
|
|
|
63
63
|
streamCollector?: __StreamCollector;
|
|
64
64
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: PinpointEmailClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|