Sustainability

Client

class Sustainability.Client

A low-level client representing AWS Sustainability

The AWS Sustainability service provides programmatic access to estimated environmental impact data for your Amazon Web Services usage. Use the AWS Sustainability service to retrieve, analyze, and track the environmental impact of your cloud infrastructure over time.

With the AWS Sustainability service, you can:

  • Retrieve estimated carbon emissions and water allocation for your Amazon Web Services usage across different time periods

  • Group environmental impact data by dimensions such as account, region, and service

  • Filter environmental impact data to focus on specific accounts, regions, or services

  • Access multiple carbon emissions calculation methodologies including Location-based Method (LBM) and Market-based Method (MBM)

  • Aggregate environmental impact data at various time granularities including monthly, quarterly, and yearly periods

The API supports pagination for efficient data retrieval and provides dimension values to help you understand the available grouping and filtering options for your account.

import boto3

client = boto3.client('sustainability')

These are the available methods:

Paginators

Paginators are available on a client instance via the get_paginator method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.

The available paginators are: