AWS Account update contact

0

I have to programmatically update contact details of 120 AWS accounts. I checked both cli and boto3 and was not able to find anything for "contacts". Last month, I had to update alternate contacts, and boto3 and cli, both have put_alternate_contact available.

Please note an update contact exists for AWS connect client, I am looking for the AWS Account client.

Was curious if there is a programmatic way to update the contacts , or does it have to be done manually?

Thank you.

Swee
已提問 4 個月前檢視次數 179 次
1 個回答
1
已接受的答案
profile picture
專家
已回答 4 個月前
profile pictureAWS
專家
已審閱 4 個月前
  • Thanks, I used this and it did update most of the information, from my shell script. However, for the attribute --contact-information, if spaces are given on the shorthand Values, it does not process.. w.r.t. AddressLine1=string,AddressLine2=string,AddressLine3=string,City=string,CompanyName=string,CountryCode=string,DistrictOrCounty=string,FullName=string,PhoneNumber=string,PostalCode=string,StateOrRegion=string,WebsiteUrl=string

    However, I achieved the primary contact update through boto3, using the put_contact_information, you advised.. Thank you!!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南