@aws-sdk/client-marketplace-metering 3.1090.0 → 3.1092.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1089.0";
72
+ var version = "3.1091.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -25,7 +25,7 @@ declare const BatchMeterUsageCommand_base: {
25
25
  };
26
26
  /**
27
27
  * <important>
28
- * <p>Amazon Web Services Marketplace is introducing Concurrent Agreements, enabling buyers to make multiple purchases per Amazon Web Services account. Starting June 1, 2026, new SaaS products must use <code>CustomerAWSAccountId</code> (instead of <code>CustomerIdentifier</code>), <code>LicenseArn</code> (instead of <code>ProductCode</code>) to support this feature. Existing integrations will continue to work. Review the new integration for Concurrent Agreements <a href="https://catalog.workshops.aws/mpseller/en-US/saas/integration-for-concurrent-agreements">here</a>.</p>
28
+ * <p>Amazon Web Services Marketplace is introducing Concurrent Agreements, enabling buyers to make multiple purchases per Amazon Web Services account. Starting June 1, 2026, new SaaS products must use <code>CustomerAWSAccountId</code> (instead of <code>CustomerIdentifier</code>), <code>LicenseArn</code> (instead of <code>ProductCode</code>) to support this feature. <code>BatchMeterUsage</code> does not support <code>CustomerIdentifier</code> for new integrations. Existing integrations continue to work. Review the new integration for Concurrent Agreements <a href="https://catalog.workshops.aws/mpseller/en-US/saas/integration-for-concurrent-agreements">here</a>.</p>
29
29
  * </important>
30
30
  * <p>To post metering records for customers, SaaS applications call
31
31
  * <code>BatchMeterUsage</code>, which is used for metering SaaS flexible
@@ -36,14 +36,11 @@ declare const BatchMeterUsageCommand_base: {
36
36
  * <code>BatchMeterUsage</code> calls.</p>
37
37
  * <p>Usage records should be submitted in quick succession following a
38
38
  * recorded event. Usage records aren't accepted 24 hours or more after an
39
- * event.</p>
40
- * <note>
41
- * <p>At the end of each billing cycle, a 6-hour grace period applies. We accept
39
+ * event. At the end of each billing cycle, a 6-hour grace period applies. We accept
42
40
  * usage records for the previous billing month until 06:00 UTC on the first day of the
43
41
  * next month. For example, you must submit March usage records before 06:00 UTC on
44
42
  * April 1. After this grace period, we return a
45
43
  * <code>TimestampOutOfBoundsException</code> error.</p>
46
- * </note>
47
44
  * <p>
48
45
  * <code>BatchMeterUsage</code> can process up to 25
49
46
  * <code>UsageRecords</code> at a time, and each request must be less than
@@ -30,6 +30,9 @@ declare const ResolveCustomerCommand_base: {
30
30
  * submits a registration token through their browser. The registration token is resolved
31
31
  * through this API to obtain a <code>CustomerIdentifier</code> along with the
32
32
  * <code>CustomerAWSAccountId</code>, <code>ProductCode</code>, and <code>LicenseArn</code>.</p>
33
+ * <important>
34
+ * <p>For new SaaS product integrations, the <code>CustomerIdentifier</code> field is not populated in the <code>ResolveCustomer</code> API response. New integrations must use <code>CustomerAWSAccountId</code> and <code>LicenseArn</code> to identify customers. Existing integrations continue to work unchanged.</p>
35
+ * </important>
33
36
  * <note>
34
37
  * <p>To successfully resolve the token, the API must be called from the account that was used to publish the SaaS
35
38
  * application. For an example of using <code>ResolveCustomer</code>, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/saas-code-examples.html#saas-resolvecustomer-example"> ResolveCustomer code example</a> in the <i>Amazon Web Services Marketplace Seller
@@ -58,6 +58,10 @@ export interface UsageRecord {
58
58
  * <p>The <code>CustomerIdentifier</code> is obtained through the
59
59
  * <code>ResolveCustomer</code> operation and represents an individual buyer in your
60
60
  * application.</p>
61
+ * <important>
62
+ * <p>
63
+ * <code>CustomerIdentifier</code> is not supported for new SaaS product integrations. Use <code>CustomerAWSAccountId</code> to identify the buyer.</p>
64
+ * </important>
61
65
  * @public
62
66
  */
63
67
  CustomerIdentifier?: string | undefined;
@@ -315,6 +319,9 @@ export interface ResolveCustomerRequest {
315
319
  * registration token through the browser. The registration token is resolved to obtain a
316
320
  * <code>CustomerIdentifier</code> along with the <code>CustomerAWSAccountId</code>,
317
321
  * <code>ProductCode</code>, and <code>LicenseArn</code>.</p>
322
+ * <note>
323
+ * <p>For new SaaS product integrations, the <code>CustomerIdentifier</code> field is not populated. Use <code>CustomerAWSAccountId</code> and <code>LicenseArn</code> for customer identification.</p>
324
+ * </note>
318
325
  * @public
319
326
  */
320
327
  RegistrationToken: string | undefined;
@@ -329,6 +336,9 @@ export interface ResolveCustomerResult {
329
336
  /**
330
337
  * <p>The <code>CustomerIdentifier</code> is used to identify an individual customer in your
331
338
  * application.</p>
339
+ * <important>
340
+ * <p>For new SaaS product integrations, this field is not populated. Use <code>CustomerAWSAccountId</code> and <code>LicenseArn</code> to identify customers instead.</p>
341
+ * </important>
332
342
  * @public
333
343
  */
334
344
  CustomerIdentifier?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-metering",
3
- "version": "3.1090.0",
3
+ "version": "3.1092.0",
4
4
  "description": "AWS SDK for JavaScript Marketplace Metering Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-metering",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.975.3",
50
- "@aws-sdk/credential-provider-node": "^3.972.70",
49
+ "@aws-sdk/core": "^3.976.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.71",
51
51
  "@aws-sdk/types": "^3.974.2",
52
52
  "@smithy/core": "^3.29.4",
53
53
  "@smithy/fetch-http-handler": "^5.6.6",