Class: Aws::BillingConductor::Types::PricingRuleListElement

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

Overview

A representation of a pricing rule.

Constant Summary collapse

SENSITIVE =
[:name, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#associated_pricing_plan_count ⇒ Integer

The pricing plans count that this pricing rule is associated with.

Returns:

  • (Integer)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#billing_entity ⇒ String

The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#creation_time ⇒ Integer

The time when the pricing rule was created.

Returns:

  • (Integer)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#description ⇒ String

The pricing rule description.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#last_modified_time ⇒ Integer

The most recent time when the pricing rule was modified.

Returns:

  • (Integer)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#modifier_percentage ⇒ Float

A percentage modifier applied on the public pricing rates.

Returns:

  • (Float)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#name ⇒ String

The name of a pricing rule.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#operation ⇒ String

Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.

If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#scope ⇒ String

The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#service ⇒ String

If the Scope attribute is SERVICE, this attribute indicates which service the PricingRule is applicable for.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#tiering ⇒ Types::Tiering

The set of tiering configurations for the pricing rule.

Returns:



2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#type ⇒ String

The type of pricing rule.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#usage_type ⇒ String

Usage type is the unit that each service uses to measure the usage of a specific type of resource.

If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes anM2 High Memory Double Extra Large instance in the US West (Oregon) Region.

Returns:

  • (String)


2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2571

class PricingRuleListElement < Struct.new(
  :name,
  :arn,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :associated_pricing_plan_count,
  :creation_time,
  :last_modified_time,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end