AWS MARKETPLACE PUBLISHER

Testing and integration

Implementing AWS PRM: aws-apn-id Tags, User Agent, and Marketplace Metering

Published: Updated:

Key takeaways

Partner Revenue Measurement (PRM) measures AWS consumption driven by AWS Marketplace products, and it has three implementation methods: Resource Tagging, User Agent String, and AWS Marketplace Metering. AWS lists the conditions for automatic measurement through AWS Marketplace Metering as listing an Amazon Machine Image (AMI) or Machine Learning (ML) product and the customer buying and using it through AWS Marketplace. As of October 29, 2026, that description leaves open whether SaaS products are covered by this method, so for SaaS, estimate on the premise that you implement Resource Tagging or User Agent String. New tag keys take the form aws-apn-id- followed by a 12-digit AWS account ID, tag values take the form pc: followed by the AWS Marketplace Product Code, and the User Agent takes the form APN_1.1/pc_ followed by the Product Code and a terminating $. If you tag resources in a customer's account, confirm the customer's permissions, tag policies, and consistency with Infrastructure as Code (IaC) in advance.

Editorial information. This article was translated into English by AI from Deshima’s Japanese article; it has not been reviewed or certified by AWS. AWS documentation linked in this article was current as of October 29, 2026. This article is published by Anti-Pattern Inc., the provider of Deshima; recommendations marked as ours are our own, not AWS guidance.

You might estimate a Partner Revenue Measurement (PRM) implementation as "tag the resources or set the User Agent and you're done." The hands-on work is indeed about that much. Which methods you can choose, however, depends on the product type, your AWS account structure, the AWS services you use, and the tagging practices the customer allows. Small mistakes, such as dropping a single $, entering a different ID instead of the Product Code, or writing a different AWS account ID in the tag key, are enough to keep measurement from starting.

Where PRM fits and how it relates to funding in 2027 is covered in What is AWS PRM (Partner Revenue Measurement)?. This article is based on AWS documentation and announcements as of October 29, 2026.

Check the product, account, and covered services before implementing

The prerequisites common to all three methods are linking an AWS account to AWS Partner Central, listing the product on AWS Marketplace, the product using at least one AWS service covered by PRM, and enabling AWS Cost Explorer. For listing, AWS provides listing guides for each product type: SaaS, Amazon Machine Image (AMI), Machine Learning (ML), and Professional Services. For SaaS, it is AWS's guide to creating a SaaS product. Whether AWS Cost Explorer is enabled is easy to overlook, so check it at the very start. (Prerequisites)

The linked AWS account becomes the primary account for AWS Partner Network (APN) activity in AWS Partner Central. AWS explains that it uses this account to determine PRM compliance and confirm eligibility for APN funding. The annual APN membership fee is also billed to this account. If you have multiple AWS Marketplace accounts, AWS recommends creating and linking a new AWS account that represents your global business and connecting each AWS Marketplace account to the primary account through Subsidiary Account Connections. The 12-digit account ID in the tag key is the ID of this linked AWS account. (Prerequisites)

The identifier used in the implementation is the Product Code. AWS's PRM guide describes how to find the Product Code as selecting the product on the Products page of the AWS Marketplace Management Portal and looking at the Product Summary. (Retrieving the Product Code) According to AWS's page on creating a product, the per-product-type Products pages are now combined into the Products and services page in AWS Partner Central. Choosing a product type under Build in the left navigation opens this page, and choosing a product opens its product overview page. (AWS's page on creating a product, "Navigating AWS Partner Central" in AWS's seller guide) For SaaS products, AWS states that the product code is shown on the product overview page. (AWS's page on creating a SaaS product) For where each of the old screens has moved, see our article From AWS Marketplace Management Portal to AWS Partner Central. The Product Code is an alphanumeric string such as 5ugbbrmu7ud3u5hsipfzug61p, and AWS states that every implementation method requires the Product Code. (Retrieving the Product Code) The Product Code is different from the Product ID and from the Universally Unique Identifier (UUID) attached to the listing. Using the Product ID or UUID results in a Product Code mismatch. (AWS's PRM troubleshooting) A third value appears in a different context: the API for the Revenue Attribution ID, an opportunity-level identifier, asks for a ProductIdentifier, which is the 25-character Marketplace product ID, not the Product Code. (Working with Revenue Attribution IDs) How to handle it is explained in How to read PRM results and link them to opportunities.

