Skip to content

Commit a83cd36

Browse files
Update GetEmailIdentity and CreateEmailIdentity response to include SigningHostedZone in DkimAttributes. Updated PutEmailIdentityDkimSigningAttributes Response to include SigningHostedZone.
1 parent 8eab5a4 commit a83cd36

File tree

7 files changed

+114
-1
lines changed

7 files changed

+114
-1
lines changed

generator/ServiceModels/sesv2/sesv2-2019-09-27.api.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2624,6 +2624,7 @@
26242624
"SigningEnabled":{"shape":"Enabled"},
26252625
"Status":{"shape":"DkimStatus"},
26262626
"Tokens":{"shape":"DnsTokenList"},
2627+
"SigningHostedZone":{"shape":"HostedZone"},
26272628
"SigningAttributesOrigin":{"shape":"DkimSigningAttributesOrigin"},
26282629
"NextSigningKeyLength":{"shape":"DkimSigningKeyLength"},
26292630
"CurrentSigningKeyLength":{"shape":"DkimSigningKeyLength"},
@@ -3529,6 +3530,7 @@
35293530
"OptimizedSharedDelivery":{"shape":"FeatureStatus"}
35303531
}
35313532
},
3533+
"HostedZone":{"type":"string"},
35323534
"HttpsPolicy":{
35333535
"type":"string",
35343536
"enum":[
@@ -4777,7 +4779,8 @@
47774779
"type":"structure",
47784780
"members":{
47794781
"DkimStatus":{"shape":"DkimStatus"},
4780-
"DkimTokens":{"shape":"DnsTokenList"}
4782+
"DkimTokens":{"shape":"DnsTokenList"},
4783+
"SigningHostedZone":{"shape":"HostedZone"}
47814784
}
47824785
},
47834786
"PutEmailIdentityFeedbackAttributesRequest":{

generator/ServiceModels/sesv2/sesv2-2019-09-27.docs.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,6 +1641,13 @@
16411641
"VdmOptions$GuardianOptions": "<p>Specifies additional settings for your VDM configuration as applicable to the Guardian.</p>"
16421642
}
16431643
},
1644+
"HostedZone": {
1645+
"base": null,
1646+
"refs": {
1647+
"DkimAttributes$SigningHostedZone": "<p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p> <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. For example:</p> <p> <code> selector1._domainkey.yourdomain.com CNAME selector1.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector2._domainkey.yourdomain.com CNAME selector2.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector3._domainkey.yourdomain.com CNAME selector3.&lt;SigningHostedZone&gt; </code> </p>",
1648+
"PutEmailIdentityDkimSigningAttributesResponse$SigningHostedZone": "<p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p> <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. For example:</p> <p> <code> selector1._domainkey.yourdomain.com CNAME selector1.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector2._domainkey.yourdomain.com CNAME selector2.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector3._domainkey.yourdomain.com CNAME selector3.&lt;SigningHostedZone&gt; </code> </p>"
1649+
}
1650+
},
16441651
"HttpsPolicy": {
16451652
"base": "<p>The https policy to use for tracking open and click events. If the value is OPTIONAL or HttpsPolicy is not specified, the open trackers use HTTP and click tracker use the original protocol of the link. If the value is REQUIRE, both open and click tracker uses HTTPS and if the value is REQUIRE_OPEN_ONLY open tracker uses HTTPS and link tracker is same as original protocol of the link. </p>",
16461653
"refs": {

generator/ServiceModels/sesv2/sesv2-2019-09-27.normal.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3334,6 +3334,10 @@
33343334
"shape":"DnsTokenList",
33353335
"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 contains a set of unique strings that you use to create a set of CNAME records that you add to the DNS configuration for your domain. When Amazon SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete.</p> <p>If you configured DKIM authentication for the domain by providing your own public-private key pair, then this object contains the selector for the public key.</p> <p>Regardless of the DKIM authentication method you use, Amazon SES searches for the appropriate records in the DNS configuration of the domain for up to 72 hours.</p>"
33363336
},
3337+
"SigningHostedZone":{
3338+
"shape":"HostedZone",
3339+
"documentation":"<p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p> <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. For example:</p> <p> <code> selector1._domainkey.yourdomain.com CNAME selector1.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector2._domainkey.yourdomain.com CNAME selector2.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector3._domainkey.yourdomain.com CNAME selector3.&lt;SigningHostedZone&gt; </code> </p>"
3340+
},
33373341
"SigningAttributesOrigin":{
33383342
"shape":"DkimSigningAttributesOrigin",
33393343
"documentation":"<p>A string that indicates how DKIM was configured for the identity. These are the possible values:</p> <ul> <li> <p> <code>AWS_SES</code> – Indicates that DKIM was configured for the identity by using <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html\">Easy DKIM</a>.</p> </li> <li> <p> <code>EXTERNAL</code> – Indicates that DKIM was configured for the identity by using Bring Your Own DKIM (BYODKIM).</p> </li> <li> <p> <code>AWS_SES_AF_SOUTH_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Africa (Cape Town) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_EU_NORTH_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Stockholm) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_SOUTH_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Mumbai) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_SOUTH_2</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Hyderabad) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_EU_WEST_3</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Paris) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_EU_WEST_2</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (London) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_EU_SOUTH_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Milan) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_EU_WEST_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Ireland) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_NORTHEAST_3</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Osaka) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_NORTHEAST_2</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Seoul) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_ME_CENTRAL_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Middle East (UAE) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_ME_SOUTH_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Middle East (Bahrain) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_NORTHEAST_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Tokyo) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_IL_CENTRAL_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Israel (Tel Aviv) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_SA_EAST_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in South America (São Paulo) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_CA_CENTRAL_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Canada (Central) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_CA_WEST_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Canada (Calgary) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_SOUTHEAST_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Singapore) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_SOUTHEAST_2</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Sydney) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_SOUTHEAST_3</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Jakarta) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_AP_SOUTHEAST_5</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Asia Pacific (Malaysia) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_EU_CENTRAL_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Frankfurt) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_EU_CENTRAL_2</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in Europe (Zurich) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_US_EAST_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US East (N. Virginia) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_US_EAST_2</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US East (Ohio) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_US_WEST_1</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US West (N. California) region using Deterministic Easy-DKIM (DEED). </p> </li> <li> <p> <code>AWS_SES_US_WEST_2</code> – Indicates that DKIM was configured for the identity by replicating signing attributes from a parent identity in US West (Oregon) region using Deterministic Easy-DKIM (DEED). </p> </li> </ul>"
@@ -4882,6 +4886,7 @@
48824886
},
48834887
"documentation":"<p>An object containing additional settings for your VDM configuration as applicable to the Guardian.</p>"
48844888
},
4889+
"HostedZone":{"type":"string"},
48854890
"HttpsPolicy":{
48864891
"type":"string",
48874892
"documentation":"<p>The https policy to use for tracking open and click events. If the value is OPTIONAL or HttpsPolicy is not specified, the open trackers use HTTP and click tracker use the original protocol of the link. If the value is REQUIRE, both open and click tracker uses HTTPS and if the value is REQUIRE_OPEN_ONLY open tracker uses HTTPS and link tracker is same as original protocol of the link. </p>",
@@ -6812,6 +6817,10 @@
68126817
"DkimTokens":{
68136818
"shape":"DnsTokenList",
68146819
"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 contains a set of unique strings that you use to create a set of CNAME records that you add to the DNS configuration for your domain. When Amazon SES detects these records in the DNS configuration for your domain, the DKIM authentication process is complete.</p> <p>If you configured DKIM authentication for the domain by providing your own public-private key pair, then this object contains the selector that's associated with your public key.</p> <p>Regardless of the DKIM authentication method you use, Amazon SES searches for the appropriate records in the DNS configuration of the domain for up to 72 hours.</p>"
6820+
},
6821+
"SigningHostedZone":{
6822+
"shape":"HostedZone",
6823+
"documentation":"<p>The hosted zone where Amazon SES publishes the DKIM public key TXT records for this email identity. This value indicates the DNS zone that customers must reference when configuring their CNAME records for DKIM authentication.</p> <p>When configuring DKIM for your domain, create CNAME records in your DNS that point to the selectors in this hosted zone. For example:</p> <p> <code> selector1._domainkey.yourdomain.com CNAME selector1.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector2._domainkey.yourdomain.com CNAME selector2.&lt;SigningHostedZone&gt; </code> </p> <p> <code> selector3._domainkey.yourdomain.com CNAME selector3.&lt;SigningHostedZone&gt; </code> </p>"
68156824
}
68166825
},
68176826
"documentation":"<p>If the action is successful, the service sends back an HTTP 200 response.</p> <p>The following data is returned in JSON format by the service.</p>"

