Skip to content

Commit b20ead8

Browse files
author
AWS
committed
Security Incident Response Update: Update PrincipalId pattern documentation to reflect what user should receive back from the API call
1 parent 321a0b0 commit b20ead8

File tree

2 files changed

+31
-23
lines changed

2 files changed

+31
-23
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Security Incident Response",
4+
"contributor": "",
5+
"description": "Update PrincipalId pattern documentation to reflect what user should receive back from the API call"
6+
}

services/securityir/src/main/resources/codegen-resources/service-2.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
"documentation":"<p>Grants permission to view an existing membership.</p>"
@@ -50,9 +50,9 @@
5050
{"shape":"ValidationException"},
5151
{"shape":"SecurityIncidentResponseNotActiveException"},
5252
{"shape":"InternalServerException"},
53+
{"shape":"ThrottlingException"},
5354
{"shape":"ConflictException"},
5455
{"shape":"ResourceNotFoundException"},
55-
{"shape":"ThrottlingException"},
5656
{"shape":"InvalidTokenException"}
5757
],
5858
"documentation":"<p>Grants permissions to cancel an existing membership.</p>",
@@ -73,9 +73,9 @@
7373
{"shape":"ValidationException"},
7474
{"shape":"SecurityIncidentResponseNotActiveException"},
7575
{"shape":"InternalServerException"},
76+
{"shape":"ThrottlingException"},
7677
{"shape":"ConflictException"},
7778
{"shape":"ResourceNotFoundException"},
78-
{"shape":"ThrottlingException"},
7979
{"shape":"InvalidTokenException"}
8080
],
8181
"documentation":"<p>Grants permission to close an existing case.</p>"
@@ -95,9 +95,9 @@
9595
{"shape":"ValidationException"},
9696
{"shape":"SecurityIncidentResponseNotActiveException"},
9797
{"shape":"InternalServerException"},
98+
{"shape":"ThrottlingException"},
9899
{"shape":"ConflictException"},
99100
{"shape":"ResourceNotFoundException"},
100-
{"shape":"ThrottlingException"},
101101
{"shape":"InvalidTokenException"}
102102
],
103103
"documentation":"<p>Grants permission to create a new case.</p>",
@@ -118,9 +118,9 @@
118118
{"shape":"ValidationException"},
119119
{"shape":"SecurityIncidentResponseNotActiveException"},
120120
{"shape":"InternalServerException"},
121+
{"shape":"ThrottlingException"},
121122
{"shape":"ConflictException"},
122123
{"shape":"ResourceNotFoundException"},
123-
{"shape":"ThrottlingException"},
124124
{"shape":"InvalidTokenException"}
125125
],
126126
"documentation":"<p>Grants permission to add a comment to an existing case.</p>",
@@ -141,9 +141,9 @@
141141
{"shape":"ValidationException"},
142142
{"shape":"SecurityIncidentResponseNotActiveException"},
143143
{"shape":"InternalServerException"},
144+
{"shape":"ThrottlingException"},
144145
{"shape":"ConflictException"},
145146
{"shape":"ResourceNotFoundException"},
146-
{"shape":"ThrottlingException"},
147147
{"shape":"InvalidTokenException"}
148148
],
149149
"documentation":"<p>Grants permissions to create a new membership.</p>",
@@ -164,9 +164,9 @@
164164
{"shape":"ValidationException"},
165165
{"shape":"SecurityIncidentResponseNotActiveException"},
166166
{"shape":"InternalServerException"},
167+
{"shape":"ThrottlingException"},
167168
{"shape":"ConflictException"},
168169
{"shape":"ResourceNotFoundException"},
169-
{"shape":"ThrottlingException"},
170170
{"shape":"InvalidTokenException"}
171171
],
172172
"documentation":"<p>Grant permission to view a designated case.</p>"
@@ -186,9 +186,9 @@
186186
{"shape":"ValidationException"},
187187
{"shape":"SecurityIncidentResponseNotActiveException"},
188188
{"shape":"InternalServerException"},
189+
{"shape":"ThrottlingException"},
189190
{"shape":"ConflictException"},
190191
{"shape":"ResourceNotFoundException"},
191-
{"shape":"ThrottlingException"},
192192
{"shape":"InvalidTokenException"}
193193
],
194194
"documentation":"<p>Grants permission to obtain an Amazon S3 presigned URL to download an attachment.</p>"
@@ -208,9 +208,9 @@
208208
{"shape":"ValidationException"},
209209
{"shape":"SecurityIncidentResponseNotActiveException"},
210210
{"shape":"InternalServerException"},
211+
{"shape":"ThrottlingException"},
211212
{"shape":"ConflictException"},
212213
{"shape":"ResourceNotFoundException"},
213-
{"shape":"ThrottlingException"},
214214
{"shape":"InvalidTokenException"}
215215
],
216216
"documentation":"<p>Grants permission to upload an attachment to a case.</p>",
@@ -231,9 +231,9 @@
231231
{"shape":"ValidationException"},
232232
{"shape":"SecurityIncidentResponseNotActiveException"},
233233
{"shape":"InternalServerException"},
234+
{"shape":"ThrottlingException"},
234235
{"shape":"ConflictException"},
235236
{"shape":"ResourceNotFoundException"},
236-
{"shape":"ThrottlingException"},
237237
{"shape":"InvalidTokenException"}
238238
],
239239
"documentation":"<p>Grants permission to get details of a designated service membership.</p>"
@@ -253,9 +253,9 @@
253253
{"shape":"ValidationException"},
254254
{"shape":"SecurityIncidentResponseNotActiveException"},
255255
{"shape":"InternalServerException"},
256+
{"shape":"ThrottlingException"},
256257
{"shape":"ConflictException"},
257258
{"shape":"ResourceNotFoundException"},
258-
{"shape":"ThrottlingException"},
259259
{"shape":"InvalidTokenException"}
260260
],
261261
"documentation":"<p>Grants permissions to view the aidt log for edits made to a designated case.</p>"
@@ -275,9 +275,9 @@
275275
{"shape":"ValidationException"},
276276
{"shape":"SecurityIncidentResponseNotActiveException"},
277277
{"shape":"InternalServerException"},
278+
{"shape":"ThrottlingException"},
278279
{"shape":"ConflictException"},
279280
{"shape":"ResourceNotFoundException"},
280-
{"shape":"ThrottlingException"},
281281
{"shape":"InvalidTokenException"}
282282
],
283283
"documentation":"<p>Grants permission to list all cases the requester has access to.</p>"
@@ -297,9 +297,9 @@
297297
{"shape":"ValidationException"},
298298
{"shape":"SecurityIncidentResponseNotActiveException"},
299299
{"shape":"InternalServerException"},
300+
{"shape":"ThrottlingException"},
300301
{"shape":"ConflictException"},
301302
{"shape":"ResourceNotFoundException"},
302-
{"shape":"ThrottlingException"},
303303
{"shape":"InvalidTokenException"}
304304
],
305305
"documentation":"<p>Grants permissions to list and view comments for a designated case.</p>"
@@ -319,9 +319,9 @@
319319
{"shape":"ValidationException"},
320320
{"shape":"SecurityIncidentResponseNotActiveException"},
321321
{"shape":"InternalServerException"},
322+
{"shape":"ThrottlingException"},
322323
{"shape":"ConflictException"},
323324
{"shape":"ResourceNotFoundException"},
324-
{"shape":"ThrottlingException"},
325325
{"shape":"InvalidTokenException"}
326326
],
327327
"documentation":"<p>Grants permission to query the memberships a principal has access to.</p>"
@@ -342,8 +342,8 @@
342342
{"shape":"SecurityIncidentResponseNotActiveException"},
343343
{"shape":"InternalServerException"},
344344
{"shape":"ResourceNotFoundException"},
345-
{"shape":"ConflictException"},
346345
{"shape":"ThrottlingException"},
346+
{"shape":"ConflictException"},
347347
{"shape":"InvalidTokenException"}
348348
],
349349
"documentation":"<p>Grants permission to view currently configured tags on a resource.</p>"
@@ -364,8 +364,8 @@
364364
{"shape":"SecurityIncidentResponseNotActiveException"},
365365
{"shape":"InternalServerException"},
366366
{"shape":"ResourceNotFoundException"},
367-
{"shape":"ConflictException"},
368367
{"shape":"ThrottlingException"},
368+
{"shape":"ConflictException"},
369369
{"shape":"InvalidTokenException"}
370370
],
371371
"documentation":"<p>Grants permission to add a tag(s) to a designated resource.</p>"
@@ -386,8 +386,8 @@
386386
{"shape":"SecurityIncidentResponseNotActiveException"},
387387
{"shape":"InternalServerException"},
388388
{"shape":"ResourceNotFoundException"},
389-
{"shape":"ConflictException"},
390389
{"shape":"ThrottlingException"},
390+
{"shape":"ConflictException"},
391391
{"shape":"InvalidTokenException"}
392392
],
393393
"documentation":"<p>Grants permission to remove a tag(s) from a designate resource.</p>",
@@ -408,9 +408,9 @@
408408
{"shape":"ValidationException"},
409409
{"shape":"SecurityIncidentResponseNotActiveException"},
410410
{"shape":"InternalServerException"},
411+
{"shape":"ThrottlingException"},
411412
{"shape":"ConflictException"},
412413
{"shape":"ResourceNotFoundException"},
413-
{"shape":"ThrottlingException"},
414414
{"shape":"InvalidTokenException"}
415415
],
416416
"documentation":"<p>Grants permission to update an existing case.</p>"
@@ -430,9 +430,9 @@
430430
{"shape":"ValidationException"},
431431
{"shape":"SecurityIncidentResponseNotActiveException"},
432432
{"shape":"InternalServerException"},
433+
{"shape":"ThrottlingException"},
433434
{"shape":"ConflictException"},
434435
{"shape":"ResourceNotFoundException"},
435-
{"shape":"ThrottlingException"},
436436
{"shape":"InvalidTokenException"}
437437
],
438438
"documentation":"<p>Grants permission to update an existing case comment.</p>",
@@ -453,9 +453,9 @@
453453
{"shape":"ValidationException"},
454454
{"shape":"SecurityIncidentResponseNotActiveException"},
455455
{"shape":"InternalServerException"},
456+
{"shape":"ThrottlingException"},
456457
{"shape":"ConflictException"},
457458
{"shape":"ResourceNotFoundException"},
458-
{"shape":"ThrottlingException"},
459459
{"shape":"InvalidTokenException"}
460460
],
461461
"documentation":"<p>Grants permission to update the status for a designated cases. Options include <code>Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed</code>. </p>"
@@ -475,9 +475,9 @@
475475
{"shape":"ValidationException"},
476476
{"shape":"SecurityIncidentResponseNotActiveException"},
477477
{"shape":"InternalServerException"},
478+
{"shape":"ThrottlingException"},
478479
{"shape":"ConflictException"},
479480
{"shape":"ResourceNotFoundException"},
480-
{"shape":"ThrottlingException"},
481481
{"shape":"InvalidTokenException"}
482482
],
483483
"documentation":"<p>Grants access to UpdateMembership to change membership configuration.</p>",
@@ -498,9 +498,9 @@
498498
{"shape":"ValidationException"},
499499
{"shape":"SecurityIncidentResponseNotActiveException"},
500500
{"shape":"InternalServerException"},
501+
{"shape":"ThrottlingException"},
501502
{"shape":"ConflictException"},
502503
{"shape":"ResourceNotFoundException"},
503-
{"shape":"ThrottlingException"},
504504
{"shape":"InvalidTokenException"}
505505
],
506506
"documentation":"<p>Grants permission to update the resolver type for a case.</p> <important> <p>This is a one-way action and cannot be reversed.</p> </important> <p>Options include self-supported &gt; AWS-supported.</p>"
@@ -557,6 +557,7 @@
557557
"ap-southeast-3",
558558
"ap-southeast-4",
559559
"ap-southeast-5",
560+
"ap-southeast-7",
560561
"ca-central-1",
561562
"ca-west-1",
562563
"cn-north-1",
@@ -572,6 +573,7 @@
572573
"il-central-1",
573574
"me-central-1",
574575
"me-south-1",
576+
"mx-central-1",
575577
"sa-east-1",
576578
"us-east-1",
577579
"us-east-2",
@@ -1824,7 +1826,7 @@
18241826
},
18251827
"PrincipalId":{
18261828
"type":"string",
1827-
"pattern":".*(^internal:midway:([a-z]{3,8}|svc-mw-[0-9]{12}[a-zA-Z0-9-]{5,20})$)|(^external:aws:\\d{12}$).*"
1829+
"pattern":".*((^AWS Responder)|(^\\d{12}$)|(^security-ir.amazonaws.com)).*"
18281830
},
18291831
"ResolverType":{
18301832
"type":"string",

0 commit comments

Comments
 (0)