Type definitions#
Auto-generated documentation for Billing type annotations stubs module types-boto3-billing.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
DimensionValuesUnionTypeDef#
# DimensionValuesUnionTypeDef definition
DimensionValuesUnionTypeDef = Union[
DimensionValuesTypeDef, # (1)
DimensionValuesOutputTypeDef, # (2)
]
TagValuesUnionTypeDef#
# TagValuesUnionTypeDef definition
TagValuesUnionTypeDef = Union[
TagValuesTypeDef, # (1)
TagValuesOutputTypeDef, # (2)
]
BillingViewListElementTypeDef#
# BillingViewListElementTypeDef definition
class BillingViewListElementTypeDef(TypedDict):
arn: NotRequired[str],
name: NotRequired[str],
description: NotRequired[str],
ownerAccountId: NotRequired[str],
billingViewType: NotRequired[BillingViewTypeType], # (1)
ResourceTagTypeDef#
# ResourceTagTypeDef definition
class ResourceTagTypeDef(TypedDict):
key: str,
value: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteBillingViewRequestRequestTypeDef#
# DeleteBillingViewRequestRequestTypeDef definition
class DeleteBillingViewRequestRequestTypeDef(TypedDict):
arn: str,
DimensionValuesOutputTypeDef#
# DimensionValuesOutputTypeDef definition
class DimensionValuesOutputTypeDef(TypedDict):
key: DimensionType, # (1)
values: list[str],
- See DimensionType
DimensionValuesTypeDef#
# DimensionValuesTypeDef definition
class DimensionValuesTypeDef(TypedDict):
key: DimensionType, # (1)
values: Sequence[str],
- See DimensionType
TagValuesOutputTypeDef#
# TagValuesOutputTypeDef definition
class TagValuesOutputTypeDef(TypedDict):
key: str,
values: list[str],
GetBillingViewRequestRequestTypeDef#
# GetBillingViewRequestRequestTypeDef definition
class GetBillingViewRequestRequestTypeDef(TypedDict):
arn: str,
GetResourcePolicyRequestRequestTypeDef#
# GetResourcePolicyRequestRequestTypeDef definition
class GetResourcePolicyRequestRequestTypeDef(TypedDict):
resourceArn: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListSourceViewsForBillingViewRequestRequestTypeDef#
# ListSourceViewsForBillingViewRequestRequestTypeDef definition
class ListSourceViewsForBillingViewRequestRequestTypeDef(TypedDict):
arn: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
TagValuesTypeDef#
# TagValuesTypeDef definition
class TagValuesTypeDef(TypedDict):
key: str,
values: Sequence[str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
resourceTagKeys: Sequence[str],
ActiveTimeRangeTypeDef#
# ActiveTimeRangeTypeDef definition
class ActiveTimeRangeTypeDef(TypedDict):
activeAfterInclusive: TimestampTypeDef,
activeBeforeInclusive: TimestampTypeDef,
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
resourceTags: Sequence[ResourceTagTypeDef], # (1)
CreateBillingViewResponseTypeDef#
# CreateBillingViewResponseTypeDef definition
class CreateBillingViewResponseTypeDef(TypedDict):
arn: str,
createdAt: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteBillingViewResponseTypeDef#
# DeleteBillingViewResponseTypeDef definition
class DeleteBillingViewResponseTypeDef(TypedDict):
arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetResourcePolicyResponseTypeDef#
# GetResourcePolicyResponseTypeDef definition
class GetResourcePolicyResponseTypeDef(TypedDict):
resourceArn: str,
policy: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListBillingViewsResponseTypeDef#
# ListBillingViewsResponseTypeDef definition
class ListBillingViewsResponseTypeDef(TypedDict):
billingViews: list[BillingViewListElementTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListSourceViewsForBillingViewResponseTypeDef#
# ListSourceViewsForBillingViewResponseTypeDef definition
class ListSourceViewsForBillingViewResponseTypeDef(TypedDict):
sourceViews: list[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
resourceTags: list[ResourceTagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateBillingViewResponseTypeDef#
# UpdateBillingViewResponseTypeDef definition
class UpdateBillingViewResponseTypeDef(TypedDict):
arn: str,
updatedAt: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ExpressionOutputTypeDef#
# ExpressionOutputTypeDef definition
class ExpressionOutputTypeDef(TypedDict):
dimensions: NotRequired[DimensionValuesOutputTypeDef], # (1)
tags: NotRequired[TagValuesOutputTypeDef], # (2)
ListSourceViewsForBillingViewRequestPaginateTypeDef#
# ListSourceViewsForBillingViewRequestPaginateTypeDef definition
class ListSourceViewsForBillingViewRequestPaginateTypeDef(TypedDict):
arn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListBillingViewsRequestPaginateTypeDef#
# ListBillingViewsRequestPaginateTypeDef definition
class ListBillingViewsRequestPaginateTypeDef(TypedDict):
activeTimeRange: NotRequired[ActiveTimeRangeTypeDef], # (1)
arns: NotRequired[Sequence[str]],
billingViewTypes: NotRequired[Sequence[BillingViewTypeType]], # (2)
ownerAccountId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListBillingViewsRequestRequestTypeDef#
# ListBillingViewsRequestRequestTypeDef definition
class ListBillingViewsRequestRequestTypeDef(TypedDict):
activeTimeRange: NotRequired[ActiveTimeRangeTypeDef], # (1)
arns: NotRequired[Sequence[str]],
billingViewTypes: NotRequired[Sequence[BillingViewTypeType]], # (2)
ownerAccountId: NotRequired[str],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
BillingViewElementTypeDef#
# BillingViewElementTypeDef definition
class BillingViewElementTypeDef(TypedDict):
arn: NotRequired[str],
name: NotRequired[str],
description: NotRequired[str],
billingViewType: NotRequired[BillingViewTypeType], # (1)
ownerAccountId: NotRequired[str],
dataFilterExpression: NotRequired[ExpressionOutputTypeDef], # (2)
createdAt: NotRequired[datetime],
updatedAt: NotRequired[datetime],
ExpressionTypeDef#
# ExpressionTypeDef definition
class ExpressionTypeDef(TypedDict):
dimensions: NotRequired[DimensionValuesUnionTypeDef], # (1)
tags: NotRequired[TagValuesUnionTypeDef], # (2)
GetBillingViewResponseTypeDef#
# GetBillingViewResponseTypeDef definition
class GetBillingViewResponseTypeDef(TypedDict):
billingView: BillingViewElementTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateBillingViewRequestRequestTypeDef#
# CreateBillingViewRequestRequestTypeDef definition
class CreateBillingViewRequestRequestTypeDef(TypedDict):
name: str,
sourceViews: Sequence[str],
description: NotRequired[str],
dataFilterExpression: NotRequired[ExpressionTypeDef], # (1)
clientToken: NotRequired[str],
resourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
- See ExpressionTypeDef
- See ResourceTagTypeDef
UpdateBillingViewRequestRequestTypeDef#
# UpdateBillingViewRequestRequestTypeDef definition
class UpdateBillingViewRequestRequestTypeDef(TypedDict):
arn: str,
name: NotRequired[str],
description: NotRequired[str],
dataFilterExpression: NotRequired[ExpressionTypeDef], # (1)