sdk/src/Services/SimpleEmailV2/Generated/Model/DkimAttributes.cs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public partial class DkimAttributes
5151
private DkimSigningKeyLength _nextSigningKeyLength;
5252
private DkimSigningAttributesOrigin _signingAttributesOrigin;
5353
private bool? _signingEnabled;
54+
private string _signingHostedZone;
5455
private DkimStatus _status;
5556
private List<string> _tokens = AWSConfigs.InitializeCollections ? new List<string>() : null;
5657

@@ -321,6 +322,46 @@ internal bool IsSetSigningEnabled()
321322
return this._signingEnabled.HasValue;
322323
}
323324

325+
/// <summary>
326+
/// Gets and sets the property SigningHostedZone.
327+
/// <para>
328+
/// The hosted zone where Amazon SES publishes the DKIM public key TXT records for this
329+
/// email identity. This value indicates the DNS zone that customers must reference when
330+
/// configuring their CNAME records for DKIM authentication.
331+
/// </para>
332+
///
333+
/// <para>
334+
/// When configuring DKIM for your domain, create CNAME records in your DNS that point
335+
/// to the selectors in this hosted zone. For example:
336+
/// </para>
337+
///
338+
/// <para>
339+
/// <c> selector1._domainkey.yourdomain.com CNAME selector1.&lt;SigningHostedZone&gt;
340+
/// </c>
341+
/// </para>
342+
///
343+
/// <para>
344+
/// <c> selector2._domainkey.yourdomain.com CNAME selector2.&lt;SigningHostedZone&gt;
345+
/// </c>
346+
/// </para>
347+
///
348+
/// <para>
349+
/// <c> selector3._domainkey.yourdomain.com CNAME selector3.&lt;SigningHostedZone&gt;
350+
/// </c>
351+
/// </para>
352+
/// </summary>
353+
public string SigningHostedZone
354+
{
355+
get { return this._signingHostedZone; }
356+
set { this._signingHostedZone = value; }
357+
}
358+
359+
// Check to see if SigningHostedZone property is set
360+
internal bool IsSetSigningHostedZone()
361+
{
362+
return this._signingHostedZone != null;
363+
}
364+
324365
/// <summary>
325366
/// Gets and sets the property Status.
326367
/// <para>

