aws-sdk-marketplacemetering 1.9.0 → 1.10.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
  SHA1:
3
- metadata.gz: 849181591484517bc4f4ffb050f5447323895f2a
4
- data.tar.gz: 3411b7286f6839dfa9209d215aa188b6d29d0baa
3
+ metadata.gz: a8da524031aaa8d8ce0aec5f1b3aba4abe4790cf
4
+ data.tar.gz: b3baaa6d71f2084b687b9c4a834f8d9f7205ee48
5
5
  SHA512:
6
- metadata.gz: 37492224ced83163f13413e1a9f6d8a6c2f1c807374f7134ec535747c39800fee0dcea1324e2d2dc55d9687929afe941c45ae7608e7cd398ec062c56294518e6
7
- data.tar.gz: bc85210faa5916eeb718efc1981db2c010683582ccfde9496b1d912ce6f105e7748334c2dae416cf6fa0999a2ff4079ceb1c55084de6c0979f4670589d050fa3
6
+ metadata.gz: bb5fed55499c8f664dcb76cdf89dbc18789d3b48b4ab33d0875e70e4ef8d59b14bb85433e2563e01b975434ff47f12b9d51b3e457ec48e2425a5efe660b94c64
7
+ data.tar.gz: 85e2235af63ed6325167cb5fc2d690de6232037ad09385afeb043521c40776f9f46a2f59ec7128c608c54306e0e2c05352011c536699bec17490e2ac6d8401db
@@ -249,7 +249,7 @@ module Aws::MarketplaceMetering
249
249
  # timestamp: Time.now, # required
250
250
  # customer_identifier: "CustomerIdentifier", # required
251
251
  # dimension: "UsageDimension", # required
252
- # quantity: 1, # required
252
+ # quantity: 1,
253
253
  # },
254
254
  # ],
255
255
  # product_code: "ProductCode", # required
@@ -298,13 +298,14 @@ module Aws::MarketplaceMetering
298
298
  # It will be one of the fcp dimension name provided during the
299
299
  # publishing of the product.
300
300
  #
301
- # @option params [required, Integer] :usage_quantity
302
- # Consumption value for the hour.
301
+ # @option params [Integer] :usage_quantity
302
+ # Consumption value for the hour. Defaults to `0` if not specified.
303
303
  #
304
- # @option params [required, Boolean] :dry_run
304
+ # @option params [Boolean] :dry_run
305
305
  # Checks whether you have the permissions required for the action, but
306
306
  # does not make the request. If you have the permissions, the request
307
307
  # returns DryRunOperation; otherwise, it returns UnauthorizedException.
308
+ # Defaults to `false` if not specified.
308
309
  #
309
310
  # @return [Types::MeterUsageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
310
311
  #
@@ -316,8 +317,8 @@ module Aws::MarketplaceMetering
316
317
  # product_code: "ProductCode", # required
317
318
  # timestamp: Time.now, # required
318
319
  # usage_dimension: "UsageDimension", # required
319
- # usage_quantity: 1, # required
320
- # dry_run: false, # required
320
+ # usage_quantity: 1,
321
+ # dry_run: false,
321
322
  # })
322
323
  #
323
324
  # @example Response structure
@@ -458,7 +459,7 @@ module Aws::MarketplaceMetering
458
459
  params: params,
459
460
  config: config)
460
461
  context[:gem_name] = 'aws-sdk-marketplacemetering'
461
- context[:gem_version] = '1.9.0'
462
+ context[:gem_version] = '1.10.0'
462
463
  Seahorse::Client::Request.new(handlers, context)
463
464
  end
464
465
 
@@ -62,8 +62,8 @@ module Aws::MarketplaceMetering
62
62
  MeterUsageRequest.add_member(:product_code, Shapes::ShapeRef.new(shape: ProductCode, required: true, location_name: "ProductCode"))
63
63
  MeterUsageRequest.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
64
64
  MeterUsageRequest.add_member(:usage_dimension, Shapes::ShapeRef.new(shape: UsageDimension, required: true, location_name: "UsageDimension"))
