Skip to content

Commit 6bceff3

Browse files
author
awstools
committed
feat(client-sesv2): Update GetEmailIdentity and CreateEmailIdentity response to include SigningHostedZone in DkimAttributes. Updated PutEmailIdentityDkimSigningAttributes Response to include SigningHostedZone.
1 parent c7e71e8 commit 6bceff3

File tree

6 files changed

+71
-4
lines changed

6 files changed

+71
-4
lines changed

clients/client-sesv2/src/commands/CreateEmailIdentityCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export interface CreateEmailIdentityCommandOutput extends CreateEmailIdentityRes
8888
* // Tokens: [ // DnsTokenList
8989
* // "STRING_VALUE",
9090
* // ],
91+
* // SigningHostedZone: "STRING_VALUE",
9192
* // SigningAttributesOrigin: "AWS_SES" || "EXTERNAL" || "AWS_SES_AF_SOUTH_1" || "AWS_SES_EU_NORTH_1" || "AWS_SES_AP_SOUTH_1" || "AWS_SES_EU_WEST_3" || "AWS_SES_EU_WEST_2" || "AWS_SES_EU_SOUTH_1" || "AWS_SES_EU_WEST_1" || "AWS_SES_AP_NORTHEAST_3" || "AWS_SES_AP_NORTHEAST_2" || "AWS_SES_ME_SOUTH_1" || "AWS_SES_AP_NORTHEAST_1" || "AWS_SES_IL_CENTRAL_1" || "AWS_SES_SA_EAST_1" || "AWS_SES_CA_CENTRAL_1" || "AWS_SES_AP_SOUTHEAST_1" || "AWS_SES_AP_SOUTHEAST_2" || "AWS_SES_AP_SOUTHEAST_3" || "AWS_SES_EU_CENTRAL_1" || "AWS_SES_US_EAST_1" || "AWS_SES_US_EAST_2" || "AWS_SES_US_WEST_1" || "AWS_SES_US_WEST_2" || "AWS_SES_ME_CENTRAL_1" || "AWS_SES_AP_SOUTH_2" || "AWS_SES_EU_CENTRAL_2" || "AWS_SES_AP_SOUTHEAST_5" || "AWS_SES_CA_WEST_1",
9293
* // NextSigningKeyLength: "RSA_1024_BIT" || "RSA_2048_BIT",
9394
* // CurrentSigningKeyLength: "RSA_1024_BIT" || "RSA_2048_BIT",

clients/client-sesv2/src/commands/GetEmailIdentityCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface GetEmailIdentityCommandOutput extends GetEmailIdentityResponse,
5353
* // Tokens: [ // DnsTokenList
5454
* // "STRING_VALUE",
5555
* // ],
56+
* // SigningHostedZone: "STRING_VALUE",
5657
* // SigningAttributesOrigin: "AWS_SES" || "EXTERNAL" || "AWS_SES_AF_SOUTH_1" || "AWS_SES_EU_NORTH_1" || "AWS_SES_AP_SOUTH_1" || "AWS_SES_EU_WEST_3" || "AWS_SES_EU_WEST_2" || "AWS_SES_EU_SOUTH_1" || "AWS_SES_EU_WEST_1" || "AWS_SES_AP_NORTHEAST_3" || "AWS_SES_AP_NORTHEAST_2" || "AWS_SES_ME_SOUTH_1" || "AWS_SES_AP_NORTHEAST_1" || "AWS_SES_IL_CENTRAL_1" || "AWS_SES_SA_EAST_1" || "AWS_SES_CA_CENTRAL_1" || "AWS_SES_AP_SOUTHEAST_1" || "AWS_SES_AP_SOUTHEAST_2" || "AWS_SES_AP_SOUTHEAST_3" || "AWS_SES_EU_CENTRAL_1" || "AWS_SES_US_EAST_1" || "AWS_SES_US_EAST_2" || "AWS_SES_US_WEST_1" || "AWS_SES_US_WEST_2" || "AWS_SES_ME_CENTRAL_1" || "AWS_SES_AP_SOUTH_2" || "AWS_SES_EU_CENTRAL_2" || "AWS_SES_AP_SOUTHEAST_5" || "AWS_SES_CA_WEST_1",
5758
* // NextSigningKeyLength: "RSA_1024_BIT" || "RSA_2048_BIT",
5859
* // CurrentSigningKeyLength: "RSA_1024_BIT" || "RSA_2048_BIT",

