Skip to content

Commit 7028728

Browse files
Update PrincipalId pattern documentation to reflect what user should receive back from the API call
1 parent 845754f commit 7028728

File tree

4 files changed

+61
-49
lines changed

4 files changed

+61
-49
lines changed

generator/ServiceModels/security-ir/security-ir-2018-05-10.api.json

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
{"shape":"ValidationException"},
2929
{"shape":"SecurityIncidentResponseNotActiveException"},
3030
{"shape":"InternalServerException"},
31+
{"shape":"ThrottlingException"},
3132
{"shape":"ConflictException"},
3233
{"shape":"ResourceNotFoundException"},
33-
{"shape":"ThrottlingException"},
3434
{"shape":"InvalidTokenException"}
3535
]
3636
},
@@ -49,9 +49,9 @@
4949
{"shape":"ValidationException"},
5050
{"shape":"SecurityIncidentResponseNotActiveException"},
5151
{"shape":"InternalServerException"},
52+
{"shape":"ThrottlingException"},
5253
{"shape":"ConflictException"},
5354
{"shape":"ResourceNotFoundException"},
54-
{"shape":"ThrottlingException"},
5555
{"shape":"InvalidTokenException"}
5656
],
5757
"idempotent":true
@@ -71,9 +71,9 @@
7171
{"shape":"ValidationException"},
7272
{"shape":"SecurityIncidentResponseNotActiveException"},
7373
{"shape":"InternalServerException"},
74+
{"shape":"ThrottlingException"},
7475
{"shape":"ConflictException"},
7576
{"shape":"ResourceNotFoundException"},
76-
{"shape":"ThrottlingException"},
7777
{"shape":"InvalidTokenException"}
7878
]
7979
},
@@ -92,9 +92,9 @@
9292
{"shape":"ValidationException"},
9393
{"shape":"SecurityIncidentResponseNotActiveException"},
9494
{"shape":"InternalServerException"},
95+
{"shape":"ThrottlingException"},
9596
{"shape":"ConflictException"},
9697
{"shape":"ResourceNotFoundException"},
97-
{"shape":"ThrottlingException"},
9898
{"shape":"InvalidTokenException"}
9999
],
100100
"idempotent":true
@@ -114,9 +114,9 @@
114114
{"shape":"ValidationException"},
115115
{"shape":"SecurityIncidentResponseNotActiveException"},
116116
{"shape":"InternalServerException"},
117+
{"shape":"ThrottlingException"},
117118
{"shape":"ConflictException"},
118119
{"shape":"ResourceNotFoundException"},
119-
{"shape":"ThrottlingException"},
120120
{"shape":"InvalidTokenException"}
121121
],
122122
"idempotent":true
@@ -136,9 +136,9 @@
136136
{"shape":"ValidationException"},
137137
{"shape":"SecurityIncidentResponseNotActiveException"},
138138
{"shape":"InternalServerException"},
139+
{"shape":"ThrottlingException"},
139140
{"shape":"ConflictException"},
140141
{"shape":"ResourceNotFoundException"},
141-
{"shape":"ThrottlingException"},
142142
{"shape":"InvalidTokenException"}
143143
],
144144
"idempotent":true
@@ -158,9 +158,9 @@
158158
{"shape":"ValidationException"},
159159
{"shape":"SecurityIncidentResponseNotActiveException"},
160160
{"shape":"InternalServerException"},
161+
{"shape":"ThrottlingException"},
161162
{"shape":"ConflictException"},
162163
{"shape":"ResourceNotFoundException"},
163-
{"shape":"ThrottlingException"},
164164
{"shape":"InvalidTokenException"}
165165
]
166166
},
@@ -179,9 +179,9 @@
179179
{"shape":"ValidationException"},
180180
{"shape":"SecurityIncidentResponseNotActiveException"},
181181
{"shape":"InternalServerException"},
182+
{"shape":"ThrottlingException"},
182183
{"shape":"ConflictException"},
183184
{"shape":"ResourceNotFoundException"},
184-
{"shape":"ThrottlingException"},
185185
{"shape":"InvalidTokenException"}
186186
]
187187
},
@@ -200,9 +200,9 @@
200200
{"shape":"ValidationException"},
201201
{"shape":"SecurityIncidentResponseNotActiveException"},
202202
{"shape":"InternalServerException"},
203+
{"shape":"ThrottlingException"},
203204
{"shape":"ConflictException"},
204205
{"shape":"ResourceNotFoundException"},
205-
{"shape":"ThrottlingException"},
206206
{"shape":"InvalidTokenException"}
207207
],
208208
"idempotent":true
@@ -222,9 +222,9 @@
222222
{"shape":"ValidationException"},
223223
{"shape":"SecurityIncidentResponseNotActiveException"},
224224
{"shape":"InternalServerException"},
225+
{"shape":"ThrottlingException"},
225226
{"shape":"ConflictException"},
226227
{"shape":"ResourceNotFoundException"},
227-
{"shape":"ThrottlingException"},
228228
{"shape":"InvalidTokenException"}
229229
]
230230
},
@@ -243,9 +243,9 @@
243243
{"shape":"ValidationException"},
244244
{"shape":"SecurityIncidentResponseNotActiveException"},
245245
{"shape":"InternalServerException"},
246+
{"shape":"ThrottlingException"},
246247
{"shape":"ConflictException"},
247248
{"shape":"ResourceNotFoundException"},
248-
{"shape":"ThrottlingException"},
249249
{"shape":"InvalidTokenException"}
250250
]
251251
},
@@ -264,9 +264,9 @@
264264
{"shape":"ValidationException"},
265265
{"shape":"SecurityIncidentResponseNotActiveException"},
266266
{"shape":"InternalServerException"},
267+
{"shape":"ThrottlingException"},
267268
{"shape":"ConflictException"},
268269
{"shape":"ResourceNotFoundException"},
269-
{"shape":"ThrottlingException"},
270270
{"shape":"InvalidTokenException"}
271271
]
272272
},
@@ -285,9 +285,9 @@
285285
{"shape":"ValidationException"},
286286
{"shape":"SecurityIncidentResponseNotActiveException"},
287287
{"shape":"InternalServerException"},
288+
{"shape":"ThrottlingException"},
288289
{"shape":"ConflictException"},
289290
{"shape":"ResourceNotFoundException"},
290-
{"shape":"ThrottlingException"},
291291
{"shape":"InvalidTokenException"}
292292
]
293293
},
@@ -306,9 +306,9 @@
306306
{"shape":"ValidationException"},
307307
{"shape":"SecurityIncidentResponseNotActiveException"},
308308
{"shape":"InternalServerException"},
309+
{"shape":"ThrottlingException"},
309310
{"shape":"ConflictException"},
310311
{"shape":"ResourceNotFoundException"},
311-
{"shape":"ThrottlingException"},
312312
{"shape":"InvalidTokenException"}
313313
]
314314
},
@@ -328,8 +328,8 @@
328328
{"shape":"SecurityIncidentResponseNotActiveException"},
329329
{"shape":"InternalServerException"},
330330
{"shape":"ResourceNotFoundException"},
331-
{"shape":"ConflictException"},
332331
{"shape":"ThrottlingException"},
332+
{"shape":"ConflictException"},
333333
{"shape":"InvalidTokenException"}
334334
]
335335
},
@@ -349,8 +349,8 @@
349349
{"shape":"SecurityIncidentResponseNotActiveException"},
350350
{"shape":"InternalServerException"},
351351
{"shape":"ResourceNotFoundException"},
352-
{"shape":"ConflictException"},
353352
{"shape":"ThrottlingException"},
353+
{"shape":"ConflictException"},
354354
{"shape":"InvalidTokenException"}
355355
]
356356
},
@@ -370,8 +370,8 @@
370370
{"shape":"SecurityIncidentResponseNotActiveException"},
371371
{"shape":"InternalServerException"},
372372
{"shape":"ResourceNotFoundException"},
373-
{"shape":"ConflictException"},
374373
{"shape":"ThrottlingException"},
374+
{"shape":"ConflictException"},
375375
{"shape":"InvalidTokenException"}
376376
],
377377
"idempotent":true
@@ -391,9 +391,9 @@
391391
{"shape":"ValidationException"},
392392
{"shape":"SecurityIncidentResponseNotActiveException"},
393393
{"shape":"InternalServerException"},
394+
{"shape":"ThrottlingException"},
394395
{"shape":"ConflictException"},
395396
{"shape":"ResourceNotFoundException"},
396-
{"shape":"ThrottlingException"},
397397
{"shape":"InvalidTokenException"}
398398
]
399399
},
@@ -412,9 +412,9 @@
412412
{"shape":"ValidationException"},
413413
{"shape":"SecurityIncidentResponseNotActiveException"},
414414
{"shape":"InternalServerException"},
415+
{"shape":"ThrottlingException"},
415416
{"shape":"ConflictException"},
416417
{"shape":"ResourceNotFoundException"},
417-
{"shape":"ThrottlingException"},
418418
{"shape":"InvalidTokenException"}
419419
],
420420
"idempotent":true
@@ -434,9 +434,9 @@
434434
{"shape":"ValidationException"},
435435
{"shape":"SecurityIncidentResponseNotActiveException"},
436436
{"shape":"InternalServerException"},
437+
{"shape":"ThrottlingException"},
437438
{"shape":"ConflictException"},
438439
{"shape":"ResourceNotFoundException"},
439-
{"shape":"ThrottlingException"},
440440
{"shape":"InvalidTokenException"}
441441
]
442442
},
@@ -455,9 +455,9 @@
455455
{"shape":"ValidationException"},
456456
{"shape":"SecurityIncidentResponseNotActiveException"},
457457
{"shape":"InternalServerException"},
458+
{"shape":"ThrottlingException"},
458459
{"shape":"ConflictException"},
459460
{"shape":"ResourceNotFoundException"},
460-
{"shape":"ThrottlingException"},
461461
{"shape":"InvalidTokenException"}
462462
],
463463
"idempotent":true
@@ -477,9 +477,9 @@
477477
{"shape":"ValidationException"},
478478
{"shape":"SecurityIncidentResponseNotActiveException"},
479479
{"shape":"InternalServerException"},
480+
{"shape":"ThrottlingException"},
480481
{"shape":"ConflictException"},
481482
{"shape":"ResourceNotFoundException"},
482-
{"shape":"ThrottlingException"},
483483
{"shape":"InvalidTokenException"}
484484
]
485485
}
@@ -534,6 +534,7 @@
534534
"ap-southeast-3",
535535
"ap-southeast-4",
536536
"ap-southeast-5",
537+
"ap-southeast-7",
537538
"ca-central-1",
538539
"ca-west-1",
539540
"cn-north-1",
@@ -549,6 +550,7 @@
549550
"il-central-1",
550551
"me-central-1",
551552
"me-south-1",
553+
"mx-central-1",
552554
"sa-east-1",
553555
"us-east-1",
554556
"us-east-2",
@@ -1399,7 +1401,7 @@
13991401
},
14001402
"PrincipalId":{
14011403
"type":"string",
1402-
"pattern":".*(^internal:midway:([a-z]{3,8}|svc-mw-[0-9]{12}[a-zA-Z0-9-]{5,20})$)|(^external:aws:\\d{12}$).*"
1404+
"pattern":".*((^AWS Responder)|(^\\d{12}$)|(^security-ir.amazonaws.com)).*"
14031405
},
14041406
"ResolverType":{
14051407
"type":"string",

0 commit comments

Comments
 (0)