Ranopriyo Neogy
Ranopriyo Neogy

Reputation: 227

How can I capture the closed timestamp of an AWS Account using Boto3

Using list_accounts boto3 I was able to get the Joined Timestamp, however this time I want to capture the closed timestamp of all accounts in my AWS Organization that are in closed status. Can someone tell me if there is a Boto3 function available to fetch this data ? TIA

Upvotes: 0

Views: 109

Answers (1)

Erik Asplund
Erik Asplund

Reputation: 823

This is not possible. If an account is closed or not has nothing to do with the organization and their for you cant use boto3(oragnization) to get the info like joined timestamp with the list_accounts. With the list_accounts you just see the the time stamp you joined (this is info related to organization) you can not see the timestamp of when the account was created (this info is related to the account).

Upvotes: 1

Related Questions