aws-sdk-marketplacemetering 1.45.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-marketplacemetering/client.rb +8 -3
- data/lib/aws-sdk-marketplacemetering/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-marketplacemetering/types.rb +0 -106
- data/lib/aws-sdk-marketplacemetering.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f94c3e006eebf698ce25605a3cdc14fb3780beef083aed9f0daa9c476a104ee0
|
4
|
+
data.tar.gz: dcfccd038075b04312379d97dc60279cd9237b1741873a2e9699c81052cafbc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58282ad8bea83b215dbf14c54209a270ade9244572c5e58428cb60b737255cefa72628dabdfbc9a694b572354d6663ad719d34243319a9a12a898b6866457576
|
7
|
+
data.tar.gz: 8a8151c5f5d2f474b0c8f6f16c58f879b828a44ef7209e4f326c66888701c8f19383a1a536805083fc7c727bde4cfef182b1b9bf0cfd57150363f64979f33510
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.46.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.45.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -293,4 +305,4 @@ Unreleased Changes
|
|
293
305
|
1.0.0.rc1 (2016-12-05)
|
294
306
|
------------------
|
295
307
|
|
296
|
-
* Feature - Initial preview release of the `aws-sdk-marketplacemetering` gem.
|
308
|
+
* Feature - Initial preview release of the `aws-sdk-marketplacemetering` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -275,6 +275,11 @@ module Aws::MarketplaceMetering
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -578,7 +583,7 @@ module Aws::MarketplaceMetering
|
|
578
583
|
# the behavior of `RegisterUsage`. `RegisterUsage` performs two primary
|
579
584
|
# functions: metering and entitlement.
|
580
585
|
#
|
581
|
-
# * *Entitlement
|
586
|
+
# * *Entitlement*: `RegisterUsage` allows you to verify that the
|
582
587
|
# customer running your paid software is subscribed to your product on
|
583
588
|
# AWS Marketplace, enabling you to guard against unauthorized use.
|
584
589
|
# Your container image that integrates with `RegisterUsage` is only
|
@@ -590,7 +595,7 @@ module Aws::MarketplaceMetering
|
|
590
595
|
# `CustomerNotSubscribedException`, even if the customer unsubscribes
|
591
596
|
# while the Amazon ECS task or Amazon EKS pod is still running.
|
592
597
|
#
|
593
|
-
# * *Metering
|
598
|
+
# * *Metering*: `RegisterUsage` meters software use per ECS task, per
|
594
599
|
# hour, or per pod for Amazon EKS with usage prorated to the second. A
|
595
600
|
# minimum of 1 minute of usage applies to tasks that are short lived.
|
596
601
|
# For example, if a customer has a 10 node Amazon ECS or Amazon EKS
|
@@ -710,7 +715,7 @@ module Aws::MarketplaceMetering
|
|
710
715
|
params: params,
|
711
716
|
config: config)
|
712
717
|
context[:gem_name] = 'aws-sdk-marketplacemetering'
|
713
|
-
context[:gem_version] = '1.
|
718
|
+
context[:gem_version] = '1.47.0'
|
714
719
|
Seahorse::Client::Request.new(handlers, context)
|
715
720
|
end
|
716
721
|
|
@@ -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
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19XSwidHlwZSI6InRyZWUiLCJy
|
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.47.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-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|