How to find the unused API 's in the Account

1

We have a around 300 apis, I want to find out the way to find the unused API in the account and then we will decomm.

  • Can you please write your question with more information ?

1 Risposta
2

To find the unused API 's in the AWS Account, follow these steps:

  1. Open the AWS RAM console
  2. In the left navigation pane, choose 'Resource shares'.
  3. Select the resource share that you want to examine.
  4. On the 'Resources' tab, you can see a list of the resources that are included in the resource share.
  5. Scroll down to the 'API actions' section and expand it.
  6. You can see a list of all the API actions that are allowed by the resource share.
  7. To find the unused API 's, look for the API actions that are not used by any resources in the resource share.
  8. You can also use the AWS CLI to list the unused API 's in the AWS Account.
  9. Open the AWS CLI and run the following command:

aws ram list-resource-shares --resource-share-name my-resource-share

This will list all the resource shares in your AWS Account. 10. For each resource share, run the following command:

aws ram get-resource-share-permissions --resource-share-name my-resource-share --output json

AWS
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande