AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-05-01 · Documentation low

File: cli/latest/reference/account/put-contact-information.md

Summary

Restructured parameter documentation for put-contact-information command: moved account-id parameter position, reordered contact-information fields, updated field descriptions and constraints, and modified syntax examples.

Security assessment

The changes reorganize parameter documentation but contain no references to vulnerabilities, security incidents, or security improvements. Field constraint updates (e.g., phone number pattern change) are routine documentation refinements without security implications.

Diff

diff --git a/cli/latest/reference/account/put-contact-information.md b/cli/latest/reference/account/put-contact-information.md
index 69278efb9..905f1b601 100644
--- a//cli/latest/reference/account/put-contact-information.md
+++ b//cli/latest/reference/account/put-contact-information.md
@@ -15 +15 @@
-  * [AWS CLI 2.34.38 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.40 Command Reference](../../index.html) »
@@ -69 +68,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-    [--account-id <value>]
@@ -70,0 +70 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
+    [--account-id <value>]
@@ -96 +96 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-`--account-id` (string)
+`--contact-information` (structure) [required]
@@ -98,9 +98 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-> 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 [organization’s management account](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account) or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have [all features enabled](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) , and the organization must have [trusted access](https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html) enabled for the Account Management service, and optionally a [delegated administrator](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin) account assigned.
-> 
-> ### Note
-> 
-> The management account can’t specify its own `AccountId` . It must call the operation in standalone context by not including the `AccountId` parameter.
-> 
-> 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.
-> 
-> Constraints:
+> Contains the details of the primary contact information associated with an Amazon Web Services account.
@@ -108 +100 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->   * pattern: `^\d{12}$`
+> FullName -> (string) [required]
@@ -109,0 +102,7 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
+>> The full name of the primary contact address.
+>> 
+>> Constraints:
+>> 
+>>   * min: `1`
+>>   * max: `50`
+>> 
@@ -111,4 +109,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-
-`--contact-information` (structure) [required]
-
-> Contains the details of the primary contact information associated with an Amazon Web Services account.
@@ -160 +155 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-> CompanyName -> (string)
+> StateOrRegion -> (string)
@@ -162 +157 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->> The name of the company associated with the primary contact information, if any.
+>> The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, `NJ` ) or the full state name (for example, `New Jersey` ). This field is required in the following countries: `US` , `CA` , `GB` , `DE` , `JP` , `IN` , and `BR` .
@@ -170,11 +164,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-> 
-> CountryCode -> (string) [required]
->
->> The ISO-3166 two-letter country code for the primary contact address.
->> 
->> Constraints:
->> 
->>   * min: `2`
->>   * max: `2`
->> 
-
@@ -193 +177 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-> FullName -> (string) [required]
+> PostalCode -> (string) [required]
@@ -195 +179 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->> The full name of the primary contact address.
+>> The postal code of the primary contact address.
@@ -200 +184 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->>   * max: `50`
+>>   * max: `20`
@@ -204 +188 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-> PhoneNumber -> (string) [required]
+> CountryCode -> (string) [required]
@@ -206 +190 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->> The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
+>> The ISO-3166 two-letter country code for the primary contact address.
@@ -210,3 +194,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->>   * min: `1`
->>   * max: `20`
->>   * pattern: `^[+][\s0-9()-]+$`
+>>   * min: `2`
+>>   * max: `2`
@@ -216 +199 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-> PostalCode -> (string) [required]
+> PhoneNumber -> (string) [required]
@@ -218 +201 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->> The postal code of the primary contact address.
+>> The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
@@ -223,0 +207 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
+>>   * pattern: `[+][\s0-9()-]+`
@@ -227 +211 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
-> StateOrRegion -> (string)
+> CompanyName -> (string)
@@ -229 +213 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/accoun
->> The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, `NJ` ) or the full state name (for example, `New Jersey` ). This field is required in the following countries: `US` , `CA` , `GB` , `DE` , `JP` , `IN` , and `BR` .
+>> The name of the company associated with the primary contact information, if any.
@@ -252 +236 @@ Shorthand Syntax:
-    AddressLine1=string,AddressLine2=string,AddressLine3=string,City=string,CompanyName=string,CountryCode=string,DistrictOrCounty=string,FullName=string,PhoneNumber=string,PostalCode=string,StateOrRegion=string,WebsiteUrl=string
+    FullName=string,AddressLine1=string,AddressLine2=string,AddressLine3=string,City=string,StateOrRegion=string,DistrictOrCounty=string,PostalCode=string,CountryCode=string,PhoneNumber=string,CompanyName=string,WebsiteUrl=string
@@ -258,0 +243 @@ JSON Syntax:
+      "FullName": "string",
@@ -263,2 +248 @@ JSON Syntax:
-      "CompanyName": "string",
-      "CountryCode": "string",
+      "StateOrRegion": "string",
@@ -266,2 +249,0 @@ JSON Syntax:
-      "FullName": "string",
-      "PhoneNumber": "string",
@@ -269 +251,3 @@ JSON Syntax:
-      "StateOrRegion": "string",
+      "CountryCode": "string",
+      "PhoneNumber": "string",
+      "CompanyName": "string",
@@ -273,0 +258,16 @@ JSON Syntax:
+`--account-id` (string)
+
+> 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 [organization’s management account](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account) or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have [all features enabled](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) , and the organization must have [trusted access](https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html) enabled for the Account Management service, and optionally a [delegated administrator](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin) account assigned.
+> 
+> ### Note
+> 
+> The management account can’t specify its own `AccountId` . It must call the operation in standalone context by not including the `AccountId` parameter.
+> 
+> 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.
+> 
+> Constraints:
+> 
+>   * pattern: `\d{12}`
+> 
+
+
@@ -399 +399 @@ None
-  * [AWS CLI 2.34.38 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.40 Command Reference](../../index.html) »