CreditData

Detailed information about an Amazon Web Services credit, including its identifier, type, monetary amounts, applicable products, sharing configuration, and current enabled status.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the owning account has account-level credit sharing turned on.

Link copied to clipboard

The Amazon Web Services account ID that owns the credit.

Link copied to clipboard

The names of Amazon Web Services services this credit applies to.

Link copied to clipboard

When the credit is applied during bill computation. Valid values: BEFORE_CROSS_SERVICE_DISCOUNTS, AFTER_DISCOUNTS.

Link copied to clipboard

The Amazon Resource Name (ARN) of the Cost Category controlling the credit's sharing scope. Present only when creditSharingType is COST_CATEGORY_RULE.

Link copied to clipboard

The display configuration for the credit in the Amazon Web Services Billing console.

Link copied to clipboard

The unique identifier for the credit.

Link copied to clipboard

The sharing configuration for the credit. Valid values: DEFAULT, DISABLED, CUSTOM, COST_CATEGORY_RULE.

Link copied to clipboard

Whether the credit participates in billing runs. Valid values: ENABLED, DISABLED.

Link copied to clipboard

The type of credit. Examples: Promotion, Refund, TrueUp.

Link copied to clipboard

A human-readable description of the credit.

Link copied to clipboard

The date the credit expires, as Unix epoch seconds.

Link copied to clipboard

The estimated remaining balance, including in-flight (open) bills that have not yet been finalized.

Link copied to clipboard

The date the credit balance reached zero, as Unix epoch seconds.

Link copied to clipboard

The initial amount of the credit when it was issued.

Link copied to clipboard

Restricts which purchase types this credit applies to. When null or omitted, the credit applies to all purchase types.

Link copied to clipboard

The unused balance of the credit.

Link copied to clipboard

The rule name within the Cost Category. Present only when creditSharingType is COST_CATEGORY_RULE.

Link copied to clipboard

The Amazon Web Services account IDs entitled to apply this credit.

Link copied to clipboard

The date the credit becomes valid, as Unix epoch seconds.

Functions

Link copied to clipboard
inline fun copy(block: CreditData.Builder.() -> Unit = {}): CreditData
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String