Type definitions#
Auto-generated documentation for Invoicing type annotations stubs module mypy-boto3-invoicing.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from mypy_boto3_invoicing.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
InvoiceUnitRuleUnionTypeDef#
# InvoiceUnitRuleUnionTypeDef Union usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitRuleUnionTypeDef
def get_value() -> InvoiceUnitRuleUnionTypeDef:
return ...
# InvoiceUnitRuleUnionTypeDef definition
InvoiceUnitRuleUnionTypeDef = Union[
InvoiceUnitRuleTypeDef, # (1)
InvoiceUnitRuleOutputTypeDef, # (2)
]
BatchGetInvoiceProfileRequestTypeDef#
# BatchGetInvoiceProfileRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import BatchGetInvoiceProfileRequestTypeDef
def get_value() -> BatchGetInvoiceProfileRequestTypeDef:
return {
"AccountIds": ...,
}
# BatchGetInvoiceProfileRequestTypeDef definition
class BatchGetInvoiceProfileRequestTypeDef(TypedDict):
AccountIds: Sequence[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
ResourceTagTypeDef#
# ResourceTagTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ResourceTagTypeDef
def get_value() -> ResourceTagTypeDef:
return {
"Key": ...,
}
# ResourceTagTypeDef definition
class ResourceTagTypeDef(TypedDict):
Key: str,
Value: str,
DeleteInvoiceUnitRequestTypeDef#
# DeleteInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DeleteInvoiceUnitRequestTypeDef
def get_value() -> DeleteInvoiceUnitRequestTypeDef:
return {
"InvoiceUnitArn": ...,
}
# DeleteInvoiceUnitRequestTypeDef definition
class DeleteInvoiceUnitRequestTypeDef(TypedDict):
InvoiceUnitArn: str,
FiltersTypeDef#
# FiltersTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import FiltersTypeDef
def get_value() -> FiltersTypeDef:
return {
"Names": ...,
}
# FiltersTypeDef definition
class FiltersTypeDef(TypedDict):
Names: NotRequired[Sequence[str]],
InvoiceReceivers: NotRequired[Sequence[str]],
Accounts: NotRequired[Sequence[str]],
InvoiceUnitRuleOutputTypeDef#
# InvoiceUnitRuleOutputTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitRuleOutputTypeDef
def get_value() -> InvoiceUnitRuleOutputTypeDef:
return {
"LinkedAccounts": ...,
}
# InvoiceUnitRuleOutputTypeDef definition
class InvoiceUnitRuleOutputTypeDef(TypedDict):
LinkedAccounts: NotRequired[List[str]],
ReceiverAddressTypeDef#
# ReceiverAddressTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ReceiverAddressTypeDef
def get_value() -> ReceiverAddressTypeDef:
return {
"AddressLine1": ...,
}
# ReceiverAddressTypeDef definition
class ReceiverAddressTypeDef(TypedDict):
AddressLine1: NotRequired[str],
AddressLine2: NotRequired[str],
AddressLine3: NotRequired[str],
DistrictOrCounty: NotRequired[str],
City: NotRequired[str],
StateOrRegion: NotRequired[str],
CountryCode: NotRequired[str],
CompanyName: NotRequired[str],
PostalCode: NotRequired[str],
InvoiceUnitRuleTypeDef#
# InvoiceUnitRuleTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitRuleTypeDef
def get_value() -> InvoiceUnitRuleTypeDef:
return {
"LinkedAccounts": ...,
}
# InvoiceUnitRuleTypeDef definition
class InvoiceUnitRuleTypeDef(TypedDict):
LinkedAccounts: NotRequired[Sequence[str]],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListTagsForResourceRequestTypeDef#
# ListTagsForResourceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListTagsForResourceRequestTypeDef
def get_value() -> ListTagsForResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# ListTagsForResourceRequestTypeDef definition
class ListTagsForResourceRequestTypeDef(TypedDict):
ResourceArn: str,
UntagResourceRequestTypeDef#
# UntagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UntagResourceRequestTypeDef
def get_value() -> UntagResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# UntagResourceRequestTypeDef definition
class UntagResourceRequestTypeDef(TypedDict):
ResourceArn: str,
ResourceTagKeys: Sequence[str],
CreateInvoiceUnitResponseTypeDef#
# CreateInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import CreateInvoiceUnitResponseTypeDef
def get_value() -> CreateInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# CreateInvoiceUnitResponseTypeDef definition
class CreateInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteInvoiceUnitResponseTypeDef#
# DeleteInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import DeleteInvoiceUnitResponseTypeDef
def get_value() -> DeleteInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# DeleteInvoiceUnitResponseTypeDef definition
class DeleteInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateInvoiceUnitResponseTypeDef#
# UpdateInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UpdateInvoiceUnitResponseTypeDef
def get_value() -> UpdateInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# UpdateInvoiceUnitResponseTypeDef definition
class UpdateInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"ResourceTags": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
ResourceTags: List[ResourceTagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TagResourceRequestTypeDef#
# TagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import TagResourceRequestTypeDef
def get_value() -> TagResourceRequestTypeDef:
return {
"ResourceArn": ...,
}
# TagResourceRequestTypeDef definition
class TagResourceRequestTypeDef(TypedDict):
ResourceArn: str,
ResourceTags: Sequence[ResourceTagTypeDef], # (1)
GetInvoiceUnitRequestTypeDef#
# GetInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetInvoiceUnitRequestTypeDef
def get_value() -> GetInvoiceUnitRequestTypeDef:
return {
"InvoiceUnitArn": ...,
}
# GetInvoiceUnitRequestTypeDef definition
class GetInvoiceUnitRequestTypeDef(TypedDict):
InvoiceUnitArn: str,
AsOf: NotRequired[TimestampTypeDef],
ListInvoiceUnitsRequestTypeDef#
# ListInvoiceUnitsRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceUnitsRequestTypeDef
def get_value() -> ListInvoiceUnitsRequestTypeDef:
return {
"Filters": ...,
}
# ListInvoiceUnitsRequestTypeDef definition
class ListInvoiceUnitsRequestTypeDef(TypedDict):
Filters: NotRequired[FiltersTypeDef], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
AsOf: NotRequired[TimestampTypeDef],
- See FiltersTypeDef
GetInvoiceUnitResponseTypeDef#
# GetInvoiceUnitResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import GetInvoiceUnitResponseTypeDef
def get_value() -> GetInvoiceUnitResponseTypeDef:
return {
"InvoiceUnitArn": ...,
}
# GetInvoiceUnitResponseTypeDef definition
class GetInvoiceUnitResponseTypeDef(TypedDict):
InvoiceUnitArn: str,
InvoiceReceiver: str,
Name: str,
Description: str,
TaxInheritanceDisabled: bool,
Rule: InvoiceUnitRuleOutputTypeDef, # (1)
LastModified: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InvoiceUnitTypeDef#
# InvoiceUnitTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceUnitTypeDef
def get_value() -> InvoiceUnitTypeDef:
return {
"InvoiceUnitArn": ...,
}
# InvoiceUnitTypeDef definition
class InvoiceUnitTypeDef(TypedDict):
InvoiceUnitArn: NotRequired[str],
InvoiceReceiver: NotRequired[str],
Name: NotRequired[str],
Description: NotRequired[str],
TaxInheritanceDisabled: NotRequired[bool],
Rule: NotRequired[InvoiceUnitRuleOutputTypeDef], # (1)
LastModified: NotRequired[datetime],
InvoiceProfileTypeDef#
# InvoiceProfileTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import InvoiceProfileTypeDef
def get_value() -> InvoiceProfileTypeDef:
return {
"AccountId": ...,
}
# InvoiceProfileTypeDef definition
class InvoiceProfileTypeDef(TypedDict):
AccountId: NotRequired[str],
ReceiverName: NotRequired[str],
ReceiverAddress: NotRequired[ReceiverAddressTypeDef], # (1)
ReceiverEmail: NotRequired[str],
Issuer: NotRequired[str],
TaxRegistrationNumber: NotRequired[str],
ListInvoiceUnitsRequestPaginateTypeDef#
# ListInvoiceUnitsRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceUnitsRequestPaginateTypeDef
def get_value() -> ListInvoiceUnitsRequestPaginateTypeDef:
return {
"Filters": ...,
}
# ListInvoiceUnitsRequestPaginateTypeDef definition
class ListInvoiceUnitsRequestPaginateTypeDef(TypedDict):
Filters: NotRequired[FiltersTypeDef], # (1)
AsOf: NotRequired[TimestampTypeDef],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FiltersTypeDef
- See PaginatorConfigTypeDef
ListInvoiceUnitsResponseTypeDef#
# ListInvoiceUnitsResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import ListInvoiceUnitsResponseTypeDef
def get_value() -> ListInvoiceUnitsResponseTypeDef:
return {
"InvoiceUnits": ...,
}
# ListInvoiceUnitsResponseTypeDef definition
class ListInvoiceUnitsResponseTypeDef(TypedDict):
InvoiceUnits: List[InvoiceUnitTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
BatchGetInvoiceProfileResponseTypeDef#
# BatchGetInvoiceProfileResponseTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import BatchGetInvoiceProfileResponseTypeDef
def get_value() -> BatchGetInvoiceProfileResponseTypeDef:
return {
"Profiles": ...,
}
# BatchGetInvoiceProfileResponseTypeDef definition
class BatchGetInvoiceProfileResponseTypeDef(TypedDict):
Profiles: List[InvoiceProfileTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateInvoiceUnitRequestTypeDef#
# CreateInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import CreateInvoiceUnitRequestTypeDef
def get_value() -> CreateInvoiceUnitRequestTypeDef:
return {
"Name": ...,
}
# CreateInvoiceUnitRequestTypeDef definition
class CreateInvoiceUnitRequestTypeDef(TypedDict):
Name: str,
InvoiceReceiver: str,
Rule: InvoiceUnitRuleUnionTypeDef, # (1)
Description: NotRequired[str],
TaxInheritanceDisabled: NotRequired[bool],
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
UpdateInvoiceUnitRequestTypeDef#
# UpdateInvoiceUnitRequestTypeDef TypedDict usage example
from mypy_boto3_invoicing.type_defs import UpdateInvoiceUnitRequestTypeDef
def get_value() -> UpdateInvoiceUnitRequestTypeDef:
return {
"InvoiceUnitArn": ...,
}
# UpdateInvoiceUnitRequestTypeDef definition
class UpdateInvoiceUnitRequestTypeDef(TypedDict):
InvoiceUnitArn: str,
Description: NotRequired[str],
TaxInheritanceDisabled: NotRequired[bool],
Rule: NotRequired[InvoiceUnitRuleUnionTypeDef], # (1)