1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2021-02-01", 5 "endpointPrefix":"account", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceFullName":"AWS Account", 9 "serviceId":"Account", 10 "signatureVersion":"v4", 11 "signingName":"account", 12 "uid":"account-2021-02-01" 13 }, 14 "operations":{ 15 "DeleteAlternateContact":{ 16 "name":"DeleteAlternateContact", 17 "http":{ 18 "method":"POST", 19 "requestUri":"/deleteAlternateContact", 20 "responseCode":200 21 }, 22 "input":{"shape":"DeleteAlternateContactRequest"}, 23 "errors":[ 24 {"shape":"ResourceNotFoundException"}, 25 {"shape":"ValidationException"}, 26 {"shape":"AccessDeniedException"}, 27 {"shape":"TooManyRequestsException"}, 28 {"shape":"InternalServerException"} 29 ], 30 "documentation":"<p>Deletes the specified alternate contact from an Amazon Web Services account.</p> <p>For complete details about how to use the alternate contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html\">Access or updating the alternate contacts</a>.</p> <note> <p>Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html\">Enabling trusted access for Amazon Web Services Account Management</a>.</p> </note>", 31 "idempotent":true 32 }, 33 "DisableRegion":{ 34 "name":"DisableRegion", 35 "http":{ 36 "method":"POST", 37 "requestUri":"/disableRegion", 38 "responseCode":200 39 }, 40 "input":{"shape":"DisableRegionRequest"}, 41 "errors":[ 42 {"shape":"ValidationException"}, 43 {"shape":"ConflictException"}, 44 {"shape":"AccessDeniedException"}, 45 {"shape":"TooManyRequestsException"}, 46 {"shape":"InternalServerException"} 47 ], 48 "documentation":"<p>Disables (opts-out) a particular Region for an account.</p>" 49 }, 50 "EnableRegion":{ 51 "name":"EnableRegion", 52 "http":{ 53 "method":"POST", 54 "requestUri":"/enableRegion", 55 "responseCode":200 56 }, 57 "input":{"shape":"EnableRegionRequest"}, 58 "errors":[ 59 {"shape":"ValidationException"}, 60 {"shape":"ConflictException"}, 61 {"shape":"AccessDeniedException"}, 62 {"shape":"TooManyRequestsException"}, 63 {"shape":"InternalServerException"} 64 ], 65 "documentation":"<p>Enables (opts-in) a particular Region for an account.</p>" 66 }, 67 "GetAlternateContact":{ 68 "name":"GetAlternateContact", 69 "http":{ 70 "method":"POST", 71 "requestUri":"/getAlternateContact", 72 "responseCode":200 73 }, 74 "input":{"shape":"GetAlternateContactRequest"}, 75 "output":{"shape":"GetAlternateContactResponse"}, 76 "errors":[ 77 {"shape":"ResourceNotFoundException"}, 78 {"shape":"ValidationException"}, 79 {"shape":"AccessDeniedException"}, 80 {"shape":"TooManyRequestsException"}, 81 {"shape":"InternalServerException"} 82 ], 83 "documentation":"<p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p> <p>For complete details about how to use the alternate contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html\">Access or updating the alternate contacts</a>.</p> <note> <p>Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html\">Enabling trusted access for Amazon Web Services Account Management</a>.</p> </note>" 84 }, 85 "GetContactInformation":{ 86 "name":"GetContactInformation", 87 "http":{ 88 "method":"POST", 89 "requestUri":"/getContactInformation", 90 "responseCode":200 91 }, 92 "input":{"shape":"GetContactInformationRequest"}, 93 "output":{"shape":"GetContactInformationResponse"}, 94 "errors":[ 95 {"shape":"ResourceNotFoundException"}, 96 {"shape":"ValidationException"}, 97 {"shape":"AccessDeniedException"}, 98 {"shape":"TooManyRequestsException"}, 99 {"shape":"InternalServerException"} 100 ], 101 "documentation":"<p>Retrieves 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.html\">Update the primary and alternate contact information</a>.</p>" 102 }, 103 "GetRegionOptStatus":{ 104 "name":"GetRegionOptStatus", 105 "http":{ 106 "method":"POST", 107 "requestUri":"/getRegionOptStatus", 108 "responseCode":200 109 }, 110 "input":{"shape":"GetRegionOptStatusRequest"}, 111 "output":{"shape":"GetRegionOptStatusResponse"}, 112 "errors":[ 113 {"shape":"ValidationException"}, 114 {"shape":"AccessDeniedException"}, 115 {"shape":"TooManyRequestsException"}, 116 {"shape":"InternalServerException"} 117 ], 118 "documentation":"<p>Retrieves the opt-in status of a particular Region.</p>" 119 }, 120 "ListRegions":{ 121 "name":"ListRegions", 122 "http":{ 123 "method":"POST", 124 "requestUri":"/listRegions", 125 "responseCode":200 126 }, 127 "input":{"shape":"ListRegionsRequest"}, 128 "output":{"shape":"ListRegionsResponse"}, 129 "errors":[ 130 {"shape":"ValidationException"}, 131 {"shape":"AccessDeniedException"}, 132 {"shape":"TooManyRequestsException"}, 133 {"shape":"InternalServerException"} 134 ], 135 "documentation":"<p>Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be filtered by the <code>region-opt-status-contains</code> parameter. </p>" 136 }, 137 "PutAlternateContact":{ 138 "name":"PutAlternateContact", 139 "http":{ 140 "method":"POST", 141 "requestUri":"/putAlternateContact", 142 "responseCode":200 143 }, 144 "input":{"shape":"PutAlternateContactRequest"}, 145 "errors":[ 146 {"shape":"ValidationException"}, 147 {"shape":"AccessDeniedException"}, 148 {"shape":"TooManyRequestsException"}, 149 {"shape":"InternalServerException"} 150 ], 151 "documentation":"<p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p> <p>For complete details about how to use the alternate contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html\">Access or updating the alternate contacts</a>.</p> <note> <p>Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html\">Enabling trusted access for Amazon Web Services Account Management</a>.</p> </note>", 152 "idempotent":true 153 }, 154 "PutContactInformation":{ 155 "name":"PutContactInformation", 156 "http":{ 157 "method":"POST", 158 "requestUri":"/putContactInformation", 159 "responseCode":200 160 }, 161 "input":{"shape":"PutContactInformationRequest"}, 162 "errors":[ 163 {"shape":"ValidationException"}, 164 {"shape":"AccessDeniedException"}, 165 {"shape":"TooManyRequestsException"}, 166 {"shape":"InternalServerException"} 167 ], 168 "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.html\">Update the primary and alternate contact information</a>.</p>", 169 "idempotent":true 170 } 171 }, 172 "shapes":{ 173 "AccessDeniedException":{ 174 "type":"structure", 175 "required":["message"], 176 "members":{ 177 "message":{"shape":"String"} 178 }, 179 "documentation":"<p>The operation failed because the calling identity doesn't have the minimum required permissions.</p>", 180 "error":{ 181 "httpStatusCode":403, 182 "senderFault":true 183 }, 184 "exception":true 185 }, 186 "AccountId":{ 187 "type":"string", 188 "pattern":"^\\d{12}$" 189 }, 190 "AddressLine":{ 191 "type":"string", 192 "max":60, 193 "min":1, 194 "sensitive":true 195 }, 196 "AlternateContact":{ 197 "type":"structure", 198 "members":{ 199 "AlternateContactType":{ 200 "shape":"AlternateContactType", 201 "documentation":"<p>The type of alternate contact.</p>" 202 }, 203 "EmailAddress":{ 204 "shape":"EmailAddress", 205 "documentation":"<p>The email address associated with this alternate contact.</p>" 206 }, 207 "Name":{ 208 "shape":"Name", 209 "documentation":"<p>The name associated with this alternate contact.</p>" 210 }, 211 "PhoneNumber":{ 212 "shape":"PhoneNumber", 213 "documentation":"<p>The phone number associated with this alternate contact.</p>" 214 }, 215 "Title":{ 216 "shape":"Title", 217 "documentation":"<p>The title associated with this alternate contact.</p>" 218 } 219 }, 220 "documentation":"<p>A structure that contains the details of an alternate contact associated with an Amazon Web Services account</p>" 221 }, 222 "AlternateContactType":{ 223 "type":"string", 224 "enum":[ 225 "BILLING", 226 "OPERATIONS", 227 "SECURITY" 228 ] 229 }, 230 "City":{ 231 "type":"string", 232 "max":50, 233 "min":1, 234 "sensitive":true 235 }, 236 "CompanyName":{ 237 "type":"string", 238 "max":50, 239 "min":1, 240 "sensitive":true 241 }, 242 "ConflictException":{ 243 "type":"structure", 244 "required":["message"], 245 "members":{ 246 "message":{"shape":"String"} 247 }, 248 "documentation":"<p>The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING).</p>", 249 "error":{ 250 "httpStatusCode":409, 251 "senderFault":true 252 }, 253 "exception":true 254 }, 255 "ContactInformation":{ 256 "type":"structure", 257 "required":[ 258 "AddressLine1", 259 "City", 260 "CountryCode", 261 "FullName", 262 "PhoneNumber", 263 "PostalCode" 264 ], 265 "members":{ 266 "AddressLine1":{ 267 "shape":"AddressLine", 268 "documentation":"<p>The first line of the primary contact address.</p>" 269 }, 270 "AddressLine2":{ 271 "shape":"AddressLine", 272 "documentation":"<p>The second line of the primary contact address, if any.</p>" 273 }, 274 "AddressLine3":{ 275 "shape":"AddressLine", 276 "documentation":"<p>The third line of the primary contact address, if any.</p>" 277 }, 278 "City":{ 279 "shape":"City", 280 "documentation":"<p>The city of the primary contact address.</p>" 281 }, 282 "CompanyName":{ 283 "shape":"CompanyName", 284 "documentation":"<p>The name of the company associated with the primary contact information, if any.</p>" 285 }, 286 "CountryCode":{ 287 "shape":"CountryCode", 288 "documentation":"<p>The ISO-3166 two-letter country code for the primary contact address.</p>" 289 }, 290 "DistrictOrCounty":{ 291 "shape":"DistrictOrCounty", 292 "documentation":"<p>The district or county of the primary contact address, if any.</p>" 293 }, 294 "FullName":{ 295 "shape":"FullName", 296 "documentation":"<p>The full name of the primary contact address.</p>" 297 }, 298 "PhoneNumber":{ 299 "shape":"ContactInformationPhoneNumber", 300 "documentation":"<p>The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.</p>" 301 }, 302 "PostalCode":{ 303 "shape":"PostalCode", 304 "documentation":"<p>The postal code of the primary contact address.</p>" 305 }, 306 "StateOrRegion":{ 307 "shape":"StateOrRegion", 308 "documentation":"<p>The state or region of the primary contact address. This field is required in selected countries.</p>" 309 }, 310 "WebsiteUrl":{ 311 "shape":"WebsiteUrl", 312 "documentation":"<p>The URL of the website associated with the primary contact information, if any.</p>" 313 } 314 }, 315 "documentation":"<p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>" 316 }, 317 "ContactInformationPhoneNumber":{ 318 "type":"string", 319 "max":20, 320 "min":1, 321 "pattern":"^[+][\\s0-9()-]+$", 322 "sensitive":true 323 }, 324 "CountryCode":{ 325 "type":"string", 326 "max":2, 327 "min":2, 328 "sensitive":true 329 }, 330 "DeleteAlternateContactRequest":{ 331 "type":"structure", 332 "required":["AlternateContactType"], 333 "members":{ 334 "AccountId":{ 335 "shape":"AccountId", 336 "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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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>" 337 }, 338 "AlternateContactType":{ 339 "shape":"AlternateContactType", 340 "documentation":"<p>Specifies which of the alternate contacts to delete. </p>" 341 } 342 } 343 }, 344 "DisableRegionRequest":{ 345 "type":"structure", 346 "required":["RegionName"], 347 "members":{ 348 "AccountId":{ 349 "shape":"AccountId", 350 "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. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. 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. The specified account ID must also 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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" 351 }, 352 "RegionName":{ 353 "shape":"RegionName", 354 "documentation":"<p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When you disable a Region, Amazon Web Services performs actions to deactivate that Region in your account, such as destroying IAM resources in the Region. This process takes a few minutes for most accounts, but this can take several hours. You cannot enable the Region until the disabling process is fully completed.</p>" 355 } 356 } 357 }, 358 "DistrictOrCounty":{ 359 "type":"string", 360 "max":50, 361 "min":1, 362 "sensitive":true 363 }, 364 "EmailAddress":{ 365 "type":"string", 366 "max":254, 367 "min":1, 368 "pattern":"^[\\s]*[\\w+=.#|!&-]+@[\\w.-]+\\.[\\w]+[\\s]*$", 369 "sensitive":true 370 }, 371 "EnableRegionRequest":{ 372 "type":"structure", 373 "required":["RegionName"], 374 "members":{ 375 "AccountId":{ 376 "shape":"AccountId", 377 "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. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. 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. The specified account ID must also 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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" 378 }, 379 "RegionName":{ 380 "shape":"RegionName", 381 "documentation":"<p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When you enable a Region, Amazon Web Services performs actions to prepare your account in that Region, such as distributing your IAM resources to the Region. This process takes a few minutes for most accounts, but it can take several hours. You cannot use the Region until this process is complete. Furthermore, you cannot disable the Region until the enabling process is fully completed.</p>" 382 } 383 } 384 }, 385 "FullName":{ 386 "type":"string", 387 "max":50, 388 "min":1, 389 "sensitive":true 390 }, 391 "GetAlternateContactRequest":{ 392 "type":"structure", 393 "required":["AlternateContactType"], 394 "members":{ 395 "AccountId":{ 396 "shape":"AccountId", 397 "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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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>" 398 }, 399 "AlternateContactType":{ 400 "shape":"AlternateContactType", 401 "documentation":"<p>Specifies which alternate contact you want to retrieve.</p>" 402 } 403 } 404 }, 405 "GetAlternateContactResponse":{ 406 "type":"structure", 407 "members":{ 408 "AlternateContact":{ 409 "shape":"AlternateContact", 410 "documentation":"<p>A structure that contains the details for the specified alternate contact.</p>" 411 } 412 } 413 }, 414 "GetContactInformationRequest":{ 415 "type":"structure", 416 "members":{ 417 "AccountId":{ 418 "shape":"AccountId", 419 "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. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. 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. The specified account ID must also 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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" 420 } 421 } 422 }, 423 "GetContactInformationResponse":{ 424 "type":"structure", 425 "members":{ 426 "ContactInformation":{ 427 "shape":"ContactInformation", 428 "documentation":"<p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>" 429 } 430 } 431 }, 432 "GetRegionOptStatusRequest":{ 433 "type":"structure", 434 "required":["RegionName"], 435 "members":{ 436 "AccountId":{ 437 "shape":"AccountId", 438 "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. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. 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. The specified account ID must also 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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" 439 }, 440 "RegionName":{ 441 "shape":"RegionName", 442 "documentation":"<p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). This function will return the status of whatever Region you pass into this parameter. </p>" 443 } 444 } 445 }, 446 "GetRegionOptStatusResponse":{ 447 "type":"structure", 448 "members":{ 449 "RegionName":{ 450 "shape":"RegionName", 451 "documentation":"<p>The Region code that was passed in.</p>" 452 }, 453 "RegionOptStatus":{ 454 "shape":"RegionOptStatus", 455 "documentation":"<p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).</p>" 456 } 457 } 458 }, 459 "InternalServerException":{ 460 "type":"structure", 461 "required":["message"], 462 "members":{ 463 "message":{"shape":"String"} 464 }, 465 "documentation":"<p>The operation failed because of an error internal to Amazon Web Services. Try your operation again later.</p>", 466 "error":{"httpStatusCode":500}, 467 "exception":true, 468 "fault":true, 469 "retryable":{"throttling":false} 470 }, 471 "ListRegionsRequest":{ 472 "type":"structure", 473 "members":{ 474 "AccountId":{ 475 "shape":"AccountId", 476 "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. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. 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. The specified account ID must also 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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" 477 }, 478 "MaxResults":{ 479 "shape":"ListRegionsRequestMaxResultsInteger", 480 "documentation":"<p>The total number of items to return in the command’s output. If the total number of items available is more than the value specified, a <code>NextToken</code> is provided in the command’s output. To resume pagination, provide the <code>NextToken</code> value in the <code>starting-token</code> argument of a subsequent command. Do not use the <code>NextToken</code> response element directly outside of the Amazon Web Services CLI. For usage examples, see <a href=\"http://docs.aws.amazon.com/cli/latest/userguide/pagination.html\">Pagination</a> in the <i>Amazon Web Services Command Line Interface User Guide</i>. </p>" 481 }, 482 "NextToken":{ 483 "shape":"ListRegionsRequestNextTokenString", 484 "documentation":"<p>A token used to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response. For usage examples, see <a href=\"http://docs.aws.amazon.com/cli/latest/userguide/pagination.html\">Pagination</a> in the <i>Amazon Web Services Command Line Interface User Guide</i>.</p>" 485 }, 486 "RegionOptStatusContains":{ 487 "shape":"RegionOptStatusList", 488 "documentation":"<p>A list of Region statuses (Enabling, Enabled, Disabling, Disabled, Enabled_by_default) to use to filter the list of Regions for a given account. For example, passing in a value of ENABLING will only return a list of Regions with a Region status of ENABLING.</p>" 489 } 490 } 491 }, 492 "ListRegionsRequestMaxResultsInteger":{ 493 "type":"integer", 494 "box":true, 495 "max":50, 496 "min":1 497 }, 498 "ListRegionsRequestNextTokenString":{ 499 "type":"string", 500 "max":1000, 501 "min":0 502 }, 503 "ListRegionsResponse":{ 504 "type":"structure", 505 "members":{ 506 "NextToken":{ 507 "shape":"String", 508 "documentation":"<p>If there is more data to be returned, this will be populated. It should be passed into the <code>next-token</code> request parameter of <code>list-regions</code>.</p>" 509 }, 510 "Regions":{ 511 "shape":"RegionOptList", 512 "documentation":"<p>This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that match the filter criteria set in the <code>filter</code> parameter.</p>" 513 } 514 } 515 }, 516 "Name":{ 517 "type":"string", 518 "max":64, 519 "min":1, 520 "sensitive":true 521 }, 522 "PhoneNumber":{ 523 "type":"string", 524 "max":25, 525 "min":1, 526 "pattern":"^[\\s0-9()+-]+$", 527 "sensitive":true 528 }, 529 "PostalCode":{ 530 "type":"string", 531 "max":20, 532 "min":1, 533 "sensitive":true 534 }, 535 "PutAlternateContactRequest":{ 536 "type":"structure", 537 "required":[ 538 "AlternateContactType", 539 "EmailAddress", 540 "Name", 541 "PhoneNumber", 542 "Title" 543 ], 544 "members":{ 545 "AccountId":{ 546 "shape":"AccountId", 547 "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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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>" 548 }, 549 "AlternateContactType":{ 550 "shape":"AlternateContactType", 551 "documentation":"<p>Specifies which alternate contact you want to create or update.</p>" 552 }, 553 "EmailAddress":{ 554 "shape":"EmailAddress", 555 "documentation":"<p>Specifies an email address for the alternate contact. </p>" 556 }, 557 "Name":{ 558 "shape":"Name", 559 "documentation":"<p>Specifies a name for the alternate contact.</p>" 560 }, 561 "PhoneNumber":{ 562 "shape":"PhoneNumber", 563 "documentation":"<p>Specifies a phone number for the alternate contact.</p>" 564 }, 565 "Title":{ 566 "shape":"Title", 567 "documentation":"<p>Specifies a title for the alternate contact.</p>" 568 } 569 } 570 }, 571 "PutContactInformationRequest":{ 572 "type":"structure", 573 "required":["ContactInformation"], 574 "members":{ 575 "AccountId":{ 576 "shape":"AccountId", 577 "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. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. 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. The specified account ID must also 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/using-orgs-trusted-access.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html\">delegated admin</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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>" 578 }, 579 "ContactInformation":{ 580 "shape":"ContactInformation", 581 "documentation":"<p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>" 582 } 583 } 584 }, 585 "Region":{ 586 "type":"structure", 587 "members":{ 588 "RegionName":{ 589 "shape":"RegionName", 590 "documentation":"<p>The Region code of a given Region (for example, <code>us-east-1</code>).</p>" 591 }, 592 "RegionOptStatus":{ 593 "shape":"RegionOptStatus", 594 "documentation":"<p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).</p>" 595 } 596 }, 597 "documentation":"<p>This is a structure that expresses the Region for a given account, consisting of a name and opt-in status.</p>" 598 }, 599 "RegionName":{ 600 "type":"string", 601 "max":50, 602 "min":1 603 }, 604 "RegionOptList":{ 605 "type":"list", 606 "member":{"shape":"Region"} 607 }, 608 "RegionOptStatus":{ 609 "type":"string", 610 "enum":[ 611 "ENABLED", 612 "ENABLING", 613 "DISABLING", 614 "DISABLED", 615 "ENABLED_BY_DEFAULT" 616 ] 617 }, 618 "RegionOptStatusList":{ 619 "type":"list", 620 "member":{"shape":"RegionOptStatus"} 621 }, 622 "ResourceNotFoundException":{ 623 "type":"structure", 624 "required":["message"], 625 "members":{ 626 "message":{"shape":"String"} 627 }, 628 "documentation":"<p>The operation failed because it specified a resource that can't be found.</p>", 629 "error":{ 630 "httpStatusCode":404, 631 "senderFault":true 632 }, 633 "exception":true 634 }, 635 "SensitiveString":{ 636 "type":"string", 637 "sensitive":true 638 }, 639 "StateOrRegion":{ 640 "type":"string", 641 "max":50, 642 "min":1, 643 "sensitive":true 644 }, 645 "String":{"type":"string"}, 646 "Title":{ 647 "type":"string", 648 "max":50, 649 "min":1, 650 "sensitive":true 651 }, 652 "TooManyRequestsException":{ 653 "type":"structure", 654 "required":["message"], 655 "members":{ 656 "message":{"shape":"String"} 657 }, 658 "documentation":"<p>The operation failed because it was called too frequently and exceeded a throttle limit.</p>", 659 "error":{ 660 "httpStatusCode":429, 661 "senderFault":true 662 }, 663 "exception":true, 664 "retryable":{"throttling":true} 665 }, 666 "ValidationException":{ 667 "type":"structure", 668 "required":["message"], 669 "members":{ 670 "fieldList":{ 671 "shape":"ValidationExceptionFieldList", 672 "documentation":"<p>The field where the invalid entry was detected.</p>" 673 }, 674 "message":{ 675 "shape":"SensitiveString", 676 "documentation":"<p>The message that informs you about what was invalid about the request.</p>" 677 }, 678 "reason":{ 679 "shape":"ValidationExceptionReason", 680 "documentation":"<p>The reason that validation failed.</p>" 681 } 682 }, 683 "documentation":"<p>The operation failed because one of the input parameters was invalid.</p>", 684 "error":{ 685 "httpStatusCode":400, 686 "senderFault":true 687 }, 688 "exception":true 689 }, 690 "ValidationExceptionField":{ 691 "type":"structure", 692 "required":[ 693 "message", 694 "name" 695 ], 696 "members":{ 697 "message":{ 698 "shape":"SensitiveString", 699 "documentation":"<p>A message about the validation exception.</p>" 700 }, 701 "name":{ 702 "shape":"String", 703 "documentation":"<p>The field name where the invalid entry was detected.</p>" 704 } 705 }, 706 "documentation":"<p>The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.</p>" 707 }, 708 "ValidationExceptionFieldList":{ 709 "type":"list", 710 "member":{"shape":"ValidationExceptionField"} 711 }, 712 "ValidationExceptionReason":{ 713 "type":"string", 714 "enum":[ 715 "invalidRegionOptTarget", 716 "fieldValidationFailed" 717 ] 718 }, 719 "WebsiteUrl":{ 720 "type":"string", 721 "max":256, 722 "min":1, 723 "sensitive":true 724 } 725 }, 726 "documentation":"<p>Operations for Amazon Web Services Account Management</p>" 727} 728