aws-sdk-marketplaceentitlementservice 1.66.0 → 1.67.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: d0b6768c092b7298c03397fbb5d01f36a8caa8f701a0d5b214e95a9dcfa63bed
4
- data.tar.gz: e4a0820d868ff4443c74714c2e40a7af713e620856c5b42c0e8bea865525f608
3
+ metadata.gz: 84f5e11bef21fed7c75204661c32913b80417d103703a1096e873f4b8e6dc179
4
+ data.tar.gz: 040cbd8f39b9ba112557d6cede409a75e94fd009adc7034b5554c5f241e4e5ff
5
5
  SHA512:
6
- metadata.gz: f7fe31b468e46d3629f8b67ecc9797eeb62deaa78844d8a3d16debcdb9a491990a8d279f4e12dcbfa61de487d628b289145b7fbf29a22d84b69a3c9734fc536e
7
- data.tar.gz: 715a2415a69380fb7119e3aacf0c1413316d5aff401a5fbd1c75b8f975aa98adfc1e5647b6922a768bfb3205394319a8939e142a1f1503fd63d06a49f61842a5
6
+ metadata.gz: bbcd7f851e9ddd2dfeed91082f12dc1213a4b5ef3d26081dcb99735119c1bdc0fb64e3a6e3b623bd3e0841093ce7243cca622f3cee71783c64b3111cfb76f360
7
+ data.tar.gz: 6b5144e203f1663a3f495655caf8fd6b40185486c6d56f2db1b6cd392772a8fad54994370d9dc6b1698b76c5559fd4331ba1d83096b587e6909f7aa25d0d62a2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2025-03-25)
5
+ ------------------
6
+
7
+ * Feature - This release enhances the GetEntitlements API to support new filter CUSTOMER_AWS_ACCOUNT_ID in request and CustomerAWSAccountId field in response.
8
+
4
9
  1.66.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.67.0
@@ -478,8 +478,14 @@ module Aws::MarketplaceEntitlementService
478
478
  # @!group API Operations
479
479
 
480
480
  # GetEntitlements retrieves entitlement values for a given product. The
481
- # results can be filtered based on customer identifier or product
482
- # dimensions.
481
+ # results can be filtered based on customer identifier, AWS account ID,
482
+ # or product dimensions.
483
+ #
484
+ # The `CustomerIdentifier` parameter is on path for deprecation. Use
485
+ # `CustomerAWSAccountID` instead.
486
+ #
487
+ # These parameters are mutually exclusive. You can't specify both
488
+ # `CustomerIdentifier` and `CustomerAWSAccountID` in the same request.
483
489
  #
484
490
  # @option params [required, String] :product_code
485
491
  # Product code is used to uniquely identify a product in AWS
@@ -492,6 +498,9 @@ module Aws::MarketplaceEntitlementService
492
498
  # values. Filtered requests are *unioned* for each value in the value
493
499
  # list, and then *intersected* for each filter key.
494
500
  #
501
+ # `CustomerIdentifier` and `CustomerAWSAccountID` are mutually
502
+ # exclusive. You can't specify both in the same request.
503
+ #
495
504
  # @option params [String] :next_token
496
505
  # For paginated calls to GetEntitlements, pass the NextToken from the
497
506
  # previous GetEntitlementsResult.
@@ -525,6 +534,7 @@ module Aws::MarketplaceEntitlementService
525
534
  # resp.entitlements[0].product_code #=> String
526
535
  # resp.entitlements[0].dimension #=> String
527
536
  # resp.entitlements[0].customer_identifier #=> String
537
+ # resp.entitlements[0].customer_aws_account_id #=> String
528
538
  # resp.entitlements[0].value.integer_value #=> Integer
529
539
  # resp.entitlements[0].value.double_value #=> Float
530
540
  # resp.entitlements[0].value.boolean_value #=> Boolean
@@ -559,7 +569,7 @@ module Aws::MarketplaceEntitlementService
559
569
  tracer: tracer
560
570
  )
561
571
  context[:gem_name] = 'aws-sdk-marketplaceentitlementservice'
562
- context[:gem_version] = '1.66.0'
572
+ context[:gem_version] = '1.67.0'
563
573
  Seahorse::Client::Request.new(handlers, context)
564
574
  end
565
575
 
