aws-sdk-marketplaceentitlementservice 1.44.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82e90b6069c70054607fd7235ee806608aed9639dd3a64f751b33fbf9e20e53c
4
- data.tar.gz: 165ef58644c909639e853bd10ce14d365a2e393037d431c1a9f8cdf5f646cfc9
3
+ metadata.gz: c3303f05028882624e6ceae379967dd443de3ea05656f658baa679ad7b2a3a5d
4
+ data.tar.gz: db2e1bf13cdab1f82d8c2f21efda8de0f5213887be5f1174d05f61cd0412b9e4
5
5
  SHA512:
6
- metadata.gz: a65eb0c7721f878fd6884823d1b56dc6f10e7330ac304d9d3c258169daff427f7528284836b976f4317a518d5c81ae46942f8e68225ddc830f25fc2325995126
7
- data.tar.gz: 68e779d6871aabba37406e859fd5595d7ac0520fc1c462d937f9d5ee806cff57c42ee0e0263899688d2a3a88adc409c3a7f7ed1f6cf1e9cc403ffffe7715360c
6
+ metadata.gz: 2205a7bd136820ab1a837f582e9a2a4869fe271c1bdb8b8115bf27b144fb9a2c414bdba82a76ac2ca4074b946602ed4985971e4d69e4e2518a47e8f47211e16c
7
+ data.tar.gz: ce5c6e9c30a46ea9474fb37f43b2d54177c6cd8767ebd7361cae8c97836ee5bc0664497cff167387270c483e6e45aad1fe9366bcbdf778c6b0838e139547a9c6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2023-11-10)
5
+ ------------------
6
+
7
+ * Feature - Add paginators to GetEntitlements.
8
+
4
9
  1.44.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.45.0
@@ -427,6 +427,8 @@ module Aws::MarketplaceEntitlementService
427
427
  # * {Types::GetEntitlementsResult#entitlements #entitlements} => Array<Types::Entitlement>
428
428
  # * {Types::GetEntitlementsResult#next_token #next_token} => String
429
429
  #
430
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
431
+ #
430
432
  # @example Request syntax with placeholder values
431
433
  #
432
434
  # resp = client.get_entitlements({
@@ -473,7 +475,7 @@ module Aws::MarketplaceEntitlementService
473
475
  params: params,
474
476
  config: config)
475
477
  context[:gem_name] = 'aws-sdk-marketplaceentitlementservice'
476
- context[:gem_version] = '1.44.0'
478
+ context[:gem_version] = '1.45.0'
477
479
  Seahorse::Client::Request.new(handlers, context)
478
480
  end
479
481
 
@@ -29,6 +29,7 @@ module Aws::MarketplaceEntitlementService
29
29
  InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
30
30
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
31
31
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
32
+ PageSizeInteger = Shapes::IntegerShape.new(name: 'PageSizeInteger')
32
33
  ProductCode = Shapes::StringShape.new(name: 'ProductCode')
33
34
  String = Shapes::StringShape.new(name: 'String')
34
35
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
@@ -57,7 +58,7 @@ module Aws::MarketplaceEntitlementService
57
58
  GetEntitlementsRequest.add_member(:product_code, Shapes::ShapeRef.new(shape: ProductCode, required: true, location_name: "ProductCode"))
58
59
  GetEntitlementsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: GetEntitlementFilters, location_name: "Filter"))
59
60
  GetEntitlementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "NextToken"))
60
- GetEntitlementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
61
+ GetEntitlementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSizeInteger, location_name: "MaxResults"))
61
62
  GetEntitlementsRequest.struct_class = Types::GetEntitlementsRequest
62
63
 
63
64
  GetEntitlementsResult.add_member(:entitlements, Shapes::ShapeRef.new(shape: EntitlementList, location_name: "Entitlements"))
@@ -85,6 +86,7 @@ module Aws::MarketplaceEntitlementService
85
86
  "jsonVersion" => "1.1",
86
87
  "protocol" => "json",
87
88
  "serviceFullName" => "AWS Marketplace Entitlement Service",
89
+ "serviceId" => "Marketplace Entitlement Service",
88
90
  "signatureVersion" => "v4",
89
91
  "signingName" => "aws-marketplace",
90
92
  "targetPrefix" => "AWSMPEntitlementService",
@@ -100,6 +102,12 @@ module Aws::MarketplaceEntitlementService
100
102
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
101
103
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
102
104
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
105
+ o[:pager] = Aws::Pager.new(
106
+ limit_key: "max_results",
107
+ tokens: {
108
+ "next_token" => "next_token"
109
+ }
110
+ )
103
111
  end)
104
112
  end
105
113
 
@@ -32,7 +32,7 @@ module Aws::MarketplaceEntitlementService
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://entitlement.marketplace-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-marketplaceentitlementservice/customizations'
52
52
  # @!group service
53
53
  module Aws::MarketplaceEntitlementService
54
54
 
55
- GEM_VERSION = '1.44.0'
55
+ GEM_VERSION = '1.45.0'
56
56
 
57
57
  end
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.44.0
4
+ version: 1.45.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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core