AWS describes PRM as intended to measure production workloads. You can use development, test, and staging environments to verify your implementation. (Implementing resource tags) That page does not say whether usage in the environments you used for verification is excluded from the measured results. Assume that usage during verification is measured as well, and remove the tag or User Agent string settings from the verification environments as soon as verification is finished. Also, as of October 29, 2026, PRM covers commercial Regions only, and AWS describes sovereign and government cloud Regions as planned future expansion. (AWS's PRM customer FAQ)

□ Confirmed the 12-digit ID of the AWS account linked to AWS Partner Central

□ Confirmed the product's Product Code on its product overview page in AWS Partner Central

□ Enabled AWS Cost Explorer

□ Confirmed that the AWS services the product uses are on the covered list for the chosen method

Comparing the three methods, and why SaaS should not assume automatic measurement

The starting point for choosing a method is the architecture pattern. AWS names three inputs for choosing a method: the AWS services the product uses, the type of product listed on AWS Marketplace (SaaS, AMI, ML, or Professional Services), and the architecture pattern. (AWS's getting started guide) Architecture patterns fall into three groups depending on which AWS account holds the components. Use the following table to check which pattern your setup matches. The "key considerations" column is what we, Anti-Pattern Inc., drew from AWS's descriptions.

PatternWhere components liveKey considerations when choosing a method
Partner AccountAll components are in your own AWS account and Amazon Virtual Private Cloud (Amazon VPC)These are your own resources, so no customer permission is needed. The questions are whether the services are covered and whether the account ID and Product Code are correct
Customer AccountAll components are in the customer's AWS account and Amazon VPCThe questions are customer permission, existing tagging practices, and consistency with Infrastructure as Code (IaC). If tags do not fit, you can propose User Agent String, which requires no tags in the customer's account
HybridSplit between your accounts and the customer'sSeparate your resources from the customer's and check the considerations of each pattern

Draw an architecture diagram of which of your components use which resources in which account before deciding.

From the following table, choose a method whose conditions your setup can meet. (AWS's getting started guide)

MethodMain roleKey conditions
Resource TaggingAttaches the product identifier to contributing AWS resourcesCovered services, customer permission and existing tagging practices, correct AWS account ID and Product Code
User Agent StringAttaches the identifier to AWS API / AWS Command Line Interface (AWS CLI) operations made by your solutionCovers management / control plane APIs. Data plane operations are excluded
AWS Marketplace MeteringAutomatically measures AWS consumption by AMI and ML products used through AWS MarketplaceScope such as Amazon EC2 for AMI and Amazon SageMaker AI for ML. Unrelated to SaaS BatchMeterUsage

Why SaaS should not assume automatic measurement

AWS Marketplace Metering is the method that needs no additional tagging or User Agent implementation. For AMI, the Product Code assigned at listing is automatically attached as instance metadata to every Amazon EC2 instance launched from that AMI, and PRM measures Amazon EC2 usage by that Product Code. For ML, the customer's usage of Amazon SageMaker AI resources created by the product is automatically attributed to the product. The condition is that the customer buys and uses the product through AWS Marketplace. (AWS Marketplace Metering method)

AWS's AWS Marketplace Metering method page lists the conditions for attribution under this method as listing an AMI or ML product and the customer buying and using it through AWS Marketplace. As of October 29, 2026, that page leaves open whether SaaS products are covered by this method. The names are similar and easy to confuse, but SaaS BatchMeterUsage is an API that sends usage to AWS Marketplace for usage-based billing of customers; it is not a PRM measurement method. Even for SaaS Contract products (the pricing model in which the term and purchased rights are set in advance and billed upfront or on a payment schedule), do not assume automatic measurement; estimate on the premise that you implement Resource Tagging or User Agent String. If you want to confirm whether this method is available for a SaaS product, contact APN Support, the APN support desk, from AWS Partner Central. BatchMeterUsage implementation is covered in AWS Marketplace metering implementation, and the overall SaaS integration in Implementation required for AWS Marketplace SaaS integration.

When an AMI product also uses AWS services other than Amazon EC2, or an ML product also uses AWS services other than Amazon SageMaker AI, AWS recommends using User Agent String as well. (User Agent String) The idea is to cover consumption outside the scope of automatic measurement with another method.

We recommend choosing a method with the following flow.

Is the product AMI or ML?
  Yes -> AWS Marketplace Metering. If AMI also uses services other than Amazon EC2,
         or ML also uses services other than Amazon SageMaker AI, AWS recommends adding User Agent String
  No (SaaS, etc.)
    -> Are the AWS services you use on the Resource Tagging covered list?
         Yes -> May you tag resources in the customer's account? (permission, tag policies, IaC)
                  Yes          -> Resource Tagging
                  Does not fit -> User Agent String
         No  -> Check the User Agent String covered list and the covered API operations

Each method has its own list of covered services

Not every AWS charge is measured. Covered AWS services are published in a separate list for each method. For example, Amazon SageMaker AI is on the Resource Tagging list but not on the User Agent String list. Amazon API Gateway and Amazon Athena are on both. The Resource Tagging list also carries limits within services, such as storage costs only for Amazon S3, Amazon EKS excluding AWS Fargate, and Logs only for Amazon CloudWatch. (Resource Tagging covered services) The services covered by User Agent String expanded from 24 to 119 on August 31, 2026. (Document history)

Some spend captured on services that are not covered is shown in aggregate: as "Other" for Resource Tagging and as "Misc" for User Agent String. (Resource Tagging covered services, User Agent String covered services and APIs) Spend on non-covered services is not measured in full, so you cannot read the Other or Misc amount as the total of spend on non-covered services. The lists are updated, so check individual services against AWS's covered-service lists.

Set the Resource Tagging key and value

Resource Tagging attaches a tag identifying the product to contributing AWS resources. Set the tag key and value in the following format. (Implementing resource tags)

ItemFormatExample
Tag keyaws-apn-id-<12-digit AWS account ID linked to AWS Partner Central>aws-apn-id-012345678901
Tag valuepc:<AWS Marketplace Product Code>pc:5ugbbrmu7ud3u5hsipfzug61p

The 12-digit account ID is shown in the upper right of the AWS Partner Central home screen. You can also look up the correct tag key and value for your listing with the Partner Revenue Measurement agent on the AWS Partner Central dashboard. (Implementing resource tags)

AWS's example for setting it with the AWS CLI takes the following form. (Implementing resource tags)

aws ec2 create-tags --resources i-1234567890abcdef0 \
  --tags Key=aws-apn-id-012345678901,Value=pc:5ugbbrmu7ud3u5hsipfzug61p

The legacy key aws-apn-id remains valid. Resources already tagged with this key need no change. AWS nevertheless advises using the key with the account ID for future settings, including when you are the only partner. Revenue from either key appears on the dashboard as the same "Resource Tagging" method. (Implementing resource tags)

When setting tags, check the following:

  • The account ID in the key belongs to the account linked to AWS Partner Central
  • The value starts with pc: and the Product Code matches the AWS Marketplace listing
  • The tagged resource belongs to a covered service
  • The resource actually consumes AWS services and incurs charges

The last condition is easy to overlook. Tagging resources of a free AWS service such as AWS IAM produces no revenue attribution. (Troubleshooting)

Once a tag is attached, AWS keeps attributing revenue to the product until the tag is removed or the resource is terminated. Anyone with access to the account, customer or partner, can delete the tag. (Implementing resource tags) If you share with the customer during coordination that their operations may remove tags, it becomes easier to trace why measurement stops.

Handling resources that multiple partners contribute to

On September 30, 2026, AWS made attribution to multiple partners through account-ID tag keys available in all commercial Regions. (AWS's September 30, 2026 announcement) The legacy key aws-apn-id is a single key, so each resource can hold only one value for it. Keys with an account ID are different for each partner, so multiple partners can tag the same resource independently. (Document history)

What to watch in the implementation procedure is how you treat other companies' tags. When multiple partners tag the same resource, each partner that tagged it receives revenue attribution. Because each partner uses its own unique key, there is no need to delete other companies' tags. Do not build a procedure that deletes them and replaces them with your own. (Implementing resource tags)

Attribution is limited to 10 partners per resource, however. If 11 or more companies tag the same resource, partners beyond the limit receive no attribution. (Implementing resource tags) The number of tags per resource is also capped. According to AWS's PRM customer FAQ, each partner tag consumes one of the 50 user-defined tag slots available to the customer. (AWS's PRM customer FAQ) If the customer's resources already carry many tags, confirm with the customer that there is room before setting yours.

Set the User Agent with the AWS SDK or environment variables

User Agent String attaches an identifier to AWS API or AWS Command Line Interface (AWS CLI) calls made by your solution. You can add the identifier through AWS SDK or tool settings. Unlike Resource Tagging, it requires no tags on the customer's resources. In exchange, each call must send a string in the following format. (User Agent String)

APN_1.1/pc_<YOUR-PRODUCT-CODE>$

The trailing $ is a required terminator. If the $ is omitted or escaped by the shell, the format breaks. Make sure the string ends with $, for example by enclosing it in single quotes. (AWS's PRM troubleshooting)

Attribution has one more condition. The product must perform at least one API operation per month on the resource's Amazon Resource Name (ARN). A resource with no API operation in a month does not contribute to revenue attribution for that month. (User Agent String)

Setting it with the AWS SDK

The setting methods below are the ones given in AWS documentation. Depending on the AWS SDK, though, the string you set is not always sent unchanged; the next section explains this and how to check it. Whichever method you use, confirm the value actually sent in AWS CloudTrail.

To set it with the AWS SDK, specify this string as the Application ID. If you already have an Application ID, append it separated by a space, as follows. (Automated SDK User Agent setup)

EXISTING_APP_ID APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$

In the shared config file ~/.aws/config, specify it in sdk_ua_app_id.

[default]
sdk_ua_app_id=APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$

For the environment variable AWS_SDK_UA_APP_ID, specify it as follows.

# Linux / macOS
export AWS_SDK_UA_APP_ID=APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$
:: Windows
setx AWS_SDK_UA_APP_ID APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$

To set it in your program, specify it as follows.

import os
os.environ['AWS_SDK_UA_APP_ID'] = 'APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$'
process.env.AWS_SDK_UA_APP_ID = 'APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$';

On the Java Virtual Machine (JVM), specify it as a system property. The property name for AWS SDK for Java 2.x is sdk.ua.appId.

-Dsdk.ua.appId="APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$"

AWS SDK for Kotlin uses a different property name on the same JVM: aws.userAgentAppId.

-Daws.userAgentAppId="APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$"

The Kotlin property name is described differently on the Automated SDK User Agent setup page of AWS's PRM onboarding guide and on the Application ID page of the AWS SDKs common reference. The former groups Java and Kotlin together under sdk.ua.appId, while the latter gives aws.userAgentAppId for Kotlin. When setting it in Kotlin, also try aws.userAgentAppId, then check the value actually sent in AWS CloudTrail. Then, when you ask APN Support to verify your implementation, include the value you confirmed in AWS CloudTrail and ask which name's value counts toward attribution.

Most AWS SDKs and tools support setting an Application ID. Check whether the languages, SDKs, and tools you use are supported in AWS's compatibility table.

The string you specify is not necessarily sent unchanged

The Application ID has restrictions on allowed characters. According to the AWS SDKs common reference, it is up to 50 characters, and alphanumerics plus ! # $ % & ' * + - . ^ _ ` | ~ are allowed. (Application ID) The / in the APN_1.1/pc_<Product Code>$ string that PRM requires is not on this list. As a result, depending on the AWS SDK implementation, the / is replaced with another character.

On October 29, 2026, we checked only the User Agent string generated by botocore 1.40.53, the library that AWS SDK for Python (Boto3) uses. Specifying APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$ in the AWS_SDK_UA_APP_ID environment variable produced the User Agent app/APN_1.1-pc_5ugbbrmu7ud3u5hsipfzug61p$, with the / separator changed to -. When the same string was specified in user_agent_extra of botocore.config.Config, the string was kept as is. With Boto3, then, user_agent_extra is the method that sent the string in the required format.

import boto3
from botocore.config import Config

config = Config(user_agent_extra='APN_1.1/pc_5ugbbrmu7ud3u5hsipfzug61p$')
client = boto3.client('ec2', config=config)

As a verification step, AWS asks you to confirm in AWS CloudTrail that the string exactly matches the format APN_1.1/pc_<Product Code>$. (Automated SDK User Agent setup) A setting method that transforms the format does not pass this check. That AWS page leaves open whether attribution is granted for a transformed string. Choose a setting method that sends the string in the exact format, then ask APN Support to verify it.

AWS describes appending to an existing Application ID separated by a space. (Automated SDK User Agent setup) But the maximum length of an Application ID is 50 characters, and the PRM string alone uses 37. Also check that the combined value with the existing one does not exceed 50 characters.

The User Agent value actually sent varies with your language and AWS SDK version, so a result for Boto3 does not carry over to other SDKs. Whichever setting method you choose, always check it in the userAgent field of AWS CloudTrail.

Narrow the scope of the setting

AWS warns that User Agent String should be set only on normal AWS API / AWS CLI calls your solution makes directly, not on customer-initiated calls unrelated to your solution. (Automated SDK User Agent setup)

Environment variables and the shared config file apply to all calls within their scope. An environment variable affects all AWS SDK calls in that process, and a [default] setting affects all calls that use that profile. Before setting them, check that no processing unrelated to your solution runs in the same process or profile. Conversely, you may set it on only one service client and miss the others. Also check that the setting is applied to the right AWS SDK clients. (AWS's PRM troubleshooting)

Whether User Agent String works depends on the IaC tool

AWS CloudFormation and the AWS Cloud Development Kit (AWS CDK) do not support User Agent String. When AWS CloudFormation creates resources, it calls AWS APIs with its own service principal, so you cannot control the User Agent of those calls. Setting an Application ID in the AWS SDK does not carry over to them. For this reason, AWS advises using Resource Tagging for resources deployed with AWS CloudFormation. The exception is Lambda-backed Custom Resources (custom resources implemented with AWS Lambda) included in the template. For calls from that function code, you can set User Agent String with the AWS SDK. (User Agent implementation)

Terraform can set User Agent String with the user_agent argument of provider_meta. Supported versions are AWS provider 6.27.0 or later and AWSCC provider 1.67.0 or later. This setting applies only to the module that declares it, so attribution does not mix even when modules from multiple partners are in the same configuration. (User Agent implementation)

When choosing a method, check not only the covered AWS services but also the tool that creates the resources.

Confirm the covered control plane APIs and the setting in AWS CloudTrail

User Agent String covers management or control plane API calls: calls that create, read, modify, or delete AWS resources. Data plane operations are excluded even when they use AWS APIs or the AWS CLI. (User Agent covered services and APIs) In general, creating an Amazon S3 bucket is a management operation, and reading or writing objects is a data operation. Still, check whether your calls are covered against AWS's list of covered API actions and Regions for each service. The list can be downloaded as a CSV.

Confirm the setting in AWS CloudTrail logs in the following order. (Automated SDK User Agent setup)

  1. Make a test API call
  2. Check whether the string you set appears in the userAgent field of the AWS CloudTrail log
  3. Check that the format exactly matches APN_1.1/pc_<YOUR-PRODUCT-CODE>$

You can search AWS CloudTrail logs with a command in the following form. (AWS's PRM troubleshooting)

aws logs filter-log-events \
  --log-group-name CloudTrail/YourLogGroup \
  --filter-pattern "APN_1.1" \
  --start-time 1640995200000

For --log-group-name, specify the name of the log group that stores your AWS CloudTrail logs. --start-time is epoch time in milliseconds. Change the value to match the time of your test.

If the string does not appear, check against the following symptoms and fixes. (AWS's PRM troubleshooting)

SymptomCauseFix
Missing terminator$ was omitted or escaped by the shellMake it end with $, for example with single quotes
Wrong prefixThe prefix format is differentUse APN_1.1/pc_ exactly
Product Code mismatchUsing the Product ID or UUID instead of the Product CodeGet the alphanumeric Product Code from the product overview page in AWS Partner Central
No API operation on the resourceNo API call on the resource that monthPerform at least one API operation on the AWS resource per month

Also confirm that AWS CloudTrail is enabled and records the relevant API in the relevant Region. AWS CloudTrail logs also give the customer an audit trail of the operations your solution performed. (AWS's PRM customer FAQ)

Confirm the customer explanation, permissions, tag policies, and IaC consistency

If you use Resource Tagging to tag resources in a customer's account, you need to coordinate with the customer before implementing. With User Agent String too, if your solution makes calls in the customer's account, you need to explain it to the customer. For that explanation, you can use the following content from AWS's PRM customer FAQ. (AWS's PRM customer FAQ)

Impact on the customer. PRM does not affect the customer's infrastructure, security, or billing structure. There is no software to install, no performance overhead, and no change to workload behavior. It also grants AWS and partners no new access to the customer's accounts, resources, or application code. (AWS's PRM customer FAQ)

Data collected and how it is shared. AWS collects the AWS Marketplace Product Code and resource tags, ARNs, API operations, usage amounts per ARN, service types, the date and time of API operations or tag creation, and the ID of the AWS account hosting the AWS resources. Partners do not receive per-customer data; they receive only attributed revenue metrics totaled across all customers. (AWS's PRM customer FAQ)

Permissions. Partners can tag only within the AWS IAM permissions the customer has explicitly granted, and the customer can revoke them at any time. PRM does not automatically grant new account access. (AWS's PRM customer FAQ) For customers who do not grant permission, you need to propose an approach that does not rely on adding tags.

Tag policies and fit with the environment. If the customer uses AWS Organizations tag policies, a one-time update to allow the tag key is needed. If tags do not fit the customer's environment, the customer can request User Agent String, which requires no tags in the customer's account. (AWS's PRM customer FAQ) The 10-partner and 50-tag limits are also part of this coordination.

Consistency with Infrastructure as Code (IaC). If resources are managed with AWS CloudFormation, Terraform, the AWS Cloud Development Kit, or similar tools, tagging them from the console or AWS CLI causes drift to be detected on the next IaC run. AWS advises always tagging IaC-managed resources through the IaC tool. (Implementing resource tags) Whether the customer adds the tags to their IaC repository or you include them in the IaC your solution deploys is a point to coordinate with the customer.

Confirm the following with the customer.

□ The customer has granted the AWS IAM permissions for tagging

□ If the customer uses AWS Organizations tag policies, the tag key has been allowed

□ The target resources have room within the 50-tag limit and the 10-partner limit

□ For IaC-managed resources, tags are applied on the IaC side

□ The Regions where you tag are commercial Regions

After setup, check Onboarding Status and the monthly data

You can check whether your setup is reflected in measurement on the Attributed Revenue Dashboard in Partner Analytics in AWS Partner Central. Its Onboarding Status table shows the product name, the PRM Capability (Resource Tagging, User Agent string, or AWS Marketplace Metering), and the Status (whether that capability is actually measuring revenue). (Attributed Revenue Dashboard) The first check is whether the method you implemented appears in this list and whether its Status shows that it is measuring revenue.

Revenue data is processed monthly. The previous month's data becomes available 17 days after the month ends. (Attributed Revenue Dashboard) Not seeing an amount within the month you set it up does not immediately mean the implementation failed. Also, according to AWS's guide to requesting a Foundational Technical Review (FTR, AWS's review of a product's technical requirements), it can take up to 7 days after enabling PRM for measurement data to appear. (AWS's FTR request guide) How to read the dashboard and link results to opportunities is covered in How to read PRM results and link them to opportunities. Opportunity-level linking with the Revenue Attribution ID is layered on top of product-level PRM implementation and requires no changes to existing resource tags or User Agent settings. (Working with Revenue Attribution IDs)

If attribution does not appear, check each method in the following order. (AWS's PRM troubleshooting) For Resource Tagging, check the tag key format, the AWS Partner Central account ID, the tag value format, whether the Product Code matches the listing, whether the service is covered, and whether charges are actually incurred, in that order, and use AWS Tag Editor to see whether the tags are applied correctly. For User Agent String, in addition to the table of format-error symptoms and fixes, check that AWS CloudTrail is enabled and that the string appears in the userAgent field. AWS Marketplace Metering is fully automatic, and the main reason attribution does not appear is that the customer is not buying and using the product through AWS Marketplace. If attribution still does not appear after these checks and you want the cause investigated, contact APN Support with your AWS account ID, Product Code, product type, the symptom, and the expected behavior.

If, rather than investigating a cause, you want AWS to formally verify that your implementation is measured correctly, contact your AWS partner management team (if you have an assigned contact) or APN Support with your AWS account ID, Region, Product Code, sample resource ARNs, tag screenshots or AWS CloudTrail log excerpts, and the time of the test. AWS advises allowing 3–5 business days for a response. (AWS's PRM troubleshooting)

Preparing the listing and post-purchase integration that PRM depends on

PRM depends on a published AWS Marketplace listing. After listing, you need an implementation that connects buying customers to your SaaS. That part is covered in How to list SaaS on AWS Marketplace, Implementation required for AWS Marketplace SaaS integration, and How to map AWS Marketplace agreements to SaaS tenants.

Deshima handles listing preparation for SaaS products, retrieving and tracking buyer and agreement information, the registration form, and notification emails to buyers and to your operators. PRM tagging and User Agent setup are not provided as Deshima features; they are yours to implement. As of November 11, 2026, Deshima supports SaaS products on AWS Marketplace, including Concurrent Agreements. In addition to SaaS Contract, it reports usage for usage-based pricing: SaaS Subscription and the usage portion of SaaS Contract with Consumption. Channel Partner Private Offers (CPPO) are out of scope.

What you pay Deshima is a sales-based fee that applies only when your product sells; there is no setup fee and no monthly fee. Contact us for the rate. Our approach is described in the pricing section. Your own effort to implement PRM and the cost of the AWS resources it needs are separate from this.

To move on to the listing it depends on and preparing post-purchase integration, create a free account (currently in Japanese) and review the listing task list and integration steps. Deshima is updated often, so for the latest features and scope as well, create an account and check the documentation in the product.

Frequently asked questions

Is PRM measured automatically through AWS Marketplace Metering for SaaS Contract products?
Do not assume automatic measurement. As of October 29, 2026, the conditions AWS lists for AWS Marketplace Metering are listing an Amazon Machine Image (AMI) or Machine Learning (ML) product and the customer buying and using it through AWS Marketplace. That description leaves open whether SaaS products are covered. For SaaS Contract products (the pricing model in which the term and purchased rights are set in advance and billed upfront or on a payment schedule), estimate on the premise that you implement Partner Revenue Measurement (PRM) with Resource Tagging or User Agent String. If you want to confirm whether this method is available for SaaS, contact APN Support, the support desk of the AWS Partner Network (APN), from AWS Partner Central. BatchMeterUsage, which sends usage for SaaS usage-based billing, is a mechanism for billing customers and is separate from PRM measurement methods.
Should I use aws-apn-id or the key with an AWS account ID?
For newly set tags, use the key formed by aws-apn-id followed by a 12-digit AWS account ID. The account ID is that of the account linked to AWS Partner Central. The legacy aws-apn-id key remains valid and resources already tagged with it need no change, but AWS advises using the account-ID format for future settings, including when you are the only partner. With either key, the tag value takes the form pc: followed by the Product Code.
What should I do if another company's tag is already on the resource?
You do not need to delete or replace another company's tag. In Partner Revenue Measurement (PRM), each partner uses its own unique key with its AWS account ID, so tags from multiple partners can coexist on the same resource. However, the limit is 10 partners per resource, and partners beyond that are not attributed. A resource can also carry at most 50 tags, and each partner tag uses one slot.
If I set AWS_SDK_UA_APP_ID, is every operation measured?
No. User Agent String covers management (control plane) AWS API or AWS CLI calls made directly by your own solution; data plane operations are excluded. The AWS services and API operations are also limited to those on the list AWS publishes for Partner Revenue Measurement (PRM), and at least one API operation on the resource is required each month. AWS warns against setting it on calls initiated by the customer that are unrelated to your solution.
Does this change the customer's billing or account access?
In its Partner Revenue Measurement (PRM) customer FAQ, AWS explains that PRM does not affect the customer's infrastructure, security, or billing structure, and does not grant AWS or partners access to the customer's accounts, resources, or application code. Partners can tag only within the AWS IAM permissions the customer has explicitly granted, and the customer can revoke them at any time. Customers who use AWS Organizations tag policies need a one-time update to allow the tag key.