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)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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

The token that’s needed to support idempotency. Idempotency isn’t currently supported, but will be implemented in a future update.

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

Returns:

  • (String)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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.

Returns:

  • (Float)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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.



787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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. </p>

Returns:

  • (String)


787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/aws-sdk-billingconductor/types.rb', line 787

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