Skip to main content

estimated_water_allocations

Creates, updates, deletes, gets or lists an estimated_water_allocations resource.

Overview

Nameestimated_water_allocations
TypeResource
Idaws.sustainability.estimated_water_allocations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
allocation_valuesobjectThe allocation values for the requested water allocation types.
dimensions_valuesobjectThe dimensions used to group water allocation values.
model_versionstringThe semantic version-formatted string that indicates the methodology version used to calculate the water allocation values. The AWS Sustainability service reflects the most recent model version for every month. You will not see two entries for the same month with different ModelVersion values. (pattern: <code>v(0|[1-9]\d*).(0|[1-9]\d*).(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-])(?:.(?:0|[1-9]\d|\d*[a-zA-Z-][0-9a-zA-Z-]))))?(?:+([0-9a-zA-Z-]+(?:.[0-9a-zA-Z-]+)*))?</code>)
time_periodobjectRepresents a duration of time defined by start and end timestamps.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_estimated_water_allocationselectregionReturns estimated water allocation values based on customer grouping and filtering parameters. We recommend using pagination to ensure that the operation returns quickly and successfully.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
allocation_values,
dimensions_values,
model_version,
time_period
FROM aws.sustainability.estimated_water_allocations
WHERE region = '{{ region }}' -- required
;