Class: Aws::AppMonetization::Types::CreatePlanRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::CreatePlanRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for CreatePlan. This operation carries no scope selector: plan authoring always addresses the live app. The sandbox always runs the live app's draft, so its plans are read-only through this API. Read them with GetPlan or ListPlans using scope=sandbox or stage=DRAFT.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app the plan belongs to.
-
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the operation completes no more than one time.
-
#definition ⇒ Types::PlanDefinition
The pricing and packaging definition for the plan.
-
#tags ⇒ Hash<String,String>
Optional tags to add to the plan when it is created.
Instance Attribute Details
#app_id ⇒ String
The ID of the app the plan belongs to.
1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1490 class CreatePlanRequest < 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.
1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1490 class CreatePlanRequest < Struct.new( :app_id, :definition, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |
#definition ⇒ Types::PlanDefinition
The pricing and packaging definition for the plan. The plan's identifier is not supplied here: CreatePlan mints a server-generated planId and returns it on the created plan.
1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1490 class CreatePlanRequest < Struct.new( :app_id, :definition, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Optional tags to add to the plan when it is created. Tagging on create also requires permission for appmonetization:TagResource.
1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1490 class CreatePlanRequest < Struct.new( :app_id, :definition, :client_token, :tags) SENSITIVE = [] include Aws::Structure end |