Class: Aws::Billing::Types::TransferCreditResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amount ⇒ String

The available balance of the credit, which is its remaining balance minus any amount reserved for a bill that isn't finalized.

Returns:

  • (String)


3563
3564
3565
3566
3567
3568
3569
3570
3571
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3563

class TransferCreditResponse < Struct.new(
  :source_credit_id,
  :new_credit_id,
  :destination_account_id,
  :amount,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#destination_account_id ⇒ String

The Amazon Web Services account ID that owns the credit after the transfer.

Returns:

  • (String)


3563
3564
3565
3566
3567
3568
3569
3570
3571
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3563

class TransferCreditResponse < Struct.new(
  :source_credit_id,
  :new_credit_id,
  :destination_account_id,
  :amount,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_run ⇒ Boolean

Specifies whether the request was a dry run. If true, the operation didn't change the credit.

Returns:

  • (Boolean)


3563
3564
3565
3566
3567
3568
3569
3570
3571
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3563

class TransferCreditResponse < Struct.new(
  :source_credit_id,
  :new_credit_id,
  :destination_account_id,
  :amount,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#new_credit_id ⇒ String

Always the same as sourceCreditId, because a transfer moves the credit and creates no new one. A dry run omits this field.

Returns:

  • (String)


3563
3564
3565
3566
3567
3568
3569
3570
3571
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3563

class TransferCreditResponse < Struct.new(
  :source_credit_id,
  :new_credit_id,
  :destination_account_id,
  :amount,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#source_credit_id ⇒ String

The ID of the transferred credit. The credit keeps this ID.

Returns:

  • (String)


3563
3564
3565
3566
3567
3568
3569
3570
3571
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3563

class TransferCreditResponse < Struct.new(
  :source_credit_id,
  :new_credit_id,
  :destination_account_id,
  :amount,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end