aws-sdk-marketplacemetering 1.45.0 → 1.46.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08d1b79c8ea7d2f43f372a859879f845da66b35908466b77091ed5283c3a83ca'
|
4
|
+
data.tar.gz: a6561daefd3b73cf68ed9973cff1f3bd1ff9451496d20f248a4c03b688893197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14c614e4cf6c937874b16851feb89b2ce36ea312a7891860d54d0d211f300ebe7c4ed48c45585cfbfca0a7af6e4c536a523a9e71fdaa1dc79b6210b776b2e930
|
7
|
+
data.tar.gz: 7d668b33f6324232da9879c0fb11af7b0b2b1e75642e3ca5d325852e294a5a16af102df6afcd676801f17437e70bc10fab1e7b5a6db4d2a3b644710dd3f4b2f0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.45.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
@@ -293,4 +300,4 @@ Unreleased Changes
|
|
293
300
|
1.0.0.rc1 (2016-12-05)
|
294
301
|
------------------
|
295
302
|
|
296
|
-
* Feature - Initial preview release of the `aws-sdk-marketplacemetering` gem.
|
303
|
+
* Feature - Initial preview release of the `aws-sdk-marketplacemetering` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
@@ -710,7 +710,7 @@ module Aws::MarketplaceMetering
|
|
710
710
|
params: params,
|
711
711
|
config: config)
|
712
712
|
context[:gem_name] = 'aws-sdk-marketplacemetering'
|
713
|
-
context[:gem_version] = '1.
|
713
|
+
context[:gem_version] = '1.46.0'
|
714
714
|
Seahorse::Client::Request.new(handlers, context)
|
715
715
|
end
|
716
716
|
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::MarketplaceMetering
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://metering.marketplace-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://metering.marketplace-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://metering.marketplace.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://metering.marketplace.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
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ZSI6InRyZWUiLCJy
|
96
|
-
dWxlcyI6W3siY29uZGl0aW9ucyI6W3siZm4iOiJib29sZWFuRXF1YWxzIiwi
|
97
|
-
YXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQ
|
98
|
-
YXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5
|
99
|
-
cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
|
100
|
-
dCI6eyJ1cmwiOiJodHRwczovL21ldGVyaW5nLm1hcmtldHBsYWNlLntSZWdp
|
101
|
-
b259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInBy
|
102
|
-
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
103
|
-
XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5h
|
104
|
-
YmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFs
|
105
|
-
U3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVu
|
106
|
-
ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbWV0ZXJpbmcubWFya2V0cGxhY2Uu
|
107
|
-
e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
|
108
|
-
dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -13,32 +13,6 @@ module Aws::MarketplaceMetering
|
|
13
13
|
# A `BatchMeterUsageRequest` contains `UsageRecords`, which indicate
|
14
14
|
# quantities of usage within your application.
|
15
15
|
#
|
16
|
-
# @note When making an API call, you may pass BatchMeterUsageRequest
|
17
|
-
# data as a hash:
|
18
|
-
#
|
19
|
-
# {
|
20
|
-
# usage_records: [ # required
|
21
|
-
# {
|
22
|
-
# timestamp: Time.now, # required
|
23
|
-
# customer_identifier: "CustomerIdentifier", # required
|
24
|
-
# dimension: "UsageDimension", # required
|
25
|
-
# quantity: 1,
|
26
|
-
# usage_allocations: [
|
27
|
-
# {
|
28
|
-
# allocated_usage_quantity: 1, # required
|
29
|
-
# tags: [
|
30
|
-
# {
|
31
|
-
# key: "TagKey", # required
|
32
|
-
# value: "TagValue", # required
|
33
|
-
# },
|
34
|
-
# ],
|
35
|
-
# },
|
36
|
-
# ],
|
37
|
-
# },
|
38
|
-
# ],
|
39
|
-
# product_code: "ProductCode", # required
|
40
|
-
# }
|
41
|
-
#
|
42
16
|
# @!attribute [rw] usage_records
|
43
17
|
# The set of `UsageRecords` to submit. `BatchMeterUsage` accepts up to
|
44
18
|
# 25 `UsageRecords` at a time.
|
@@ -283,28 +257,6 @@ module Aws::MarketplaceMetering
|
|
283
257
|
include Aws::Structure
|
284
258
|
end
|
285
259
|
|
286
|
-
# @note When making an API call, you may pass MeterUsageRequest
|
287
|
-
# data as a hash:
|
288
|
-
#
|
289
|
-
# {
|
290
|
-
# product_code: "ProductCode", # required
|
291
|
-
# timestamp: Time.now, # required
|
292
|
-
# usage_dimension: "UsageDimension", # required
|
293
|
-
# usage_quantity: 1,
|
294
|
-
# dry_run: false,
|
295
|
-
# usage_allocations: [
|
296
|
-
# {
|
297
|
-
# allocated_usage_quantity: 1, # required
|
298
|
-
# tags: [
|
299
|
-
# {
|
300
|
-
# key: "TagKey", # required
|
301
|
-
# value: "TagValue", # required
|
302
|
-
# },
|
303
|
-
# ],
|
304
|
-
# },
|
305
|
-
# ],
|
306
|
-
# }
|
307
|
-
#
|
308
260
|
# @!attribute [rw] product_code
|
309
261
|
# Product code is used to uniquely identify a product in AWS
|
310
262
|
# Marketplace. The product code should be the same as the one used
|
@@ -382,15 +334,6 @@ module Aws::MarketplaceMetering
|
|
382
334
|
include Aws::Structure
|
383
335
|
end
|
384
336
|
|
385
|
-
# @note When making an API call, you may pass RegisterUsageRequest
|
386
|
-
# data as a hash:
|
387
|
-
#
|
388
|
-
# {
|
389
|
-
# product_code: "ProductCode", # required
|
390
|
-
# public_key_version: 1, # required
|
391
|
-
# nonce: "Nonce",
|
392
|
-
# }
|
393
|
-
#
|
394
337
|
# @!attribute [rw] product_code
|
395
338
|
# Product code is used to uniquely identify a product in AWS
|
396
339
|
# Marketplace. The product code should be the same as the one used
|
@@ -435,13 +378,6 @@ module Aws::MarketplaceMetering
|
|
435
378
|
|
436
379
|
# Contains input to the `ResolveCustomer` operation.
|
437
380
|
#
|
438
|
-
# @note When making an API call, you may pass ResolveCustomerRequest
|
439
|
-
# data as a hash:
|
440
|
-
#
|
441
|
-
# {
|
442
|
-
# registration_token: "NonEmptyString", # required
|
443
|
-
# }
|
444
|
-
#
|
445
381
|
# @!attribute [rw] registration_token
|
446
382
|
# When a buyer visits your website during the registration process,
|
447
383
|
# the buyer submits a registration token through the browser. The
|
@@ -491,14 +427,6 @@ module Aws::MarketplaceMetering
|
|
491
427
|
# Metadata assigned to an allocation. Each tag is made up of a `key` and
|
492
428
|
# a `value`.
|
493
429
|
#
|
494
|
-
# @note When making an API call, you may pass Tag
|
495
|
-
# data as a hash:
|
496
|
-
#
|
497
|
-
# {
|
498
|
-
# key: "TagKey", # required
|
499
|
-
# value: "TagValue", # required
|
500
|
-
# }
|
501
|
-
#
|
502
430
|
# @!attribute [rw] key
|
503
431
|
# One part of a key-value pair that makes up a `tag`. A `key` is a
|
504
432
|
# label that acts like a category for the specific tag values.
|
@@ -555,19 +483,6 @@ module Aws::MarketplaceMetering
|
|
555
483
|
# Each `UsageAllocation` indicates the usage quantity for a specific set
|
556
484
|
# of tags.
|
557
485
|
#
|
558
|
-
# @note When making an API call, you may pass UsageAllocation
|
559
|
-
# data as a hash:
|
560
|
-
#
|
561
|
-
# {
|
562
|
-
# allocated_usage_quantity: 1, # required
|
563
|
-
# tags: [
|
564
|
-
# {
|
565
|
-
# key: "TagKey", # required
|
566
|
-
# value: "TagValue", # required
|
567
|
-
# },
|
568
|
-
# ],
|
569
|
-
# }
|
570
|
-
#
|
571
486
|
# @!attribute [rw] allocated_usage_quantity
|
572
487
|
# The total quantity allocated to this bucket of usage.
|
573
488
|
# @return [Integer]
|
@@ -592,27 +507,6 @@ module Aws::MarketplaceMetering
|
|
592
507
|
# Multiple requests with the same `UsageRecords` as input will be
|
593
508
|
# de-duplicated to prevent double charges.
|
594
509
|
#
|
595
|
-
# @note When making an API call, you may pass UsageRecord
|
596
|
-
# data as a hash:
|
597
|
-
#
|
598
|
-
# {
|
599
|
-
# timestamp: Time.now, # required
|
600
|
-
# customer_identifier: "CustomerIdentifier", # required
|
601
|
-
# dimension: "UsageDimension", # required
|
602
|
-
# quantity: 1,
|
603
|
-
# usage_allocations: [
|
604
|
-
# {
|
605
|
-
# allocated_usage_quantity: 1, # required
|
606
|
-
# tags: [
|
607
|
-
# {
|
608
|
-
# key: "TagKey", # required
|
609
|
-
# value: "TagValue", # required
|
610
|
-
# },
|
611
|
-
# ],
|
612
|
-
# },
|
613
|
-
# ],
|
614
|
-
# }
|
615
|
-
#
|
616
510
|
# @!attribute [rw] timestamp
|
617
511
|
# Timestamp, in UTC, for which the usage is being reported.
|
618
512
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.46.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|