CreditData
¶
Source code in docs_src/capo_billing/types/credit_data.py
account_has_credit_sharing_enabled
instance-attribute
¶
account_has_credit_sharing_enabled: NotRequired[bool]
Whether the owning account has account-level credit sharing turned on.
account_id
instance-attribute
¶
account_id: AccountId
The Amazon Web Services account ID that owns the credit.
applicable_product_names
instance-attribute
¶
applicable_product_names: NotRequired[ProductNames]
The names of Amazon Web Services services this credit applies to.
application_type
instance-attribute
¶
application_type: NotRequired[ApplicationType]
When the credit is applied during bill computation. Valid values: BEFORE_CROSS_SERVICE_DISCOUNTS, AFTER_DISCOUNTS.
cost_category_arn
instance-attribute
¶
cost_category_arn: NotRequired[str]
The Amazon Resource Name (ARN) of the Cost Category controlling the credit's sharing scope. Present only when creditSharingType is COST_CATEGORY_RULE.
credit_console_visibility
instance-attribute
¶
credit_console_visibility: NotRequired[str]
The display configuration for the credit in the Amazon Web Services Billing console.
credit_sharing_type
instance-attribute
¶
credit_sharing_type: NotRequired[CreditSharingType]
The sharing configuration for the credit. Valid values: DEFAULT, DISABLED, CUSTOM, COST_CATEGORY_RULE.
credit_status
instance-attribute
¶
credit_status: NotRequired[CreditStatus]
Whether the credit participates in billing runs. Valid values: ENABLED, DISABLED.
credit_type
instance-attribute
¶
credit_type: str
The type of credit. Examples: Promotion, Refund, TrueUp.
end_date
instance-attribute
¶
end_date: NotRequired[datetime]
The date the credit expires, as Unix epoch seconds.
estimated_amount
instance-attribute
¶
estimated_amount: NotRequired[Amount]
The estimated remaining balance, including in-flight (open) bills that have not yet been finalized.
exhaust_date
instance-attribute
¶
exhaust_date: NotRequired[datetime]
The date the credit balance reached zero, as Unix epoch seconds.
initial_amount
instance-attribute
¶
initial_amount: Amount
The initial amount of the credit when it was issued.
purchase_type_applications
instance-attribute
¶
purchase_type_applications: NotRequired[PurchaseTypeApplications]
Restricts which purchase types this credit applies to. When null or omitted, the credit applies to all purchase types.
rule_name
instance-attribute
¶
rule_name: NotRequired[str]
The rule name within the Cost Category. Present only when creditSharingType is COST_CATEGORY_RULE.
shareable_accounts
instance-attribute
¶
shareable_accounts: NotRequired[ShareableAccountIds]
The Amazon Web Services account IDs entitled to apply this credit.