Cost Optimization Hub
You can use the Cost Optimization Hub API to programmatically identify, filter, aggregate, and quantify savings for your cost optimization recommendations…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
You can use the Cost Optimization Hub API to programmatically identify, filter, aggregate, and quantify savings for your cost optimization recommendations across multiple Amazon Web Services Regions and Amazon Web Services accounts in your organization. The Cost Optimization Hub API provides the following endpoint: https://cost-optimization-hub.us-east-1.amazonaws.com
Endpoints 8
- POSTGet preferences
/#X-Amz-Target=CostOptimizationHubService.GetPreferencesReturns a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated… - POSTGet recommendation
/#X-Amz-Target=CostOptimizationHubService.GetRecommendationReturns both the current and recommended resource configuration and the estimated cost impact for a recommendation. The recommendationId is only valid for up… - POSTList efficiency metrics
/#X-Amz-Target=CostOptimizationHubService.ListEfficiencyMetricsReturns cost efficiency metrics aggregated over time and optionally grouped by a specified dimension. The metrics provide insights into your cost optimization… - POSTList enrollment statuses
/#X-Amz-Target=CostOptimizationHubService.ListEnrollmentStatusesRetrieves the enrollment status for an account. It can also return the list of accounts that are enrolled under the organization. - POSTList recommendation summaries
/#X-Amz-Target=CostOptimizationHubService.ListRecommendationSummariesReturns a concise representation of savings estimates for resources. Also returns de-duped savings across different types of recommendations. The following… - POSTList recommendations
/#X-Amz-Target=CostOptimizationHubService.ListRecommendationsReturns a list of recommendations. - POSTUpdate enrollment status
/#X-Amz-Target=CostOptimizationHubService.UpdateEnrollmentStatusUpdates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service. If the account is a management account of an… - POSTUpdate preferences
/#X-Amz-Target=CostOptimizationHubService.UpdatePreferencesUpdates a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated…
API details
- Base URL
https://cost-optimization-hub.{region}.amazonaws.com- Authentication
- AWS Signature Version 4 (requests signed with your AWS access key)
- Operations
- 8 operations on 8 pathsPOST 8
- Description format
- AWS Smithy model, API version
2022-07-26 - Links
- Documentation · OpenAPI document
- Listed from
- AWS Smithy API model (aws/api-models-aws) (Apache-2.0)
How to test the Cost Optimization Hub in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Cost Optimization Hub collection, without the publisher's secrets.
- Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get preferences” (POST /#X-Amz-Target=CostOptimizationHubService.GetPreferences), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Cost Optimization Hub?
You can use the Cost Optimization Hub API to programmatically identify, filter, aggregate, and quantify savings for your cost optimization recommendations… It is listed under Finance & banking and has 8 endpoints.
Who publishes the Cost Optimization Hub?
It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Cost Optimization Hub?
Requests go to https://cost-optimization-hub.{region}.amazonaws.com. Endpoint paths are added to this base URL.
How do I authenticate with the Cost Optimization Hub?
With AWS Signature Version 4 (requests signed with your AWS access key).
How many endpoints does the Cost Optimization Hub have?
8 operations on 8 paths (8 POST).
Is forking the Cost Optimization Hub free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.