Skip to content

Commit b9f2fe3

Browse files
author
awstools
committed
feat(client-sesv2): Add dual-stack support to global endpoints.
1 parent c6a9665 commit b9f2fe3

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export interface ListContactListsCommandOutput extends ListContactListsResponse,
2929

3030
/**
3131
* <p>Lists all of the contact lists available.</p>
32+
* <p>If your output includes a "NextToken" field with a string value, this indicates there may be additional
33+
* contacts on the filtered list - regardless of the number of contacts returned.</p>
3234
* @example
3335
* Use a bare-bones client and the command you need to make an API call.
3436
* ```javascript

clients/client-sesv2/src/endpoint/ruleset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ v=[{[B]:c,[C]:[n]}],
3636
w=[q],
3737
x=[r],
3838
y=[t];
39-
const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h,EndpointId:h},rules:[{conditions:[{[B]:c,[C]:[j]},k,l],rules:[{conditions:[{[B]:"isValidHostLabel",[C]:[j,b]}],rules:[{conditions:[{[B]:d,[C]:[m,a]}],rules:[{conditions:v,endpoint:{url:n,properties:o,headers:p},[A]:e},{conditions:w,rules:[{conditions:x,rules:[{endpoint:{url:"https://{EndpointId}.endpoints.email.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:p},[A]:e}],[A]:f},s],[A]:f},{endpoint:{url:"https://{EndpointId}.endpoints.email.{PartitionResult#dnsSuffix}",properties:o,headers:p},[A]:e}],[A]:f},{error:"Invalid Configuration: FIPS is not supported with multi-region endpoints",[A]:g}],[A]:f},{error:"EndpointId must be a valid host label",[A]:g}],[A]:f},{conditions:v,rules:[{conditions:y,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[A]:g},{conditions:w,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[A]:g},{endpoint:{url:n,properties:p,headers:p},[A]:e}],[A]:f},{conditions:[k],rules:[{conditions:[l],rules:[{conditions:[t,q],rules:[{conditions:[{[B]:d,[C]:[b,u]},r],rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[A]:g}],[A]:f},{conditions:y,rules:[{conditions:[{[B]:d,[C]:[u,b]}],rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f},{error:"FIPS is enabled but this partition does not support FIPS",[A]:g}],[A]:f},{conditions:w,rules:[{conditions:x,rules:[{endpoint:{url:"https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f},s],[A]:f},{endpoint:{url:"https://email.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f}],[A]:f},{error:"Invalid Configuration: Missing Region",[A]:g}]};
39+
const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h,EndpointId:h},rules:[{conditions:[{[B]:c,[C]:[j]},k,l],rules:[{conditions:[{[B]:"isValidHostLabel",[C]:[j,b]}],rules:[{conditions:[{[B]:d,[C]:[m,a]}],rules:[{conditions:v,endpoint:{url:n,properties:o,headers:p},[A]:e},{conditions:w,rules:[{conditions:x,rules:[{endpoint:{url:"https://{EndpointId}.endpoints.email.global.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:p},[A]:e}],[A]:f},s],[A]:f},{endpoint:{url:"https://{EndpointId}.endpoints.email.{PartitionResult#dnsSuffix}",properties:o,headers:p},[A]:e}],[A]:f},{error:"Invalid Configuration: FIPS is not supported with multi-region endpoints",[A]:g}],[A]:f},{error:"EndpointId must be a valid host label",[A]:g}],[A]:f},{conditions:v,rules:[{conditions:y,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[A]:g},{conditions:w,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[A]:g},{endpoint:{url:n,properties:p,headers:p},[A]:e}],[A]:f},{conditions:[k],rules:[{conditions:[l],rules:[{conditions:[t,q],rules:[{conditions:[{[B]:d,[C]:[b,u]},r],rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[A]:g}],[A]:f},{conditions:y,rules:[{conditions:[{[B]:d,[C]:[u,b]}],rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f},{error:"FIPS is enabled but this partition does not support FIPS",[A]:g}],[A]:f},{conditions:w,rules:[{conditions:x,rules:[{endpoint:{url:"https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f},s],[A]:f},{endpoint:{url:"https://email.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},[A]:e}],[A]:f}],[A]:f},{error:"Invalid Configuration: Missing Region",[A]:g}]};
4040
export const ruleSet: RuleSetObject = _data;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6704,7 +6704,7 @@
67046704
}
67056705
],
67066706
"traits": {
6707-
"smithy.api#documentation": "<p>Lists all of the contact lists available.</p>",
6707+
"smithy.api#documentation": "<p>Lists all of the contact lists available.</p>\n <p>If your output includes a \"NextToken\" field with a string value, this indicates there may be additional\n contacts on the filtered list - regardless of the number of contacts returned.</p>",
67086708
"smithy.api#http": {
67096709
"method": "GET",
67106710
"uri": "/v2/email/contact-lists",
@@ -11425,7 +11425,7 @@
1142511425
{
1142611426
"conditions": [],
1142711427
"endpoint": {
11428-
"url": "https://{EndpointId}.endpoints.email.{PartitionResult#dualStackDnsSuffix}",
11428+
"url": "https://{EndpointId}.endpoints.email.global.{PartitionResult#dualStackDnsSuffix}",
1142911429
"properties": {
1143011430
"authSchemes": [
1143111431
{
@@ -12402,7 +12402,7 @@
1240212402
}
1240312403
]
1240412404
},
12405-
"url": "https://abc123.456def.endpoints.email.api.aws"
12405+
"url": "https://abc123.456def.endpoints.email.global.api.aws"
1240612406
}
1240712407
},
1240812408
"params": {

0 commit comments

Comments
 (0)