Awso_cost_optimization_hub_lwtSourceval get_preferences :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.GetPreferencesRequest.t ->
(Awso_cost_optimization_hub.Values.GetPreferencesResponse.t,
Awso_cost_optimization_hub.Values.GetPreferencesResponse.error)
Result.t
Lwt.tval get_recommendation :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.GetRecommendationRequest.t ->
(Awso_cost_optimization_hub.Values.GetRecommendationResponse.t,
Awso_cost_optimization_hub.Values.GetRecommendationResponse.error)
Result.t
Lwt.tval list_efficiency_metrics :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.ListEfficiencyMetricsRequest.t ->
(Awso_cost_optimization_hub.Values.ListEfficiencyMetricsResponse.t,
Awso_cost_optimization_hub.Values.ListEfficiencyMetricsResponse.error)
Result.t
Lwt.tval list_enrollment_statuses :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.ListEnrollmentStatusesRequest.t ->
(Awso_cost_optimization_hub.Values.ListEnrollmentStatusesResponse.t,
Awso_cost_optimization_hub.Values.ListEnrollmentStatusesResponse.error)
Result.t
Lwt.tval list_recommendation_summaries :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.ListRecommendationSummariesRequest.t ->
(Awso_cost_optimization_hub.Values.ListRecommendationSummariesResponse.t,
Awso_cost_optimization_hub.Values.ListRecommendationSummariesResponse.error)
Result.t
Lwt.tval list_recommendations :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.ListRecommendationsRequest.t ->
(Awso_cost_optimization_hub.Values.ListRecommendationsResponse.t,
Awso_cost_optimization_hub.Values.ListRecommendationsResponse.error)
Result.t
Lwt.tval update_enrollment_status :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.UpdateEnrollmentStatusRequest.t ->
(Awso_cost_optimization_hub.Values.UpdateEnrollmentStatusResponse.t,
Awso_cost_optimization_hub.Values.UpdateEnrollmentStatusResponse.error)
Result.t
Lwt.tval update_preferences :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cost_optimization_hub.Values.UpdatePreferencesRequest.t ->
(Awso_cost_optimization_hub.Values.UpdatePreferencesResponse.t,
Awso_cost_optimization_hub.Values.UpdatePreferencesResponse.error)
Result.t
Lwt.tinclude module type of struct include Awso_cost_optimization_hub.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]Estimated discount details of the current and recommended resource configuration for a recommendation.
Details about the usage.
module MixedInstanceConfiguration =
Awso_cost_optimization_hub.Values.MixedInstanceConfigurationThe configuration for the EC2 Auto Scaling group with mixed instance types.
The tag structure that contains a tag key and value.
Contains efficiency metrics for a specific point in time, including an efficiency score, potential savings, optimizable spend, and timestamp.
Contains pricing information about the specified resource.
Pricing information about a Savings Plans.
Pricing details for your recommended reserved instance.
module BlockStoragePerformanceConfiguration =
Awso_cost_optimization_hub.Values.BlockStoragePerformanceConfigurationDescribes the Amazon Elastic Block Store performance configuration of the current and recommended resource configuration for a recommendation.
The storage configuration used for recommendations.
The instance configuration used for recommendations.
module MixedInstanceConfigurationList =
Awso_cost_optimization_hub.Values.MixedInstanceConfigurationListDescribes the performance configuration for compute services such as Amazon EC2, Lambda, and ECS.
The DB instance configuration used for recommendations.
module ValidationExceptionDetail =
Awso_cost_optimization_hub.Values.ValidationExceptionDetailThe input failed to meet the constraints specified by the Amazon Web Services service in a specified field.
module AuroraDbClusterStorageConfiguration =
Awso_cost_optimization_hub.Values.AuroraDbClusterStorageConfigurationThe Aurora DB cluster storage configuration used for recommendations.
Cost impact of the resource recommendation.
module ComputeSavingsPlansConfiguration =
Awso_cost_optimization_hub.Values.ComputeSavingsPlansConfigurationThe Compute Savings Plans configuration used for recommendations.
module SavingsPlansCostCalculation =
Awso_cost_optimization_hub.Values.SavingsPlansCostCalculationCost impact of the purchase recommendation.
module DynamoDbReservedCapacityConfiguration =
Awso_cost_optimization_hub.Values.DynamoDbReservedCapacityConfigurationThe DynamoDB reserved capacity configuration used for recommendations.
module ReservedInstancesCostCalculation =
Awso_cost_optimization_hub.Values.ReservedInstancesCostCalculationCost impact of the purchase recommendation.
The Amazon Elastic Block Store volume configuration used for recommendations.
module Ec2AutoScalingGroupConfiguration =
Awso_cost_optimization_hub.Values.Ec2AutoScalingGroupConfigurationThe EC2 Auto Scaling group configuration used for recommendations.
The EC2 instance configuration used for recommendations.
module Ec2InstanceSavingsPlansConfiguration =
Awso_cost_optimization_hub.Values.Ec2InstanceSavingsPlansConfigurationThe EC2 instance Savings Plans configuration used for recommendations.
module Ec2ReservedInstancesConfiguration =
Awso_cost_optimization_hub.Values.Ec2ReservedInstancesConfigurationThe EC2 reserved instances configuration used for recommendations.
The ECS service configuration used for recommendations.
module ElastiCacheReservedInstancesConfiguration =
Awso_cost_optimization_hub.Values.ElastiCacheReservedInstancesConfigurationThe ElastiCache reserved instances configuration used for recommendations.
module LambdaFunctionConfiguration =
Awso_cost_optimization_hub.Values.LambdaFunctionConfigurationThe Lambda function configuration used for recommendations.
module MemoryDbReservedInstancesConfiguration =
Awso_cost_optimization_hub.Values.MemoryDbReservedInstancesConfigurationThe MemoryDB reserved instances configuration used for recommendations. While the API reference uses "MemoryDB reserved instances", the user guide and other documentation refer to them as "MemoryDB reserved nodes", as the terms are used interchangeably.
The NAT Gateway configuration used for recommendations.
module OpenSearchReservedInstancesConfiguration =
Awso_cost_optimization_hub.Values.OpenSearchReservedInstancesConfigurationThe OpenSearch reserved instances configuration used for recommendations.
module RdsDbInstanceConfiguration =
Awso_cost_optimization_hub.Values.RdsDbInstanceConfigurationThe Amazon RDS DB instance configuration used for recommendations.
module RdsDbInstanceStorageConfiguration =
Awso_cost_optimization_hub.Values.RdsDbInstanceStorageConfigurationThe Amazon RDS DB instance storage configuration used for recommendations.
module RdsReservedInstancesConfiguration =
Awso_cost_optimization_hub.Values.RdsReservedInstancesConfigurationThe RDS reserved instances configuration used for recommendations.
module RedshiftReservedInstancesConfiguration =
Awso_cost_optimization_hub.Values.RedshiftReservedInstancesConfigurationThe Redshift reserved instances configuration used for recommendations.
module SageMakerSavingsPlansConfiguration =
Awso_cost_optimization_hub.Values.SageMakerSavingsPlansConfigurationThe SageMaker Savings Plans configuration used for recommendations.
module ValidationExceptionDetails =
Awso_cost_optimization_hub.Values.ValidationExceptionDetailsmodule ValidationExceptionReason =
Awso_cost_optimization_hub.Values.ValidationExceptionReasonDescribes a recommendation.
The summary of rightsizing recommendations, including de-duped savings from all types of recommendations.
Describes the enrollment status of an organization's member accounts in Cost Optimization Hub.
Contains cost efficiency metrics for a specific group over time. The group is defined by the grouping dimension specified in the request, such as account ID, Amazon Web Services Region.
Contains the details of an Aurora DB cluster storage.
The Compute Savings Plans recommendation details.
The DynamoDB reserved capacity recommendation details.
Describes the Amazon Elastic Block Store volume configuration of the current and recommended resource configuration for a recommendation.
The EC2 Auto Scaling group recommendation details.
Describes the EC2 instance configuration of the current and recommended resource configuration for a recommendation.
The EC2 instance Savings Plans recommendation details.
The EC2 reserved instances recommendation details.
The ECS service recommendation details.
module ElastiCacheReservedInstances =
Awso_cost_optimization_hub.Values.ElastiCacheReservedInstancesThe ElastiCache reserved instances recommendation details.
The Lambda function recommendation details.
module MemoryDbReservedInstances =
Awso_cost_optimization_hub.Values.MemoryDbReservedInstancesThe MemoryDB reserved instances recommendation details. While the API reference uses "MemoryDB reserved instances", the user guide and other documentation refer to them as "MemoryDB reserved nodes", as the terms are used interchangeably.
The NAT Gateway recommendation details.
module OpenSearchReservedInstances =
Awso_cost_optimization_hub.Values.OpenSearchReservedInstancesThe OpenSearch reserved instances recommendation details.
Contains the details of an Amazon RDS DB instance.
Contains the details of an Amazon RDS DB instance storage.
The RDS reserved instances recommendation details.
module RedshiftReservedInstances =
Awso_cost_optimization_hub.Values.RedshiftReservedInstancesThe Redshift reserved instances recommendation details.
The SageMaker Savings Plans recommendation details.
You are not authorized to use this operation with the given parameters.
An error on the server occurred during the processing of your request. Try again later.
module MemberAccountDiscountVisibility =
Awso_cost_optimization_hub.Values.MemberAccountDiscountVisibilityThe preferred configuration for Reserved Instances and Savings Plans commitment-based discounts, consisting of a payment option and a commitment duration.
The request was denied due to request throttling.
The input fails to satisfy the constraints specified by an Amazon Web Services service.
Describes a filter that returns a more specific list of recommendations. Filters recommendations by different dimensions.
module ListRecommendationsRequestMaxResultsInteger =
Awso_cost_optimization_hub.Values.ListRecommendationsRequestMaxResultsIntegerDefines how rows will be sorted in the response.
module RecommendationSummariesList =
Awso_cost_optimization_hub.Values.RecommendationSummariesListThe results or descriptions for the additional metrics, based on whether the metrics were or were not requested.
module ListRecommendationSummariesRequestMaxResultsInteger =
Awso_cost_optimization_hub.Values.ListRecommendationSummariesRequestMaxResultsIntegermodule AccountEnrollmentStatuses =
Awso_cost_optimization_hub.Values.AccountEnrollmentStatusesmodule EfficiencyMetricsByGroupList =
Awso_cost_optimization_hub.Values.EfficiencyMetricsByGroupListmodule ListEfficiencyMetricsRequestMaxResultsInteger =
Awso_cost_optimization_hub.Values.ListEfficiencyMetricsRequestMaxResultsIntegerSpecifies a date range for retrieving efficiency metrics. The start date is inclusive and the end date is exclusive.
Contains detailed information about the specified resource.
module ResourceNotFoundException =
Awso_cost_optimization_hub.Values.ResourceNotFoundExceptionThe specified Amazon Resource Name (ARN) in the request doesn't exist.
module UpdatePreferencesResponse =
Awso_cost_optimization_hub.Values.UpdatePreferencesResponseUpdates 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.
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.
module UpdateEnrollmentStatusResponse =
Awso_cost_optimization_hub.Values.UpdateEnrollmentStatusResponseUpdates 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 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.
module UpdateEnrollmentStatusRequest =
Awso_cost_optimization_hub.Values.UpdateEnrollmentStatusRequestUpdates 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 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.
module ListRecommendationsResponse =
Awso_cost_optimization_hub.Values.ListRecommendationsResponseReturns a list of recommendations.
module ListRecommendationsRequest =
Awso_cost_optimization_hub.Values.ListRecommendationsRequestReturns a list of recommendations.
module ListRecommendationSummariesResponse =
Awso_cost_optimization_hub.Values.ListRecommendationSummariesResponseReturns a concise representation of savings estimates for resources. Also returns de-duped savings across different types of recommendations. The following filters are not supported for this API: recommendationIds, resourceArns, and resourceIds.
module ListRecommendationSummariesRequest =
Awso_cost_optimization_hub.Values.ListRecommendationSummariesRequestReturns a concise representation of savings estimates for resources. Also returns de-duped savings across different types of recommendations. The following filters are not supported for this API: recommendationIds, resourceArns, and resourceIds.
module ListEnrollmentStatusesResponse =
Awso_cost_optimization_hub.Values.ListEnrollmentStatusesResponseRetrieves the enrollment status for an account. It can also return the list of accounts that are enrolled under the organization.
module ListEnrollmentStatusesRequest =
Awso_cost_optimization_hub.Values.ListEnrollmentStatusesRequestRetrieves the enrollment status for an account. It can also return the list of accounts that are enrolled under the organization.
module ListEfficiencyMetricsResponse =
Awso_cost_optimization_hub.Values.ListEfficiencyMetricsResponseReturns cost efficiency metrics aggregated over time and optionally grouped by a specified dimension. The metrics provide insights into your cost optimization progress by tracking estimated savings, spending, and measures how effectively you're optimizing your Cloud resources. The operation supports both daily and monthly time granularities and allows grouping results by account ID, Amazon Web Services Region. Results are returned as time-series data, enabling you to analyze trends in your cost optimization performance over the specified time period.
module ListEfficiencyMetricsRequest =
Awso_cost_optimization_hub.Values.ListEfficiencyMetricsRequestReturns cost efficiency metrics aggregated over time and optionally grouped by a specified dimension. The metrics provide insights into your cost optimization progress by tracking estimated savings, spending, and measures how effectively you're optimizing your Cloud resources. The operation supports both daily and monthly time granularities and allows grouping results by account ID, Amazon Web Services Region. Results are returned as time-series data, enabling you to analyze trends in your cost optimization performance over the specified time period.
module GetRecommendationResponse =
Awso_cost_optimization_hub.Values.GetRecommendationResponseReturns 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.
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.
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 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.