@aws-sdk/client-sesv2 3.428.0 → 3.429.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +9 -2
- package/dist-cjs/protocols/Aws_restJson1.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +9 -0
- package/dist-types/commands/GetEmailIdentityCommand.d.ts +10 -0
- package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +1 -1
- package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +195 -152
- package/dist-types/models/models_1.d.ts +68 -1
- package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +97 -86
- package/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://email.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog = exports.PutAccountDetailsRequestFilterSensitiveLog = exports.GetMessageInsightsResponseFilterSensitiveLog = exports.GetExportJobResponseFilterSensitiveLog = exports.GetAccountResponseFilterSensitiveLog = exports.EmailInsightsFilterSensitiveLog = exports.CreateExportJobRequestFilterSensitiveLog = exports.ExportDataSourceFilterSensitiveLog = exports.MessageInsightsDataSourceFilterSensitiveLog = exports.MessageInsightsFiltersFilterSensitiveLog = exports.CreateEmailIdentityRequestFilterSensitiveLog = exports.DkimSigningAttributesFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.RecommendationType = exports.RecommendationStatus = void 0;
|
|
3
|
+
exports.ListRecommendationsFilterKey = exports.InvalidNextTokenException = exports.ImportDestinationType = exports.VerificationStatus = exports.VerificationError = exports.MailFromDomainStatus = exports.JobStatus = exports.ExportSourceType = exports.DeliverabilityDashboardAccountStatus = exports.WarmupStatus = exports.SuppressionListImportAction = exports.DataFormat = exports.MetricAggregation = exports.EngagementEventType = exports.DeliveryEventType = exports.IdentityType = exports.DkimStatus = exports.DkimSigningAttributesOrigin = exports.DkimSigningKeyLength = exports.SendingPausedException = exports.MessageRejected = exports.MailFromDomainNotVerifiedException = exports.DeliverabilityTestStatus = exports.ScalingMode = exports.EventType = exports.LimitExceededException = exports.FeatureStatus = exports.SuppressionListReason = exports.TlsPolicy = exports.ContactListImportAction = exports.SubscriptionStatus = exports.ConflictException = exports.ConcurrentModificationException = exports.DimensionValueSource = exports.BulkEmailStatus = exports.BounceType = exports.BehaviorOnMxFailure = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServiceErrorException = exports.QueryErrorCode = exports.MetricNamespace = exports.Metric = exports.MetricDimensionName = exports.BadRequestException = exports.AlreadyExistsException = exports.AccountSuspendedException = exports.ReviewStatus = exports.MailType = exports.ContactLanguage = void 0;
|
|
4
|
+
exports.PutEmailIdentityDkimSigningAttributesRequestFilterSensitiveLog = exports.PutAccountDetailsRequestFilterSensitiveLog = exports.GetMessageInsightsResponseFilterSensitiveLog = exports.GetExportJobResponseFilterSensitiveLog = exports.GetAccountResponseFilterSensitiveLog = exports.EmailInsightsFilterSensitiveLog = exports.CreateExportJobRequestFilterSensitiveLog = exports.ExportDataSourceFilterSensitiveLog = exports.MessageInsightsDataSourceFilterSensitiveLog = exports.MessageInsightsFiltersFilterSensitiveLog = exports.CreateEmailIdentityRequestFilterSensitiveLog = exports.DkimSigningAttributesFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.RecommendationType = exports.RecommendationStatus = exports.RecommendationImpact = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const SESv2ServiceException_1 = require("./SESv2ServiceException");
|
|
7
7
|
exports.ContactLanguage = {
|
|
@@ -338,6 +338,13 @@ exports.MailFromDomainStatus = {
|
|
|
338
338
|
SUCCESS: "SUCCESS",
|
|
339
339
|
TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
|
|
340
340
|
};
|
|
341
|
+
exports.VerificationError = {
|
|
342
|
+
DNS_SERVER_ERROR: "DNS_SERVER_ERROR",
|
|
343
|
+
HOST_NOT_FOUND: "HOST_NOT_FOUND",
|
|
344
|
+
INVALID_VALUE: "INVALID_VALUE",
|
|
345
|
+
SERVICE_ERROR: "SERVICE_ERROR",
|
|
346
|
+
TYPE_NOT_FOUND: "TYPE_NOT_FOUND",
|
|
347
|
+
};
|
|
341
348
|
exports.VerificationStatus = {
|
|
342
349
|
FAILED: "FAILED",
|
|
343
350
|
NOT_STARTED: "NOT_STARTED",
|
|
@@ -3599,6 +3599,7 @@ const de_GetEmailIdentityCommand = async (output, context) => {
|
|
|
3599
3599
|
MailFromAttributes: smithy_client_1._json,
|
|
3600
3600
|
Policies: smithy_client_1._json,
|
|
3601
3601
|
Tags: smithy_client_1._json,
|
|
3602
|
+
VerificationInfo: (_) => de_VerificationInfo(_, context),
|
|
3602
3603
|
VerificationStatus: smithy_client_1.expectString,
|
|
3603
3604
|
VerifiedForSendingStatus: smithy_client_1.expectBoolean,
|
|
3604
3605
|
});
|
|
@@ -6309,6 +6310,14 @@ const de_TimestampList = (output, context) => {
|
|
|
6309
6310
|
});
|
|
6310
6311
|
return retVal;
|
|
6311
6312
|
};
|
|
6313
|
+
const de_VerificationInfo = (output, context) => {
|
|
6314
|
+
return (0, smithy_client_1.take)(output, {
|
|
6315
|
+
ErrorType: smithy_client_1.expectString,
|
|
6316
|
+
LastCheckedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
6317
|
+
LastSuccessTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
6318
|
+
SOARecord: smithy_client_1._json,
|
|
6319
|
+
});
|
|
6320
|
+
};
|
|
6312
6321
|
const deserializeMetadata = (output) => ({
|
|
6313
6322
|
httpStatusCode: output.statusCode,
|
|
6314
6323
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://email.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -322,6 +322,13 @@ export const MailFromDomainStatus = {
|
|
|
322
322
|
SUCCESS: "SUCCESS",
|
|
323
323
|
TEMPORARY_FAILURE: "TEMPORARY_FAILURE",
|
|
324
324
|
};
|
|
325
|
+
export const VerificationError = {
|
|
326
|
+
DNS_SERVER_ERROR: "DNS_SERVER_ERROR",
|
|
327
|
+
HOST_NOT_FOUND: "HOST_NOT_FOUND",
|
|
328
|
+
INVALID_VALUE: "INVALID_VALUE",
|
|
329
|
+
SERVICE_ERROR: "SERVICE_ERROR",
|
|
330
|
+
TYPE_NOT_FOUND: "TYPE_NOT_FOUND",
|
|
331
|
+
};
|
|
325
332
|
export const VerificationStatus = {
|
|
326
333
|
FAILED: "FAILED",
|
|
327
334
|
NOT_STARTED: "NOT_STARTED",
|
|
@@ -3463,6 +3463,7 @@ export const de_GetEmailIdentityCommand = async (output, context) => {
|
|
|
3463
3463
|
MailFromAttributes: _json,
|
|
3464
3464
|
Policies: _json,
|
|
3465
3465
|
Tags: _json,
|
|
3466
|
+
VerificationInfo: (_) => de_VerificationInfo(_, context),
|
|
3466
3467
|
VerificationStatus: __expectString,
|
|
3467
3468
|
VerifiedForSendingStatus: __expectBoolean,
|
|
3468
3469
|
});
|
|
@@ -6119,6 +6120,14 @@ const de_TimestampList = (output, context) => {
|
|
|
6119
6120
|
});
|
|
6120
6121
|
return retVal;
|
|
6121
6122
|
};
|
|
6123
|
+
const de_VerificationInfo = (output, context) => {
|
|
6124
|
+
return take(output, {
|
|
6125
|
+
ErrorType: __expectString,
|
|
6126
|
+
LastCheckedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6127
|
+
LastSuccessTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6128
|
+
SOARecord: _json,
|
|
6129
|
+
});
|
|
6130
|
+
};
|
|
6122
6131
|
const deserializeMetadata = (output) => ({
|
|
6123
6132
|
httpStatusCode: output.statusCode,
|
|
6124
6133
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -68,6 +68,16 @@ export interface GetEmailIdentityCommandOutput extends GetEmailIdentityResponse,
|
|
|
68
68
|
* // ],
|
|
69
69
|
* // ConfigurationSetName: "STRING_VALUE",
|
|
70
70
|
* // VerificationStatus: "PENDING" || "SUCCESS" || "FAILED" || "TEMPORARY_FAILURE" || "NOT_STARTED",
|
|
71
|
+
* // VerificationInfo: { // VerificationInfo
|
|
72
|
+
* // LastCheckedTimestamp: new Date("TIMESTAMP"),
|
|
73
|
+
* // LastSuccessTimestamp: new Date("TIMESTAMP"),
|
|
74
|
+
* // ErrorType: "SERVICE_ERROR" || "DNS_SERVER_ERROR" || "HOST_NOT_FOUND" || "TYPE_NOT_FOUND" || "INVALID_VALUE",
|
|
75
|
+
* // SOARecord: { // SOARecord
|
|
76
|
+
* // PrimaryNameServer: "STRING_VALUE",
|
|
77
|
+
* // AdminEmail: "STRING_VALUE",
|
|
78
|
+
* // SerialNumber: Number("long"),
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
71
81
|
* // };
|
|
72
82
|
*
|
|
73
83
|
* ```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutEmailIdentityMailFromAttributesRequest, PutEmailIdentityMailFromAttributesResponse } from "../models/
|
|
4
|
+
import { PutEmailIdentityMailFromAttributesRequest, PutEmailIdentityMailFromAttributesResponse } from "../models/models_1";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutSuppressedDestinationRequest } from "../models/
|
|
5
|
-
import { PutSuppressedDestinationResponse } from "../models/models_1";
|
|
4
|
+
import { PutSuppressedDestinationRequest, PutSuppressedDestinationResponse } from "../models/models_1";
|
|
6
5
|
import { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|