Skip to content

Commit 6de64cf

Browse files
Updated API models and rebuilt service gems.
1 parent 71b8ce3 commit 6de64cf

File tree

97 files changed

+7679
-4223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+7679
-4223
lines changed

apis/account/2021-02-01/api-2.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@
1212
"uid":"account-2021-02-01"
1313
},
1414
"operations":{
15+
"AcceptPrimaryEmailUpdate":{
16+
"name":"AcceptPrimaryEmailUpdate",
17+
"http":{
18+
"method":"POST",
19+
"requestUri":"/acceptPrimaryEmailUpdate",
20+
"responseCode":200
21+
},
22+
"input":{"shape":"AcceptPrimaryEmailUpdateRequest"},
23+
"output":{"shape":"AcceptPrimaryEmailUpdateResponse"},
24+
"errors":[
25+
{"shape":"ResourceNotFoundException"},
26+
{"shape":"ValidationException"},
27+
{"shape":"ConflictException"},
28+
{"shape":"AccessDeniedException"},
29+
{"shape":"TooManyRequestsException"},
30+
{"shape":"InternalServerException"}
31+
]
32+
},
1533
"DeleteAlternateContact":{
1634
"name":"DeleteAlternateContact",
1735
"http":{
@@ -95,6 +113,23 @@
95113
{"shape":"InternalServerException"}
96114
]
97115
},
116+
"GetPrimaryEmail":{
117+
"name":"GetPrimaryEmail",
118+
"http":{
119+
"method":"POST",
120+
"requestUri":"/getPrimaryEmail",
121+
"responseCode":200
122+
},
123+
"input":{"shape":"GetPrimaryEmailRequest"},
124+
"output":{"shape":"GetPrimaryEmailResponse"},
125+
"errors":[
126+
{"shape":"ResourceNotFoundException"},
127+
{"shape":"ValidationException"},
128+
{"shape":"AccessDeniedException"},
129+
{"shape":"TooManyRequestsException"},
130+
{"shape":"InternalServerException"}
131+
]
132+
},
98133
"GetRegionOptStatus":{
99134
"name":"GetRegionOptStatus",
100135
"http":{
@@ -158,9 +193,46 @@
158193
{"shape":"InternalServerException"}
159194
],
160195
"idempotent":true
196+
},
197+
"StartPrimaryEmailUpdate":{
198+
"name":"StartPrimaryEmailUpdate",
199+
"http":{
200+
"method":"POST",
201+
"requestUri":"/startPrimaryEmailUpdate",
202+
"responseCode":200
203+
},
204+
"input":{"shape":"StartPrimaryEmailUpdateRequest"},
205+
"output":{"shape":"StartPrimaryEmailUpdateResponse"},
206+
"errors":[
207+
{"shape":"ResourceNotFoundException"},
208+
{"shape":"ValidationException"},
209+
{"shape":"ConflictException"},
210+
{"shape":"AccessDeniedException"},
211+
{"shape":"TooManyRequestsException"},
212+
{"shape":"InternalServerException"}
213+
]
161214
}
162215
},
163216
"shapes":{
217+
"AcceptPrimaryEmailUpdateRequest":{
218+
"type":"structure",
219+
"required":[
220+
"AccountId",
221+
"Otp",
222+
"PrimaryEmail"
223+
],
224+
"members":{
225+
"AccountId":{"shape":"AccountId"},
226+
"Otp":{"shape":"Otp"},
227+
"PrimaryEmail":{"shape":"PrimaryEmailAddress"}
228+
}
229+
},
230+
"AcceptPrimaryEmailUpdateResponse":{
231+
"type":"structure",
232+
"members":{
233+
"Status":{"shape":"PrimaryEmailUpdateStatus"}
234+
}
235+
},
164236
"AccessDeniedException":{
165237
"type":"structure",
166238
"required":["message"],
@@ -332,6 +404,19 @@
332404
"ContactInformation":{"shape":"ContactInformation"}
333405
}
334406
},
407+
"GetPrimaryEmailRequest":{
408+
"type":"structure",
409+
"required":["AccountId"],
410+
"members":{
411+
"AccountId":{"shape":"AccountId"}
412+
}
413+
},
414+
"GetPrimaryEmailResponse":{
415+
"type":"structure",
416+
"members":{
417+
"PrimaryEmail":{"shape":"PrimaryEmailAddress"}
418+
}
419+
},
335420
"GetRegionOptStatusRequest":{
336421
"type":"structure",
337422
"required":["RegionName"],
@@ -391,6 +476,11 @@
391476
"min":1,
392477
"sensitive":true
393478
},
479+
"Otp":{
480+
"type":"string",
481+
"pattern":"^[a-zA-Z0-9]{6}$",
482+
"sensitive":true
483+
},
394484
"PhoneNumber":{
395485
"type":"string",
396486
"max":25,
@@ -404,6 +494,19 @@
404494
"min":1,
405495
"sensitive":true
406496
},
497+
"PrimaryEmailAddress":{
498+
"type":"string",
499+
"max":64,
500+
"min":5,
501+
"sensitive":true
502+
},
503+
"PrimaryEmailUpdateStatus":{
504+
"type":"string",
505+
"enum":[
506+
"PENDING",
507+
"ACCEPTED"
508+
]
509+
},
407510
"PutAlternateContactRequest":{
408511
"type":"structure",
409512
"required":[
@@ -476,6 +579,23 @@
476579
"type":"string",
477580
"sensitive":true
478581
},
582+
"StartPrimaryEmailUpdateRequest":{
583+
"type":"structure",
584+
"required":[
585+
"AccountId",
586+
"PrimaryEmail"
587+
],
588+
"members":{
589+
"AccountId":{"shape":"AccountId"},
590+
"PrimaryEmail":{"shape":"PrimaryEmailAddress"}
591+
}
592+
},
593+
"StartPrimaryEmailUpdateResponse":{
594+
"type":"structure",
595+
"members":{
596+
"Status":{"shape":"PrimaryEmailUpdateStatus"}
597+
}
598+
},
479599
"StateOrRegion":{
480600
"type":"string",
481601
"max":50,

apis/account/2021-02-01/docs-2.json

Lines changed: 66 additions & 9 deletions
Large diffs are not rendered by default.

apis/account/2021-02-01/endpoint-rule-set-1.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -83,7 +82,8 @@
8382
},
8483
"type": "endpoint"
8584
}
86-
]
85+
],
86+
"type": "tree"
8787
},
8888
{
8989
"conditions": [
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -110,7 +109,6 @@
110109
"assign": "PartitionResult"
111110
}
112111
],
113-
"type": "tree",
114112
"rules": [
115113
{
116114
"conditions": [
@@ -235,7 +233,6 @@
235233
]
236234
}
237235
],
238-
"type": "tree",
239236
"rules": [
240237
{
241238
"conditions": [
@@ -270,7 +267,6 @@
270267
]
271268
}
272269
],
273-
"type": "tree",
274270
"rules": [
275271
{
276272
"conditions": [],
@@ -281,14 +277,16 @@
281277
},
282278
"type": "endpoint"
283279
}
284-
]
280+
],
281+
"type": "tree"
285282
},
286283
{
287284
"conditions": [],
288285
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
289286
"type": "error"
290287
}
291-
]
288+
],
289+
"type": "tree"
292290
},
293291
{
294292
"conditions": [
@@ -302,14 +300,12 @@
302300
]
303301
}
304302
],
305-
"type": "tree",
306303
"rules": [
307304
{
308305
"conditions": [
309306
{
310307
"fn": "booleanEquals",
311308
"argv": [
312-
true,
313309
{
314310
"fn": "getAttr",
315311
"argv": [
@@ -318,11 +314,11 @@
318314
},
319315
"supportsFIPS"
320316
]
321-
}
317+
},
318+
true
322319
]
323320
}
324321
],
325-
"type": "tree",
326322
"rules": [
327323
{
328324
"conditions": [],
@@ -333,14 +329,16 @@
333329
},
334330
"type": "endpoint"
335331
}
336-
]
332+
],
333+
"type": "tree"
337334
},
338335
{
339336
"conditions": [],
340337
"error": "FIPS is enabled but this partition does not support FIPS",
341338
"type": "error"
342339
}
343-
]
340+
],
341+
"type": "tree"
344342
},
345343
{
346344
"conditions": [
@@ -354,7 +352,6 @@
354352
]
355353
}
356354
],
357-
"type": "tree",
358355
"rules": [
359356
{
360357
"conditions": [
@@ -374,7 +371,6 @@
374371
]
375372
}
376373
],
377-
"type": "tree",
378374
"rules": [
379375
{
380376
"conditions": [],
@@ -385,14 +381,16 @@
385381
},
386382
"type": "endpoint"
387383
}
388-
]
384+
],
385+
"type": "tree"
389386
},
390387
{
391388
"conditions": [],
392389
"error": "DualStack is enabled but this partition does not support DualStack",
393390
"type": "error"
394391
}
395-
]
392+
],
393+
"type": "tree"
396394
},
397395
{
398396
"conditions": [],
@@ -403,9 +401,11 @@
403401
},
404402
"type": "endpoint"
405403
}
406-
]
404+
],
405+
"type": "tree"
407406
}
408-
]
407+
],
408+
"type": "tree"
409409
},
410410
{
411411
"conditions": [],

0 commit comments

Comments
 (0)