Module Values.GetCostEstimationResponseSource

Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

Sourcetype nonrec t = {
  1. resourceCollection : CostEstimationResourceCollectionFilter.t option;
    (*

    The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.

    *)
  2. status : CostEstimationStatus.t option;
    (*

    The status of creating this cost estimate. If it's still in progress, the status ONGOING is returned. If it is finished, the status COMPLETED is returned.

    *)
  3. costs : ServiceResourceCosts.t option;
    (*

    An array of ResourceCost objects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.

    *)
  4. timeRange : CostEstimationTimeRange.t option;
    (*

    The start and end time of the cost estimation.

    *)
  5. totalCost : Cost.t option;
    (*

    The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated costs to analyze each resource in the Costs object in this response.

    *)
  6. nextToken : UuidNextToken.t option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourceCollection:??? -> ?status:??? -> ?costs:??? -> ?timeRange:??? -> ?totalCost:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Cost.t | `Enum of string | `List of [> `Structure of (string * [> `Double of Cost.t | `Enum of string | `Integer of CostEstimationServiceResourceCount.t | `String of ResourceType.t ]) list ] list | `String of UuidNextToken.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of TagValue.t ] list | `String of AppBoundaryKey.t ]) list ] list | `Structure of (string * [> `List of [> `String of StackName.t ] list ]) list | `Timestamp of Timestamp.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t