aws-sdk-marketplacemetering 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-marketplacemetering.rb +1 -1
- data/lib/aws-sdk-marketplacemetering/client.rb +1 -1
- data/lib/aws-sdk-marketplacemetering/client_api.rb +45 -0
- data/lib/aws-sdk-marketplacemetering/errors.rb +240 -0
- data/lib/aws-sdk-marketplacemetering/types.rb +197 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ad99b22aef5f07ca0a2c3391fe39baaf544a32e
|
4
|
+
data.tar.gz: 632c9dd2f6da7d032ddb553dcf7b8349efa9654c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8621b271f1e71b02f31fe3050e49f2a2d9dfd46f2d2a4953bb591b59bf219a5e112351e818b6e395205d0009bf133df36e82e586d240cbf5126d008789908565
|
7
|
+
data.tar.gz: 6453694e546ca16b61c4b19ea1a3a05e0ff30cb80830b8997593c5c872d2128f9571d812f5353df1a1ecc7aee4762f31ac4b68c896c91529be6e890babb0e4bc
|
@@ -505,7 +505,7 @@ module Aws::MarketplaceMetering
|
|
505
505
|
params: params,
|
506
506
|
config: config)
|
507
507
|
context[:gem_name] = 'aws-sdk-marketplacemetering'
|
508
|
-
context[:gem_version] = '1.
|
508
|
+
context[:gem_version] = '1.15.0'
|
509
509
|
Seahorse::Client::Request.new(handlers, context)
|
510
510
|
end
|
511
511
|
|
@@ -59,6 +59,42 @@ module Aws::MarketplaceMetering
|
|
59
59
|
BatchMeterUsageResult.add_member(:unprocessed_records, Shapes::ShapeRef.new(shape: UsageRecordList, location_name: "UnprocessedRecords"))
|
60
60
|
BatchMeterUsageResult.struct_class = Types::BatchMeterUsageResult
|
61
61
|
|
62
|
+
CustomerNotEntitledException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
63
|
+
CustomerNotEntitledException.struct_class = Types::CustomerNotEntitledException
|
64
|
+
|
65
|
+
DisabledApiException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
66
|
+
DisabledApiException.struct_class = Types::DisabledApiException
|
67
|
+
|
68
|
+
DuplicateRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
69
|
+
DuplicateRequestException.struct_class = Types::DuplicateRequestException
|
70
|
+
|
71
|
+
ExpiredTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
72
|
+
ExpiredTokenException.struct_class = Types::ExpiredTokenException
|
73
|
+
|
74
|
+
InternalServiceErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
75
|
+
InternalServiceErrorException.struct_class = Types::InternalServiceErrorException
|
76
|
+
|
77
|
+
InvalidCustomerIdentifierException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
78
|
+
InvalidCustomerIdentifierException.struct_class = Types::InvalidCustomerIdentifierException
|
79
|
+
|
80
|
+
InvalidEndpointRegionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
81
|
+
InvalidEndpointRegionException.struct_class = Types::InvalidEndpointRegionException
|
82
|
+
|
83
|
+
InvalidProductCodeException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
84
|
+
InvalidProductCodeException.struct_class = Types::InvalidProductCodeException
|
85
|
+
|
86
|
+
InvalidPublicKeyVersionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
87
|
+
InvalidPublicKeyVersionException.struct_class = Types::InvalidPublicKeyVersionException
|
88
|
+
|
89
|
+
InvalidRegionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
90
|
+
InvalidRegionException.struct_class = Types::InvalidRegionException
|
91
|
+
|
92
|
+
InvalidTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
93
|
+
InvalidTokenException.struct_class = Types::InvalidTokenException
|
94
|
+
|
95
|
+
InvalidUsageDimensionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
96
|
+
InvalidUsageDimensionException.struct_class = Types::InvalidUsageDimensionException
|
97
|
+
|
62
98
|
MeterUsageRequest.add_member(:product_code, Shapes::ShapeRef.new(shape: ProductCode, required: true, location_name: "ProductCode"))
|
63
99
|
MeterUsageRequest.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
64
100
|
MeterUsageRequest.add_member(:usage_dimension, Shapes::ShapeRef.new(shape: UsageDimension, required: true, location_name: "UsageDimension"))
|
@@ -69,6 +105,9 @@ module Aws::MarketplaceMetering
|
|
69
105
|
MeterUsageResult.add_member(:metering_record_id, Shapes::ShapeRef.new(shape: String, location_name: "MeteringRecordId"))
|
70
106
|
MeterUsageResult.struct_class = Types::MeterUsageResult
|
71
107
|
|
108
|
+
PlatformNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
109
|
+
PlatformNotSupportedException.struct_class = Types::PlatformNotSupportedException
|
110
|
+
|
72
111
|
RegisterUsageRequest.add_member(:product_code, Shapes::ShapeRef.new(shape: ProductCode, required: true, location_name: "ProductCode"))
|
73
112
|
RegisterUsageRequest.add_member(:public_key_version, Shapes::ShapeRef.new(shape: VersionInteger, required: true, location_name: "PublicKeyVersion"))
|
74
113
|
RegisterUsageRequest.add_member(:nonce, Shapes::ShapeRef.new(shape: Nonce, location_name: "Nonce"))
|
@@ -85,6 +124,12 @@ module Aws::MarketplaceMetering
|
|
85
124
|
ResolveCustomerResult.add_member(:product_code, Shapes::ShapeRef.new(shape: ProductCode, location_name: "ProductCode"))
|
86
125
|
ResolveCustomerResult.struct_class = Types::ResolveCustomerResult
|
87
126
|
|
127
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
128
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
129
|
+
|
130
|
+
TimestampOutOfBoundsException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
131
|
+
TimestampOutOfBoundsException.struct_class = Types::TimestampOutOfBoundsException
|
132
|
+
|
88
133
|
UsageRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
|
89
134
|
UsageRecord.add_member(:customer_identifier, Shapes::ShapeRef.new(shape: CustomerIdentifier, required: true, location_name: "CustomerIdentifier"))
|
90
135
|
UsageRecord.add_member(:dimension, Shapes::ShapeRef.new(shape: UsageDimension, required: true, location_name: "Dimension"))
|
@@ -10,5 +10,245 @@ module Aws::MarketplaceMetering
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class CustomerNotEntitledException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::MarketplaceMetering::Types::CustomerNotEntitledException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class DisabledApiException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::MarketplaceMetering::Types::DisabledApiException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class DuplicateRequestException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::MarketplaceMetering::Types::DuplicateRequestException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class ExpiredTokenException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::MarketplaceMetering::Types::ExpiredTokenException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class InternalServiceErrorException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::MarketplaceMetering::Types::InternalServiceErrorException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class InvalidCustomerIdentifierException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::MarketplaceMetering::Types::InvalidCustomerIdentifierException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class InvalidEndpointRegionException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::MarketplaceMetering::Types::InvalidEndpointRegionException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
class InvalidProductCodeException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::MarketplaceMetering::Types::InvalidProductCodeException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class InvalidPublicKeyVersionException < ServiceError
|
142
|
+
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
144
|
+
# @param [String] message
|
145
|
+
# @param [Aws::MarketplaceMetering::Types::InvalidPublicKeyVersionException] data
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
+
super(context, message, data)
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def message
|
152
|
+
@message || @data[:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|
156
|
+
|
157
|
+
class InvalidRegionException < ServiceError
|
158
|
+
|
159
|
+
# @param [Seahorse::Client::RequestContext] context
|
160
|
+
# @param [String] message
|
161
|
+
# @param [Aws::MarketplaceMetering::Types::InvalidRegionException] data
|
162
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
163
|
+
super(context, message, data)
|
164
|
+
end
|
165
|
+
|
166
|
+
# @return [String]
|
167
|
+
def message
|
168
|
+
@message || @data[:message]
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
172
|
+
|
173
|
+
class InvalidTokenException < ServiceError
|
174
|
+
|
175
|
+
# @param [Seahorse::Client::RequestContext] context
|
176
|
+
# @param [String] message
|
177
|
+
# @param [Aws::MarketplaceMetering::Types::InvalidTokenException] data
|
178
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
179
|
+
super(context, message, data)
|
180
|
+
end
|
181
|
+
|
182
|
+
# @return [String]
|
183
|
+
def message
|
184
|
+
@message || @data[:message]
|
185
|
+
end
|
186
|
+
|
187
|
+
end
|
188
|
+
|
189
|
+
class InvalidUsageDimensionException < ServiceError
|
190
|
+
|
191
|
+
# @param [Seahorse::Client::RequestContext] context
|
192
|
+
# @param [String] message
|
193
|
+
# @param [Aws::MarketplaceMetering::Types::InvalidUsageDimensionException] data
|
194
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
195
|
+
super(context, message, data)
|
196
|
+
end
|
197
|
+
|
198
|
+
# @return [String]
|
199
|
+
def message
|
200
|
+
@message || @data[:message]
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|
204
|
+
|
205
|
+
class PlatformNotSupportedException < ServiceError
|
206
|
+
|
207
|
+
# @param [Seahorse::Client::RequestContext] context
|
208
|
+
# @param [String] message
|
209
|
+
# @param [Aws::MarketplaceMetering::Types::PlatformNotSupportedException] data
|
210
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
211
|
+
super(context, message, data)
|
212
|
+
end
|
213
|
+
|
214
|
+
# @return [String]
|
215
|
+
def message
|
216
|
+
@message || @data[:message]
|
217
|
+
end
|
218
|
+
|
219
|
+
end
|
220
|
+
|
221
|
+
class ThrottlingException < ServiceError
|
222
|
+
|
223
|
+
# @param [Seahorse::Client::RequestContext] context
|
224
|
+
# @param [String] message
|
225
|
+
# @param [Aws::MarketplaceMetering::Types::ThrottlingException] data
|
226
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
227
|
+
super(context, message, data)
|
228
|
+
end
|
229
|
+
|
230
|
+
# @return [String]
|
231
|
+
def message
|
232
|
+
@message || @data[:message]
|
233
|
+
end
|
234
|
+
|
235
|
+
end
|
236
|
+
|
237
|
+
class TimestampOutOfBoundsException < ServiceError
|
238
|
+
|
239
|
+
# @param [Seahorse::Client::RequestContext] context
|
240
|
+
# @param [String] message
|
241
|
+
# @param [Aws::MarketplaceMetering::Types::TimestampOutOfBoundsException] data
|
242
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
243
|
+
super(context, message, data)
|
244
|
+
end
|
245
|
+
|
246
|
+
# @return [String]
|
247
|
+
def message
|
248
|
+
@message || @data[:message]
|
249
|
+
end
|
250
|
+
|
251
|
+
end
|
252
|
+
|
13
253
|
end
|
14
254
|
end
|
@@ -69,6 +69,165 @@ module Aws::MarketplaceMetering
|
|
69
69
|
include Aws::Structure
|
70
70
|
end
|
71
71
|
|
72
|
+
# Exception thrown when the customer does not have a valid subscription
|
73
|
+
# for the product.
|
74
|
+
#
|
75
|
+
# @!attribute [rw] message
|
76
|
+
# @return [String]
|
77
|
+
#
|
78
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/CustomerNotEntitledException AWS API Documentation
|
79
|
+
#
|
80
|
+
class CustomerNotEntitledException < Struct.new(
|
81
|
+
:message)
|
82
|
+
include Aws::Structure
|
83
|
+
end
|
84
|
+
|
85
|
+
# The API is disabled in the Region.
|
86
|
+
#
|
87
|
+
# @!attribute [rw] message
|
88
|
+
# @return [String]
|
89
|
+
#
|
90
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/DisabledApiException AWS API Documentation
|
91
|
+
#
|
92
|
+
class DisabledApiException < Struct.new(
|
93
|
+
:message)
|
94
|
+
include Aws::Structure
|
95
|
+
end
|
96
|
+
|
97
|
+
# A metering record has already been emitted by the same EC2 instance
|
98
|
+
# for the given \\\{usageDimension, timestamp\\} with a different
|
99
|
+
# usageQuantity.
|
100
|
+
#
|
101
|
+
# @!attribute [rw] message
|
102
|
+
# @return [String]
|
103
|
+
#
|
104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/DuplicateRequestException AWS API Documentation
|
105
|
+
#
|
106
|
+
class DuplicateRequestException < Struct.new(
|
107
|
+
:message)
|
108
|
+
include Aws::Structure
|
109
|
+
end
|
110
|
+
|
111
|
+
# The submitted registration token has expired. This can happen if the
|
112
|
+
# buyer's browser takes too long to redirect to your page, the buyer
|
113
|
+
# has resubmitted the registration token, or your application has held
|
114
|
+
# on to the registration token for too long. Your SaaS registration
|
115
|
+
# website should redeem this token as soon as it is submitted by the
|
116
|
+
# buyer's browser.
|
117
|
+
#
|
118
|
+
# @!attribute [rw] message
|
119
|
+
# @return [String]
|
120
|
+
#
|
121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/ExpiredTokenException AWS API Documentation
|
122
|
+
#
|
123
|
+
class ExpiredTokenException < Struct.new(
|
124
|
+
:message)
|
125
|
+
include Aws::Structure
|
126
|
+
end
|
127
|
+
|
128
|
+
# An internal error has occurred. Retry your request. If the problem
|
129
|
+
# persists, post a message with details on the AWS forums.
|
130
|
+
#
|
131
|
+
# @!attribute [rw] message
|
132
|
+
# @return [String]
|
133
|
+
#
|
134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InternalServiceErrorException AWS API Documentation
|
135
|
+
#
|
136
|
+
class InternalServiceErrorException < Struct.new(
|
137
|
+
:message)
|
138
|
+
include Aws::Structure
|
139
|
+
end
|
140
|
+
|
141
|
+
# You have metered usage for a CustomerIdentifier that does not exist.
|
142
|
+
#
|
143
|
+
# @!attribute [rw] message
|
144
|
+
# @return [String]
|
145
|
+
#
|
146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InvalidCustomerIdentifierException AWS API Documentation
|
147
|
+
#
|
148
|
+
class InvalidCustomerIdentifierException < Struct.new(
|
149
|
+
:message)
|
150
|
+
include Aws::Structure
|
151
|
+
end
|
152
|
+
|
153
|
+
# The endpoint being called is in a Region different from your EC2
|
154
|
+
# instance. The Region of the Metering Service endpoint and the Region
|
155
|
+
# of the EC2 instance must match.
|
156
|
+
#
|
157
|
+
# @!attribute [rw] message
|
158
|
+
# @return [String]
|
159
|
+
#
|
160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InvalidEndpointRegionException AWS API Documentation
|
161
|
+
#
|
162
|
+
class InvalidEndpointRegionException < Struct.new(
|
163
|
+
:message)
|
164
|
+
include Aws::Structure
|
165
|
+
end
|
166
|
+
|
167
|
+
# The product code passed does not match the product code used for
|
168
|
+
# publishing the product.
|
169
|
+
#
|
170
|
+
# @!attribute [rw] message
|
171
|
+
# @return [String]
|
172
|
+
#
|
173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InvalidProductCodeException AWS API Documentation
|
174
|
+
#
|
175
|
+
class InvalidProductCodeException < Struct.new(
|
176
|
+
:message)
|
177
|
+
include Aws::Structure
|
178
|
+
end
|
179
|
+
|
180
|
+
# Public Key version is invalid.
|
181
|
+
#
|
182
|
+
# @!attribute [rw] message
|
183
|
+
# @return [String]
|
184
|
+
#
|
185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InvalidPublicKeyVersionException AWS API Documentation
|
186
|
+
#
|
187
|
+
class InvalidPublicKeyVersionException < Struct.new(
|
188
|
+
:message)
|
189
|
+
include Aws::Structure
|
190
|
+
end
|
191
|
+
|
192
|
+
# RegisterUsage must be called in the same AWS Region the ECS task was
|
193
|
+
# launched in. This prevents a container from hardcoding a Region (e.g.
|
194
|
+
# withRegion(“us-east-1”) when calling RegisterUsage.
|
195
|
+
#
|
196
|
+
# @!attribute [rw] message
|
197
|
+
# @return [String]
|
198
|
+
#
|
199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InvalidRegionException AWS API Documentation
|
200
|
+
#
|
201
|
+
class InvalidRegionException < Struct.new(
|
202
|
+
:message)
|
203
|
+
include Aws::Structure
|
204
|
+
end
|
205
|
+
|
206
|
+
# Registration token is invalid.
|
207
|
+
#
|
208
|
+
# @!attribute [rw] message
|
209
|
+
# @return [String]
|
210
|
+
#
|
211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InvalidTokenException AWS API Documentation
|
212
|
+
#
|
213
|
+
class InvalidTokenException < Struct.new(
|
214
|
+
:message)
|
215
|
+
include Aws::Structure
|
216
|
+
end
|
217
|
+
|
218
|
+
# The usage dimension does not match one of the UsageDimensions
|
219
|
+
# associated with products.
|
220
|
+
#
|
221
|
+
# @!attribute [rw] message
|
222
|
+
# @return [String]
|
223
|
+
#
|
224
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/InvalidUsageDimensionException AWS API Documentation
|
225
|
+
#
|
226
|
+
class InvalidUsageDimensionException < Struct.new(
|
227
|
+
:message)
|
228
|
+
include Aws::Structure
|
229
|
+
end
|
230
|
+
|
72
231
|
# @note When making an API call, you may pass MeterUsageRequest
|
73
232
|
# data as a hash:
|
74
233
|
#
|
@@ -131,6 +290,19 @@ module Aws::MarketplaceMetering
|
|
131
290
|
include Aws::Structure
|
132
291
|
end
|
133
292
|
|
293
|
+
# AWS Marketplace does not support metering usage from the underlying
|
294
|
+
# platform. Currently, only Amazon ECS is supported.
|
295
|
+
#
|
296
|
+
# @!attribute [rw] message
|
297
|
+
# @return [String]
|
298
|
+
#
|
299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/PlatformNotSupportedException AWS API Documentation
|
300
|
+
#
|
301
|
+
class PlatformNotSupportedException < Struct.new(
|
302
|
+
:message)
|
303
|
+
include Aws::Structure
|
304
|
+
end
|
305
|
+
|
134
306
|
# @note When making an API call, you may pass RegisterUsageRequest
|
135
307
|
# data as a hash:
|
136
308
|
#
|
@@ -226,6 +398,31 @@ module Aws::MarketplaceMetering
|
|
226
398
|
include Aws::Structure
|
227
399
|
end
|
228
400
|
|
401
|
+
# The calls to the API are throttled.
|
402
|
+
#
|
403
|
+
# @!attribute [rw] message
|
404
|
+
# @return [String]
|
405
|
+
#
|
406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/ThrottlingException AWS API Documentation
|
407
|
+
#
|
408
|
+
class ThrottlingException < Struct.new(
|
409
|
+
:message)
|
410
|
+
include Aws::Structure
|
411
|
+
end
|
412
|
+
|
413
|
+
# The timestamp value passed in the meterUsage() is out of allowed
|
414
|
+
# range.
|
415
|
+
#
|
416
|
+
# @!attribute [rw] message
|
417
|
+
# @return [String]
|
418
|
+
#
|
419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/TimestampOutOfBoundsException AWS API Documentation
|
420
|
+
#
|
421
|
+
class TimestampOutOfBoundsException < Struct.new(
|
422
|
+
:message)
|
423
|
+
include Aws::Structure
|
424
|
+
end
|
425
|
+
|
229
426
|
# A UsageRecord indicates a quantity of usage for a given product,
|
230
427
|
# customer, dimension and time.
|
231
428
|
#
|
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.15.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-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|