@aws-sdk/client-sesv2 3.199.0 → 3.200.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +7 -7
- package/dist-cjs/SESv2.js +60 -0
- package/dist-cjs/commands/BatchGetMetricDataCommand.js +46 -0
- package/dist-cjs/commands/ListRecommendationsCommand.js +46 -0
- package/dist-cjs/commands/PutAccountVdmAttributesCommand.js +46 -0
- package/dist-cjs/commands/PutConfigurationSetVdmOptionsCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +173 -32
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +478 -4
- package/dist-es/SESv2.js +60 -0
- package/dist-es/commands/BatchGetMetricDataCommand.js +42 -0
- package/dist-es/commands/ListRecommendationsCommand.js +42 -0
- package/dist-es/commands/PutAccountVdmAttributesCommand.js +42 -0
- package/dist-es/commands/PutConfigurationSetVdmOptionsCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +146 -24
- package/dist-es/pagination/ListRecommendationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +467 -1
- package/dist-types/SESv2.d.ts +33 -0
- package/dist-types/SESv2Client.d.ts +6 -2
- package/dist-types/commands/BatchGetMetricDataCommand.d.ts +39 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +38 -0
- package/dist-types/commands/PutAccountVdmAttributesCommand.d.ts +38 -0
- package/dist-types/commands/PutConfigurationSetVdmOptionsCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +552 -22
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/SESv2.d.ts +68 -0
- package/dist-types/ts3.4/SESv2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/BatchGetMetricDataCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutAccountVdmAttributesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutConfigurationSetVdmOptionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +194 -12
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +28 -28
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-sesv2:** This release includes support for interacting with the Virtual Deliverability Manager, allowing you to opt in/out of the feature and to retrieve recommendations and metric data. ([72ea473](https://github.com/aws/aws-sdk-js-v3/commit/72ea473836f7af93d5fff0e8e65d2ed6f244b84a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-sesv2
|
package/README.md
CHANGED
|
@@ -33,16 +33,16 @@ using your favorite package manager:
|
|
|
33
33
|
|
|
34
34
|
The AWS SDK is modulized by clients and commands.
|
|
35
35
|
To send a request, you only need to import the `SESv2Client` and
|
|
36
|
-
the commands you need, for example `
|
|
36
|
+
the commands you need, for example `BatchGetMetricDataCommand`:
|
|
37
37
|
|
|
38
38
|
```js
|
|
39
39
|
// ES5 example
|
|
40
|
-
const { SESv2Client,
|
|
40
|
+
const { SESv2Client, BatchGetMetricDataCommand } = require("@aws-sdk/client-sesv2");
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
```ts
|
|
44
44
|
// ES6+ example
|
|
45
|
-
import { SESv2Client,
|
|
45
|
+
import { SESv2Client, BatchGetMetricDataCommand } from "@aws-sdk/client-sesv2";
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
### Usage
|
|
@@ -61,7 +61,7 @@ const client = new SESv2Client({ region: "REGION" });
|
|
|
61
61
|
const params = {
|
|
62
62
|
/** input parameters */
|
|
63
63
|
};
|
|
64
|
-
const command = new
|
|
64
|
+
const command = new BatchGetMetricDataCommand(params);
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
#### Async/await
|
|
@@ -140,7 +140,7 @@ const client = new AWS.SESv2({ region: "REGION" });
|
|
|
140
140
|
|
|
141
141
|
// async/await.
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.batchGetMetricData(params);
|
|
144
144
|
// process data.
|
|
145
145
|
} catch (error) {
|
|
146
146
|
// error handling.
|
|
@@ -148,7 +148,7 @@ try {
|
|
|
148
148
|
|
|
149
149
|
// Promises.
|
|
150
150
|
client
|
|
151
|
-
.
|
|
151
|
+
.batchGetMetricData(params)
|
|
152
152
|
.then((data) => {
|
|
153
153
|
// process data.
|
|
154
154
|
})
|
|
@@ -157,7 +157,7 @@ client
|
|
|
157
157
|
});
|
|
158
158
|
|
|
159
159
|
// callbacks.
|
|
160
|
-
client.
|
|
160
|
+
client.batchGetMetricData(params, (err, data) => {
|
|
161
161
|
// process err and data.
|
|
162
162
|
});
|
|
163
163
|
```
|
package/dist-cjs/SESv2.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SESv2 = void 0;
|
|
4
|
+
const BatchGetMetricDataCommand_1 = require("./commands/BatchGetMetricDataCommand");
|
|
4
5
|
const CreateConfigurationSetCommand_1 = require("./commands/CreateConfigurationSetCommand");
|
|
5
6
|
const CreateConfigurationSetEventDestinationCommand_1 = require("./commands/CreateConfigurationSetEventDestinationCommand");
|
|
6
7
|
const CreateContactCommand_1 = require("./commands/CreateContactCommand");
|
|
@@ -51,17 +52,20 @@ const ListDomainDeliverabilityCampaignsCommand_1 = require("./commands/ListDomai
|
|
|
51
52
|
const ListEmailIdentitiesCommand_1 = require("./commands/ListEmailIdentitiesCommand");
|
|
52
53
|
const ListEmailTemplatesCommand_1 = require("./commands/ListEmailTemplatesCommand");
|
|
53
54
|
const ListImportJobsCommand_1 = require("./commands/ListImportJobsCommand");
|
|
55
|
+
const ListRecommendationsCommand_1 = require("./commands/ListRecommendationsCommand");
|
|
54
56
|
const ListSuppressedDestinationsCommand_1 = require("./commands/ListSuppressedDestinationsCommand");
|
|
55
57
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
56
58
|
const PutAccountDedicatedIpWarmupAttributesCommand_1 = require("./commands/PutAccountDedicatedIpWarmupAttributesCommand");
|
|
57
59
|
const PutAccountDetailsCommand_1 = require("./commands/PutAccountDetailsCommand");
|
|
58
60
|
const PutAccountSendingAttributesCommand_1 = require("./commands/PutAccountSendingAttributesCommand");
|
|
59
61
|
const PutAccountSuppressionAttributesCommand_1 = require("./commands/PutAccountSuppressionAttributesCommand");
|
|
62
|
+
const PutAccountVdmAttributesCommand_1 = require("./commands/PutAccountVdmAttributesCommand");
|
|
60
63
|
const PutConfigurationSetDeliveryOptionsCommand_1 = require("./commands/PutConfigurationSetDeliveryOptionsCommand");
|
|
61
64
|
const PutConfigurationSetReputationOptionsCommand_1 = require("./commands/PutConfigurationSetReputationOptionsCommand");
|
|
62
65
|
const PutConfigurationSetSendingOptionsCommand_1 = require("./commands/PutConfigurationSetSendingOptionsCommand");
|
|
63
66
|
const PutConfigurationSetSuppressionOptionsCommand_1 = require("./commands/PutConfigurationSetSuppressionOptionsCommand");
|
|
64
67
|
const PutConfigurationSetTrackingOptionsCommand_1 = require("./commands/PutConfigurationSetTrackingOptionsCommand");
|
|
68
|
+
const PutConfigurationSetVdmOptionsCommand_1 = require("./commands/PutConfigurationSetVdmOptionsCommand");
|
|
65
69
|
const PutDedicatedIpInPoolCommand_1 = require("./commands/PutDedicatedIpInPoolCommand");
|
|
66
70
|
const PutDedicatedIpWarmupAttributesCommand_1 = require("./commands/PutDedicatedIpWarmupAttributesCommand");
|
|
67
71
|
const PutDeliverabilityDashboardOptionCommand_1 = require("./commands/PutDeliverabilityDashboardOptionCommand");
|
|
@@ -85,6 +89,20 @@ const UpdateEmailIdentityPolicyCommand_1 = require("./commands/UpdateEmailIdenti
|
|
|
85
89
|
const UpdateEmailTemplateCommand_1 = require("./commands/UpdateEmailTemplateCommand");
|
|
86
90
|
const SESv2Client_1 = require("./SESv2Client");
|
|
87
91
|
class SESv2 extends SESv2Client_1.SESv2Client {
|
|
92
|
+
batchGetMetricData(args, optionsOrCb, cb) {
|
|
93
|
+
const command = new BatchGetMetricDataCommand_1.BatchGetMetricDataCommand(args);
|
|
94
|
+
if (typeof optionsOrCb === "function") {
|
|
95
|
+
this.send(command, optionsOrCb);
|
|
96
|
+
}
|
|
97
|
+
else if (typeof cb === "function") {
|
|
98
|
+
if (typeof optionsOrCb !== "object")
|
|
99
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
100
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
return this.send(command, optionsOrCb);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
88
106
|
createConfigurationSet(args, optionsOrCb, cb) {
|
|
89
107
|
const command = new CreateConfigurationSetCommand_1.CreateConfigurationSetCommand(args);
|
|
90
108
|
if (typeof optionsOrCb === "function") {
|
|
@@ -785,6 +803,20 @@ class SESv2 extends SESv2Client_1.SESv2Client {
|
|
|
785
803
|
return this.send(command, optionsOrCb);
|
|
786
804
|
}
|
|
787
805
|
}
|
|
806
|
+
listRecommendations(args, optionsOrCb, cb) {
|
|
807
|
+
const command = new ListRecommendationsCommand_1.ListRecommendationsCommand(args);
|
|
808
|
+
if (typeof optionsOrCb === "function") {
|
|
809
|
+
this.send(command, optionsOrCb);
|
|
810
|
+
}
|
|
811
|
+
else if (typeof cb === "function") {
|
|
812
|
+
if (typeof optionsOrCb !== "object")
|
|
813
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
814
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
815
|
+
}
|
|
816
|
+
else {
|
|
817
|
+
return this.send(command, optionsOrCb);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
788
820
|
listSuppressedDestinations(args, optionsOrCb, cb) {
|
|
789
821
|
const command = new ListSuppressedDestinationsCommand_1.ListSuppressedDestinationsCommand(args);
|
|
790
822
|
if (typeof optionsOrCb === "function") {
|
|
@@ -869,6 +901,20 @@ class SESv2 extends SESv2Client_1.SESv2Client {
|
|
|
869
901
|
return this.send(command, optionsOrCb);
|
|
870
902
|
}
|
|
871
903
|
}
|
|
904
|
+
putAccountVdmAttributes(args, optionsOrCb, cb) {
|
|
905
|
+
const command = new PutAccountVdmAttributesCommand_1.PutAccountVdmAttributesCommand(args);
|
|
906
|
+
if (typeof optionsOrCb === "function") {
|
|
907
|
+
this.send(command, optionsOrCb);
|
|
908
|
+
}
|
|
909
|
+
else if (typeof cb === "function") {
|
|
910
|
+
if (typeof optionsOrCb !== "object")
|
|
911
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
912
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
913
|
+
}
|
|
914
|
+
else {
|
|
915
|
+
return this.send(command, optionsOrCb);
|
|
916
|
+
}
|
|
917
|
+
}
|
|
872
918
|
putConfigurationSetDeliveryOptions(args, optionsOrCb, cb) {
|
|
873
919
|
const command = new PutConfigurationSetDeliveryOptionsCommand_1.PutConfigurationSetDeliveryOptionsCommand(args);
|
|
874
920
|
if (typeof optionsOrCb === "function") {
|
|
@@ -939,6 +985,20 @@ class SESv2 extends SESv2Client_1.SESv2Client {
|
|
|
939
985
|
return this.send(command, optionsOrCb);
|
|
940
986
|
}
|
|
941
987
|
}
|
|
988
|
+
putConfigurationSetVdmOptions(args, optionsOrCb, cb) {
|
|
989
|
+
const command = new PutConfigurationSetVdmOptionsCommand_1.PutConfigurationSetVdmOptionsCommand(args);
|
|
990
|
+
if (typeof optionsOrCb === "function") {
|
|
991
|
+
this.send(command, optionsOrCb);
|
|
992
|
+
}
|
|
993
|
+
else if (typeof cb === "function") {
|
|
994
|
+
if (typeof optionsOrCb !== "object")
|
|
995
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
996
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
997
|
+
}
|
|
998
|
+
else {
|
|
999
|
+
return this.send(command, optionsOrCb);
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
942
1002
|
putDedicatedIpInPool(args, optionsOrCb, cb) {
|
|
943
1003
|
const command = new PutDedicatedIpInPoolCommand_1.PutDedicatedIpInPoolCommand(args);
|
|
944
1004
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchGetMetricDataCommand = 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 models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class BatchGetMetricDataCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetMetricDataCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SESv2Client";
|
|
28
|
+
const commandName = "BatchGetMetricDataCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.BatchGetMetricDataRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.BatchGetMetricDataResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1BatchGetMetricDataCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1BatchGetMetricDataCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.BatchGetMetricDataCommand = BatchGetMetricDataCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRecommendationsCommand = 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 models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListRecommendationsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRecommendationsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SESv2Client";
|
|
28
|
+
const commandName = "ListRecommendationsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListRecommendationsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListRecommendationsResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListRecommendationsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListRecommendationsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListRecommendationsCommand = ListRecommendationsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutAccountVdmAttributesCommand = 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 models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class PutAccountVdmAttributesCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutAccountVdmAttributesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SESv2Client";
|
|
28
|
+
const commandName = "PutAccountVdmAttributesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.PutAccountVdmAttributesRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.PutAccountVdmAttributesResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1PutAccountVdmAttributesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1PutAccountVdmAttributesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.PutAccountVdmAttributesCommand = PutAccountVdmAttributesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutConfigurationSetVdmOptionsCommand = 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 models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class PutConfigurationSetVdmOptionsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutConfigurationSetVdmOptionsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SESv2Client";
|
|
28
|
+
const commandName = "PutConfigurationSetVdmOptionsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.PutConfigurationSetVdmOptionsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.PutConfigurationSetVdmOptionsResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1PutConfigurationSetVdmOptionsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1PutConfigurationSetVdmOptionsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.PutConfigurationSetVdmOptionsCommand = PutConfigurationSetVdmOptionsCommand;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchGetMetricDataCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./CreateConfigurationSetCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateConfigurationSetEventDestinationCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CreateContactCommand"), exports);
|
|
@@ -51,17 +52,20 @@ tslib_1.__exportStar(require("./ListDomainDeliverabilityCampaignsCommand"), expo
|
|
|
51
52
|
tslib_1.__exportStar(require("./ListEmailIdentitiesCommand"), exports);
|
|
52
53
|
tslib_1.__exportStar(require("./ListEmailTemplatesCommand"), exports);
|
|
53
54
|
tslib_1.__exportStar(require("./ListImportJobsCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./ListRecommendationsCommand"), exports);
|
|
54
56
|
tslib_1.__exportStar(require("./ListSuppressedDestinationsCommand"), exports);
|
|
55
57
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
56
58
|
tslib_1.__exportStar(require("./PutAccountDedicatedIpWarmupAttributesCommand"), exports);
|
|
57
59
|
tslib_1.__exportStar(require("./PutAccountDetailsCommand"), exports);
|
|
58
60
|
tslib_1.__exportStar(require("./PutAccountSendingAttributesCommand"), exports);
|
|
59
61
|
tslib_1.__exportStar(require("./PutAccountSuppressionAttributesCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./PutAccountVdmAttributesCommand"), exports);
|
|
60
63
|
tslib_1.__exportStar(require("./PutConfigurationSetDeliveryOptionsCommand"), exports);
|
|
61
64
|
tslib_1.__exportStar(require("./PutConfigurationSetReputationOptionsCommand"), exports);
|
|
62
65
|
tslib_1.__exportStar(require("./PutConfigurationSetSendingOptionsCommand"), exports);
|
|
63
66
|
tslib_1.__exportStar(require("./PutConfigurationSetSuppressionOptionsCommand"), exports);
|
|
64
67
|
tslib_1.__exportStar(require("./PutConfigurationSetTrackingOptionsCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./PutConfigurationSetVdmOptionsCommand"), exports);
|
|
65
69
|
tslib_1.__exportStar(require("./PutDedicatedIpInPoolCommand"), exports);
|
|
66
70
|
tslib_1.__exportStar(require("./PutDedicatedIpWarmupAttributesCommand"), exports);
|
|
67
71
|
tslib_1.__exportStar(require("./PutDeliverabilityDashboardOptionCommand"), exports);
|