Class: Aws::PartnerCentralBenefits::Types::CreditCode

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/types.rb

Overview

Represents an AWS credit code that can be applied to an AWS account for billing purposes.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_account_idString

The AWS account ID that the credit code is associated with or can be applied to.

Returns:

  • (String)


631
632
633
634
635
636
637
638
639
640
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/types.rb', line 631

class CreditCode < Struct.new(
  :aws_account_id,
  :value,
  :aws_credit_code,
  :status,
  :issued_at,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#aws_credit_codeString

The actual credit code string that can be redeemed in the AWS billing console.

Returns:

  • (String)


631
632
633
634
635
636
637
638
639
640
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/types.rb', line 631

class CreditCode < Struct.new(
  :aws_account_id,
  :value,
  :aws_credit_code,
  :status,
  :issued_at,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#expires_atTime

The timestamp when the credit code expires and can no longer be redeemed.

Returns:

  • (Time)


631
632
633
634
635
636
637
638
639
640
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/types.rb', line 631

class CreditCode < Struct.new(
  :aws_account_id,
  :value,
  :aws_credit_code,
  :status,
  :issued_at,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#issued_atTime

The timestamp when the credit code was issued.

Returns:

  • (Time)


631
632
633
634
635
636
637
638
639
640
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/types.rb', line 631

class CreditCode < Struct.new(
  :aws_account_id,
  :value,
  :aws_credit_code,
  :status,
  :issued_at,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current status of the credit code (e.g., active, redeemed, expired).

Returns:

  • (String)


631
632
633
634
635
636
637
638
639
640
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/types.rb', line 631

class CreditCode < Struct.new(
  :aws_account_id,
  :value,
  :aws_credit_code,
  :status,
  :issued_at,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#valueTypes::MonetaryValue

The monetary value of the credit code.



631
632
633
634
635
636
637
638
639
640
# File 'gems/aws-sdk-partnercentralbenefits/lib/aws-sdk-partnercentralbenefits/types.rb', line 631

class CreditCode < Struct.new(
  :aws_account_id,
  :value,
  :aws_credit_code,
  :status,
  :issued_at,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end