Skip to content

Type definitions#

Index > Billing > Type definitions

Auto-generated documentation for Billing type annotations stubs module mypy-boto3-billing.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

BillingViewListElementTypeDef#

# BillingViewListElementTypeDef definition

class BillingViewListElementTypeDef(TypedDict):
    arn: NotRequired[str],
    name: NotRequired[str],
    ownerAccountId: NotRequired[str],
    billingViewType: NotRequired[BillingViewTypeType],  # (1)
  1. See BillingViewTypeType

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],

ActiveTimeRangeTypeDef#

# ActiveTimeRangeTypeDef definition

class ActiveTimeRangeTypeDef(TypedDict):
    activeAfterInclusive: TimestampTypeDef,
    activeBeforeInclusive: TimestampTypeDef,

ListBillingViewsResponseTypeDef#

# ListBillingViewsResponseTypeDef definition

class ListBillingViewsResponseTypeDef(TypedDict):
    billingViews: List[BillingViewListElementTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See BillingViewListElementTypeDef
  2. See ResponseMetadataTypeDef

ListBillingViewsRequestListBillingViewsPaginateTypeDef#

# ListBillingViewsRequestListBillingViewsPaginateTypeDef definition

class ListBillingViewsRequestListBillingViewsPaginateTypeDef(TypedDict):
    activeTimeRange: ActiveTimeRangeTypeDef,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ActiveTimeRangeTypeDef
  2. See PaginatorConfigTypeDef

ListBillingViewsRequestRequestTypeDef#

# ListBillingViewsRequestRequestTypeDef definition

class ListBillingViewsRequestRequestTypeDef(TypedDict):
    activeTimeRange: ActiveTimeRangeTypeDef,  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See ActiveTimeRangeTypeDef