aws-sdk-marketplacemetering 1.102.0 → 1.103.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22ed72ed4e6cbc7afe8dc188388b7e09b4eac1e93c7ada1934cdc8264454eb34
4
- data.tar.gz: fee374a9be118a92b3185bb252f32f8e730675f075b574de1eaf1adaa23e99f7
3
+ metadata.gz: 4246d0117b180086a96a7793b03d4d24c0b003a7d9e41acd25b011ea6fe96d57
4
+ data.tar.gz: ce4aa00758b16e098ba9d04f9690383fd83b65a7be4dcbcf802fbb3fdac61a50
5
5
  SHA512:
6
- metadata.gz: 678141d417a1a594b04ffc0c73d849e5a9e9a10721bf621e60d58a66c0203f17396dcbe0384268697a67c87b339c1b208c338e914dc982a05ca94c63fcf22976
7
- data.tar.gz: fc73d175eba4c612b01c95e1fe1e31bd784a4def4ec5af85238fe107e01ce0deb0456aff75879d78e8fdf0e7025985ae0ce835c2d5d94249f940df7307c87305
6
+ metadata.gz: b77aa81f5d7efa532ce92553d8098703fac6896417fdf4d5514d3c5574362951a5dbbabe4d10133c89c67731d6af4807a82ceaef1f8d65ef308e7763b430999f
7
+ data.tar.gz: 20b4739c7310265f963a723257274d287455ac2f8d7dc803a71845352859a3bcdad06faf2f92503cfb62c7b854106f543c0b51310f267fd8ff8284ea2113b29a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.103.0 (2026-08-25)
5
+ ------------------
6
+
7
+ * Feature - Updated documentation to clarify duplicate-billing prevention and BatchMeterUsage retry guidance
8
+
4
9
  1.102.0 (2026-07-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.102.0
1
+ 1.103.0
@@ -488,7 +488,9 @@ module Aws::MarketplaceMetering
488
488
  # (instead of `ProductCode`) to support this feature. `BatchMeterUsage`
489
489
  # does not support `CustomerIdentifier` for new integrations. Existing
490
490
  # integrations continue to work. Review the new integration for
491
- # Concurrent Agreements [here][1].
491
+ # Concurrent Agreements [here][1]. For additional implementation
492
+ # details, see [BatchMeterUsage code example with LicenseArn][2] in the
493
+ # *Amazon Web Services Marketplace Seller Guide*.
492
494
  #
493
495
  # To post metering records for customers, SaaS applications call
494
496
  # `BatchMeterUsage`, which is used for metering SaaS flexible
@@ -503,8 +505,11 @@ module Aws::MarketplaceMetering
503
505
  # an event. At the end of each billing cycle, a 6-hour grace period
504
506
  # applies. We accept usage records for the previous billing month until
505
507
  # 06:00 UTC on the first day of the next month. For example, you must
506
- # submit March usage records before 06:00 UTC on April 1. After this
507
- # grace period, we return a `TimestampOutOfBoundsException` error.
508
+ # submit March usage records before 06:00 UTC on April 1. On April 1 at
509
+ # 05:00 UTC, you can still submit records for March 31 (within the
510
+ # 6-hour grace period). After 06:00 UTC on April 1, March records are
511
+ # rejected regardless of the normal 24-hour submission window. After
512
+ # this grace period, we return a `TimestampOutOfBoundsException` error.
508
513
  #
509
514
  # `BatchMeterUsage` can process up to 25 `UsageRecords` at a time, and
510
515
  # each request must be less than 1 MB in size. Optionally, you can have
@@ -517,18 +522,19 @@ module Aws::MarketplaceMetering
517
522
  # should be retried.
518
523
  #
519
524
  # For Amazon Web Services Regions that support `BatchMeterUsage`, see
520
- # [BatchMeterUsage Region support][2].
525
+ # [BatchMeterUsage Region support][3].
521
526
  #
522
527
  # <note markdown="1"> For an example of `BatchMeterUsage`, see [ BatchMeterUsage code
523
- # example][3] in the *Amazon Web Services Marketplace Seller Guide*.
528
+ # example][4] in the *Amazon Web Services Marketplace Seller Guide*.
524
529
  #
525
530
  # </note>
526
531
  #
527
532
  #
528
533
  #
529
534
  # [1]: https://catalog.workshops.aws/mpseller/en-US/saas/integration-for-concurrent-agreements
530
- # [2]: https://docs.aws.amazon.com/marketplace/latest/APIReference/metering-regions.html#batchmeterusage-region-support
531
- # [3]: https://docs.aws.amazon.com/marketplace/latest/userguide/saas-code-examples.html#saas-batchmeterusage-example
535
+ # [2]: https://docs.aws.amazon.com/marketplace/latest/userguide/saas-code-examples.html#saas-batchmeterusage-licensearn-example
536
+ # [3]: https://docs.aws.amazon.com/marketplace/latest/APIReference/metering-regions.html#batchmeterusage-region-support
537
+ # [4]: https://docs.aws.amazon.com/marketplace/latest/userguide/saas-code-examples.html#saas-batchmeterusage-example
532
538
  #
533
539
  # @option params [required, Array<Types::UsageRecord>] :usage_records
534
540
  # The set of `UsageRecords` to submit. `BatchMeterUsage` accepts up to
@@ -539,6 +545,18 @@ module Aws::MarketplaceMetering
539
545
  # Services Marketplace. The product code should be the same as the one
540
546
  # used during the publishing of a new product.
541
547
  #
548
+ # `ProductCode` is required only for legacy integrations that use
549
+ # `CustomerIdentifier`. For new integrations using `LicenseArn`
550
+ # (Concurrent Agreements), do NOT include `ProductCode` at the request
551
+ # level. The `LicenseArn` in each `UsageRecord` identifies both the
552
+ # product and the specific agreement.
553
+ #
554
+ # Sending metering records with both `ProductCode` and `LicenseArn` for
555
+ # the same customer within the same hour will result in duplicate
556
+ # billing. If you are migrating from product-based metering to
557
+ # license-based metering, stop sending `ProductCode` before you start
558
+ # sending `LicenseArn`.
559
+ #
542
560
  # @return [Types::BatchMeterUsageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
543
561
  #
544
562
  # * {Types::BatchMeterUsageResult#results #results} => Array&lt;Types::UsageRecordResult&gt;
@@ -956,7 +974,7 @@ module Aws::MarketplaceMetering
956
974
  tracer: tracer
957
975
  )
