Class: Aws::AppMonetization::Types::PutThirdPartyCostRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::PutThirdPartyCostRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for PutThirdPartyCost. This operation carries no scope selector: it always addresses the live app. Third-party cost is app-level configuration and is not scoped to the sandbox.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#amount ⇒ String
A flat monthly amount as a decimal string (for example, "12.50").
-
#app_id ⇒ String
The ID of the app the cost belongs to.
-
#client_token ⇒ String
AWS App Monetization does not use this value for this operation.
-
#cost_id ⇒ String
The ID of the cost.
-
#currency ⇒ String
The currency of the amount.
-
#description ⇒ String
A free-form description of the cost.
-
#effective_from ⇒ String
First month (YYYY-MM) the cost applies in.
-
#effective_to ⇒ String
Last month (YYYY-MM) the cost applies in.
-
#frequency ⇒ String
How often the cost recurs.
-
#label ⇒ String
A human-readable label for the cost (for example, "Anthropic API").
Instance Attribute Details
#amount ⇒ String
A flat monthly amount as a decimal string (for example, "12.50").
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#app_id ⇒ String
The ID of the app the cost belongs to.
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
AWS App Monetization does not use this value for this operation. To
retry without creating a duplicate cost, pass the costId returned
by the first call.
A suitable default value is auto-generated. You should normally not need to pass this option.
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#cost_id ⇒ String
The ID of the cost. Omit it to create a new cost, or supply an existing cost ID to update that cost in place.
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#currency ⇒ String
The currency of the amount. Defaults to USD when omitted (USD is the only supported currency).
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A free-form description of the cost.
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#effective_from ⇒ String
First month (YYYY-MM) the cost applies in. Absent means the cost has no start month.
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#effective_to ⇒ String
Last month (YYYY-MM) the cost applies in. Absent means the cost has no end month. When both are present, effectiveFrom must not be after effectiveTo.
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#frequency ⇒ String
How often the cost recurs. MONTHLY is the only value today.
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |
#label ⇒ String
A human-readable label for the cost (for example, "Anthropic API").
4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4726 class PutThirdPartyCostRequest < Struct.new( :app_id, :cost_id, :label, :amount, :frequency, :currency, :description, :effective_from, :effective_to, :client_token) SENSITIVE = [] include Aws::Structure end |