Skip to content

Commit 3167804

Browse files
Add dual-stack support to global endpoints.
1 parent 2908733 commit 3167804

13 files changed

+69
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"GetMultiRegionEndpoint": "<p>Displays the multi-region endpoint (global-endpoint) configuration.</p> <p>Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be displayed.</p>",
5252
"GetSuppressedDestination": "<p>Retrieves information about a specific email address that's on the suppression list for your account.</p>",
5353
"ListConfigurationSets": "<p>List all of the configuration sets associated with your account in the current region.</p> <p> <i>Configuration sets</i> are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.</p>",
54-
"ListContactLists": "<p>Lists all of the contact lists available.</p>",
54+
"ListContactLists": "<p>Lists all of the contact lists available.</p> <p>If your output includes a \"NextToken\" field with a string value, this indicates there may be additional contacts on the filtered list - regardless of the number of contacts returned.</p>",
5555
"ListContacts": "<p>Lists the contacts present in a specific contact list.</p>",
5656
"ListCustomVerificationEmailTemplates": "<p>Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.</p> <p>For more information about custom verification email templates, see <a href=\"https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom\">Using custom verification email templates</a> in the <i>Amazon SES Developer Guide</i>.</p> <p>You can execute this operation no more than once per second.</p>",
5757
"ListDedicatedIpPools": "<p>List all of the dedicated IP pools that exist in your Amazon Web Services account in the current Region.</p>",

