Class: Aws::AppMonetization::Types::GetPlanRequest

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

Overview

Input for GetPlan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_id ⇒ String

The ID of the app.

Returns:

  • (String)


3008
3009
3010
3011
3012
3013
3014
3015
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3008

class GetPlanRequest < Struct.new(
  :app_id,
  :plan_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#plan_id ⇒ String

The identifier of the plan. AWS App Monetization generates this value when you create the plan. It is unique within the app and is never reused. Treat it as opaque.

Returns:

  • (String)


3008
3009
3010
3011
3012
3013
3014
3015
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3008

class GetPlanRequest < Struct.new(
  :app_id,
  :plan_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#scope ⇒ String

Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft (what the sandbox runs).

Returns:

  • (String)


3008
3009
3010
3011
3012
3013
3014
3015
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3008

class GetPlanRequest < Struct.new(
  :app_id,
  :plan_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#stage ⇒ String

The offering stage to read the plan from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.

Returns:

  • (String)


3008
3009
3010
3011
3012
3013
3014
3015
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3008

class GetPlanRequest < Struct.new(
  :app_id,
  :plan_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end