aws-sdk-marketplacemetering 1.90.0 → 1.92.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-marketplacemetering/client.rb +74 -32
- data/lib/aws-sdk-marketplacemetering.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc027680612c20455b34c6b2d641aef69f9dc90329b08bbafd472042f2a02529
|
|
4
|
+
data.tar.gz: 955eb99be2d45b7874bb7583d3fb4303d0ba25798d881d57fef82f8b81fe84dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4269a445e2416f58dbf978ef09fc7a0a73411b39c749db61a87050eae58421c317f25c4213b6d3a87ba5a63e3d9f04b523826e1af991b2554d8bcc56a033b49c
|
|
7
|
+
data.tar.gz: f50b57c990c6cb20c2477390eedb60ae8c1d62cbb2d42962111e8e5aaeb1889f7172f5d696f271d7160444b22c0cb2ce95158d7728edd9f297e3baa1c489fee7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.92.0 (2026-01-22)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Customer Identifier parameter deprecation date has been removed. For new implementations, we recommend using the CustomerAWSAccountID. Your current integration will continue to work. When updating your implementation, consider migrating to CustomerAWSAccountID for improved integration.
|
|
8
|
+
|
|
9
|
+
1.91.0 (2026-01-16)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.90.0 (2026-01-08)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.92.0
|
|
@@ -483,11 +483,12 @@ module Aws::MarketplaceMetering
|
|
|
483
483
|
|
|
484
484
|
# @!group API Operations
|
|
485
485
|
|
|
486
|
-
# The `CustomerIdentifier`
|
|
487
|
-
#
|
|
488
|
-
#
|
|
489
|
-
#
|
|
490
|
-
#
|
|
486
|
+
# The `CustomerIdentifier` and `CustomerAWSAccountID` are mutually
|
|
487
|
+
# exclusive parameters. You must use one or the other, but not both in
|
|
488
|
+
# the same API request. For new implementations, we recommend using the
|
|
489
|
+
# `CustomerAWSAccountID`. Your current integration will continue to
|
|
490
|
+
# work. When updating your implementation, consider migrating to
|
|
491
|
+
# `CustomerAWSAccountID` for improved integration.
|
|
491
492
|
#
|
|
492
493
|
# To post metering records for customers, SaaS applications call
|
|
493
494
|
# `BatchMeterUsage`, which is used for metering SaaS flexible
|
|
@@ -600,37 +601,78 @@ module Aws::MarketplaceMetering
|
|
|
600
601
|
req.send_request(options)
|
|
601
602
|
end
|
|
602
603
|
|
|
603
|
-
#
|
|
604
|
-
#
|
|
605
|
-
#
|
|
606
|
-
#
|
|
607
|
-
#
|
|
608
|
-
#
|
|
609
|
-
#
|
|
610
|
-
#
|
|
611
|
-
#
|
|
612
|
-
#
|
|
613
|
-
#
|
|
614
|
-
#
|
|
615
|
-
#
|
|
616
|
-
#
|
|
617
|
-
#
|
|
618
|
-
#
|
|
619
|
-
#
|
|
620
|
-
#
|
|
621
|
-
#
|
|
622
|
-
#
|
|
623
|
-
#
|
|
624
|
-
#
|
|
604
|
+
# As a seller, your software hosted in the buyer's Amazon Web Services
|
|
605
|
+
# account uses this API action to emit metering records directly to
|
|
606
|
+
# Amazon Web Services Marketplace. You must use the following buyer
|
|
607
|
+
# Amazon Web Services account credentials to sign the API request.
|
|
608
|
+
#
|
|
609
|
+
# * For **Amazon EC2** deployments, your software must use the [IAM role
|
|
610
|
+
# for Amazon EC2][1] to sign the API call for `MeterUsage` API
|
|
611
|
+
# operation.
|
|
612
|
+
#
|
|
613
|
+
# * For **Amazon EKS** deployments, your software must use [IAM roles
|
|
614
|
+
# for service accounts (IRSA)][2] to sign the API call for the
|
|
615
|
+
# `MeterUsage` API operation. Using [EKS Pod Identity][3], the node
|
|
616
|
+
# role, or long-term access keys is not supported.
|
|
617
|
+
#
|
|
618
|
+
# * For **Amazon ECS** deployments, your software must use [Amazon ECS
|
|
619
|
+
# task IAM][4] role to sign the API call for the `MeterUsage` API
|
|
620
|
+
# operation. Using the node role or long-term access keys are not
|
|
621
|
+
# supported.
|
|
622
|
+
#
|
|
623
|
+
# * For **Amazon Bedrock AgentCore Runtime** deployments, your software
|
|
624
|
+
# must use the [AgentCore Runtime execution role][5] to sign the API
|
|
625
|
+
# call for the `MeterUsage` API operation. Long-term access keys are
|
|
626
|
+
# not supported.
|
|
627
|
+
#
|
|
628
|
+
# The handling of `MeterUsage` requests varies between Amazon Bedrock
|
|
629
|
+
# AgentCore Runtime and non-Amazon Bedrock AgentCore deployments.
|
|
630
|
+
#
|
|
631
|
+
# * For **non-Amazon Bedrock AgentCore Runtime** deployments, you can
|
|
632
|
+
# only report usage once per hour for each dimension. For AMI-based
|
|
633
|
+
# products, this is per dimension and per EC2 instance. For container
|
|
634
|
+
# products, this is per dimension and per ECS task or EKS pod. You
|
|
635
|
+
# can't modify values after they're recorded. If you report usage
|
|
636
|
+
# before a current hour ends, you will be unable to report additional
|
|
637
|
+
# usage until the next hour begins. The `Timestamp` request parameter
|
|
638
|
+
# is rounded down to the hour and used to enforce this once-per-hour
|
|
639
|
+
# rule for idempotency. For requests that are identical after the
|
|
640
|
+
# `Timestamp` is rounded down, the API is idempotent and returns the
|
|
641
|
+
# metering record ID.
|
|
642
|
+
#
|
|
643
|
+
# * For **Amazon Bedrock AgentCore Runtime** deployments, you can report
|
|
644
|
+
# usage multiple times per hour for the same dimension. You do not
|
|
645
|
+
# need to aggregate metering records by the hour. You must include an
|
|
646
|
+
# idempotency token in the `ClientToken` request parameter. If using
|
|
647
|
+
# an Amazon SDK or the Amazon Web Services CLI, you must use the
|
|
648
|
+
# latest version which automatically includes an idempotency token in
|
|
649
|
+
# the `ClientToken` request parameter so that the request is processed
|
|
650
|
+
# successfully. The `Timestamp` request parameter is not rounded down
|
|
651
|
+
# to the hour and is not used for duplicate validation. Requests with
|
|
652
|
+
# duplicate `Timestamps` are aggregated as long as the `ClientToken`
|
|
653
|
+
# is unique.
|
|
654
|
+
#
|
|
655
|
+
# If you submit records more than six hours after events occur, the
|
|
656
|
+
# records won't be accepted. The timestamp in your request determines
|
|
657
|
+
# when an event is recorded.
|
|
658
|
+
#
|
|
659
|
+
# You can optionally include multiple usage allocations, to provide
|
|
660
|
+
# customers with usage data split into buckets by tags that you define
|
|
661
|
+
# or allow the customer to define.
|
|
625
662
|
#
|
|
626
663
|
# For Amazon Web Services Regions that support `MeterUsage`, see
|
|
627
|
-
# [MeterUsage Region support for Amazon EC2][
|
|
628
|
-
# support for Amazon ECS and Amazon EKS][
|
|
664
|
+
# [MeterUsage Region support for Amazon EC2][6] and [MeterUsage Region
|
|
665
|
+
# support for Amazon ECS and Amazon EKS][7].
|
|
629
666
|
#
|
|
630
667
|
#
|
|
631
668
|
#
|
|
632
|
-
# [1]: https://docs.aws.amazon.com/
|
|
633
|
-
# [2]: https://docs.aws.amazon.com/
|
|
669
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
|
|
670
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
|
|
671
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html
|
|
672
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
|
|
673
|
+
# [5]: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-permissions.html#runtime-permissions-execution
|
|
674
|
+
# [6]: https://docs.aws.amazon.com/marketplace/latest/APIReference/metering-regions.html#meterusage-region-support-ec2
|
|
675
|
+
# [7]: https://docs.aws.amazon.com/marketplace/latest/APIReference/metering-regions.html#meterusage-region-support-ecs-eks
|
|
634
676
|
#
|
|
635
677
|
# @option params [required, String] :product_code
|
|
636
678
|
# Product code is used to uniquely identify a product in Amazon Web
|
|
@@ -893,7 +935,7 @@ module Aws::MarketplaceMetering
|
|
|
893
935
|
tracer: tracer
|
|
894
936
|
)
|
|
895
937
|
context[:gem_name] = 'aws-sdk-marketplacemetering'
|
|
896
|
-
context[:gem_version] = '1.
|
|
938
|
+
context[:gem_version] = '1.92.0'
|
|
897
939
|
Seahorse::Client::Request.new(handlers, context)
|
|
898
940
|
end
|
|
899
941
|
|
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.
|
|
4
|
+
version: 1.92.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.241.
|
|
21
|
+
version: 3.241.4
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.241.
|
|
31
|
+
version: 3.241.4
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|