Skip to content

Type definitions#

Index > FreeTier > Type definitions

Auto-generated documentation for FreeTier type annotations stubs module mypy-boto3-freetier.

DimensionValuesTypeDef#

# DimensionValuesTypeDef definition

class DimensionValuesTypeDef(TypedDict):
    Key: DimensionType,  # (1)
    MatchOptions: Sequence[MatchOptionType],  # (2)
    Values: Sequence[str],
  1. See DimensionType
  2. See MatchOptionType

FreeTierUsageTypeDef#

# FreeTierUsageTypeDef definition

class FreeTierUsageTypeDef(TypedDict):
    actualUsageAmount: NotRequired[float],
    description: NotRequired[str],
    forecastedUsageAmount: NotRequired[float],
    freeTierType: NotRequired[str],
    limit: NotRequired[float],
    operation: NotRequired[str],
    region: NotRequired[str],
    service: NotRequired[str],
    unit: NotRequired[str],
    usageType: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

ExpressionPaginatorTypeDef#

# ExpressionPaginatorTypeDef definition

class ExpressionPaginatorTypeDef(TypedDict):
    And: NotRequired[Sequence[Mapping[str, Any]]],
    Dimensions: NotRequired[DimensionValuesTypeDef],  # (1)
    Not: NotRequired[Mapping[str, Any]],
    Or: NotRequired[Sequence[Mapping[str, Any]]],
  1. See DimensionValuesTypeDef

ExpressionTypeDef#

# ExpressionTypeDef definition

class ExpressionTypeDef(TypedDict):
    And: NotRequired[Sequence[Mapping[str, Any]]],
    Dimensions: NotRequired[DimensionValuesTypeDef],  # (1)
    Not: NotRequired[Mapping[str, Any]],
    Or: NotRequired[Sequence[Mapping[str, Any]]],
  1. See DimensionValuesTypeDef

GetFreeTierUsageResponseTypeDef#

# GetFreeTierUsageResponseTypeDef definition

class GetFreeTierUsageResponseTypeDef(TypedDict):
    freeTierUsages: List[FreeTierUsageTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See FreeTierUsageTypeDef
  2. See ResponseMetadataTypeDef

GetFreeTierUsageRequestGetFreeTierUsagePaginateTypeDef#

# GetFreeTierUsageRequestGetFreeTierUsagePaginateTypeDef definition

class GetFreeTierUsageRequestGetFreeTierUsagePaginateTypeDef(TypedDict):
    filter: NotRequired[ExpressionPaginatorTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ExpressionPaginatorTypeDef
  2. See PaginatorConfigTypeDef

GetFreeTierUsageRequestRequestTypeDef#

# GetFreeTierUsageRequestRequestTypeDef definition

class GetFreeTierUsageRequestRequestTypeDef(TypedDict):
    filter: NotRequired[ExpressionTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See ExpressionTypeDef