sdk/src/Services/SimpleEmailV2/Generated/Model/Internal/MarshallTransformations/DkimAttributesUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ public DkimAttributes Unmarshall(JsonUnmarshallerContext context, ref StreamingU
8686
unmarshalledObject.SigningEnabled = unmarshaller.Unmarshall(context, ref reader);
8787
continue;
8888
}
89+
if (context.TestExpression("SigningHostedZone", targetDepth))
90+
{
91+
var unmarshaller = StringUnmarshaller.Instance;
92+
unmarshalledObject.SigningHostedZone = unmarshaller.Unmarshall(context, ref reader);
93+
continue;
94+
}
8995
if (context.TestExpression("Status", targetDepth))
9096
{
9197
var unmarshaller = StringUnmarshaller.Instance;

sdk/src/Services/SimpleEmailV2/Generated/Model/Internal/MarshallTransformations/PutEmailIdentityDkimSigningAttributesResponseUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
6464
response.DkimTokens = unmarshaller.Unmarshall(context, ref reader);
6565
continue;
6666
}
67+
if (context.TestExpression("SigningHostedZone", targetDepth))
68+
{
69+
var unmarshaller = StringUnmarshaller.Instance;
70+
response.SigningHostedZone = unmarshaller.Unmarshall(context, ref reader);
71+
continue;
72+
}
6773
}
6874

6975
return response;

sdk/src/Services/SimpleEmailV2/Generated/Model/PutEmailIdentityDkimSigningAttributesResponse.cs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public partial class PutEmailIdentityDkimSigningAttributesResponse : AmazonWebSe
4141
{
4242
private DkimStatus _dkimStatus;
4343
private List<string> _dkimTokens = AWSConfigs.InitializeCollections ? new List<string>() : null;
44+
private string _signingHostedZone;
4445

4546
/// <summary>
4647
/// Gets and sets the property DkimStatus.
@@ -138,5 +139,45 @@ internal bool IsSetDkimTokens()
138139
return this._dkimTokens != null && (this._dkimTokens.Count > 0 || !AWSConfigs.InitializeCollections);
139140
}
140141

142+
/// <summary>
143+
/// Gets and sets the property SigningHostedZone.
144+
/// <para>
145+
/// The hosted zone where Amazon SES publishes the DKIM public key TXT records for this
146+
/// email identity. This value indicates the DNS zone that customers must reference when
147+
/// configuring their CNAME records for DKIM authentication.
148+
/// </para>
149+
///
150+
/// <para>
151+
/// When configuring DKIM for your domain, create CNAME records in your DNS that point
152+
/// to the selectors in this hosted zone. For example:
153+
/// </para>
154+
///
155+
/// <para>
156+
/// <c> selector1._domainkey.yourdomain.com CNAME selector1.&lt;SigningHostedZone&gt;
157+
/// </c>
158+
/// </para>
159+
///
160+
/// <para>
161+
/// <c> selector2._domainkey.yourdomain.com CNAME selector2.&lt;SigningHostedZone&gt;
162+
/// </c>
163+
/// </para>
164+
///
165+
/// <para>
166+
/// <c> selector3._domainkey.yourdomain.com CNAME selector3.&lt;SigningHostedZone&gt;
167+
/// </c>
168+
/// </para>
169+
/// </summary>
170+
public string SigningHostedZone
171+
{
172+
get { return this._signingHostedZone; }
173+
set { this._signingHostedZone = value; }
174+
}
175+
176+
// Check to see if SigningHostedZone property is set
177+
internal bool IsSetSigningHostedZone()
178+
{
179+
return this._signingHostedZone != null;
180+
}
181+
141182
}
142183
}

0 commit comments

Comments
 (0)