Class: Aws::AppMonetization::Types::CreateOneTimePriceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb

Overview

Input for CreateOneTimePrice.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_id ⇒ String

The ID of the app the one-time price belongs to.

Returns:

  • (String)


1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1435

class CreateOneTimePriceRequest < Struct.new(
  :app_id,
  :definition,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_token ⇒ String

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.

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

Returns:

  • (String)


1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1435

class CreateOneTimePriceRequest < Struct.new(
  :app_id,
  :definition,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#definition ⇒ Types::OneTimePriceDefinition

The definition of the one-time price to create, including its display name, price, metric, and credited capacity.



1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1435

class CreateOneTimePriceRequest < Struct.new(
  :app_id,
  :definition,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

Optional tags to add to the one-time price when it is created. Tagging on create also requires permission for appmonetization:TagResource.

Returns:

  • (Hash<String,String>)


1435
1436
1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1435

class CreateOneTimePriceRequest < Struct.new(
  :app_id,
  :definition,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end