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
asked 4 months ago168 views
1 Answer
1
Accepted Answer
profile picture
EXPERT
answered 4 months ago
profile pictureAWS
EXPERT
reviewed 3 months ago
  • 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!!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions