@aws-sdk/client-sesv2 3.332.0 → 3.336.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 +8 -0
- package/dist-cjs/SESv2.js +2 -0
- package/dist-cjs/commands/PutDedicatedIpPoolScalingAttributesCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +66 -4
- package/dist-es/SESv2.js +2 -0
- package/dist-es/commands/PutDedicatedIpPoolScalingAttributesCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +61 -1
- package/dist-types/SESv2.d.ts +7 -0
- package/dist-types/SESv2Client.d.ts +6 -4
- package/dist-types/commands/PutDedicatedIpPoolScalingAttributesCommand.d.ts +84 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +31 -5
- package/dist-types/protocols/Aws_restJson1.d.ts +11 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/SESv2.d.ts +23 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +13 -5
- package/dist-types/ts3.4/commands/PutDedicatedIpPoolScalingAttributesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +14 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -737,6 +737,14 @@ PutDedicatedIpInPool
|
|
|
737
737
|
|
|
738
738
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/putdedicatedipinpoolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/putdedicatedipinpoolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/putdedicatedipinpoolcommandoutput.html)
|
|
739
739
|
|
|
740
|
+
</details>
|
|
741
|
+
<details>
|
|
742
|
+
<summary>
|
|
743
|
+
PutDedicatedIpPoolScalingAttributes
|
|
744
|
+
</summary>
|
|
745
|
+
|
|
746
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/putdedicatedippoolscalingattributescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/putdedicatedippoolscalingattributescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/interfaces/putdedicatedippoolscalingattributescommandoutput.html)
|
|
747
|
+
|
|
740
748
|
</details>
|
|
741
749
|
<details>
|
|
742
750
|
<summary>
|
package/dist-cjs/SESv2.js
CHANGED
|
@@ -68,6 +68,7 @@ const PutConfigurationSetSuppressionOptionsCommand_1 = require("./commands/PutCo
|
|
|
68
68
|
const PutConfigurationSetTrackingOptionsCommand_1 = require("./commands/PutConfigurationSetTrackingOptionsCommand");
|
|
69
69
|
const PutConfigurationSetVdmOptionsCommand_1 = require("./commands/PutConfigurationSetVdmOptionsCommand");
|
|
70
70
|
const PutDedicatedIpInPoolCommand_1 = require("./commands/PutDedicatedIpInPoolCommand");
|
|
71
|
+
const PutDedicatedIpPoolScalingAttributesCommand_1 = require("./commands/PutDedicatedIpPoolScalingAttributesCommand");
|
|
71
72
|
const PutDedicatedIpWarmupAttributesCommand_1 = require("./commands/PutDedicatedIpWarmupAttributesCommand");
|
|
72
73
|
const PutDeliverabilityDashboardOptionCommand_1 = require("./commands/PutDeliverabilityDashboardOptionCommand");
|
|
73
74
|
const PutEmailIdentityConfigurationSetAttributesCommand_1 = require("./commands/PutEmailIdentityConfigurationSetAttributesCommand");
|
|
@@ -156,6 +157,7 @@ const commands = {
|
|
|
156
157
|
PutConfigurationSetTrackingOptionsCommand: PutConfigurationSetTrackingOptionsCommand_1.PutConfigurationSetTrackingOptionsCommand,
|
|
157
158
|
PutConfigurationSetVdmOptionsCommand: PutConfigurationSetVdmOptionsCommand_1.PutConfigurationSetVdmOptionsCommand,
|
|
158
159
|
PutDedicatedIpInPoolCommand: PutDedicatedIpInPoolCommand_1.PutDedicatedIpInPoolCommand,
|
|
160
|
+
PutDedicatedIpPoolScalingAttributesCommand: PutDedicatedIpPoolScalingAttributesCommand_1.PutDedicatedIpPoolScalingAttributesCommand,
|
|
159
161
|
PutDedicatedIpWarmupAttributesCommand: PutDedicatedIpWarmupAttributesCommand_1.PutDedicatedIpWarmupAttributesCommand,
|
|
160
162
|
PutDeliverabilityDashboardOptionCommand: PutDeliverabilityDashboardOptionCommand_1.PutDeliverabilityDashboardOptionCommand,
|
|
161
163
|
PutEmailIdentityConfigurationSetAttributesCommand: PutEmailIdentityConfigurationSetAttributesCommand_1.PutEmailIdentityConfigurationSetAttributesCommand,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutDedicatedIpPoolScalingAttributesCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class PutDedicatedIpPoolScalingAttributesCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutDedicatedIpPoolScalingAttributesCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "SESv2Client";
|
|
27
|
+
const commandName = "PutDedicatedIpPoolScalingAttributesCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_PutDedicatedIpPoolScalingAttributesCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_PutDedicatedIpPoolScalingAttributesCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.PutDedicatedIpPoolScalingAttributesCommand = PutDedicatedIpPoolScalingAttributesCommand;
|
|
@@ -67,6 +67,7 @@ tslib_1.__exportStar(require("./PutConfigurationSetSuppressionOptionsCommand"),
|
|
|
67
67
|
tslib_1.__exportStar(require("./PutConfigurationSetTrackingOptionsCommand"), exports);
|
|
68
68
|
tslib_1.__exportStar(require("./PutConfigurationSetVdmOptionsCommand"), exports);
|
|
69
69
|
tslib_1.__exportStar(require("./PutDedicatedIpInPoolCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./PutDedicatedIpPoolScalingAttributesCommand"), exports);
|
|
70
71
|
tslib_1.__exportStar(require("./PutDedicatedIpWarmupAttributesCommand"), exports);
|
|
71
72
|
tslib_1.__exportStar(require("./PutDeliverabilityDashboardOptionCommand"), exports);
|
|
72
73
|
tslib_1.__exportStar(require("./PutEmailIdentityConfigurationSetAttributesCommand"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.se_ListEmailTemplatesCommand = exports.se_ListEmailIdentitiesCommand = exports.se_ListDomainDeliverabilityCampaignsCommand = exports.se_ListDeliverabilityTestReportsCommand = exports.se_ListDedicatedIpPoolsCommand = exports.se_ListCustomVerificationEmailTemplatesCommand = exports.se_ListContactsCommand = exports.se_ListContactListsCommand = exports.se_ListConfigurationSetsCommand = exports.se_GetSuppressedDestinationCommand = exports.se_GetImportJobCommand = exports.se_GetEmailTemplateCommand = exports.se_GetEmailIdentityPoliciesCommand = exports.se_GetEmailIdentityCommand = exports.se_GetDomainStatisticsReportCommand = exports.se_GetDomainDeliverabilityCampaignCommand = exports.se_GetDeliverabilityTestReportCommand = exports.se_GetDeliverabilityDashboardOptionsCommand = exports.se_GetDedicatedIpsCommand = exports.se_GetDedicatedIpPoolCommand = exports.se_GetDedicatedIpCommand = exports.se_GetCustomVerificationEmailTemplateCommand = exports.se_GetContactListCommand = exports.se_GetContactCommand = exports.se_GetConfigurationSetEventDestinationsCommand = exports.se_GetConfigurationSetCommand = exports.se_GetBlacklistReportsCommand = exports.se_GetAccountCommand = exports.se_DeleteSuppressedDestinationCommand = exports.se_DeleteEmailTemplateCommand = exports.se_DeleteEmailIdentityPolicyCommand = exports.se_DeleteEmailIdentityCommand = exports.se_DeleteDedicatedIpPoolCommand = exports.se_DeleteCustomVerificationEmailTemplateCommand = exports.se_DeleteContactListCommand = exports.se_DeleteContactCommand = exports.se_DeleteConfigurationSetEventDestinationCommand = exports.se_DeleteConfigurationSetCommand = exports.se_CreateImportJobCommand = exports.se_CreateEmailTemplateCommand = exports.se_CreateEmailIdentityPolicyCommand = exports.se_CreateEmailIdentityCommand = exports.se_CreateDeliverabilityTestReportCommand = exports.se_CreateDedicatedIpPoolCommand = exports.se_CreateCustomVerificationEmailTemplateCommand = exports.se_CreateContactListCommand = exports.se_CreateContactCommand = exports.se_CreateConfigurationSetEventDestinationCommand = exports.se_CreateConfigurationSetCommand = exports.se_BatchGetMetricDataCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.de_UpdateEmailTemplateCommand = exports.de_UpdateEmailIdentityPolicyCommand = exports.de_UpdateCustomVerificationEmailTemplateCommand = exports.de_UpdateContactListCommand = exports.de_UpdateContactCommand = exports.de_UpdateConfigurationSetEventDestinationCommand = exports.de_UntagResourceCommand = exports.de_TestRenderEmailTemplateCommand = exports.de_TagResourceCommand = exports.de_SendEmailCommand = exports.de_SendCustomVerificationEmailCommand = exports.de_SendBulkEmailCommand = exports.de_PutSuppressedDestinationCommand = exports.de_PutEmailIdentityMailFromAttributesCommand = exports.de_PutEmailIdentityFeedbackAttributesCommand = exports.de_PutEmailIdentityDkimSigningAttributesCommand = exports.de_PutEmailIdentityDkimAttributesCommand = exports.de_PutEmailIdentityConfigurationSetAttributesCommand = exports.de_PutDeliverabilityDashboardOptionCommand = exports.de_PutDedicatedIpWarmupAttributesCommand = exports.de_PutDedicatedIpInPoolCommand = exports.de_PutConfigurationSetVdmOptionsCommand = void 0;
|
|
7
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
4
|
+
exports.de_DeleteConfigurationSetCommand = exports.de_CreateImportJobCommand = exports.de_CreateEmailTemplateCommand = exports.de_CreateEmailIdentityPolicyCommand = exports.de_CreateEmailIdentityCommand = exports.de_CreateDeliverabilityTestReportCommand = exports.de_CreateDedicatedIpPoolCommand = exports.de_CreateCustomVerificationEmailTemplateCommand = exports.de_CreateContactListCommand = exports.de_CreateContactCommand = exports.de_CreateConfigurationSetEventDestinationCommand = exports.de_CreateConfigurationSetCommand = exports.de_BatchGetMetricDataCommand = exports.se_UpdateEmailTemplateCommand = exports.se_UpdateEmailIdentityPolicyCommand = exports.se_UpdateCustomVerificationEmailTemplateCommand = exports.se_UpdateContactListCommand = exports.se_UpdateContactCommand = exports.se_UpdateConfigurationSetEventDestinationCommand = exports.se_UntagResourceCommand = exports.se_TestRenderEmailTemplateCommand = exports.se_TagResourceCommand = exports.se_SendEmailCommand = exports.se_SendCustomVerificationEmailCommand = exports.se_SendBulkEmailCommand = exports.se_PutSuppressedDestinationCommand = exports.se_PutEmailIdentityMailFromAttributesCommand = exports.se_PutEmailIdentityFeedbackAttributesCommand = exports.se_PutEmailIdentityDkimSigningAttributesCommand = exports.se_PutEmailIdentityDkimAttributesCommand = exports.se_PutEmailIdentityConfigurationSetAttributesCommand = exports.se_PutDeliverabilityDashboardOptionCommand = exports.se_PutDedicatedIpWarmupAttributesCommand = exports.se_PutDedicatedIpPoolScalingAttributesCommand = exports.se_PutDedicatedIpInPoolCommand = exports.se_PutConfigurationSetVdmOptionsCommand = exports.se_PutConfigurationSetTrackingOptionsCommand = exports.se_PutConfigurationSetSuppressionOptionsCommand = exports.se_PutConfigurationSetSendingOptionsCommand = exports.se_PutConfigurationSetReputationOptionsCommand = exports.se_PutConfigurationSetDeliveryOptionsCommand = exports.se_PutAccountVdmAttributesCommand = exports.se_PutAccountSuppressionAttributesCommand = exports.se_PutAccountSendingAttributesCommand = exports.se_PutAccountDetailsCommand = exports.se_PutAccountDedicatedIpWarmupAttributesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSuppressedDestinationsCommand = exports.se_ListRecommendationsCommand = exports.se_ListImportJobsCommand = void 0;
|
|
5
|
+
exports.de_PutConfigurationSetSuppressionOptionsCommand = exports.de_PutConfigurationSetSendingOptionsCommand = exports.de_PutConfigurationSetReputationOptionsCommand = exports.de_PutConfigurationSetDeliveryOptionsCommand = exports.de_PutAccountVdmAttributesCommand = exports.de_PutAccountSuppressionAttributesCommand = exports.de_PutAccountSendingAttributesCommand = exports.de_PutAccountDetailsCommand = exports.de_PutAccountDedicatedIpWarmupAttributesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSuppressedDestinationsCommand = exports.de_ListRecommendationsCommand = exports.de_ListImportJobsCommand = exports.de_ListEmailTemplatesCommand = exports.de_ListEmailIdentitiesCommand = exports.de_ListDomainDeliverabilityCampaignsCommand = exports.de_ListDeliverabilityTestReportsCommand = exports.de_ListDedicatedIpPoolsCommand = exports.de_ListCustomVerificationEmailTemplatesCommand = exports.de_ListContactsCommand = exports.de_ListContactListsCommand = exports.de_ListConfigurationSetsCommand = exports.de_GetSuppressedDestinationCommand = exports.de_GetImportJobCommand = exports.de_GetEmailTemplateCommand = exports.de_GetEmailIdentityPoliciesCommand = exports.de_GetEmailIdentityCommand = exports.de_GetDomainStatisticsReportCommand = exports.de_GetDomainDeliverabilityCampaignCommand = exports.de_GetDeliverabilityTestReportCommand = exports.de_GetDeliverabilityDashboardOptionsCommand = exports.de_GetDedicatedIpsCommand = exports.de_GetDedicatedIpPoolCommand = exports.de_GetDedicatedIpCommand = exports.de_GetCustomVerificationEmailTemplateCommand = exports.de_GetContactListCommand = exports.de_GetContactCommand = exports.de_GetConfigurationSetEventDestinationsCommand = exports.de_GetConfigurationSetCommand = exports.de_GetBlacklistReportsCommand = exports.de_GetAccountCommand = exports.de_DeleteSuppressedDestinationCommand = exports.de_DeleteEmailTemplateCommand = exports.de_DeleteEmailIdentityPolicyCommand = exports.de_DeleteEmailIdentityCommand = exports.de_DeleteDedicatedIpPoolCommand = exports.de_DeleteCustomVerificationEmailTemplateCommand = exports.de_DeleteContactListCommand = exports.de_DeleteContactCommand = exports.de_DeleteConfigurationSetEventDestinationCommand = void 0;
|
|
6
|
+
exports.de_UpdateEmailTemplateCommand = exports.de_UpdateEmailIdentityPolicyCommand = exports.de_UpdateCustomVerificationEmailTemplateCommand = exports.de_UpdateContactListCommand = exports.de_UpdateContactCommand = exports.de_UpdateConfigurationSetEventDestinationCommand = exports.de_UntagResourceCommand = exports.de_TestRenderEmailTemplateCommand = exports.de_TagResourceCommand = exports.de_SendEmailCommand = exports.de_SendCustomVerificationEmailCommand = exports.de_SendBulkEmailCommand = exports.de_PutSuppressedDestinationCommand = exports.de_PutEmailIdentityMailFromAttributesCommand = exports.de_PutEmailIdentityFeedbackAttributesCommand = exports.de_PutEmailIdentityDkimSigningAttributesCommand = exports.de_PutEmailIdentityDkimAttributesCommand = exports.de_PutEmailIdentityConfigurationSetAttributesCommand = exports.de_PutDeliverabilityDashboardOptionCommand = exports.de_PutDedicatedIpWarmupAttributesCommand = exports.de_PutDedicatedIpPoolScalingAttributesCommand = exports.de_PutDedicatedIpInPoolCommand = exports.de_PutConfigurationSetVdmOptionsCommand = exports.de_PutConfigurationSetTrackingOptionsCommand = void 0;
|
|
8
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const SESv2ServiceException_1 = require("../models/SESv2ServiceException");
|
|
11
11
|
const se_BatchGetMetricDataCommand = async (input, context) => {
|
|
@@ -1411,6 +1411,29 @@ const se_PutDedicatedIpInPoolCommand = async (input, context) => {
|
|
|
1411
1411
|
});
|
|
1412
1412
|
};
|
|
1413
1413
|
exports.se_PutDedicatedIpInPoolCommand = se_PutDedicatedIpInPoolCommand;
|
|
1414
|
+
const se_PutDedicatedIpPoolScalingAttributesCommand = async (input, context) => {
|
|
1415
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1416
|
+
const headers = {
|
|
1417
|
+
"content-type": "application/json",
|
|
1418
|
+
};
|
|
1419
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1420
|
+
"/v2/email/dedicated-ip-pools/{PoolName}/scaling";
|
|
1421
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PoolName", () => input.PoolName, "{PoolName}", false);
|
|
1422
|
+
let body;
|
|
1423
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1424
|
+
ScalingMode: [],
|
|
1425
|
+
}));
|
|
1426
|
+
return new protocol_http_1.HttpRequest({
|
|
1427
|
+
protocol,
|
|
1428
|
+
hostname,
|
|
1429
|
+
port,
|
|
1430
|
+
method: "PUT",
|
|
1431
|
+
headers,
|
|
1432
|
+
path: resolvedPath,
|
|
1433
|
+
body,
|
|
1434
|
+
});
|
|
1435
|
+
};
|
|
1436
|
+
exports.se_PutDedicatedIpPoolScalingAttributesCommand = se_PutDedicatedIpPoolScalingAttributesCommand;
|
|
1414
1437
|
const se_PutDedicatedIpWarmupAttributesCommand = async (input, context) => {
|
|
1415
1438
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1416
1439
|
const headers = {
|
|
@@ -4532,6 +4555,45 @@ const de_PutDedicatedIpInPoolCommandError = async (output, context) => {
|
|
|
4532
4555
|
});
|
|
4533
4556
|
}
|
|
4534
4557
|
};
|
|
4558
|
+
const de_PutDedicatedIpPoolScalingAttributesCommand = async (output, context) => {
|
|
4559
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4560
|
+
return de_PutDedicatedIpPoolScalingAttributesCommandError(output, context);
|
|
4561
|
+
}
|
|
4562
|
+
const contents = (0, smithy_client_1.map)({
|
|
4563
|
+
$metadata: deserializeMetadata(output),
|
|
4564
|
+
});
|
|
4565
|
+
await collectBody(output.body, context);
|
|
4566
|
+
return contents;
|
|
4567
|
+
};
|
|
4568
|
+
exports.de_PutDedicatedIpPoolScalingAttributesCommand = de_PutDedicatedIpPoolScalingAttributesCommand;
|
|
4569
|
+
const de_PutDedicatedIpPoolScalingAttributesCommandError = async (output, context) => {
|
|
4570
|
+
const parsedOutput = {
|
|
4571
|
+
...output,
|
|
4572
|
+
body: await parseErrorBody(output.body, context),
|
|
4573
|
+
};
|
|
4574
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4575
|
+
switch (errorCode) {
|
|
4576
|
+
case "BadRequestException":
|
|
4577
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
4578
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4579
|
+
case "ConcurrentModificationException":
|
|
4580
|
+
case "com.amazonaws.sesv2#ConcurrentModificationException":
|
|
4581
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4582
|
+
case "NotFoundException":
|
|
4583
|
+
case "com.amazonaws.sesv2#NotFoundException":
|
|
4584
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
4585
|
+
case "TooManyRequestsException":
|
|
4586
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
4587
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4588
|
+
default:
|
|
4589
|
+
const parsedBody = parsedOutput.body;
|
|
4590
|
+
return throwDefaultError({
|
|
4591
|
+
output,
|
|
4592
|
+
parsedBody,
|
|
4593
|
+
errorCode,
|
|
4594
|
+
});
|
|
4595
|
+
}
|
|
4596
|
+
};
|
|
4535
4597
|
const de_PutDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
4536
4598
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4537
4599
|
return de_PutDedicatedIpWarmupAttributesCommandError(output, context);
|
package/dist-es/SESv2.js
CHANGED
|
@@ -65,6 +65,7 @@ import { PutConfigurationSetSuppressionOptionsCommand, } from "./commands/PutCon
|
|
|
65
65
|
import { PutConfigurationSetTrackingOptionsCommand, } from "./commands/PutConfigurationSetTrackingOptionsCommand";
|
|
66
66
|
import { PutConfigurationSetVdmOptionsCommand, } from "./commands/PutConfigurationSetVdmOptionsCommand";
|
|
67
67
|
import { PutDedicatedIpInPoolCommand, } from "./commands/PutDedicatedIpInPoolCommand";
|
|
68
|
+
import { PutDedicatedIpPoolScalingAttributesCommand, } from "./commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
68
69
|
import { PutDedicatedIpWarmupAttributesCommand, } from "./commands/PutDedicatedIpWarmupAttributesCommand";
|
|
69
70
|
import { PutDeliverabilityDashboardOptionCommand, } from "./commands/PutDeliverabilityDashboardOptionCommand";
|
|
70
71
|
import { PutEmailIdentityConfigurationSetAttributesCommand, } from "./commands/PutEmailIdentityConfigurationSetAttributesCommand";
|
|
@@ -153,6 +154,7 @@ const commands = {
|
|
|
153
154
|
PutConfigurationSetTrackingOptionsCommand,
|
|
154
155
|
PutConfigurationSetVdmOptionsCommand,
|
|
155
156
|
PutDedicatedIpInPoolCommand,
|
|
157
|
+
PutDedicatedIpPoolScalingAttributesCommand,
|
|
156
158
|
PutDedicatedIpWarmupAttributesCommand,
|
|
157
159
|
PutDeliverabilityDashboardOptionCommand,
|
|
158
160
|
PutEmailIdentityConfigurationSetAttributesCommand,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_PutDedicatedIpPoolScalingAttributesCommand, se_PutDedicatedIpPoolScalingAttributesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class PutDedicatedIpPoolScalingAttributesCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutDedicatedIpPoolScalingAttributesCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "SESv2Client";
|
|
24
|
+
const commandName = "PutDedicatedIpPoolScalingAttributesCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_PutDedicatedIpPoolScalingAttributesCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_PutDedicatedIpPoolScalingAttributesCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -64,6 +64,7 @@ export * from "./PutConfigurationSetSuppressionOptionsCommand";
|
|
|
64
64
|
export * from "./PutConfigurationSetTrackingOptionsCommand";
|
|
65
65
|
export * from "./PutConfigurationSetVdmOptionsCommand";
|
|
66
66
|
export * from "./PutDedicatedIpInPoolCommand";
|
|
67
|
+
export * from "./PutDedicatedIpPoolScalingAttributesCommand";
|
|
67
68
|
export * from "./PutDedicatedIpWarmupAttributesCommand";
|
|
68
69
|
export * from "./PutDeliverabilityDashboardOptionCommand";
|
|
69
70
|
export * from "./PutEmailIdentityConfigurationSetAttributesCommand";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, 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, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { AccountSuspendedException, AlreadyExistsException, BadRequestException, ConcurrentModificationException, ConflictException, InternalServiceErrorException, InvalidNextTokenException, LimitExceededException, MailFromDomainNotVerifiedException, MessageRejected, NotFoundException, SendingPausedException, TooManyRequestsException, } from "../models/models_0";
|
|
4
4
|
import { SESv2ServiceException as __BaseException } from "../models/SESv2ServiceException";
|
|
5
5
|
export const se_BatchGetMetricDataCommand = async (input, context) => {
|
|
@@ -1339,6 +1339,28 @@ export const se_PutDedicatedIpInPoolCommand = async (input, context) => {
|
|
|
1339
1339
|
body,
|
|
1340
1340
|
});
|
|
1341
1341
|
};
|
|
1342
|
+
export const se_PutDedicatedIpPoolScalingAttributesCommand = async (input, context) => {
|
|
1343
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1344
|
+
const headers = {
|
|
1345
|
+
"content-type": "application/json",
|
|
1346
|
+
};
|
|
1347
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1348
|
+
"/v2/email/dedicated-ip-pools/{PoolName}/scaling";
|
|
1349
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "PoolName", () => input.PoolName, "{PoolName}", false);
|
|
1350
|
+
let body;
|
|
1351
|
+
body = JSON.stringify(take(input, {
|
|
1352
|
+
ScalingMode: [],
|
|
1353
|
+
}));
|
|
1354
|
+
return new __HttpRequest({
|
|
1355
|
+
protocol,
|
|
1356
|
+
hostname,
|
|
1357
|
+
port,
|
|
1358
|
+
method: "PUT",
|
|
1359
|
+
headers,
|
|
1360
|
+
path: resolvedPath,
|
|
1361
|
+
body,
|
|
1362
|
+
});
|
|
1363
|
+
};
|
|
1342
1364
|
export const se_PutDedicatedIpWarmupAttributesCommand = async (input, context) => {
|
|
1343
1365
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1344
1366
|
const headers = {
|
|
@@ -4374,6 +4396,44 @@ const de_PutDedicatedIpInPoolCommandError = async (output, context) => {
|
|
|
4374
4396
|
});
|
|
4375
4397
|
}
|
|
4376
4398
|
};
|
|
4399
|
+
export const de_PutDedicatedIpPoolScalingAttributesCommand = async (output, context) => {
|
|
4400
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4401
|
+
return de_PutDedicatedIpPoolScalingAttributesCommandError(output, context);
|
|
4402
|
+
}
|
|
4403
|
+
const contents = map({
|
|
4404
|
+
$metadata: deserializeMetadata(output),
|
|
4405
|
+
});
|
|
4406
|
+
await collectBody(output.body, context);
|
|
4407
|
+
return contents;
|
|
4408
|
+
};
|
|
4409
|
+
const de_PutDedicatedIpPoolScalingAttributesCommandError = async (output, context) => {
|
|
4410
|
+
const parsedOutput = {
|
|
4411
|
+
...output,
|
|
4412
|
+
body: await parseErrorBody(output.body, context),
|
|
4413
|
+
};
|
|
4414
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4415
|
+
switch (errorCode) {
|
|
4416
|
+
case "BadRequestException":
|
|
4417
|
+
case "com.amazonaws.sesv2#BadRequestException":
|
|
4418
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4419
|
+
case "ConcurrentModificationException":
|
|
4420
|
+
case "com.amazonaws.sesv2#ConcurrentModificationException":
|
|
4421
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4422
|
+
case "NotFoundException":
|
|
4423
|
+
case "com.amazonaws.sesv2#NotFoundException":
|
|
4424
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
4425
|
+
case "TooManyRequestsException":
|
|
4426
|
+
case "com.amazonaws.sesv2#TooManyRequestsException":
|
|
4427
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4428
|
+
default:
|
|
4429
|
+
const parsedBody = parsedOutput.body;
|
|
4430
|
+
return throwDefaultError({
|
|
4431
|
+
output,
|
|
4432
|
+
parsedBody,
|
|
4433
|
+
errorCode,
|
|
4434
|
+
});
|
|
4435
|
+
}
|
|
4436
|
+
};
|
|
4377
4437
|
export const de_PutDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
4378
4438
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4379
4439
|
return de_PutDedicatedIpWarmupAttributesCommandError(output, context);
|
package/dist-types/SESv2.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ import { PutConfigurationSetSuppressionOptionsCommandInput, PutConfigurationSetS
|
|
|
65
65
|
import { PutConfigurationSetTrackingOptionsCommandInput, PutConfigurationSetTrackingOptionsCommandOutput } from "./commands/PutConfigurationSetTrackingOptionsCommand";
|
|
66
66
|
import { PutConfigurationSetVdmOptionsCommandInput, PutConfigurationSetVdmOptionsCommandOutput } from "./commands/PutConfigurationSetVdmOptionsCommand";
|
|
67
67
|
import { PutDedicatedIpInPoolCommandInput, PutDedicatedIpInPoolCommandOutput } from "./commands/PutDedicatedIpInPoolCommand";
|
|
68
|
+
import { PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput } from "./commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
68
69
|
import { PutDedicatedIpWarmupAttributesCommandInput, PutDedicatedIpWarmupAttributesCommandOutput } from "./commands/PutDedicatedIpWarmupAttributesCommand";
|
|
69
70
|
import { PutDeliverabilityDashboardOptionCommandInput, PutDeliverabilityDashboardOptionCommandOutput } from "./commands/PutDeliverabilityDashboardOptionCommand";
|
|
70
71
|
import { PutEmailIdentityConfigurationSetAttributesCommandInput, PutEmailIdentityConfigurationSetAttributesCommandOutput } from "./commands/PutEmailIdentityConfigurationSetAttributesCommand";
|
|
@@ -483,6 +484,12 @@ export interface SESv2 {
|
|
|
483
484
|
putDedicatedIpInPool(args: PutDedicatedIpInPoolCommandInput, options?: __HttpHandlerOptions): Promise<PutDedicatedIpInPoolCommandOutput>;
|
|
484
485
|
putDedicatedIpInPool(args: PutDedicatedIpInPoolCommandInput, cb: (err: any, data?: PutDedicatedIpInPoolCommandOutput) => void): void;
|
|
485
486
|
putDedicatedIpInPool(args: PutDedicatedIpInPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDedicatedIpInPoolCommandOutput) => void): void;
|
|
487
|
+
/**
|
|
488
|
+
* @see {@link PutDedicatedIpPoolScalingAttributesCommand}
|
|
489
|
+
*/
|
|
490
|
+
putDedicatedIpPoolScalingAttributes(args: PutDedicatedIpPoolScalingAttributesCommandInput, options?: __HttpHandlerOptions): Promise<PutDedicatedIpPoolScalingAttributesCommandOutput>;
|
|
491
|
+
putDedicatedIpPoolScalingAttributes(args: PutDedicatedIpPoolScalingAttributesCommandInput, cb: (err: any, data?: PutDedicatedIpPoolScalingAttributesCommandOutput) => void): void;
|
|
492
|
+
putDedicatedIpPoolScalingAttributes(args: PutDedicatedIpPoolScalingAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDedicatedIpPoolScalingAttributesCommandOutput) => void): void;
|
|
486
493
|
/**
|
|
487
494
|
* @see {@link PutDedicatedIpWarmupAttributesCommand}
|
|
488
495
|
*/
|
|
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
|
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials,
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
10
11
|
import { BatchGetMetricDataCommandInput, BatchGetMetricDataCommandOutput } from "./commands/BatchGetMetricDataCommand";
|
|
11
12
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
12
13
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
@@ -73,6 +74,7 @@ import { PutConfigurationSetSuppressionOptionsCommandInput, PutConfigurationSetS
|
|
|
73
74
|
import { PutConfigurationSetTrackingOptionsCommandInput, PutConfigurationSetTrackingOptionsCommandOutput } from "./commands/PutConfigurationSetTrackingOptionsCommand";
|
|
74
75
|
import { PutConfigurationSetVdmOptionsCommandInput, PutConfigurationSetVdmOptionsCommandOutput } from "./commands/PutConfigurationSetVdmOptionsCommand";
|
|
75
76
|
import { PutDedicatedIpInPoolCommandInput, PutDedicatedIpInPoolCommandOutput } from "./commands/PutDedicatedIpInPoolCommand";
|
|
77
|
+
import { PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput } from "./commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
76
78
|
import { PutDedicatedIpWarmupAttributesCommandInput, PutDedicatedIpWarmupAttributesCommandOutput } from "./commands/PutDedicatedIpWarmupAttributesCommand";
|
|
77
79
|
import { PutDeliverabilityDashboardOptionCommandInput, PutDeliverabilityDashboardOptionCommandOutput } from "./commands/PutDeliverabilityDashboardOptionCommand";
|
|
78
80
|
import { PutEmailIdentityConfigurationSetAttributesCommandInput, PutEmailIdentityConfigurationSetAttributesCommandOutput } from "./commands/PutEmailIdentityConfigurationSetAttributesCommand";
|
|
@@ -97,11 +99,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
97
99
|
/**
|
|
98
100
|
* @public
|
|
99
101
|
*/
|
|
100
|
-
export type ServiceInputTypes = BatchGetMetricDataCommandInput | CreateConfigurationSetCommandInput | CreateConfigurationSetEventDestinationCommandInput | CreateContactCommandInput | CreateContactListCommandInput | CreateCustomVerificationEmailTemplateCommandInput | CreateDedicatedIpPoolCommandInput | CreateDeliverabilityTestReportCommandInput | CreateEmailIdentityCommandInput | CreateEmailIdentityPolicyCommandInput | CreateEmailTemplateCommandInput | CreateImportJobCommandInput | DeleteConfigurationSetCommandInput | DeleteConfigurationSetEventDestinationCommandInput | DeleteContactCommandInput | DeleteContactListCommandInput | DeleteCustomVerificationEmailTemplateCommandInput | DeleteDedicatedIpPoolCommandInput | DeleteEmailIdentityCommandInput | DeleteEmailIdentityPolicyCommandInput | DeleteEmailTemplateCommandInput | DeleteSuppressedDestinationCommandInput | GetAccountCommandInput | GetBlacklistReportsCommandInput | GetConfigurationSetCommandInput | GetConfigurationSetEventDestinationsCommandInput | GetContactCommandInput | GetContactListCommandInput | GetCustomVerificationEmailTemplateCommandInput | GetDedicatedIpCommandInput | GetDedicatedIpPoolCommandInput | GetDedicatedIpsCommandInput | GetDeliverabilityDashboardOptionsCommandInput | GetDeliverabilityTestReportCommandInput | GetDomainDeliverabilityCampaignCommandInput | GetDomainStatisticsReportCommandInput | GetEmailIdentityCommandInput | GetEmailIdentityPoliciesCommandInput | GetEmailTemplateCommandInput | GetImportJobCommandInput | GetSuppressedDestinationCommandInput | ListConfigurationSetsCommandInput | ListContactListsCommandInput | ListContactsCommandInput | ListCustomVerificationEmailTemplatesCommandInput | ListDedicatedIpPoolsCommandInput | ListDeliverabilityTestReportsCommandInput | ListDomainDeliverabilityCampaignsCommandInput | ListEmailIdentitiesCommandInput | ListEmailTemplatesCommandInput | ListImportJobsCommandInput | ListRecommendationsCommandInput | ListSuppressedDestinationsCommandInput | ListTagsForResourceCommandInput | PutAccountDedicatedIpWarmupAttributesCommandInput | PutAccountDetailsCommandInput | PutAccountSendingAttributesCommandInput | PutAccountSuppressionAttributesCommandInput | PutAccountVdmAttributesCommandInput | PutConfigurationSetDeliveryOptionsCommandInput | PutConfigurationSetReputationOptionsCommandInput | PutConfigurationSetSendingOptionsCommandInput | PutConfigurationSetSuppressionOptionsCommandInput | PutConfigurationSetTrackingOptionsCommandInput | PutConfigurationSetVdmOptionsCommandInput | PutDedicatedIpInPoolCommandInput | PutDedicatedIpWarmupAttributesCommandInput | PutDeliverabilityDashboardOptionCommandInput | PutEmailIdentityConfigurationSetAttributesCommandInput | PutEmailIdentityDkimAttributesCommandInput | PutEmailIdentityDkimSigningAttributesCommandInput | PutEmailIdentityFeedbackAttributesCommandInput | PutEmailIdentityMailFromAttributesCommandInput | PutSuppressedDestinationCommandInput | SendBulkEmailCommandInput | SendCustomVerificationEmailCommandInput | SendEmailCommandInput | TagResourceCommandInput | TestRenderEmailTemplateCommandInput | UntagResourceCommandInput | UpdateConfigurationSetEventDestinationCommandInput | UpdateContactCommandInput | UpdateContactListCommandInput | UpdateCustomVerificationEmailTemplateCommandInput | UpdateEmailIdentityPolicyCommandInput | UpdateEmailTemplateCommandInput;
|
|
102
|
+
export type ServiceInputTypes = BatchGetMetricDataCommandInput | CreateConfigurationSetCommandInput | CreateConfigurationSetEventDestinationCommandInput | CreateContactCommandInput | CreateContactListCommandInput | CreateCustomVerificationEmailTemplateCommandInput | CreateDedicatedIpPoolCommandInput | CreateDeliverabilityTestReportCommandInput | CreateEmailIdentityCommandInput | CreateEmailIdentityPolicyCommandInput | CreateEmailTemplateCommandInput | CreateImportJobCommandInput | DeleteConfigurationSetCommandInput | DeleteConfigurationSetEventDestinationCommandInput | DeleteContactCommandInput | DeleteContactListCommandInput | DeleteCustomVerificationEmailTemplateCommandInput | DeleteDedicatedIpPoolCommandInput | DeleteEmailIdentityCommandInput | DeleteEmailIdentityPolicyCommandInput | DeleteEmailTemplateCommandInput | DeleteSuppressedDestinationCommandInput | GetAccountCommandInput | GetBlacklistReportsCommandInput | GetConfigurationSetCommandInput | GetConfigurationSetEventDestinationsCommandInput | GetContactCommandInput | GetContactListCommandInput | GetCustomVerificationEmailTemplateCommandInput | GetDedicatedIpCommandInput | GetDedicatedIpPoolCommandInput | GetDedicatedIpsCommandInput | GetDeliverabilityDashboardOptionsCommandInput | GetDeliverabilityTestReportCommandInput | GetDomainDeliverabilityCampaignCommandInput | GetDomainStatisticsReportCommandInput | GetEmailIdentityCommandInput | GetEmailIdentityPoliciesCommandInput | GetEmailTemplateCommandInput | GetImportJobCommandInput | GetSuppressedDestinationCommandInput | ListConfigurationSetsCommandInput | ListContactListsCommandInput | ListContactsCommandInput | ListCustomVerificationEmailTemplatesCommandInput | ListDedicatedIpPoolsCommandInput | ListDeliverabilityTestReportsCommandInput | ListDomainDeliverabilityCampaignsCommandInput | ListEmailIdentitiesCommandInput | ListEmailTemplatesCommandInput | ListImportJobsCommandInput | ListRecommendationsCommandInput | ListSuppressedDestinationsCommandInput | ListTagsForResourceCommandInput | PutAccountDedicatedIpWarmupAttributesCommandInput | PutAccountDetailsCommandInput | PutAccountSendingAttributesCommandInput | PutAccountSuppressionAttributesCommandInput | PutAccountVdmAttributesCommandInput | PutConfigurationSetDeliveryOptionsCommandInput | PutConfigurationSetReputationOptionsCommandInput | PutConfigurationSetSendingOptionsCommandInput | PutConfigurationSetSuppressionOptionsCommandInput | PutConfigurationSetTrackingOptionsCommandInput | PutConfigurationSetVdmOptionsCommandInput | PutDedicatedIpInPoolCommandInput | PutDedicatedIpPoolScalingAttributesCommandInput | PutDedicatedIpWarmupAttributesCommandInput | PutDeliverabilityDashboardOptionCommandInput | PutEmailIdentityConfigurationSetAttributesCommandInput | PutEmailIdentityDkimAttributesCommandInput | PutEmailIdentityDkimSigningAttributesCommandInput | PutEmailIdentityFeedbackAttributesCommandInput | PutEmailIdentityMailFromAttributesCommandInput | PutSuppressedDestinationCommandInput | SendBulkEmailCommandInput | SendCustomVerificationEmailCommandInput | SendEmailCommandInput | TagResourceCommandInput | TestRenderEmailTemplateCommandInput | UntagResourceCommandInput | UpdateConfigurationSetEventDestinationCommandInput | UpdateContactCommandInput | UpdateContactListCommandInput | UpdateCustomVerificationEmailTemplateCommandInput | UpdateEmailIdentityPolicyCommandInput | UpdateEmailTemplateCommandInput;
|
|
101
103
|
/**
|
|
102
104
|
* @public
|
|
103
105
|
*/
|
|
104
|
-
export type ServiceOutputTypes = BatchGetMetricDataCommandOutput | CreateConfigurationSetCommandOutput | CreateConfigurationSetEventDestinationCommandOutput | CreateContactCommandOutput | CreateContactListCommandOutput | CreateCustomVerificationEmailTemplateCommandOutput | CreateDedicatedIpPoolCommandOutput | CreateDeliverabilityTestReportCommandOutput | CreateEmailIdentityCommandOutput | CreateEmailIdentityPolicyCommandOutput | CreateEmailTemplateCommandOutput | CreateImportJobCommandOutput | DeleteConfigurationSetCommandOutput | DeleteConfigurationSetEventDestinationCommandOutput | DeleteContactCommandOutput | DeleteContactListCommandOutput | DeleteCustomVerificationEmailTemplateCommandOutput | DeleteDedicatedIpPoolCommandOutput | DeleteEmailIdentityCommandOutput | DeleteEmailIdentityPolicyCommandOutput | DeleteEmailTemplateCommandOutput | DeleteSuppressedDestinationCommandOutput | GetAccountCommandOutput | GetBlacklistReportsCommandOutput | GetConfigurationSetCommandOutput | GetConfigurationSetEventDestinationsCommandOutput | GetContactCommandOutput | GetContactListCommandOutput | GetCustomVerificationEmailTemplateCommandOutput | GetDedicatedIpCommandOutput | GetDedicatedIpPoolCommandOutput | GetDedicatedIpsCommandOutput | GetDeliverabilityDashboardOptionsCommandOutput | GetDeliverabilityTestReportCommandOutput | GetDomainDeliverabilityCampaignCommandOutput | GetDomainStatisticsReportCommandOutput | GetEmailIdentityCommandOutput | GetEmailIdentityPoliciesCommandOutput | GetEmailTemplateCommandOutput | GetImportJobCommandOutput | GetSuppressedDestinationCommandOutput | ListConfigurationSetsCommandOutput | ListContactListsCommandOutput | ListContactsCommandOutput | ListCustomVerificationEmailTemplatesCommandOutput | ListDedicatedIpPoolsCommandOutput | ListDeliverabilityTestReportsCommandOutput | ListDomainDeliverabilityCampaignsCommandOutput | ListEmailIdentitiesCommandOutput | ListEmailTemplatesCommandOutput | ListImportJobsCommandOutput | ListRecommendationsCommandOutput | ListSuppressedDestinationsCommandOutput | ListTagsForResourceCommandOutput | PutAccountDedicatedIpWarmupAttributesCommandOutput | PutAccountDetailsCommandOutput | PutAccountSendingAttributesCommandOutput | PutAccountSuppressionAttributesCommandOutput | PutAccountVdmAttributesCommandOutput | PutConfigurationSetDeliveryOptionsCommandOutput | PutConfigurationSetReputationOptionsCommandOutput | PutConfigurationSetSendingOptionsCommandOutput | PutConfigurationSetSuppressionOptionsCommandOutput | PutConfigurationSetTrackingOptionsCommandOutput | PutConfigurationSetVdmOptionsCommandOutput | PutDedicatedIpInPoolCommandOutput | PutDedicatedIpWarmupAttributesCommandOutput | PutDeliverabilityDashboardOptionCommandOutput | PutEmailIdentityConfigurationSetAttributesCommandOutput | PutEmailIdentityDkimAttributesCommandOutput | PutEmailIdentityDkimSigningAttributesCommandOutput | PutEmailIdentityFeedbackAttributesCommandOutput | PutEmailIdentityMailFromAttributesCommandOutput | PutSuppressedDestinationCommandOutput | SendBulkEmailCommandOutput | SendCustomVerificationEmailCommandOutput | SendEmailCommandOutput | TagResourceCommandOutput | TestRenderEmailTemplateCommandOutput | UntagResourceCommandOutput | UpdateConfigurationSetEventDestinationCommandOutput | UpdateContactCommandOutput | UpdateContactListCommandOutput | UpdateCustomVerificationEmailTemplateCommandOutput | UpdateEmailIdentityPolicyCommandOutput | UpdateEmailTemplateCommandOutput;
|
|
106
|
+
export type ServiceOutputTypes = BatchGetMetricDataCommandOutput | CreateConfigurationSetCommandOutput | CreateConfigurationSetEventDestinationCommandOutput | CreateContactCommandOutput | CreateContactListCommandOutput | CreateCustomVerificationEmailTemplateCommandOutput | CreateDedicatedIpPoolCommandOutput | CreateDeliverabilityTestReportCommandOutput | CreateEmailIdentityCommandOutput | CreateEmailIdentityPolicyCommandOutput | CreateEmailTemplateCommandOutput | CreateImportJobCommandOutput | DeleteConfigurationSetCommandOutput | DeleteConfigurationSetEventDestinationCommandOutput | DeleteContactCommandOutput | DeleteContactListCommandOutput | DeleteCustomVerificationEmailTemplateCommandOutput | DeleteDedicatedIpPoolCommandOutput | DeleteEmailIdentityCommandOutput | DeleteEmailIdentityPolicyCommandOutput | DeleteEmailTemplateCommandOutput | DeleteSuppressedDestinationCommandOutput | GetAccountCommandOutput | GetBlacklistReportsCommandOutput | GetConfigurationSetCommandOutput | GetConfigurationSetEventDestinationsCommandOutput | GetContactCommandOutput | GetContactListCommandOutput | GetCustomVerificationEmailTemplateCommandOutput | GetDedicatedIpCommandOutput | GetDedicatedIpPoolCommandOutput | GetDedicatedIpsCommandOutput | GetDeliverabilityDashboardOptionsCommandOutput | GetDeliverabilityTestReportCommandOutput | GetDomainDeliverabilityCampaignCommandOutput | GetDomainStatisticsReportCommandOutput | GetEmailIdentityCommandOutput | GetEmailIdentityPoliciesCommandOutput | GetEmailTemplateCommandOutput | GetImportJobCommandOutput | GetSuppressedDestinationCommandOutput | ListConfigurationSetsCommandOutput | ListContactListsCommandOutput | ListContactsCommandOutput | ListCustomVerificationEmailTemplatesCommandOutput | ListDedicatedIpPoolsCommandOutput | ListDeliverabilityTestReportsCommandOutput | ListDomainDeliverabilityCampaignsCommandOutput | ListEmailIdentitiesCommandOutput | ListEmailTemplatesCommandOutput | ListImportJobsCommandOutput | ListRecommendationsCommandOutput | ListSuppressedDestinationsCommandOutput | ListTagsForResourceCommandOutput | PutAccountDedicatedIpWarmupAttributesCommandOutput | PutAccountDetailsCommandOutput | PutAccountSendingAttributesCommandOutput | PutAccountSuppressionAttributesCommandOutput | PutAccountVdmAttributesCommandOutput | PutConfigurationSetDeliveryOptionsCommandOutput | PutConfigurationSetReputationOptionsCommandOutput | PutConfigurationSetSendingOptionsCommandOutput | PutConfigurationSetSuppressionOptionsCommandOutput | PutConfigurationSetTrackingOptionsCommandOutput | PutConfigurationSetVdmOptionsCommandOutput | PutDedicatedIpInPoolCommandOutput | PutDedicatedIpPoolScalingAttributesCommandOutput | PutDedicatedIpWarmupAttributesCommandOutput | PutDeliverabilityDashboardOptionCommandOutput | PutEmailIdentityConfigurationSetAttributesCommandOutput | PutEmailIdentityDkimAttributesCommandOutput | PutEmailIdentityDkimSigningAttributesCommandOutput | PutEmailIdentityFeedbackAttributesCommandOutput | PutEmailIdentityMailFromAttributesCommandOutput | PutSuppressedDestinationCommandOutput | SendBulkEmailCommandOutput | SendCustomVerificationEmailCommandOutput | SendEmailCommandOutput | TagResourceCommandOutput | TestRenderEmailTemplateCommandOutput | UntagResourceCommandOutput | UpdateConfigurationSetEventDestinationCommandOutput | UpdateContactCommandOutput | UpdateContactListCommandOutput | UpdateCustomVerificationEmailTemplateCommandOutput | UpdateEmailIdentityPolicyCommandOutput | UpdateEmailTemplateCommandOutput;
|
|
105
107
|
/**
|
|
106
108
|
* @public
|
|
107
109
|
*/
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutDedicatedIpPoolScalingAttributesRequest, PutDedicatedIpPoolScalingAttributesResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link PutDedicatedIpPoolScalingAttributesCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface PutDedicatedIpPoolScalingAttributesCommandInput extends PutDedicatedIpPoolScalingAttributesRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link PutDedicatedIpPoolScalingAttributesCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface PutDedicatedIpPoolScalingAttributesCommandOutput extends PutDedicatedIpPoolScalingAttributesResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Used to convert a dedicated IP pool to a different scaling mode.</p>
|
|
23
|
+
* <note>
|
|
24
|
+
* <p>
|
|
25
|
+
* <code>MANAGED</code> pools cannot be converted to <code>STANDARD</code> scaling mode.</p>
|
|
26
|
+
* </note>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SESv2Client, PutDedicatedIpPoolScalingAttributesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
|
|
31
|
+
* // const { SESv2Client, PutDedicatedIpPoolScalingAttributesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
|
|
32
|
+
* const client = new SESv2Client(config);
|
|
33
|
+
* const input = { // PutDedicatedIpPoolScalingAttributesRequest
|
|
34
|
+
* PoolName: "STRING_VALUE", // required
|
|
35
|
+
* ScalingMode: "STANDARD" || "MANAGED", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new PutDedicatedIpPoolScalingAttributesCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param PutDedicatedIpPoolScalingAttributesCommandInput - {@link PutDedicatedIpPoolScalingAttributesCommandInput}
|
|
44
|
+
* @returns {@link PutDedicatedIpPoolScalingAttributesCommandOutput}
|
|
45
|
+
* @see {@link PutDedicatedIpPoolScalingAttributesCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link PutDedicatedIpPoolScalingAttributesCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link BadRequestException} (client fault)
|
|
50
|
+
* <p>The input you provided is invalid.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ConcurrentModificationException} (server fault)
|
|
53
|
+
* <p>The resource is being modified by another operation or thread.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link NotFoundException} (client fault)
|
|
56
|
+
* <p>The resource you attempted to access doesn't exist.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
59
|
+
* <p>Too many requests have been made to the operation.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link SESv2ServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from SESv2 service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class PutDedicatedIpPoolScalingAttributesCommand extends $Command<PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput, SESv2ClientResolvedConfig> {
|
|
66
|
+
readonly input: PutDedicatedIpPoolScalingAttributesCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: PutDedicatedIpPoolScalingAttributesCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -64,6 +64,7 @@ export * from "./PutConfigurationSetSuppressionOptionsCommand";
|
|
|
64
64
|
export * from "./PutConfigurationSetTrackingOptionsCommand";
|
|
65
65
|
export * from "./PutConfigurationSetVdmOptionsCommand";
|
|
66
66
|
export * from "./PutDedicatedIpInPoolCommand";
|
|
67
|
+
export * from "./PutDedicatedIpPoolScalingAttributesCommand";
|
|
67
68
|
export * from "./PutDedicatedIpWarmupAttributesCommand";
|
|
68
69
|
export * from "./PutDeliverabilityDashboardOptionCommand";
|
|
69
70
|
export * from "./PutEmailIdentityConfigurationSetAttributesCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -2332,11 +2332,13 @@ export interface DedicatedIpPool {
|
|
|
2332
2332
|
* <ul>
|
|
2333
2333
|
* <li>
|
|
2334
2334
|
* <p>
|
|
2335
|
-
* <code>STANDARD</code> – A dedicated IP pool where
|
|
2335
|
+
* <code>STANDARD</code> – A dedicated IP pool where you can
|
|
2336
|
+
* control which IPs are part of the pool.</p>
|
|
2336
2337
|
* </li>
|
|
2337
2338
|
* <li>
|
|
2338
2339
|
* <p>
|
|
2339
|
-
* <code>MANAGED</code> – A dedicated IP pool where the reputation and
|
|
2340
|
+
* <code>MANAGED</code> – A dedicated IP pool where the reputation and
|
|
2341
|
+
* number of IPs are automatically managed by Amazon SES.</p>
|
|
2340
2342
|
* </li>
|
|
2341
2343
|
* </ul>
|
|
2342
2344
|
*/
|
|
@@ -3125,7 +3127,7 @@ export interface GetContactRequest {
|
|
|
3125
3127
|
*/
|
|
3126
3128
|
ContactListName: string | undefined;
|
|
3127
3129
|
/**
|
|
3128
|
-
* <p>The contact's email
|
|
3130
|
+
* <p>The contact's email address.</p>
|
|
3129
3131
|
*/
|
|
3130
3132
|
EmailAddress: string | undefined;
|
|
3131
3133
|
}
|
|
@@ -3138,7 +3140,7 @@ export interface GetContactResponse {
|
|
|
3138
3140
|
*/
|
|
3139
3141
|
ContactListName?: string;
|
|
3140
3142
|
/**
|
|
3141
|
-
* <p>The contact's email
|
|
3143
|
+
* <p>The contact's email address.</p>
|
|
3142
3144
|
*/
|
|
3143
3145
|
EmailAddress?: string;
|
|
3144
3146
|
/**
|
|
@@ -4995,6 +4997,30 @@ export interface PutDedicatedIpInPoolRequest {
|
|
|
4995
4997
|
*/
|
|
4996
4998
|
export interface PutDedicatedIpInPoolResponse {
|
|
4997
4999
|
}
|
|
5000
|
+
/**
|
|
5001
|
+
* @public
|
|
5002
|
+
* <p>A request to convert a dedicated IP pool to a different scaling mode.</p>
|
|
5003
|
+
*/
|
|
5004
|
+
export interface PutDedicatedIpPoolScalingAttributesRequest {
|
|
5005
|
+
/**
|
|
5006
|
+
* <p>The name of the dedicated IP pool.</p>
|
|
5007
|
+
*/
|
|
5008
|
+
PoolName: string | undefined;
|
|
5009
|
+
/**
|
|
5010
|
+
* <p>The scaling mode to apply to the dedicated IP pool.</p>
|
|
5011
|
+
* <note>
|
|
5012
|
+
* <p>Changing the scaling mode from <code>MANAGED</code> to <code>STANDARD</code> is not supported.</p>
|
|
5013
|
+
* </note>
|
|
5014
|
+
*/
|
|
5015
|
+
ScalingMode: ScalingMode | string | undefined;
|
|
5016
|
+
}
|
|
5017
|
+
/**
|
|
5018
|
+
* @public
|
|
5019
|
+
* <p>An HTTP 200 response if the request succeeds, or an error message if the request
|
|
5020
|
+
* fails.</p>
|
|
5021
|
+
*/
|
|
5022
|
+
export interface PutDedicatedIpPoolScalingAttributesResponse {
|
|
5023
|
+
}
|
|
4998
5024
|
/**
|
|
4999
5025
|
* @public
|
|
5000
5026
|
* <p>A request to change the warm-up attributes for a dedicated IP address. This operation
|
|
@@ -5603,7 +5629,7 @@ export interface UpdateContactRequest {
|
|
|
5603
5629
|
*/
|
|
5604
5630
|
ContactListName: string | undefined;
|
|
5605
5631
|
/**
|
|
5606
|
-
* <p>The contact's email
|
|
5632
|
+
* <p>The contact's email address.</p>
|
|
5607
5633
|
*/
|
|
5608
5634
|
EmailAddress: string | undefined;
|
|
5609
5635
|
/**
|