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
gefragt vor 4 Monaten179 Aufrufe
1 Antwort
1
Akzeptierte Antwort
profile picture
EXPERTE
beantwortet vor 4 Monaten
profile pictureAWS
EXPERTE
überprüft vor 4 Monaten
  • 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!!

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen