Skip to content

Commit 9328383

Browse files
Allow underscores in the local part of the input of the "Email recipients rewrite" action in rule sets.
1 parent d3ece44 commit 9328383

File tree

9 files changed

+2405
-1354
lines changed

9 files changed

+2405
-1354
lines changed

docgenerator/AWSSDKDocSamples/MailManager.GeneratedSamples.extra.xml

Lines changed: 421 additions & 0 deletions
Large diffs are not rendered by default.

docgenerator/AWSSDKDocSamples/MailManager/MailManager.GeneratedSamples.cs

Lines changed: 424 additions & 0 deletions
Large diffs are not rendered by default.

generator/ServiceModels/mailmanager/mailmanager-2023-10-17.api.json

Lines changed: 295 additions & 318 deletions
Large diffs are not rendered by default.

generator/ServiceModels/mailmanager/mailmanager-2023-10-17.docs.json

Lines changed: 146 additions & 272 deletions
Large diffs are not rendered by default.
Lines changed: 378 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,383 @@
11
{
22
"version": "1.0",
33
"examples": {
4+
"CreateIngressPoint": [
5+
{
6+
"input": {
7+
"IngressPointName": "ingressPointName",
8+
"RuleSetId": "rs-12345",
9+
"Tags": [
10+
{
11+
"Key": "key",
12+
"Value": "value"
13+
}
14+
],
15+
"TrafficPolicyId": "tp-12345",
16+
"Type": "OPEN"
17+
},
18+
"output": {
19+
"IngressPointId": "inp-12345"
20+
},
21+
"id": "example-1",
22+
"title": "Create Open IngressPoint"
23+
},
24+
{
25+
"input": {
26+
"IngressPointConfiguration": {
27+
"SmtpPassword": "smtpPassword"
28+
},
29+
"IngressPointName": "ingressPointName",
30+
"RuleSetId": "rs-12345",
31+
"Tags": [
32+
{
33+
"Key": "key",
34+
"Value": "value"
35+
}
36+
],
37+
"TrafficPolicyId": "tp-12345",
38+
"Type": "AUTH"
39+
},
40+
"output": {
41+
"IngressPointId": "inp-12345"
42+
},
43+
"id": "example-2",
44+
"title": "Create Auth IngressPoint with Password"
45+
},
46+
{
47+
"input": {
48+
"IngressPointConfiguration": {
49+
"SecretArn": "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
50+
},
51+
"IngressPointName": "ingressPointName",
52+
"RuleSetId": "rs-12345",
53+
"Tags": [
54+
{
55+
"Key": "key",
56+
"Value": "value"
57+
}
58+
],
59+
"TrafficPolicyId": "tp-12345",
60+
"Type": "AUTH"
61+
},
62+
"output": {
63+
"IngressPointId": "inp-12345"
64+
},
65+
"id": "example-3",
66+
"title": "Create Auth IngressPoint with SecretsManager Secret"
67+
}
68+
],
69+
"CreateTrafficPolicy": [
70+
{
71+
"input": {
72+
"DefaultAction": "DENY",
73+
"PolicyStatements": [
74+
{
75+
"Action": "ALLOW",
76+
"Conditions": [
77+
{
78+
"IpExpression": {
79+
"Evaluate": {
80+
"Attribute": "SENDER_IP"
81+
},
82+
"Operator": "CIDR_MATCHES",
83+
"Values": [
84+
"0.0.0.0/12"
85+
]
86+
}
87+
}
88+
]
89+
}
90+
],
91+
"TrafficPolicyName": "trafficPolicyName"
92+
},
93+
"output": {
94+
"TrafficPolicyId": "tp-13245"
95+
},
96+
"id": "example-1",
97+
"title": "Create TrafficPolicy"
98+
}
99+
],
100+
"DeleteIngressPoint": [
101+
{
102+
"input": {
103+
"IngressPointId": "inp-12345"
104+
},
105+
"output": {},
106+
"id": "example-1",
107+
"title": "Delete IngressPoint"
108+
}
109+
],
110+
"DeleteTrafficPolicy": [
111+
{
112+
"input": {
113+
"TrafficPolicyId": "tp-12345"
114+
},
115+
"output": {},
116+
"id": "example-1",
117+
"title": "Delete TrafficPolicy"
118+
}
119+
],
120+
"GetIngressPoint": [
121+
{
122+
"input": {
123+
"IngressPointId": "inp-12345"
124+
},
125+
"output": {
126+
"ARecord": "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
127+
"IngressPointArn": "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
128+
"IngressPointId": "inp-12345",
129+
"IngressPointName": "ingressPointName",
130+
"Status": "ACTIVE",
131+
"Type": "OPEN"
132+
},
133+
"id": "example-1",
134+
"title": "Get Open IngressPoint"
135+
},
136+
{
137+
"input": {
138+
"IngressPointId": "inp-12345"
139+
},
140+
"output": {
141+
"ARecord": "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
142+
"IngressPointArn": "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
143+
"IngressPointAuthConfiguration": {
144+
"SecretArn": "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
145+
},
146+
"IngressPointId": "inp-12345",
147+
"IngressPointName": "ingressPointName",
148+
"Status": "ACTIVE",
149+
"Type": "AUTH"
150+
},
151+
"id": "example-2",
152+
"title": "Get Auth IngressPoint"
153+
}
154+
],
155+
"GetTrafficPolicy": [
156+
{
157+
"input": {
158+
"TrafficPolicyId": "tp-12345"
159+
},
160+
"output": {
161+
"DefaultAction": "DENY",
162+
"MaxMessageSizeBytes": 1000,
163+
"PolicyStatements": [
164+
{
165+
"Action": "ALLOW",
166+
"Conditions": [
167+
{
168+
"StringExpression": {
169+
"Evaluate": {
170+
"Attribute": "RECIPIENT"
171+
},
172+
"Operator": "EQUALS",
173+
"Values": [
174+
175+
176+
]
177+
}
178+
}
179+
]
180+
}
181+
],
182+
"TrafficPolicyArn": "arn:aws:ses:us-east-1:123456789012:mailmanager-traffic-policy/tp-12345",
183+
"TrafficPolicyId": "tp-12345",
184+
"TrafficPolicyName": "trafficPolicyName"
185+
},
186+
"id": "example-1",
187+
"title": "Get TrafficPolicy"
188+
}
189+
],
190+
"ListIngressPoints": [
191+
{
192+
"input": {},
193+
"output": {
194+
"IngressPoints": [
195+
{
196+
"ARecord": "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
197+
"IngressPointId": "inp-12345",
198+
"IngressPointName": "ingressPointName",
199+
"Status": "ACTIVE",
200+
"Type": "OPEN"
201+
}
202+
]
203+
},
204+
"id": "example-1",
205+
"title": "List IngressPoints"
206+
},
207+
{
208+
"input": {
209+
"PageSize": 10
210+
},
211+
"output": {
212+
"IngressPoints": [
213+
{
214+
"ARecord": "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
215+
"IngressPointId": "inp-12345",
216+
"IngressPointName": "ingressPointName",
217+
"Status": "ACTIVE",
218+
"Type": "OPEN"
219+
}
220+
]
221+
},
222+
"id": "example-2",
223+
"title": "List IngressPoints with PageSize"
224+
},
225+
{
226+
"input": {
227+
"NextToken": "nextToken"
228+
},
229+
"output": {
230+
"IngressPoints": [
231+
{
232+
"ARecord": "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
233+
"IngressPointId": "inp-12345",
234+
"IngressPointName": "ingressPointName",
235+
"Status": "ACTIVE",
236+
"Type": "OPEN"
237+
}
238+
]
239+
},
240+
"id": "example-3",
241+
"title": "List IngressPoints with NextToken"
242+
}
243+
],
244+
"ListTrafficPolicies": [
245+
{
246+
"input": {},
247+
"output": {
248+
"TrafficPolicies": [
249+
{
250+
"DefaultAction": "DENY",
251+
"TrafficPolicyId": "tp-12345",
252+
"TrafficPolicyName": "trafficPolicyName"
253+
}
254+
]
255+
},
256+
"id": "example-1",
257+
"title": "List TrafficPolicies"
258+
},
259+
{
260+
"input": {
261+
"PageSize": 10
262+
},
263+
"output": {
264+
"TrafficPolicies": [
265+
{
266+
"DefaultAction": "DENY",
267+
"TrafficPolicyId": "tp-12345",
268+
"TrafficPolicyName": "trafficPolicyName"
269+
}
270+
]
271+
},
272+
"id": "example-2",
273+
"title": "List TrafficPolicies with PageSize"
274+
},
275+
{
276+
"input": {
277+
"NextToken": "nextToken"
278+
},
279+
"output": {
280+
"TrafficPolicies": [
281+
{
282+
"DefaultAction": "DENY",
283+
"TrafficPolicyId": "tp-12345",
284+
"TrafficPolicyName": "trafficPolicyName"
285+
}
286+
]
287+
},
288+
"id": "example-3",
289+
"title": "List TrafficPolicies with NextToken"
290+
}
291+
],
292+
"UpdateIngressPoint": [
293+
{
294+
"input": {
295+
"IngressPointId": "inp-12345",
296+
"IngressPointName": "ingressPointNewName"
297+
},
298+
"output": {},
299+
"id": "example-1",
300+
"title": "Update Open/Auth IngressPoint with new Name"
301+
},
302+
{
303+
"input": {
304+
"IngressPointId": "inp-12345",
305+
"RuleSetId": "rs-12345",
306+
"TrafficPolicyId": "tp-12345"
307+
},
308+
"output": {},
309+
"id": "example-2",
310+
"title": "Update Open/Auth IngressPoint with new RuleSetId / TrafficPolicyId"
311+
},
312+
{
313+
"input": {
314+
"IngressPointConfiguration": {
315+
"SmtpPassword": "newSmtpPassword"
316+
},
317+
"IngressPointId": "inp-12345"
318+
},
319+
"output": {},
320+
"id": "example-3",
321+
"title": "Update Auth IngressPoint with new SmtpPassword"
322+
},
323+
{
324+
"input": {
325+
"IngressPointConfiguration": {
326+
"SecretArn": "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
327+
},
328+
"IngressPointId": "inp-12345"
329+
},
330+
"output": {},
331+
"id": "example-4",
332+
"title": "Update Auth IngressPoint with new SecretArn"
333+
}
334+
],
335+
"UpdateTrafficPolicy": [
336+
{
337+
"input": {
338+
"TrafficPolicyId": "tp-12345",
339+
"TrafficPolicyName": "trafficPolicyNewName"
340+
},
341+
"output": {},
342+
"id": "example-1",
343+
"title": "Update TrafficPolicy with new Name"
344+
},
345+
{
346+
"input": {
347+
"PolicyStatements": [
348+
{
349+
"Action": "ALLOW",
350+
"Conditions": [
351+
{
352+
"StringExpression": {
353+
"Evaluate": {
354+
"Attribute": "RECIPIENT"
355+
},
356+
"Operator": "EQUALS",
357+
"Values": [
358+
359+
360+
]
361+
}
362+
}
363+
]
364+
}
365+
],
366+
"TrafficPolicyId": "tp-12345"
367+
},
368+
"output": {},
369+
"id": "example-2",
370+
"title": "Update TrafficPolicy with new PolicyStatements"
371+
},
372+
{
373+
"input": {
374+
"DefaultAction": "ALLOW",
375+
"TrafficPolicyId": "tp-12345"
376+
},
377+
"output": {},
378+
"id": "example-3",
379+
"title": "Update TrafficPolicy with new DefaultAction"
380+
}
381+
]
4382
}
5383
}

0 commit comments

Comments
 (0)