@aws-sdk/client-sesv2 3.185.0 → 3.188.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 +16 -0
- package/dist-es/SESv2.js +326 -333
- package/dist-es/SESv2Client.js +22 -28
- package/dist-es/commands/CreateConfigurationSetCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/CreateContactCommand.js +21 -28
- package/dist-es/commands/CreateContactListCommand.js +21 -28
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +21 -28
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +21 -28
- package/dist-es/commands/CreateEmailIdentityCommand.js +21 -28
- package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/CreateEmailTemplateCommand.js +21 -28
- package/dist-es/commands/CreateImportJobCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/DeleteContactCommand.js +21 -28
- package/dist-es/commands/DeleteContactListCommand.js +21 -28
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +21 -28
- package/dist-es/commands/DeleteEmailIdentityCommand.js +21 -28
- package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteEmailTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/GetAccountCommand.js +21 -28
- package/dist-es/commands/GetBlacklistReportsCommand.js +21 -28
- package/dist-es/commands/GetConfigurationSetCommand.js +21 -28
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +21 -28
- package/dist-es/commands/GetContactCommand.js +21 -28
- package/dist-es/commands/GetContactListCommand.js +21 -28
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetDedicatedIpCommand.js +21 -28
- package/dist-es/commands/GetDedicatedIpsCommand.js +21 -28
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +21 -28
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +21 -28
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +21 -28
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +21 -28
- package/dist-es/commands/GetEmailIdentityCommand.js +21 -28
- package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +21 -28
- package/dist-es/commands/GetEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetImportJobCommand.js +21 -28
- package/dist-es/commands/GetSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/ListConfigurationSetsCommand.js +21 -28
- package/dist-es/commands/ListContactListsCommand.js +21 -28
- package/dist-es/commands/ListContactsCommand.js +21 -28
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +21 -28
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +21 -28
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +21 -28
- package/dist-es/commands/ListEmailIdentitiesCommand.js +21 -28
- package/dist-es/commands/ListEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListImportJobsCommand.js +21 -28
- package/dist-es/commands/ListSuppressedDestinationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +21 -28
- package/dist-es/commands/PutAccountDetailsCommand.js +21 -28
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +21 -28
- package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +21 -28
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +21 -28
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +21 -28
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +21 -28
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +21 -28
- package/dist-es/commands/PutSuppressedDestinationCommand.js +21 -28
- package/dist-es/commands/SendBulkEmailCommand.js +21 -28
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +21 -28
- package/dist-es/commands/SendEmailCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/TestRenderEmailTemplateCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/UpdateContactCommand.js +21 -28
- package/dist-es/commands/UpdateContactListCommand.js +21 -28
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/UpdateEmailTemplateCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SESv2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +825 -362
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +25 -68
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +25 -68
- package/dist-es/pagination/ListContactListsPaginator.js +25 -68
- package/dist-es/pagination/ListContactsPaginator.js +25 -68
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +25 -68
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +25 -68
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +25 -68
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +25 -68
- package/dist-es/pagination/ListEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListImportJobsPaginator.js +25 -68
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +5615 -7830
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateEmailIdentityPolicyRequestFilterSensitiveLog, UpdateEmailIdentityPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateEmailIdentityPolicyCommand, serializeAws_restJson1UpdateEmailIdentityPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateEmailIdentityPolicyCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "SESv2Client";
|
|
15
|
+
const commandName = "UpdateEmailIdentityPolicyCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateEmailIdentityPolicyRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateEmailIdentityPolicyResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateEmailIdentityPolicyCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateEmailIdentityPolicyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateEmailIdentityPolicyCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateEmailIdentityPolicyCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateEmailTemplateRequestFilterSensitiveLog, UpdateEmailTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateEmailTemplateCommand, serializeAws_restJson1UpdateEmailTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateEmailTemplateCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "SESv2Client";
|
|
15
|
+
const commandName = "UpdateEmailTemplateCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateEmailTemplateRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateEmailTemplateResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateEmailTemplateCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateEmailTemplateCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateEmailTemplateCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateEmailTemplateCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"us-east-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -26,7 +25,7 @@ var regionHash = {
|
|
|
26
25
|
],
|
|
27
26
|
},
|
|
28
27
|
};
|
|
29
|
-
|
|
28
|
+
const partitionHash = {
|
|
30
29
|
aws: {
|
|
31
30
|
regions: [
|
|
32
31
|
"af-south-1",
|
|
@@ -148,8 +147,9 @@ var partitionHash = {
|
|
|
148
147
|
],
|
|
149
148
|
},
|
|
150
149
|
};
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
151
|
+
...options,
|
|
152
|
+
signingService: "ses",
|
|
153
|
+
regionHash,
|
|
154
|
+
partitionHash,
|
|
155
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, SESv2ServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class SESv2ServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, SESv2ServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { SESv2ServiceException };
|
|
7
|
+
}
|