Class: Aws::BillingConductor::Types::CreateCustomLineItemInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-billingconductor/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:name, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account in which this custom line item will be applied to.

Returns:

  • (String)


653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#billing_group_arnString

The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.

Returns:

  • (String)


653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#billing_period_rangeTypes::CustomLineItemBillingPeriodRange

A time range for which the custom line item is effective.



653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#charge_detailsTypes::CustomLineItemChargeDetails

A ‘CustomLineItemChargeDetails` that describes the charge details for a custom line item.



653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

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

Returns:

  • (String)


653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#computation_ruleString

Specifies how the custom line item charges are computed.

Returns:

  • (String)


653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#descriptionString

The description of the custom line item. This is shown on the Bills page in association with the charge value.

Returns:

  • (String)


653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#nameString

The name of the custom line item.

Returns:

  • (String)


653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#presentation_detailsTypes::PresentationObject

Details controlling how the custom line item charges are presented in the bill. Contains specifications for which service the charges will be shown under.



653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#tagsHash<String,String>

A map that contains tag keys and tag values that are attached to a custom line item.

Returns:

  • (Hash<String,String>)


653
654
655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/aws-sdk-billingconductor/types.rb', line 653

class CreateCustomLineItemInput < Struct.new(
  :client_token,
  :name,
  :description,
  :billing_group_arn,
  :billing_period_range,
  :tags,
  :charge_details,
  :account_id,
  :computation_rule,
  :presentation_details)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end