CostOptimizationHub
import { CostOptimizationHub } from "https://aws-api-bqtgftz736ft.deno.dev/v0.5/services/costoptimizationhub.ts?docs=full";§Constructors
§Methods
Returns a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented—estimated savings after discounts or estimated savings before discounts, for example.
Returns both the current and recommended resource configuration and the estimated cost impact for a recommendation.
The recommendationId is only valid for up to a maximum of 24 hours as recommendations are refreshed daily.
To retrieve the recommendationId, use the ListRecommendations API.
Retrieves the enrollment status for an account. It can also return the list of accounts that are enrolled under the organization.
Returns a list of recommendations.
Returns a concise representation of savings estimates for resources. Also returns de-duped savings across different types of recommendations.
Note:
The following filters are not supported for this API: recommendationIds, resourceArns, and resourceIds.
Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service.
If the account is a management account or delegated administrator of an organization, this action can also be used to enroll member accounts of the organization.
You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.
Updates a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented.