Class: Aws::BillingConductor::Types::CreatePricingRuleInput

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

#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)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  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)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#descriptionString

The pricing rule description.

Returns:

  • (String)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#modifier_percentageFloat

A percentage modifier that’s applied on the public pricing rates. Your entry will be rounded to the nearest 2 decimal places.

Returns:

  • (Float)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#nameString

The pricing rule name. The names must be unique to each pricing rule.

Returns:

  • (String)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :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)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#scopeString

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

Returns:

  • (String)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#serviceString

If the ‘Scope` attribute is set to `SERVICE` or `SKU`, the attribute indicates which service the `PricingRule` is applicable for.

Returns:

  • (String)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#tagsHash<String,String>

A map that contains tag keys and tag values that are attached to a pricing rule.

Returns:

  • (Hash<String,String>)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#tieringTypes::CreateTieringInput

The set of tiering configurations for the pricing rule.



824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#typeString

The type of pricing rule.

Returns:

  • (String)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :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 an` M2 High Memory Double Extra Large` instance in the US West (Oregon) Region.

Returns:

  • (String)


824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'lib/aws-sdk-billingconductor/types.rb', line 824

class CreatePricingRuleInput < Struct.new(
  :client_token,
  :name,
  :description,
  :scope,
  :type,
  :modifier_percentage,
  :service,
  :tags,
  :billing_entity,
  :tiering,
  :usage_type,
  :operation)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end