65
- MeterUsageRequest.add_member(:usage_quantity, Shapes::ShapeRef.new(shape: UsageQuantity, required: true, location_name: "UsageQuantity"))
66
- MeterUsageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "DryRun"))
65
+ MeterUsageRequest.add_member(:usage_quantity, Shapes::ShapeRef.new(shape: UsageQuantity, location_name: "UsageQuantity"))
66
+ MeterUsageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
67
67
  MeterUsageRequest.struct_class = Types::MeterUsageRequest
68
68
 
69
69
  MeterUsageResult.add_member(:metering_record_id, Shapes::ShapeRef.new(shape: String, location_name: "MeteringRecordId"))
@@ -88,7 +88,7 @@ module Aws::MarketplaceMetering
88
88
  UsageRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
89
89
  UsageRecord.add_member(:customer_identifier, Shapes::ShapeRef.new(shape: CustomerIdentifier, required: true, location_name: "CustomerIdentifier"))
90
90
  UsageRecord.add_member(:dimension, Shapes::ShapeRef.new(shape: UsageDimension, required: true, location_name: "Dimension"))
91
- UsageRecord.add_member(:quantity, Shapes::ShapeRef.new(shape: UsageQuantity, required: true, location_name: "Quantity"))
91
+ UsageRecord.add_member(:quantity, Shapes::ShapeRef.new(shape: UsageQuantity, location_name: "Quantity"))
92
92
  UsageRecord.struct_class = Types::UsageRecord
93
93
 
94
94
  UsageRecordList.member = Shapes::ShapeRef.new(shape: UsageRecord)
@@ -20,7 +20,7 @@ module Aws::MarketplaceMetering
20
20
  # timestamp: Time.now, # required
21
21
  # customer_identifier: "CustomerIdentifier", # required
22
22
  # dimension: "UsageDimension", # required
23
- # quantity: 1, # required
23
+ # quantity: 1,
24
24
  # },
25
25
  # ],
26
26
  # product_code: "ProductCode", # required
@@ -76,8 +76,8 @@ module Aws::MarketplaceMetering
76
76
  # product_code: "ProductCode", # required
77
77
  # timestamp: Time.now, # required
78
78
  # usage_dimension: "UsageDimension", # required
79
- # usage_quantity: 1, # required
80
- # dry_run: false, # required
79
+ # usage_quantity: 1,
80
+ # dry_run: false,
81
81
  # }
82
82
  #
83
83
  # @!attribute [rw] product_code
@@ -97,14 +97,14 @@ module Aws::MarketplaceMetering
97
97
  # @return [String]
98
98
  #
99
99
  # @!attribute [rw] usage_quantity
100
- # Consumption value for the hour.
100
+ # Consumption value for the hour. Defaults to `0` if not specified.
101
101
  # @return [Integer]
102
102
  #
103
103
  # @!attribute [rw] dry_run
104
104
  # Checks whether you have the permissions required for the action, but
105
105
  # does not make the request. If you have the permissions, the request
106
106
  # returns DryRunOperation; otherwise, it returns
107
- # UnauthorizedException.
107
+ # UnauthorizedException. Defaults to `false` if not specified.
108
108
  # @return [Boolean]
109
109
  #
110
110
  # @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/MeterUsageRequest AWS API Documentation
@@ -237,7 +237,7 @@ module Aws::MarketplaceMetering
237
237
  # timestamp: Time.now, # required
238
238
  # customer_identifier: "CustomerIdentifier", # required
239
239
  # dimension: "UsageDimension", # required
240
- # quantity: 1, # required
240
+ # quantity: 1,
241
241
  # }
242
242
  #
243
243
  # @!attribute [rw] timestamp
@@ -260,7 +260,7 @@ module Aws::MarketplaceMetering
260
260
  #
261
261
  # @!attribute [rw] quantity
262
262
  # The quantity of usage consumed by the customer for the given
263
- # dimension and time.
263
+ # dimension and time. Defaults to `0` if not specified.
264
264
  # @return [Integer]
265
265
  #
266
266
  # @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/UsageRecord AWS API Documentation
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-marketplacemetering/customizations'
42
42
  # @service
43
43
  module Aws::MarketplaceMetering
44
44
 
45
- GEM_VERSION = '1.9.0'
45
+ GEM_VERSION = '1.10.0'
46
46
 
47
47
  end
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.9.0
4
+ version: 1.10.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: 2019-03-18 00:00:00.000000000 Z
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core