get_estimated_water_allocation_dimension_values
async
¶
get_estimated_water_allocation_dimension_values(
time_period: TimePeriod,
dimensions: DimensionList,
*,
config_overrides: Optional[AsyncSustainabilityClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetEstimatedWaterAllocationDimensionValuesResponse
Returns the possible dimension values available for a customer's account. We recommend using pagination to ensure that the operation returns quickly and successfully.
Parameters:
-
time_period(TimePeriod) –The date range for fetching the dimension values. The range must include the start date of a year for that year's data to be included in the response.
-
dimensions(DimensionList) –The dimensions available for grouping estimated water allocation.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call. Default is 1000.
-
next_token(Optional[NextToken], default:None) –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.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
GetEstimatedWaterAllocationDimensionValuesSuccess
>>> await client.get_estimated_water_allocation_dimension_values(time_period={'Start': '2025-01-01T00:00:00.00Z', 'End': '2026-01-01T00:00:00.00Z'}, dimensions=['REGION', 'SERVICE', 'USAGE_ACCOUNT_ID'])