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

#arnString

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

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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_countInteger

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

Returns:

  • (Integer)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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_entityString

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

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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_timeInteger

The time when the pricing rule was created.

Returns:

  • (Integer)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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

#descriptionString

The pricing rule description.

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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_timeInteger

The most recent time when the pricing rule was modified.

Returns:

  • (Integer)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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_percentageFloat

A percentage modifier applied on the public pricing rates.

Returns:

  • (Float)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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

#nameString

The name of a pricing rule.

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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

#operationString

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)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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

#scopeString

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

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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

#serviceString

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

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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

#tieringTypes::Tiering

The set of tiering configurations for the pricing rule.

Returns:



2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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

#typeString

The type of pricing rule.

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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_typeString

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)


2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2475

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