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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-marketplacemetering/client.rb +26 -8
- data/lib/aws-sdk-marketplacemetering/types.rb +19 -5
- data/lib/aws-sdk-marketplacemetering.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4246d0117b180086a96a7793b03d4d24c0b003a7d9e41acd25b011ea6fe96d57
|
|
4
|
+
data.tar.gz: ce4aa00758b16e098ba9d04f9690383fd83b65a7be4dcbcf802fbb3fdac61a50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b77aa81f5d7efa532ce92553d8098703fac6896417fdf4d5514d3c5574362951a5dbbabe4d10133c89c67731d6af4807a82ceaef1f8d65ef308e7763b430999f
|
|
7
|
+
data.tar.gz: 20b4739c7310265f963a723257274d287455ac2f8d7dc803a71845352859a3bcdad06faf2f92503cfb62c7b854106f543c0b51310f267fd8ff8284ea2113b29a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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.
|
|
507
|
-
#
|
|
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][
|
|
525
|
+
# [BatchMeterUsage Region support][3].
|
|
521
526
|
#
|
|
522
527
|
# <note markdown="1"> For an example of `BatchMeterUsage`, see [ BatchMeterUsage code
|
|
523
|
-
# example][
|
|
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/
|
|
531
|
-
# [3]: https://docs.aws.amazon.com/marketplace/latest/
|
|
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<Types::UsageRecordResult>
|
|
@@ -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.
|
|
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
|
-
#
|
|
630
|
-
# `CustomerAWSAccountId`
|
|
631
|
-
#
|
|
632
|
-
#
|
|
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://
|
|
650
|
+
# [1]: https://aws.amazon.com/marketplace/management/contact-us/
|
|
637
651
|
# @return [String]
|
|
638
652
|
#
|
|
639
653
|
# @!attribute [rw] license_arn
|