clients/client-sesv2/src/commands/PutEmailIdentityDkimSigningAttributesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface PutEmailIdentityDkimSigningAttributesCommandOutput
8181
* // DkimTokens: [ // DnsTokenList
8282
* // "STRING_VALUE",
8383
* // ],
84+
* // SigningHostedZone: "STRING_VALUE",
8485
* // };
8586
*
8687
* ```

clients/client-sesv2/src/models/models_0.ts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,6 +2338,30 @@ export interface DkimAttributes {
23382338
*/
23392339
Tokens?: string[] | undefined;
23402340

2341+
/**
2342+
* <p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity.
2343+
* This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p>
2344+
* <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone.
2345+
* For example:</p>
2346+
* <p>
2347+
* <code>
2348+
* selector1._domainkey.yourdomain.com CNAME selector1.<SigningHostedZone>
2349+
* </code>
2350+
* </p>
2351+
* <p>
2352+
* <code>
2353+
* selector2._domainkey.yourdomain.com CNAME selector2.<SigningHostedZone>
2354+
* </code>
2355+
* </p>
2356+
* <p>
2357+
* <code>
2358+
* selector3._domainkey.yourdomain.com CNAME selector3.<SigningHostedZone>
2359+
* </code>
2360+
* </p>
2361+
* @public
2362+
*/
2363+
SigningHostedZone?: string | undefined;
2364+
23412365
/**
23422366
* <p>A string that indicates how DKIM was configured for the identity. These are the
23432367
* possible values:</p>
@@ -8125,6 +8149,30 @@ export interface PutEmailIdentityDkimSigningAttributesResponse {
81258149
* @public
81268150
*/
81278151
DkimTokens?: string[] | undefined;
8152+
8153+
/**
8154+
* <p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity.
8155+
* This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p>
8156+
* <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone.
8157+
* For example:</p>
8158+
* <p>
8159+
* <code>
8160+
* selector1._domainkey.yourdomain.com CNAME selector1.<SigningHostedZone>
8161+
* </code>
8162+
* </p>
8163+
* <p>
8164+
* <code>
8165+
* selector2._domainkey.yourdomain.com CNAME selector2.<SigningHostedZone>
8166+
* </code>
8167+
* </p>
8168+
* <p>
8169+
* <code>
8170+
* selector3._domainkey.yourdomain.com CNAME selector3.<SigningHostedZone>
8171+
* </code>
8172+
* </p>
8173+
* @public
8174+
*/
8175+
SigningHostedZone?: string | undefined;
81288176
}
81298177

81308178
/**

clients/client-sesv2/src/schemas/schemas_0.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ const _SER = "SendEmailRequest";
648648
const _SERe = "SendEmailResponse";
649649
const _SEe = "SendingEnabled";
650650
const _SEen = "SendEmail";
651+
const _SHZ = "SigningHostedZone";
651652
const _SI = "SendingIps";
652653
const _SLD = "SuppressionListDestination";
653654
const _SLH = "SentLast24Hours";
@@ -1138,8 +1139,8 @@ export var DkimAttributes: StaticStructureSchema = [
11381139
n0,
11391140
_DA,
11401141
0,
1141-
[_SE, _S, _Tok, _SAO, _NSKL, _CSKL, _LKGT],
1142-
[2, 0, 64 | 0, 0, 0, 0, 4],
1142+
[_SE, _S, _Tok, _SHZ, _SAO, _NSKL, _CSKL, _LKGT],
1143+
[2, 0, 64 | 0, 0, 0, 0, 0, 4],
11431144
];
11441145
export var DkimSigningAttributes: StaticStructureSchema = [
11451146
3,
@@ -1947,8 +1948,8 @@ export var PutEmailIdentityDkimSigningAttributesResponse: StaticStructureSchema
19471948
n0,
19481949
_PEIDSARu,
19491950
0,
1950-
[_DS, _DT],
1951-
[0, 64 | 0],
1951+
[_DS, _DT, _SHZ],
1952+
[0, 64 | 0, 0],
19521953
];
19531954
export var PutEmailIdentityFeedbackAttributesRequest: StaticStructureSchema = [
19541955
3,

codegen/sdk-codegen/aws-models/sesv2.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,6 +3535,12 @@
35353535
"smithy.api#documentation": "<p>If you used <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html\">Easy DKIM</a> to configure DKIM authentication for the domain, then this object\n contains a set of unique strings that you use to create a set of CNAME records that you\n add to the DNS configuration for your domain. When Amazon SES detects these records in the\n DNS configuration for your domain, the DKIM authentication process is complete.</p>\n <p>If you configured DKIM authentication for the domain by providing your own\n public-private key pair, then this object contains the selector for the public\n key.</p>\n <p>Regardless of the DKIM authentication method you use, Amazon SES searches for the\n appropriate records in the DNS configuration of the domain for up to 72 hours.</p>"
35363536
}
35373537
},
3538+
"SigningHostedZone": {
3539+
"target": "com.amazonaws.sesv2#HostedZone",
3540+
"traits": {
3541+
"smithy.api#documentation": "<p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. \n This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p>\n <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. \n For example:</p>\n <p>\n <code>\n selector1._domainkey.yourdomain.com CNAME selector1.<SigningHostedZone>\n </code>\n </p>\n <p>\n <code>\n selector2._domainkey.yourdomain.com CNAME selector2.<SigningHostedZone>\n </code>\n </p>\n <p>\n <code>\n selector3._domainkey.yourdomain.com CNAME selector3.<SigningHostedZone>\n </code>\n </p>"
3542+
}
3543+
},
35383544
"SigningAttributesOrigin": {
35393545
"target": "com.amazonaws.sesv2#DkimSigningAttributesOrigin",
35403546
"traits": {
@@ -6709,6 +6715,9 @@
67096715
"smithy.api#documentation": "<p>An object containing additional settings for your VDM configuration as applicable to\n the Guardian.</p>"
67106716
}
67116717
},
6718+
"com.amazonaws.sesv2#HostedZone": {
6719+
"type": "string"
6720+
},
67126721
"com.amazonaws.sesv2#HttpsPolicy": {
67136722
"type": "enum",
67146723
"members": {
@@ -10856,6 +10865,12 @@
1085610865
"traits": {
1085710866
"smithy.api#documentation": "<p>If you used <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html\">Easy DKIM</a> to configure DKIM authentication for the domain, then this object\n contains a set of unique strings that you use to create a set of CNAME records that you\n add to the DNS configuration for your domain. When Amazon SES detects these records in the\n DNS configuration for your domain, the DKIM authentication process is complete.</p>\n <p>If you configured DKIM authentication for the domain by providing your own\n public-private key pair, then this object contains the selector that's associated with\n your public key.</p>\n <p>Regardless of the DKIM authentication method you use, Amazon SES searches for the\n appropriate records in the DNS configuration of the domain for up to 72 hours.</p>"
1085810867
}
10868+
},
10869+
"SigningHostedZone": {
10870+
"target": "com.amazonaws.sesv2#HostedZone",
10871+
"traits": {
10872+
"smithy.api#documentation": "<p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. \n This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p>\n <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. \n For example:</p>\n <p>\n <code>\n selector1._domainkey.yourdomain.com CNAME selector1.<SigningHostedZone>\n </code>\n </p>\n <p>\n <code>\n selector2._domainkey.yourdomain.com CNAME selector2.<SigningHostedZone>\n </code>\n </p>\n <p>\n <code>\n selector3._domainkey.yourdomain.com CNAME selector3.<SigningHostedZone>\n </code>\n </p>"
10873+
}
1085910874
}
1086010875
},
1086110876
"traits": {

0 commit comments

Comments
 (0)