generator/ServiceModels/sesv2/sesv2-2019-09-27.endpoint-rule-set.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
{
155155
"conditions": [],
156156
"endpoint": {
157-
"url": "https://{EndpointId}.endpoints.email.{PartitionResult#dualStackDnsSuffix}",
157+
"url": "https://{EndpointId}.endpoints.email.global.{PartitionResult#dualStackDnsSuffix}",
158158
"properties": {
159159
"authSchemes": [
160160
{

generator/ServiceModels/sesv2/sesv2-2019-09-27.endpoint-tests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@
635635
}
636636
]
637637
},
638-
"url": "https://abc123.456def.endpoints.email.api.aws"
638+
"url": "https://abc123.456def.endpoints.email.global.api.aws"
639639
}
640640
},
641641
"params": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@
791791
{"shape":"BadRequestException"},
792792
{"shape":"TooManyRequestsException"}
793793
],
794-
"documentation":"<p>Lists all of the contact lists available.</p>"
794+
"documentation":"<p>Lists all of the contact lists available.</p> <p>If your output includes a \"NextToken\" field with a string value, this indicates there may be additional contacts on the filtered list - regardless of the number of contacts returned.</p>"
795795
},
796796
"ListContacts":{
797797
"name":"ListContacts",

sdk/src/Services/SimpleEmailV2/Generated/Internal/AmazonSimpleEmailServiceV2EndpointProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public Endpoint ResolveEndpoint(EndpointParameters parameters)
6767
{
6868
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
6969
{
70-
return new Endpoint(Interpolate(@"https://{EndpointId}.endpoints.email.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"{""authSchemes"":[{""name"":""sigv4a"",""signingName"":""ses"",""signingRegionSet"":[""*""]}]}", refs), InterpolateJson(@"", refs));
70+
return new Endpoint(Interpolate(@"https://{EndpointId}.endpoints.email.global.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"{""authSchemes"":[{""name"":""sigv4a"",""signingName"":""ses"",""signingRegionSet"":[""*""]}]}", refs), InterpolateJson(@"", refs));
7171
}
7272
throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack");
7373
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ namespace Amazon.SimpleEmailV2.Model
3232
/// <summary>
3333
/// Container for the parameters to the ListContactLists operation.
3434
/// Lists all of the contact lists available.
35+
///
36+
///
37+
/// <para>
38+
/// If your output includes a "NextToken" field with a string value, this indicates there
39+
/// may be additional contacts on the filtered list - regardless of the number of contacts
40+
/// returned.
41+
/// </para>
3542
/// </summary>
3643
public partial class ListContactListsRequest : AmazonSimpleEmailServiceV2Request
3744
{

sdk/src/Services/SimpleEmailV2/Generated/_bcl35/AmazonSimpleEmailServiceV2Client.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3727,6 +3727,13 @@ public virtual ListConfigurationSetsResponse EndListConfigurationSets(IAsyncResu
37273727

37283728
/// <summary>
37293729
/// Lists all of the contact lists available.
3730+
///
3731+
///
3732+
/// <para>
3733+
/// If your output includes a "NextToken" field with a string value, this indicates there
3734+
/// may be additional contacts on the filtered list - regardless of the number of contacts
3735+
/// returned.
3736+
/// </para>
37303737
/// </summary>
37313738
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
37323739
///

sdk/src/Services/SimpleEmailV2/Generated/_bcl35/IAmazonSimpleEmailServiceV2.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2823,6 +2823,13 @@ public partial interface IAmazonSimpleEmailServiceV2 : IAmazonService, IDisposab
28232823

28242824
/// <summary>
28252825
/// Lists all of the contact lists available.
2826+
///
2827+
///
2828+
/// <para>
2829+
/// If your output includes a "NextToken" field with a string value, this indicates there
2830+
/// may be additional contacts on the filtered list - regardless of the number of contacts
2831+
/// returned.
2832+
/// </para>
28262833
/// </summary>
28272834
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
28282835
///

sdk/src/Services/SimpleEmailV2/Generated/_bcl45/AmazonSimpleEmailServiceV2Client.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3893,6 +3893,13 @@ public virtual ListConfigurationSetsResponse ListConfigurationSets(ListConfigura
38933893

38943894
/// <summary>
38953895
/// Lists all of the contact lists available.
3896+
///
3897+
///
3898+
/// <para>
3899+
/// If your output includes a "NextToken" field with a string value, this indicates there
3900+
/// may be additional contacts on the filtered list - regardless of the number of contacts
3901+
/// returned.
3902+
/// </para>
38963903
/// </summary>
38973904
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
38983905
///
@@ -3916,6 +3923,13 @@ public virtual ListContactListsResponse ListContactLists(ListContactListsRequest
39163923

39173924
/// <summary>
39183925
/// Lists all of the contact lists available.
3926+
///
3927+
///
3928+
/// <para>
3929+
/// If your output includes a "NextToken" field with a string value, this indicates there
3930+
/// may be additional contacts on the filtered list - regardless of the number of contacts
3931+
/// returned.
3932+
/// </para>
39193933
/// </summary>
39203934
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
39213935
/// <param name="cancellationToken">

sdk/src/Services/SimpleEmailV2/Generated/_bcl45/IAmazonSimpleEmailServiceV2.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3035,6 +3035,13 @@ public partial interface IAmazonSimpleEmailServiceV2 : IAmazonService, IDisposab
30353035

30363036
/// <summary>
30373037
/// Lists all of the contact lists available.
3038+
///
3039+
///
3040+
/// <para>
3041+
/// If your output includes a "NextToken" field with a string value, this indicates there
3042+
/// may be additional contacts on the filtered list - regardless of the number of contacts
3043+
/// returned.
3044+
/// </para>
30383045
/// </summary>
30393046
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
30403047
///
@@ -3052,6 +3059,13 @@ public partial interface IAmazonSimpleEmailServiceV2 : IAmazonService, IDisposab
30523059

30533060
/// <summary>
30543061
/// Lists all of the contact lists available.
3062+
///
3063+
///
3064+
/// <para>
3065+
/// If your output includes a "NextToken" field with a string value, this indicates there
3066+
/// may be additional contacts on the filtered list - regardless of the number of contacts
3067+
/// returned.
3068+
/// </para>
30553069
/// </summary>
30563070
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
30573071
/// <param name="cancellationToken">

sdk/src/Services/SimpleEmailV2/Generated/_netstandard/AmazonSimpleEmailServiceV2Client.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2762,6 +2762,13 @@ internal virtual ListContactListsResponse ListContactLists(ListContactListsReque
27622762

27632763
/// <summary>
27642764
/// Lists all of the contact lists available.
2765+
///
2766+
///
2767+
/// <para>
2768+
/// If your output includes a "NextToken" field with a string value, this indicates there
2769+
/// may be additional contacts on the filtered list - regardless of the number of contacts
2770+
/// returned.
2771+
/// </para>
27652772
/// </summary>
27662773
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
27672774
/// <param name="cancellationToken">

sdk/src/Services/SimpleEmailV2/Generated/_netstandard/IAmazonSimpleEmailServiceV2.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,13 @@ public partial interface IAmazonSimpleEmailServiceV2 : IAmazonService, IDisposab
17441744

17451745
/// <summary>
17461746
/// Lists all of the contact lists available.
1747+
///
1748+
///
1749+
/// <para>
1750+
/// If your output includes a "NextToken" field with a string value, this indicates there
1751+
/// may be additional contacts on the filtered list - regardless of the number of contacts
1752+
/// returned.
1753+
/// </para>
17471754
/// </summary>
17481755
/// <param name="request">Container for the necessary parameters to execute the ListContactLists service method.</param>
17491756
/// <param name="cancellationToken">

sdk/test/Services/SimpleEmailV2/UnitTests/Generated/Endpoints/SimpleEmailServiceV2EndpointProviderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ public void Valid_EndpointId_with_dualstack_enabled_Test()
762762
parameters["UseFIPS"] = false;
763763
parameters["Region"] = "us-west-2";
764764
var endpoint = new AmazonSimpleEmailServiceV2EndpointProvider().ResolveEndpoint(parameters);
765-
Assert.AreEqual("https://abc123.456def.endpoints.email.api.aws", endpoint.URL);
765+
Assert.AreEqual("https://abc123.456def.endpoints.email.global.api.aws", endpoint.URL);
766766
}
767767

768768
[TestMethod]

0 commit comments

Comments
 (0)