|
12 | 12 | "uid":"account-2021-02-01"
|
13 | 13 | },
|
14 | 14 | "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 | + }, |
15 | 33 | "DeleteAlternateContact":{
|
16 | 34 | "name":"DeleteAlternateContact",
|
17 | 35 | "http":{
|
|
95 | 113 | {"shape":"InternalServerException"}
|
96 | 114 | ]
|
97 | 115 | },
|
| 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 | + }, |
98 | 133 | "GetRegionOptStatus":{
|
99 | 134 | "name":"GetRegionOptStatus",
|
100 | 135 | "http":{
|
|
158 | 193 | {"shape":"InternalServerException"}
|
159 | 194 | ],
|
160 | 195 | "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 | + ] |
161 | 214 | }
|
162 | 215 | },
|
163 | 216 | "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 | + }, |
164 | 236 | "AccessDeniedException":{
|
165 | 237 | "type":"structure",
|
166 | 238 | "required":["message"],
|
|
332 | 404 | "ContactInformation":{"shape":"ContactInformation"}
|
333 | 405 | }
|
334 | 406 | },
|
| 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 | + }, |
335 | 420 | "GetRegionOptStatusRequest":{
|
336 | 421 | "type":"structure",
|
337 | 422 | "required":["RegionName"],
|
|
391 | 476 | "min":1,
|
392 | 477 | "sensitive":true
|
393 | 478 | },
|
| 479 | + "Otp":{ |
| 480 | + "type":"string", |
| 481 | + "pattern":"^[a-zA-Z0-9]{6}$", |
| 482 | + "sensitive":true |
| 483 | + }, |
394 | 484 | "PhoneNumber":{
|
395 | 485 | "type":"string",
|
396 | 486 | "max":25,
|
|
404 | 494 | "min":1,
|
405 | 495 | "sensitive":true
|
406 | 496 | },
|
| 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 | + }, |
407 | 510 | "PutAlternateContactRequest":{
|
408 | 511 | "type":"structure",
|
409 | 512 | "required":[
|
|
476 | 579 | "type":"string",
|
477 | 580 | "sensitive":true
|
478 | 581 | },
|
| 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 | + }, |
479 | 599 | "StateOrRegion":{
|
480 | 600 | "type":"string",
|
481 | 601 | "max":50,
|
|
0 commit comments