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!!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