958
976
  context[:gem_name] = 'aws-sdk-marketplacemetering'
959
- context[:gem_version] = '1.102.0'
977
+ context[:gem_version] = '1.103.0'
960
978
  Seahorse::Client::Request.new(handlers, context)
961
979
  end
962
980
 
@@ -22,6 +22,18 @@ module Aws::MarketplaceMetering
22
22
  # Product code is used to uniquely identify a product in Amazon Web
23
23
  # Services Marketplace. The product code should be the same as the one
24
24
  # used during the publishing of a new product.
25
+ #
26
+ # `ProductCode` is required only for legacy integrations that use
27
+ # `CustomerIdentifier`. For new integrations using `LicenseArn`
28
+ # (Concurrent Agreements), do NOT include `ProductCode` at the request
29
+ # level. The `LicenseArn` in each `UsageRecord` identifies both the
30
+ # product and the specific agreement.
31
+ #
32
+ # Sending metering records with both `ProductCode` and `LicenseArn`
33
+ # for the same customer within the same hour will result in duplicate
34
+ # billing. If you are migrating from product-based metering to
35
+ # license-based metering, stop sending `ProductCode` before you start
36
+ # sending `LicenseArn`.
25
37
  # @return [String]
26
38
  #
27
39
  # @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/BatchMeterUsageRequest AWS API Documentation
@@ -626,14 +638,16 @@ module Aws::MarketplaceMetering
626
638
  # The `CustomerAWSAccountId` parameter specifies the AWS account ID of
627
639
  # the buyer.
628
640
  #
629
- # <note markdown="1"> For existing integrations, to access your `CustomerIdentifier` to
630
- # `CustomerAWSAccountId` mapping, see [Account Feeds][1].
631
- #
632
- # </note>
641
+ # If you have an existing integration and need the
642
+ # `CustomerAWSAccountId` that corresponds to a `CustomerIdentifier`,
643
+ # contact [AWS Marketplace Seller Operations][1] to obtain the
644
+ # mapping. Do not request the `CustomerAWSAccountId` directly from
645
+ # buyers. We cannot verify that a buyer-provided account ID is
646
+ # authentic, which can result in incorrect metering or billing.
633
647
  #
634
648
  #
635
649
  #
636
- # [1]: https://docs.aws.amazon.com/marketplace/latest/userguide/data-feed-account.html
650
+ # [1]: https://aws.amazon.com/marketplace/management/contact-us/
637
651
  # @return [String]
638
652
  #
639
653
  # @!attribute [rw] license_arn
@@ -54,7 +54,7 @@ module Aws::MarketplaceMetering
54
54
  autoload :EndpointProvider, 'aws-sdk-marketplacemetering/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-marketplacemetering/endpoints'
56
56
 
57
- GEM_VERSION = '1.102.0'
57
+ GEM_VERSION = '1.103.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-marketplacemetering
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.102.0
4
+ version: 1.103.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services