1 Answer
- Newest
- Most votes
- Most comments
2
To find the unused API 's in the AWS Account, follow these steps:
- Open the AWS RAM console
- In the left navigation pane, choose 'Resource shares'.
- Select the resource share that you want to examine.
- On the 'Resources' tab, you can see a list of the resources that are included in the resource share.
- Scroll down to the 'API actions' section and expand it.
- You can see a list of all the API actions that are allowed by the resource share.
- To find the unused API 's, look for the API actions that are not used by any resources in the resource share.
- You can also use the AWS CLI to list the unused API 's in the AWS Account.
- 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
answered 11 days ago
Relevant content
- asked a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 25 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Can you please write your question with more information ?