Class: Aws::AppMonetization::Types::PutThirdPartyCostRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#amount ⇒ String

A flat monthly amount as a decimal string (for example, "12.50").

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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

Returns:

  • (String)


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