|
285 | 285 | "documentation":"<p>Updates the primary contact information of an Amazon Web Services account.</p> <p>For complete details about how to use the primary contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-primary.html\">Update the primary contact for your Amazon Web Services account</a>.</p>", |
286 | 286 | "idempotent":true |
287 | 287 | }, |
| 288 | + "SendPhoneNumberVerification":{ |
| 289 | + "name":"SendPhoneNumberVerification", |
| 290 | + "http":{ |
| 291 | + "method":"POST", |
| 292 | + "requestUri":"/sendPhoneNumberVerification", |
| 293 | + "responseCode":200 |
| 294 | + }, |
| 295 | + "input":{"shape":"SendPhoneNumberVerificationRequest"}, |
| 296 | + "output":{"shape":"SendPhoneNumberVerificationResponse"}, |
| 297 | + "errors":[ |
| 298 | + {"shape":"ResourceNotFoundException"}, |
| 299 | + {"shape":"AccessDeniedException"}, |
| 300 | + {"shape":"ValidationException"}, |
| 301 | + {"shape":"ConflictException"}, |
| 302 | + {"shape":"TooManyRequestsException"}, |
| 303 | + {"shape":"InternalServerException"} |
| 304 | + ], |
| 305 | + "documentation":"<p>Sends a one-time passcode to the phone number in the primary contact information of an Amazon Web Services account. Use <a>VerifyPhoneNumber</a> to submit the passcode and complete the verification.</p> <p>For complete details about how to use the primary contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-primary.html\">Update the primary contact for your Amazon Web Services account</a>.</p>" |
| 306 | + }, |
288 | 307 | "StartPrimaryEmailUpdate":{ |
289 | 308 | "name":"StartPrimaryEmailUpdate", |
290 | 309 | "http":{ |
|
303 | 322 | {"shape":"InternalServerException"} |
304 | 323 | ], |
305 | 324 | "documentation":"<p>Starts the process to update the primary email address for the specified account.</p>" |
| 325 | + }, |
| 326 | + "VerifyPhoneNumber":{ |
| 327 | + "name":"VerifyPhoneNumber", |
| 328 | + "http":{ |
| 329 | + "method":"POST", |
| 330 | + "requestUri":"/verifyPhoneNumber", |
| 331 | + "responseCode":200 |
| 332 | + }, |
| 333 | + "input":{"shape":"VerifyPhoneNumberRequest"}, |
| 334 | + "output":{"shape":"VerifyPhoneNumberResponse"}, |
| 335 | + "errors":[ |
| 336 | + {"shape":"ResourceNotFoundException"}, |
| 337 | + {"shape":"AccessDeniedException"}, |
| 338 | + {"shape":"ValidationException"}, |
| 339 | + {"shape":"ConflictException"}, |
| 340 | + {"shape":"TooManyRequestsException"}, |
| 341 | + {"shape":"InternalServerException"} |
| 342 | + ], |
| 343 | + "documentation":"<p>Verifies the phone number in the primary contact information of an Amazon Web Services account by submitting the one-time passcode that <a>SendPhoneNumberVerification</a> sent to that phone number.</p> <p>For complete details about how to use the primary contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-primary.html\">Update the primary contact for your Amazon Web Services account</a>.</p>" |
306 | 344 | } |
307 | 345 | }, |
308 | 346 | "shapes":{ |
|
664 | 702 | "ContactInformation":{ |
665 | 703 | "shape":"ContactInformation", |
666 | 704 | "documentation":"<p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>" |
| 705 | + }, |
| 706 | + "VerificationStatus":{ |
| 707 | + "shape":"PhoneNumberVerificationStatus", |
| 708 | + "documentation":"<p>The verification status of the phone number in the primary contact information associated with an Amazon Web Services account. Valid values:</p> <ul> <li> <p> <code>PENDING</code> – A one-time passcode has been sent and is waiting to be submitted.</p> </li> <li> <p> <code>VERIFIED</code> – The phone number has been verified.</p> </li> <li> <p> <code>UNVERIFIED</code> – The phone number has not been verified.</p> </li> <li> <p> <code>NOT_SUPPORTED</code> – Phone number verification isn't available for this account.</p> </li> </ul>" |
667 | 709 | } |
668 | 710 | } |
669 | 711 | }, |
|
843 | 885 | "pattern":"[\\s0-9()+-]+", |
844 | 886 | "sensitive":true |
845 | 887 | }, |
| 888 | + "PhoneNumberVerificationStatus":{ |
| 889 | + "type":"string", |
| 890 | + "enum":[ |
| 891 | + "PENDING", |
| 892 | + "VERIFIED", |
| 893 | + "UNVERIFIED", |
| 894 | + "NOT_SUPPORTED" |
| 895 | + ] |
| 896 | + }, |
846 | 897 | "PostalCode":{ |
847 | 898 | "type":"string", |
848 | 899 | "max":20, |
|
1003 | 1054 | }, |
1004 | 1055 | "exception":true |
1005 | 1056 | }, |
| 1057 | + "SendPhoneNumberVerificationRequest":{ |
| 1058 | + "type":"structure", |
| 1059 | + "members":{ |
| 1060 | + "AccountId":{ |
| 1061 | + "shape":"AccountId", |
| 1062 | + "documentation":"<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" |
| 1063 | + } |
| 1064 | + } |
| 1065 | + }, |
| 1066 | + "SendPhoneNumberVerificationResponse":{ |
| 1067 | + "type":"structure", |
| 1068 | + "members":{ |
| 1069 | + "Status":{ |
| 1070 | + "shape":"PhoneNumberVerificationStatus", |
| 1071 | + "documentation":"<p>The verification status of the phone number in the primary contact information after the one-time passcode is sent. Valid values:</p> <ul> <li> <p> <code>PENDING</code> – A one-time passcode has been sent and is waiting to be submitted.</p> </li> <li> <p> <code>VERIFIED</code> – The phone number has been verified.</p> </li> <li> <p> <code>UNVERIFIED</code> – The phone number has not been verified.</p> </li> <li> <p> <code>NOT_SUPPORTED</code> – Phone number verification isn't available for this account.</p> </li> </ul>" |
| 1072 | + } |
| 1073 | + } |
| 1074 | + }, |
1006 | 1075 | "SensitiveString":{ |
1007 | 1076 | "type":"string", |
1008 | 1077 | "sensitive":true |
|
1120 | 1189 | "fieldValidationFailed" |
1121 | 1190 | ] |
1122 | 1191 | }, |
| 1192 | + "VerifyPhoneNumberRequest":{ |
| 1193 | + "type":"structure", |
| 1194 | + "required":["Otp"], |
| 1195 | + "members":{ |
| 1196 | + "AccountId":{ |
| 1197 | + "shape":"AccountId", |
| 1198 | + "documentation":"<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" |
| 1199 | + }, |
| 1200 | + "Otp":{ |
| 1201 | + "shape":"Otp", |
| 1202 | + "documentation":"<p>The one-time passcode sent to the phone number in the primary contact information by the <code>SendPhoneNumberVerification</code> operation.</p>" |
| 1203 | + } |
| 1204 | + } |
| 1205 | + }, |
| 1206 | + "VerifyPhoneNumberResponse":{ |
| 1207 | + "type":"structure", |
| 1208 | + "members":{ |
| 1209 | + "Status":{ |
| 1210 | + "shape":"PhoneNumberVerificationStatus", |
| 1211 | + "documentation":"<p>The verification status of the phone number in the primary contact information after the submitted one-time passcode is evaluated. Valid values:</p> <ul> <li> <p> <code>PENDING</code> – A one-time passcode has been sent and is waiting to be submitted.</p> </li> <li> <p> <code>VERIFIED</code> – The phone number has been verified.</p> </li> <li> <p> <code>UNVERIFIED</code> – The phone number has not been verified.</p> </li> <li> <p> <code>NOT_SUPPORTED</code> – Phone number verification isn't available for this account.</p> </li> </ul>" |
| 1212 | + } |
| 1213 | + } |
| 1214 | + }, |
1123 | 1215 | "WebsiteUrl":{ |
1124 | 1216 | "type":"string", |
1125 | 1217 | "max":256, |
|
0 commit comments