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
feita há 4 meses179 visualizações
1 Resposta
1
Resposta aceita
profile picture
ESPECIALISTA
respondido há 4 meses
profile pictureAWS
ESPECIALISTA
avaliado há 4 meses
  • 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!!

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas