Module types

Module types 

Source
Expand description

Data structures used by operation inputs/outputs.

Modules§

builders
Builders
error
Error types that AWS Billing and Cost Management Dashboards can respond with.

Structs§

CostAndUsageQuery

Defines the parameters for retrieving Amazon Web Services cost and usage data. Includes specifications for metrics, time periods, granularity, grouping dimensions, and filtering conditions.

CostCategoryValues

Specifies the values and match options for cost category-based filtering in cost and usage queries.

DashboardReference

Contains basic information about a dashboard, including its ARN, name, type, and timestamps.

DateTimeRange

Defines a time period with explicit start and end times for data queries.

DateTimeValue

Represents a point in time that can be specified as either an absolute date (for example, "2025-07-01") or a relative time period using ISO 8601 duration format (for example, "-P3M" for three months ago).

DimensionValues

Specifies the values and match options for dimension-based filtering in cost and usage queries.

Expression

Defines complex filtering conditions using logical operators (AND, OR, NOT) and various filter types.

GraphDisplayConfig

Defines the visual representation settings for widget data, including the visualization type, styling options, and display preferences for different metric types.

GroupDefinition

Specifies how to group cost and usage data.

ReservationCoverageQuery

Defines the parameters for querying Reserved Instance coverage data, including grouping options, metrics, and sorting preferences.

ReservationUtilizationQuery

Defines the parameters for querying Reserved Instance utilization data, including grouping options and time granularity.

ResourceTag

A key-value pair that can be attached to a dashboard for organization and management purposes.

SavingsPlansCoverageQuery

Defines the parameters for querying Savings Plans coverage data, including metrics, grouping options, and time granularity.

SavingsPlansUtilizationQuery

Defines the parameters for querying Savings Plans utilization data, including time granularity and sorting preferences.

TableDisplayConfigStruct

Configuration structure for customizing the tabular display of widget data.

TagValues

Specifies tag-based filtering options for cost and usage queries.

Widget

A configurable visualization component within a dashboard that displays specific cost and usage metrics. Each widget can show data as charts or tables and includes settings for data querying, filtering, and visual presentation.

WidgetConfig

Defines the complete configuration for a widget, including data retrieval settings and visualization preferences.

Enums§

DashboardType
When writing a match expression against DashboardType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.
DateTimeType
When writing a match expression against DateTimeType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.
Dimension
When writing a match expression against Dimension, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.
DisplayConfig

Defines how the widget's data should be visualized, including chart type, color schemes, axis configurations, and other display preferences.

Granularity
When writing a match expression against Granularity, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.
GroupDefinitionType
When writing a match expression against GroupDefinitionType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.
MatchOption
When writing a match expression against MatchOption, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.
MetricName
When writing a match expression against MetricName, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.
QueryParameters

Defines the data retrieval parameters for a widget.

VisualType
When writing a match expression against VisualType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.