AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the AWS App Monetization GetPlanRecommendation API operation.

Syntax

Get-APPMPlanRecommendation
-Action <BillableAction[]>
-PlanOptions_PublishedPrice_Amount <String>
-PlanOptions_AnnualPlanInclusion <PlanInclusion>
-AppName <String>
-Features_AppScore <Hashtable>
-AppType <PlanRecommendationAppType>
-Alternatives_Comparable <Comparable[]>
-Alternatives_ComparablesOptIn <ComparablesOptIn>
-PlanOptions_CreditPackInclusion <PlanInclusion>
-PlanOptions_PublishedPrice_CurrencyCode <String>
-Context_CustomerTypeDescription <Hashtable>
-Market_CustomerType <CustomerType[]>
-Market_ExpectedUser <Int64>
-Context_ExpectedUsersBasis <String>
-Costs_FixedMonthlyCost <Double>
-Market_CheckoutDropOff_Flat <Double>
-Market_CheckoutDropOff_FreePlan <Double>
-PlanOptions_FreeTierInclusion <PlanInclusion>
-HourlyRate <Double>
-Costs_Margin <Double[]>
-PlanOptions_MaxTierInclusion <PlanInclusion>
-Context_NonAwsCostsNote <String>
-Alternatives_OutsideOption <OutsideOption[]>
-Market_MeasuredConversion_PayingUser <Int64>
-Market_CheckoutDropOff_PerUse <Double>
-PlanOptions_PlanPrice <PlanPrice[]>
-PlanOptions_PricingModelPreference <PricingModel>
-Segment <CustomerSegment>
-Costs_Source <CostSource>
-Market_CheckoutDropOff_Tiered <Double>
-Costs_Unknown <String[]>
-Context_UsageSource <Hashtable>
-Market_MeasuredConversion_User <Int64>
-Context_ValueBasis <String>
-ValueKind <ValueKind>
-ValueShare <Double>
-Features_Weight <Hashtable>
-Select <String>
-ClientConfig <AmazonAppMonetizationConfig>

Description

Returns a recommended pricing model and plan set for an app, calculated from the billable actions, costs, customer types, alternatives and preferences in the request. Built to be called by an agent working with the developer: most inputs are estimates the agent gathers from the app's code and from the developer (who the users are, what an action saves them, what it costs to serve), and each optional member's documentation says what its absence means, so send only the inputs you have a basis for. Stateless: nothing is stored, no app is required, and repeating a request returns the same recommendation unless the service has been updated in between. Every response carries the rendered texts summary and details. Smallest call (MEDIUM confidence): {"segment":"CONSUMER","appType":"DAILY_WORKFLOW","actions":[{"unitCost":0.02,"typicalMonthlyUsage":30,"valuePerUse":0.40}]}.

Parameters

