Module Values.GetEstimatedCarbonEmissionsRequestSource

Returns estimated carbon emission values based on customer grouping and filtering parameters. We recommend using pagination to ensure that the operation returns quickly and successfully.

Sourcetype nonrec t = {
  1. timePeriod : TimePeriod.t;
    (*

    The date range for fetching estimated carbon emissions.

    *)
  2. groupBy : DimensionList.t option;
    (*

    The dimensions available for grouping estimated carbon emissions.

    *)
  3. filterBy : FilterExpression.t option;
    (*

    The criteria for filtering estimated carbon emissions.

    *)
  4. emissionsTypes : EmissionsTypeList.t option;
    (*

    The emission types to include in the results. If absent, returns TOTAL_LBM_CARBON_EMISSIONS and TOTAL_MBM_CARBON_EMISSIONS emissions types.

    *)
  5. granularity : TimeGranularity.t option;
    (*

    The time granularity for the results. If absent, uses MONTHLY time granularity.

    *)
  6. granularityConfiguration : GranularityConfiguration.t option;
    (*

    Configuration for fiscal year calculations when using YEARLY_FISCAL or QUARTERLY_FISCAL granularity.

    *)
  7. maxResults : MaxResults.t option;
    (*

    The maximum number of results to return in a single call. Default is 40.

    *)
  8. nextToken : NextToken.t option;
    (*

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    *)
}
Sourceval context_ : string
Sourceval make : ?groupBy:??? -> ?filterBy:??? -> ?emissionsTypes:??? -> ?granularity:??? -> ?granularityConfiguration:??? -> ?maxResults:??? -> ?nextToken:??? -> timePeriod:TimePeriod.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of MaxResults.t | `List of [> `Enum of string ] list | `String of NextToken.t | `Structure of (string * [> `Integer of Month.t | `Map of ([> `Enum of string ] * [> `List of [> `String of String_.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