@@ -39,6 +39,7 @@ module Aws::MarketplaceEntitlementService
39
39
  Entitlement.add_member(:product_code, Shapes::ShapeRef.new(shape: ProductCode, location_name: "ProductCode"))
40
40
  Entitlement.add_member(:dimension, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Dimension"))
41
41
  Entitlement.add_member(:customer_identifier, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CustomerIdentifier"))
42
+ Entitlement.add_member(:customer_aws_account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CustomerAWSAccountId"))
42
43
  Entitlement.add_member(:value, Shapes::ShapeRef.new(shape: EntitlementValue, location_name: "Value"))
43
44
  Entitlement.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
44
45
  Entitlement.struct_class = Types::Entitlement
@@ -33,6 +33,11 @@ module Aws::MarketplaceEntitlementService
33
33
  # ResolveCustomer operation in AWS Marketplace Metering Service.
34
34
  # @return [String]
35
35
  #
36
+ # @!attribute [rw] customer_aws_account_id
37
+ # The `CustomerAWSAccountID` parameter specifies the AWS account ID of
38
+ # the buyer.
39
+ # @return [String]
40
+ #
36
41
  # @!attribute [rw] value
37
42
  # The EntitlementValue represents the amount of capacity that the
38
43
  # customer is entitled to for the product.
@@ -53,6 +58,7 @@ module Aws::MarketplaceEntitlementService
53
58
  :product_code,
54
59
  :dimension,
55
60
  :customer_identifier,
61
+ :customer_aws_account_id,
56
62
  :value,
57
63
  :expiration_date)
58
64
  SENSITIVE = []
@@ -109,6 +115,9 @@ module Aws::MarketplaceEntitlementService
109
115
  # a specific dimension. Filters are described as keys mapped to a
110
116
  # lists of values. Filtered requests are *unioned* for each value in
111
117
  # the value list, and then *intersected* for each filter key.
118
+ #
119
+ # `CustomerIdentifier` and `CustomerAWSAccountID` are mutually
120
+ # exclusive. You can't specify both in the same request.
112
121
  # @return [Hash<String,Array<String>>]
113
122
  #
114
123
  # @!attribute [rw] next_token
@@ -54,7 +54,7 @@ module Aws::MarketplaceEntitlementService
54
54
  autoload :EndpointProvider, 'aws-sdk-marketplaceentitlementservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-marketplaceentitlementservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.66.0'
57
+ GEM_VERSION = '1.67.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -86,7 +86,7 @@ module Aws
86
86
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MarketplaceEntitlementService/Client.html#get_entitlements-instance_method
87
87
  def get_entitlements: (
88
88
  product_code: ::String,
89
- ?filter: Hash[("CUSTOMER_IDENTIFIER" | "DIMENSION"), Array[::String]],
89
+ ?filter: Hash[("CUSTOMER_IDENTIFIER" | "DIMENSION" | "CUSTOMER_AWS_ACCOUNT_ID"), Array[::String]],
90
90
  ?next_token: ::String,
91
91
  ?max_results: ::Integer
92
92
  ) -> _GetEntitlementsResponseSuccess
data/sig/types.rbs CHANGED
@@ -12,6 +12,7 @@ module Aws::MarketplaceEntitlementService
12
12
  attr_accessor product_code: ::String
13
13
  attr_accessor dimension: ::String
14
14
  attr_accessor customer_identifier: ::String
15
+ attr_accessor customer_aws_account_id: ::String
15
16
  attr_accessor value: Types::EntitlementValue
16
17
  attr_accessor expiration_date: ::Time
17
18
  SENSITIVE: []
@@ -27,7 +28,7 @@ module Aws::MarketplaceEntitlementService
27
28
 
28
29
  class GetEntitlementsRequest
29
30
  attr_accessor product_code: ::String
30
- attr_accessor filter: ::Hash[("CUSTOMER_IDENTIFIER" | "DIMENSION"), ::Array[::String]]
31
+ attr_accessor filter: ::Hash[("CUSTOMER_IDENTIFIER" | "DIMENSION" | "CUSTOMER_AWS_ACCOUNT_ID"), ::Array[::String]]
31
32
  attr_accessor next_token: ::String
32
33
  attr_accessor max_results: ::Integer
33
34
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-marketplaceentitlementservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.66.0
4
+ version: 1.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core