The things that your app charges for, each with its cost to serve, typical usage, and value to a customer. Names must be unique. Give a value basis (`minutesSaved`, `moneySaved` or `valuePerUse`, one per action) on every action or on none: when no action has a value basis and there is no experiential estimate (see `valueKind`), the price is based on cost (and comparables, if opted in, or `planOptions.publishedPrice`) and the confidence is LOW. Give `unitCost` on every action or on none. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesActions
-Alternatives_Comparable <Comparable[]>
Comparable apps, each read from its public pricing page, used only when `comparablesOptIn` is OPTED_IN. Each usable one becomes an alternative customers weigh against the app. At most 5 are used, best quality first; the rest, and any that cannot be used, are returned in `alternatives.comparablesDropped` with the reason. With OPTED_OUT they are still validated, but not used and not listed there. Absent: no comparables. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAlternatives_Comparables
-Alternatives_ComparablesOptIn <ComparablesOptIn>
The developer's explicit answer to whether comparable apps' public prices may be used. Required when `comparables` is sent. Absent otherwise: OPTED_OUT. Never inferred as OPTED_IN.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Alternatives_OutsideOption <OutsideOption[]>
What customers do today without any product, such as doing the task by hand. Each one is an alternative customers weigh against the app, at its `monthlyCost`. These are not products, so they need no `comparablesOptIn`. Absent: none. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAlternatives_OutsideOptions
-AppName <String>
Display name of the app, used in the rendered text. Absent: `your app`.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
Kind of app. It sets the service's usage and value benchmarks for this kind of app.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
Amazon.PowerShell.Cmdlets.APPM.AmazonAppMonetizationClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Context_CustomerTypeDescription <Hashtable>
One line on who each customer type is, by `market.customerTypes` name. Absent for a type: only its name is shown. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesContext_CustomerTypeDescriptions
-Context_ExpectedUsersBasis <String>
Where `market.expectedUsers` came from. Absent: the rendered text labels it a rough guess from the app's category.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Context_NonAwsCostsNote <String>
The developer's note on non-AWS costs. Absent: the rendered text says none were found (and names any `costs.unknown` items).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Context_UsageSource <Hashtable>
Whether each action's `typicalMonthlyUsage` is an estimate or was measured on a deployed app (the last 30 days' average per active user), by action name. Absent for an action: ESTIMATE. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesContext_UsageSources
-Context_ValueBasis <String>
How the value figures (`minutesSaved`, `moneySaved` or `valuePerUse`, and `valueShare`) were worked out, for example "drafting a reply by hand takes about 10 minutes". Shown on the Value row of `summary`, and with the value inputs in `details`. Absent: not shown.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Costs_FixedMonthlyCost <Double>
Fixed monthly cost to run the app in USD, including non-AWS fixed costs. Defaults to 0. It raises break-even (fixed cost per payer, with `market.expectedUsers`), so it can change the verdict and the price.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Costs_Margin <Double[]>
Margins the developer named, each in [0, 1). `costs.coverPrices` in the response shows the price that covers cost to serve at each margin above 0. The lowest margin also sets the lowest overage and credit-pack price per unit; order does not matter. With no value basis and no experiential estimate (see `valueKind`) the price is cost to serve at the lowest margin; omitted means a default margin of 0, labelled as a default, which prices at cost, the same as `[0]`. Omitted, or only 0: `costs.coverPrices` in the response is empty. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesCosts_Margins
-Costs_Source <CostSource>
Where the cost figures came from. Required when any `actions[].unitCost` is 0. Absent: NONE when no action has `unitCost`, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE need `unitCost` on every action.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Costs_Unknown <String[]>
Costs the developer knows exist but could not price, for example `email provider`. Omitted: the costs count as complete but unconfirmed, and the rendered text asks the developer to add any that are missing. Empty (`[]`): the developer confirmed there are no other costs. One or more items: the costs are incomplete, so `costs.status` in the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. With `source` NONE the items are only shown. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Features_AppScore <Hashtable>
This app's score on each characteristic, from 0 to 1 against the best in class. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesFeatures_AppScores
-Features_Weight <Hashtable>
How much each characteristic matters, shared by every customer type that has no `featureWeights` of its own; they also rank the comparables when more than 5 are usable. Weights are relative. Absent: equal weights. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesFeatures_Weights
-HourlyRate <Double>
What one hour of a customer's time is worth, in USD: the hourly rate of the person whose time the app saves. Required when any action has `minutesSaved`. There is no default. It is used only with `actions[].minutesSaved`: sent when no action has `minutesSaved`, or with `valueKind` EXPERIENTIAL, it is rejected.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Market_CheckoutDropOff_Flat <Double>
Share of buyers who start a checkout for a flat plan but don't finish. In [0, 1); 1 is rejected. Absent: the service's benchmark for that pricing model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Market_CheckoutDropOff_FreePlan <Double>
Share of buyers who start signing up for a Free plan but don't finish. In [0, 1); 1 is rejected. Absent: the service's benchmark for that pricing model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Market_CheckoutDropOff_PerUse <Double>
Share of buyers who start a checkout for per-use pricing but don't finish. In [0, 1); 1 is rejected. Absent: the service's benchmark for that pricing model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Market_CheckoutDropOff_Tiered <Double>
Share of buyers who start a checkout for a tiered plan but don't finish. In [0, 1); 1 is rejected. Absent: the service's benchmark for that pricing model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Market_CustomerType <CustomerType[]>
The types of customer who use the app, from one to three, each with its share of users and how its usage and value per use differ from an ordinary user. Absent: one ordinary type. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesMarket_CustomerTypes
-Market_ExpectedUser <Int64>
Market size: the number of potential customers, meaning people who have the problem the app solves and would consider paying for a tool to solve it. Paying users are this number times the modeled paying share. Do not count installs, sign-ups or people who would only try the app. It changes paying users, cost to serve and the verdict, and the price only when fixed cost per paying user decides it. Defaults to the service's pre-launch benchmark.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesMarket_ExpectedUsers
-Market_MeasuredConversion_PayingUser <Int64>
Users who pay. At most `users`.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesMarket_MeasuredConversion_PayingUsers
-Market_MeasuredConversion_User <Int64>
Users of the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesMarket_MeasuredConversion_Users
-PlanOptions_AnnualPlanInclusion <PlanInclusion>
Whether to add an annual plan (`Annual`). Absent: it is added when a subscription (FLAT or TIERED) is recommended, without changing the pricing model, unless every action is used less than once a month on average (`typicalMonthlyUsage` below 1). INCLUDE adds it at any usage and, when the request sends no `pricingModelPreference`, also limits the choice to subscriptions; INCLUDE with a PER_USE or PER_USE_SPLIT preference is rejected. EXCLUDE leaves it out.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PlanOptions_CreditPackInclusion <PlanInclusion>
Whether to add one-time credit packs alongside the plans, the response's `creditPacks`. Absent: EXCLUDE. INCLUDE is allowed with every pricing model, per-use included.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PlanOptions_FreeTierInclusion <PlanInclusion>
Whether to include a Free plan. Absent: the segment's default, which considers a Free plan for CONSUMER and PROSUMER and not for ENTERPRISE; with a `pricingModelPreference`, a Free plan is considered only for TIERED. INCLUDE with no `pricingModelPreference` limits the choice to TIERED; INCLUDE with a PER_USE, PER_USE_SPLIT or FLAT preference is rejected. The response's `planOptions.freeTier` gives the outcome.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PlanOptions_MaxTierInclusion <PlanInclusion>
Whether to include a Max plan for heavy users. On the default menu for CONSUMER and PROSUMER; for ENTERPRISE only when this is INCLUDE. Only with a value estimate: when no action has a value basis (`minutesSaved`, `moneySaved` or `valuePerUse`) and there is no experiential estimate (see `valueKind`), the price is cost-based and this is ignored, with no error: the response has no Max plan and no `planOptions.maxTier` outcome. A Max plan goes with a TIERED or FLAT model, never PER_USE or PER_USE_SPLIT: INCLUDE with a PER_USE or PER_USE_SPLIT preference is rejected, and a per-use model the service chooses has no Max plan. Absent, for CONSUMER and PROSUMER: a TIERED recommendation includes it unless it would clearly lower the modeled profit or almost no paying customer would move up to it; a FLAT one includes it only when it improves the recommendation. Absent, for ENTERPRISE: no Max plan. A TIERED Max is unlimited (`includedQuantity` 1,000,000,000 with NO_OVERAGE_THROTTLE) unless its buyers' usage would cost too much of the Max price; then it has an allowance and overage. A FLAT Max always has an allowance.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PlanOptions_PlanPrice <PlanPrice[]>
Prices to evaluate instead of the recommended ones, one per plan. Each is evaluated against the same modeled demand and returned in `planOptions.evaluatedPlanPrices`, with the recommended plans and credit packs rebuilt at that price; the recommendation itself does not change. A `pro` price is evaluated with the Max plan as recommended; when that Max would sit too close to the `pro` price, Max is re-priced or left out, as the recommendation does when it moves Pro, and the rendered text says which. A `max` price in the same request does not change this, so a `pro` item is the same as for that `pro` price alone. A `max` price must be above Pro's price, and is evaluated with this request's `pro` price if it has one. Absent: none, and `planOptions.evaluatedPlanPrices` is empty. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesPlanOptions_PlanPrices
-PlanOptions_PricingModelPreference <PricingModel>
Pricing model to use instead of letting the service choose. `planOptions.preferenceOutcome` in the response says whether it was used. Absent: the service chooses (`preferenceOutcome` NOT_REQUESTED). PER_USE_SPLIT needs two or more actions. PER_USE or PER_USE_SPLIT with `freeTierInclusion`, `maxTierInclusion` or `annualPlanInclusion` INCLUDE is rejected, and so is FLAT with `freeTierInclusion` INCLUDE.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PlanOptions_PublishedPrice_Amount <String>
The price amount.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PlanOptions_PublishedPrice_CurrencyCode <String>
The currency of the price. USD only: another currencyCode is rejected.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Segment <CustomerSegment>
Who buys the app.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.AppMonetization.Model.GetPlanRecommendationResponse). Specifying the name of a property of type Amazon.AppMonetization.Model.GetPlanRecommendationResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ValueKind <ValueKind>
What kind of value the app gives its users. Absent: PRODUCTIVITY. An experiential app has no time or money value, so with EXPERIENTIAL each of `actions[].minutesSaved`, `actions[].moneySaved`, `actions[].valuePerUse`, `hourlyRate` and `valueShare` that is sent is rejected. With EXPERIENTIAL, no `planOptions.publishedPrice` and no comparables used, a CONSUMER app is valued at the typical monthly price of public apps of its `appType` (there is none for API_WRAPPER), shown as an estimate. That estimate is not used when it is too close to a typical user's usage cost, so the estimate alone never makes the verdict NOT_MONETIZABLE. The estimate exists only for CONSUMER: a PROSUMER or ENTERPRISE experiential app with no `planOptions.publishedPrice` and no usable comparables is priced from cost (verdict COST_ONLY, or COST_NOT_CHECKED when costs are not checked: no `unitCost`, or `costs.source` NONE; confidence LOW).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ValueShare <Double>
The most a typical customer would pay for the app, as a share of the time value it saves them (`minutesSaved` / 60 times `hourlyRate`). Above 1 when the minutes understate the value. The value of one use of an action with `minutesSaved` is `minutesSaved` / 60 times `hourlyRate` times the share; the share does not apply to `moneySaved` or `valuePerUse`. When an action's value is above 0, each outside option's `monthlyCost` is also weighed at this share (see `OutsideOption`). Absent: the service's benchmark share. For PROSUMER this value scales the service's benchmark share instead of replacing it. With usable comparables the recommended price uses the service's benchmark share for comparables instead, but this value still sets the price from the app's value alone, which the confidence and the texts compare with. Rejected unless an action's `minutesSaved`, `moneySaved` or `valuePerUse` is above 0 and, besides, an action has `minutesSaved` (0 counts) or an outside option's `monthlyCost` is above 0: otherwise it changes nothing (with no value above 0 there is no value estimate, and an outside option counts in full). Rejected with `valueKind` EXPERIENTIAL.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.AppMonetization.Model.GetPlanRecommendationResponse object containing multiple properties.

Supported Version

AWS Tools for PowerShell: 2.x.y.z