GetEstimatedCarbonEmissionsRequest
¶
Source code in docs_src/capo_sustainability/types/get_estimated_carbon_emissions_request.py
emissions_types
instance-attribute
¶
emissions_types: NotRequired[EmissionsTypeList]
The emission types to include in the results. If absent, returns TOTAL_LBM_CARBON_EMISSIONS and TOTAL_MBM_CARBON_EMISSIONS emissions types.
filter_by
instance-attribute
¶
filter_by: NotRequired[FilterExpression]
The criteria for filtering estimated carbon emissions. To determine which dimensions are available to be filtered by, you can first call GetEstimatedCarbonEmissionsDimensionValues
granularity
instance-attribute
¶
granularity: TimeGranularity
The time granularity for the results. If absent, uses MONTHLY time granularity. The smallest supported granularity for carbon emissions is MONTHLY.
If requesting partial time periods, data will be returned based on the smallest supported granularity. For example, requesting 2025-04-01T00:00:00Z to 2026-04-01T00:00:00Z with YEARLY_CALENDAR granularity will return the last 9 months for 2025 and the first 3 months of 2026.
granularity_configuration
instance-attribute
¶
granularity_configuration: NotRequired[GranularityConfiguration]
Configuration for fiscal year calculations when using YEARLY_FISCAL or QUARTERLY_FISCAL granularity.
group_by
instance-attribute
¶
group_by: NotRequired[DimensionList]
The dimensions available for grouping estimated carbon emissions.
max_results
instance-attribute
¶
max_results: MaxResults
The maximum number of results to return in a single call. Default is 1000.
next_token
instance-attribute
¶
next_token: NotRequired[NextToken]
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.
time_period
instance-attribute
¶
time_period: TimePeriod
The date range for fetching estimated carbon emissions. The range must include the start date of a month for that month's data to be included in the response.