Class: Aws::Billing::Types::SplitCreditRequest

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

#client_token ⇒ String

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a successful request with the same client token and parameters, the retry completes without performing any further actions. If you reuse a client token with different parameters, the request fails with a ValidationException.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


3345
3346
3347
3348
3349
3350
3351
3352
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3345

class SplitCreditRequest < Struct.new(
  :credit_id,
  :portions,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#credit_id ⇒ String

The ID of the credit to split.

Returns:

  • (String)


3345
3346
3347
3348
3349
3350
3351
3352
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3345

class SplitCreditRequest < Struct.new(
  :credit_id,
  :portions,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_run ⇒ Boolean

Specifies whether to validate the request and return the result without changing any credit.

Returns:

  • (Boolean)


3345
3346
3347
3348
3349
3350
3351
3352
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3345

class SplitCreditRequest < Struct.new(
  :credit_id,
  :portions,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#portions ⇒ Array<Types::SplitPortion>

The new credits to create, one for each portion, in the order listed.

Returns:



3345
3346
3347
3348
3349
3350
3351
3352
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 3345

class SplitCreditRequest < Struct.new(
  :credit_id,
  :portions,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end