@aws-sdk/client-sesv2 3.335.0 → 3.337.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 +65 -3
- 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 +60 -0
- package/dist-types/SESv2.d.ts +7 -0
- package/dist-types/SESv2Client.d.ts +3 -2
- package/dist-types/commands/PutDedicatedIpPoolScalingAttributesCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +31 -5
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/SESv2.d.ts +23 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +6 -0
- 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/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +28 -28
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,9 +1,9 @@
|
|
|
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;
|
|
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;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
@@ -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";
|
|
@@ -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
|
*/
|
|
@@ -74,6 +74,7 @@ import { PutConfigurationSetSuppressionOptionsCommandInput, PutConfigurationSetS
|
|
|
74
74
|
import { PutConfigurationSetTrackingOptionsCommandInput, PutConfigurationSetTrackingOptionsCommandOutput } from "./commands/PutConfigurationSetTrackingOptionsCommand";
|
|
75
75
|
import { PutConfigurationSetVdmOptionsCommandInput, PutConfigurationSetVdmOptionsCommandOutput } from "./commands/PutConfigurationSetVdmOptionsCommand";
|
|
76
76
|
import { PutDedicatedIpInPoolCommandInput, PutDedicatedIpInPoolCommandOutput } from "./commands/PutDedicatedIpInPoolCommand";
|
|
77
|
+
import { PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput } from "./commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
77
78
|
import { PutDedicatedIpWarmupAttributesCommandInput, PutDedicatedIpWarmupAttributesCommandOutput } from "./commands/PutDedicatedIpWarmupAttributesCommand";
|
|
78
79
|
import { PutDeliverabilityDashboardOptionCommandInput, PutDeliverabilityDashboardOptionCommandOutput } from "./commands/PutDeliverabilityDashboardOptionCommand";
|
|
79
80
|
import { PutEmailIdentityConfigurationSetAttributesCommandInput, PutEmailIdentityConfigurationSetAttributesCommandOutput } from "./commands/PutEmailIdentityConfigurationSetAttributesCommand";
|
|
@@ -98,11 +99,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
98
99
|
/**
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
|
-
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;
|
|
102
103
|
/**
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
|
-
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;
|
|
106
107
|
/**
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
@@ -0,0 +1,96 @@
|
|
|
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
|
+
* @example Used to convert a dedicated IP pool to a different scaling mode.
|
|
65
|
+
* ```javascript
|
|
66
|
+
* // This example converts a dedicated IP pool from STANDARD to MANAGED.
|
|
67
|
+
* const input = {
|
|
68
|
+
* "PoolName": "sample-ses-pool",
|
|
69
|
+
* "ScalingMode": "MANAGED"
|
|
70
|
+
* };
|
|
71
|
+
* const command = new PutDedicatedIpPoolScalingAttributesCommand(input);
|
|
72
|
+
* await client.send(command);
|
|
73
|
+
* // example id: put-dedicated-ip-pool-scaling-attributes-example-1683639172
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class PutDedicatedIpPoolScalingAttributesCommand extends $Command<PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput, SESv2ClientResolvedConfig> {
|
|
78
|
+
readonly input: PutDedicatedIpPoolScalingAttributesCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: PutDedicatedIpPoolScalingAttributesCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -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";
|
|
@@ -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
|
/**
|
|
@@ -66,6 +66,7 @@ import { PutConfigurationSetSuppressionOptionsCommandInput, PutConfigurationSetS
|
|
|
66
66
|
import { PutConfigurationSetTrackingOptionsCommandInput, PutConfigurationSetTrackingOptionsCommandOutput } from "../commands/PutConfigurationSetTrackingOptionsCommand";
|
|
67
67
|
import { PutConfigurationSetVdmOptionsCommandInput, PutConfigurationSetVdmOptionsCommandOutput } from "../commands/PutConfigurationSetVdmOptionsCommand";
|
|
68
68
|
import { PutDedicatedIpInPoolCommandInput, PutDedicatedIpInPoolCommandOutput } from "../commands/PutDedicatedIpInPoolCommand";
|
|
69
|
+
import { PutDedicatedIpPoolScalingAttributesCommandInput, PutDedicatedIpPoolScalingAttributesCommandOutput } from "../commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
69
70
|
import { PutDedicatedIpWarmupAttributesCommandInput, PutDedicatedIpWarmupAttributesCommandOutput } from "../commands/PutDedicatedIpWarmupAttributesCommand";
|
|
70
71
|
import { PutDeliverabilityDashboardOptionCommandInput, PutDeliverabilityDashboardOptionCommandOutput } from "../commands/PutDeliverabilityDashboardOptionCommand";
|
|
71
72
|
import { PutEmailIdentityConfigurationSetAttributesCommandInput, PutEmailIdentityConfigurationSetAttributesCommandOutput } from "../commands/PutEmailIdentityConfigurationSetAttributesCommand";
|
|
@@ -350,6 +351,10 @@ export declare const se_PutConfigurationSetVdmOptionsCommand: (input: PutConfigu
|
|
|
350
351
|
* serializeAws_restJson1PutDedicatedIpInPoolCommand
|
|
351
352
|
*/
|
|
352
353
|
export declare const se_PutDedicatedIpInPoolCommand: (input: PutDedicatedIpInPoolCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
354
|
+
/**
|
|
355
|
+
* serializeAws_restJson1PutDedicatedIpPoolScalingAttributesCommand
|
|
356
|
+
*/
|
|
357
|
+
export declare const se_PutDedicatedIpPoolScalingAttributesCommand: (input: PutDedicatedIpPoolScalingAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
353
358
|
/**
|
|
354
359
|
* serializeAws_restJson1PutDedicatedIpWarmupAttributesCommand
|
|
355
360
|
*/
|
|
@@ -694,6 +699,10 @@ export declare const de_PutConfigurationSetVdmOptionsCommand: (output: __HttpRes
|
|
|
694
699
|
* deserializeAws_restJson1PutDedicatedIpInPoolCommand
|
|
695
700
|
*/
|
|
696
701
|
export declare const de_PutDedicatedIpInPoolCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutDedicatedIpInPoolCommandOutput>;
|
|
702
|
+
/**
|
|
703
|
+
* deserializeAws_restJson1PutDedicatedIpPoolScalingAttributesCommand
|
|
704
|
+
*/
|
|
705
|
+
export declare const de_PutDedicatedIpPoolScalingAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutDedicatedIpPoolScalingAttributesCommandOutput>;
|
|
697
706
|
/**
|
|
698
707
|
* deserializeAws_restJson1PutDedicatedIpWarmupAttributesCommand
|
|
699
708
|
*/
|
|
@@ -263,6 +263,10 @@ import {
|
|
|
263
263
|
PutDedicatedIpInPoolCommandInput,
|
|
264
264
|
PutDedicatedIpInPoolCommandOutput,
|
|
265
265
|
} from "./commands/PutDedicatedIpInPoolCommand";
|
|
266
|
+
import {
|
|
267
|
+
PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
268
|
+
PutDedicatedIpPoolScalingAttributesCommandOutput,
|
|
269
|
+
} from "./commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
266
270
|
import {
|
|
267
271
|
PutDedicatedIpWarmupAttributesCommandInput,
|
|
268
272
|
PutDedicatedIpWarmupAttributesCommandOutput,
|
|
@@ -1293,6 +1297,25 @@ export interface SESv2 {
|
|
|
1293
1297
|
options: __HttpHandlerOptions,
|
|
1294
1298
|
cb: (err: any, data?: PutDedicatedIpInPoolCommandOutput) => void
|
|
1295
1299
|
): void;
|
|
1300
|
+
putDedicatedIpPoolScalingAttributes(
|
|
1301
|
+
args: PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
1302
|
+
options?: __HttpHandlerOptions
|
|
1303
|
+
): Promise<PutDedicatedIpPoolScalingAttributesCommandOutput>;
|
|
1304
|
+
putDedicatedIpPoolScalingAttributes(
|
|
1305
|
+
args: PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
1306
|
+
cb: (
|
|
1307
|
+
err: any,
|
|
1308
|
+
data?: PutDedicatedIpPoolScalingAttributesCommandOutput
|
|
1309
|
+
) => void
|
|
1310
|
+
): void;
|
|
1311
|
+
putDedicatedIpPoolScalingAttributes(
|
|
1312
|
+
args: PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
1313
|
+
options: __HttpHandlerOptions,
|
|
1314
|
+
cb: (
|
|
1315
|
+
err: any,
|
|
1316
|
+
data?: PutDedicatedIpPoolScalingAttributesCommandOutput
|
|
1317
|
+
) => void
|
|
1318
|
+
): void;
|
|
1296
1319
|
putDedicatedIpWarmupAttributes(
|
|
1297
1320
|
args: PutDedicatedIpWarmupAttributesCommandInput,
|
|
1298
1321
|
options?: __HttpHandlerOptions
|
|
@@ -310,6 +310,10 @@ import {
|
|
|
310
310
|
PutDedicatedIpInPoolCommandInput,
|
|
311
311
|
PutDedicatedIpInPoolCommandOutput,
|
|
312
312
|
} from "./commands/PutDedicatedIpInPoolCommand";
|
|
313
|
+
import {
|
|
314
|
+
PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
315
|
+
PutDedicatedIpPoolScalingAttributesCommandOutput,
|
|
316
|
+
} from "./commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
313
317
|
import {
|
|
314
318
|
PutDedicatedIpWarmupAttributesCommandInput,
|
|
315
319
|
PutDedicatedIpWarmupAttributesCommandOutput,
|
|
@@ -462,6 +466,7 @@ export type ServiceInputTypes =
|
|
|
462
466
|
| PutConfigurationSetTrackingOptionsCommandInput
|
|
463
467
|
| PutConfigurationSetVdmOptionsCommandInput
|
|
464
468
|
| PutDedicatedIpInPoolCommandInput
|
|
469
|
+
| PutDedicatedIpPoolScalingAttributesCommandInput
|
|
465
470
|
| PutDedicatedIpWarmupAttributesCommandInput
|
|
466
471
|
| PutDeliverabilityDashboardOptionCommandInput
|
|
467
472
|
| PutEmailIdentityConfigurationSetAttributesCommandInput
|
|
@@ -549,6 +554,7 @@ export type ServiceOutputTypes =
|
|
|
549
554
|
| PutConfigurationSetTrackingOptionsCommandOutput
|
|
550
555
|
| PutConfigurationSetVdmOptionsCommandOutput
|
|
551
556
|
| PutDedicatedIpInPoolCommandOutput
|
|
557
|
+
| PutDedicatedIpPoolScalingAttributesCommandOutput
|
|
552
558
|
| PutDedicatedIpWarmupAttributesCommandOutput
|
|
553
559
|
| PutDeliverabilityDashboardOptionCommandOutput
|
|
554
560
|
| PutEmailIdentityConfigurationSetAttributesCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
PutDedicatedIpPoolScalingAttributesRequest,
|
|
11
|
+
PutDedicatedIpPoolScalingAttributesResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
SESv2ClientResolvedConfig,
|
|
17
|
+
} from "../SESv2Client";
|
|
18
|
+
export interface PutDedicatedIpPoolScalingAttributesCommandInput
|
|
19
|
+
extends PutDedicatedIpPoolScalingAttributesRequest {}
|
|
20
|
+
export interface PutDedicatedIpPoolScalingAttributesCommandOutput
|
|
21
|
+
extends PutDedicatedIpPoolScalingAttributesResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class PutDedicatedIpPoolScalingAttributesCommand extends $Command<
|
|
24
|
+
PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
25
|
+
PutDedicatedIpPoolScalingAttributesCommandOutput,
|
|
26
|
+
SESv2ClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: PutDedicatedIpPoolScalingAttributesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: PutDedicatedIpPoolScalingAttributesCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: SESv2ClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
37
|
+
PutDedicatedIpPoolScalingAttributesCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
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";
|
|
@@ -1187,6 +1187,11 @@ export interface PutDedicatedIpInPoolRequest {
|
|
|
1187
1187
|
DestinationPoolName: string | undefined;
|
|
1188
1188
|
}
|
|
1189
1189
|
export interface PutDedicatedIpInPoolResponse {}
|
|
1190
|
+
export interface PutDedicatedIpPoolScalingAttributesRequest {
|
|
1191
|
+
PoolName: string | undefined;
|
|
1192
|
+
ScalingMode: ScalingMode | string | undefined;
|
|
1193
|
+
}
|
|
1194
|
+
export interface PutDedicatedIpPoolScalingAttributesResponse {}
|
|
1190
1195
|
export interface PutDedicatedIpWarmupAttributesRequest {
|
|
1191
1196
|
Ip: string | undefined;
|
|
1192
1197
|
WarmupPercentage: number | undefined;
|
|
@@ -267,6 +267,10 @@ import {
|
|
|
267
267
|
PutDedicatedIpInPoolCommandInput,
|
|
268
268
|
PutDedicatedIpInPoolCommandOutput,
|
|
269
269
|
} from "../commands/PutDedicatedIpInPoolCommand";
|
|
270
|
+
import {
|
|
271
|
+
PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
272
|
+
PutDedicatedIpPoolScalingAttributesCommandOutput,
|
|
273
|
+
} from "../commands/PutDedicatedIpPoolScalingAttributesCommand";
|
|
270
274
|
import {
|
|
271
275
|
PutDedicatedIpWarmupAttributesCommandInput,
|
|
272
276
|
PutDedicatedIpWarmupAttributesCommandOutput,
|
|
@@ -611,6 +615,10 @@ export declare const se_PutDedicatedIpInPoolCommand: (
|
|
|
611
615
|
input: PutDedicatedIpInPoolCommandInput,
|
|
612
616
|
context: __SerdeContext
|
|
613
617
|
) => Promise<__HttpRequest>;
|
|
618
|
+
export declare const se_PutDedicatedIpPoolScalingAttributesCommand: (
|
|
619
|
+
input: PutDedicatedIpPoolScalingAttributesCommandInput,
|
|
620
|
+
context: __SerdeContext
|
|
621
|
+
) => Promise<__HttpRequest>;
|
|
614
622
|
export declare const se_PutDedicatedIpWarmupAttributesCommand: (
|
|
615
623
|
input: PutDedicatedIpWarmupAttributesCommandInput,
|
|
616
624
|
context: __SerdeContext
|
|
@@ -955,6 +963,10 @@ export declare const de_PutDedicatedIpInPoolCommand: (
|
|
|
955
963
|
output: __HttpResponse,
|
|
956
964
|
context: __SerdeContext
|
|
957
965
|
) => Promise<PutDedicatedIpInPoolCommandOutput>;
|
|
966
|
+
export declare const de_PutDedicatedIpPoolScalingAttributesCommand: (
|
|
967
|
+
output: __HttpResponse,
|
|
968
|
+
context: __SerdeContext
|
|
969
|
+
) => Promise<PutDedicatedIpPoolScalingAttributesCommandOutput>;
|
|
958
970
|
export declare const de_PutDedicatedIpWarmupAttributesCommand: (
|
|
959
971
|
output: __HttpResponse,
|
|
960
972
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sesv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.337.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.337.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.337.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.337.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.337.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.337.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.337.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.337.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.337.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.337.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.337.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.337.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.337.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.337.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.337.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.337.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.337.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.337.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.337.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.337.0",
|
|
43
|
+
"@aws-sdk/types": "3.337.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.337.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.337.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.337.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.337.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.337.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.337.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.337.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|