aws-sdk-marketplaceagreement 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-marketplaceagreement/client.rb +744 -0
- data/lib/aws-sdk-marketplaceagreement/client_api.rb +420 -0
- data/lib/aws-sdk-marketplaceagreement/customizations.rb +0 -0
- data/lib/aws-sdk-marketplaceagreement/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-marketplaceagreement/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-marketplaceagreement/endpoints.rb +58 -0
- data/lib/aws-sdk-marketplaceagreement/errors.rb +163 -0
- data/lib/aws-sdk-marketplaceagreement/plugins/endpoints.rb +75 -0
- data/lib/aws-sdk-marketplaceagreement/resource.rb +26 -0
- data/lib/aws-sdk-marketplaceagreement/types.rb +1266 -0
- data/lib/aws-sdk-marketplaceagreement.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,1266 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MarketplaceAgreement
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# A subset of terms proposed by the proposer, which have been accepted
|
14
|
+
# by the acceptor as part of agreement creation.
|
15
|
+
#
|
16
|
+
# @note AcceptedTerm is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AcceptedTerm corresponding to the set member.
|
17
|
+
#
|
18
|
+
# @!attribute [rw] byol_pricing_term
|
19
|
+
# Enables you and your customers to move your existing agreements to
|
20
|
+
# AWS Marketplace. The customer won't be charged for product usage in
|
21
|
+
# AWS Marketplace because they already paid for the product outside of
|
22
|
+
# AWS Marketplace.
|
23
|
+
# @return [Types::ByolPricingTerm]
|
24
|
+
#
|
25
|
+
# @!attribute [rw] configurable_upfront_pricing_term
|
26
|
+
# Defines a prepaid payment model that allows buyers to configure the
|
27
|
+
# entitlements they want to purchase and the duration.
|
28
|
+
# @return [Types::ConfigurableUpfrontPricingTerm]
|
29
|
+
#
|
30
|
+
# @!attribute [rw] fixed_upfront_pricing_term
|
31
|
+
# Defines a pre-paid pricing model where the customers are charged a
|
32
|
+
# fixed upfront amount.
|
33
|
+
# @return [Types::FixedUpfrontPricingTerm]
|
34
|
+
#
|
35
|
+
# @!attribute [rw] free_trial_pricing_term
|
36
|
+
# Defines a short-term free pricing model where the buyers aren’t
|
37
|
+
# charged anything within a specified limit.
|
38
|
+
# @return [Types::FreeTrialPricingTerm]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] legal_term
|
41
|
+
# Defines the list of text agreements proposed to the acceptors. An
|
42
|
+
# example is the end user license agreement (EULA).
|
43
|
+
# @return [Types::LegalTerm]
|
44
|
+
#
|
45
|
+
# @!attribute [rw] payment_schedule_term
|
46
|
+
# Defines an installment-based pricing model where customers are
|
47
|
+
# charged a fixed price on different dates during the agreement
|
48
|
+
# validity period. This is used most commonly for flexible payment
|
49
|
+
# schedule pricing.
|
50
|
+
# @return [Types::PaymentScheduleTerm]
|
51
|
+
#
|
52
|
+
# @!attribute [rw] recurring_payment_term
|
53
|
+
# Defines a pricing model where customers are charged a fixed
|
54
|
+
# recurring price at the end of each billing period.
|
55
|
+
# @return [Types::RecurringPaymentTerm]
|
56
|
+
#
|
57
|
+
# @!attribute [rw] renewal_term
|
58
|
+
# Defines that on graceful expiration of the agreement (when the
|
59
|
+
# agreement ends on its pre-defined end date), a new agreement will be
|
60
|
+
# created using the accepted terms on the existing agreement. In other
|
61
|
+
# words, the agreement will be renewed. Presence of `RenewalTerm` in
|
62
|
+
# the offer document means that auto-renewal is allowed. Buyers will
|
63
|
+
# have the option to accept or decline auto-renewal at the offer
|
64
|
+
# acceptance/agreement creation. Buyers can also change this flag from
|
65
|
+
# `True` to `False` or `False` to `True` at anytime during the
|
66
|
+
# agreement's lifecycle.
|
67
|
+
# @return [Types::RenewalTerm]
|
68
|
+
#
|
69
|
+
# @!attribute [rw] support_term
|
70
|
+
# Defines the customer support available for the acceptors when they
|
71
|
+
# purchase the software.
|
72
|
+
# @return [Types::SupportTerm]
|
73
|
+
#
|
74
|
+
# @!attribute [rw] usage_based_pricing_term
|
75
|
+
# Defines a usage-based pricing model (typically, pay-as-you-go
|
76
|
+
# pricing), where the customers are charged based on product usage.
|
77
|
+
# @return [Types::UsageBasedPricingTerm]
|
78
|
+
#
|
79
|
+
# @!attribute [rw] validity_term
|
80
|
+
# Defines the conditions that will keep an agreement created from this
|
81
|
+
# offer valid.
|
82
|
+
# @return [Types::ValidityTerm]
|
83
|
+
#
|
84
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/AcceptedTerm AWS API Documentation
|
85
|
+
#
|
86
|
+
class AcceptedTerm < Struct.new(
|
87
|
+
:byol_pricing_term,
|
88
|
+
:configurable_upfront_pricing_term,
|
89
|
+
:fixed_upfront_pricing_term,
|
90
|
+
:free_trial_pricing_term,
|
91
|
+
:legal_term,
|
92
|
+
:payment_schedule_term,
|
93
|
+
:recurring_payment_term,
|
94
|
+
:renewal_term,
|
95
|
+
:support_term,
|
96
|
+
:usage_based_pricing_term,
|
97
|
+
:validity_term,
|
98
|
+
:unknown)
|
99
|
+
SENSITIVE = []
|
100
|
+
include Aws::Structure
|
101
|
+
include Aws::Structure::Union
|
102
|
+
|
103
|
+
class ByolPricingTerm < AcceptedTerm; end
|
104
|
+
class ConfigurableUpfrontPricingTerm < AcceptedTerm; end
|
105
|
+
class FixedUpfrontPricingTerm < AcceptedTerm; end
|
106
|
+
class FreeTrialPricingTerm < AcceptedTerm; end
|
107
|
+
class LegalTerm < AcceptedTerm; end
|
108
|
+
class PaymentScheduleTerm < AcceptedTerm; end
|
109
|
+
class RecurringPaymentTerm < AcceptedTerm; end
|
110
|
+
class RenewalTerm < AcceptedTerm; end
|
111
|
+
class SupportTerm < AcceptedTerm; end
|
112
|
+
class UsageBasedPricingTerm < AcceptedTerm; end
|
113
|
+
class ValidityTerm < AcceptedTerm; end
|
114
|
+
class Unknown < AcceptedTerm; end
|
115
|
+
end
|
116
|
+
|
117
|
+
# The details of the party accepting the agreement terms. This is
|
118
|
+
# commonly the buyer for `PurchaseAgreement`.
|
119
|
+
#
|
120
|
+
# @!attribute [rw] account_id
|
121
|
+
# The AWS account ID of the acceptor.
|
122
|
+
# @return [String]
|
123
|
+
#
|
124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Acceptor AWS API Documentation
|
125
|
+
#
|
126
|
+
class Acceptor < Struct.new(
|
127
|
+
:account_id)
|
128
|
+
SENSITIVE = []
|
129
|
+
include Aws::Structure
|
130
|
+
end
|
131
|
+
|
132
|
+
# User does not have sufficient access to perform this action.
|
133
|
+
#
|
134
|
+
# @!attribute [rw] message
|
135
|
+
# @return [String]
|
136
|
+
#
|
137
|
+
# @!attribute [rw] request_id
|
138
|
+
# The unique identifier for the error.
|
139
|
+
# @return [String]
|
140
|
+
#
|
141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/AccessDeniedException AWS API Documentation
|
142
|
+
#
|
143
|
+
class AccessDeniedException < Struct.new(
|
144
|
+
:message,
|
145
|
+
:request_id)
|
146
|
+
SENSITIVE = []
|
147
|
+
include Aws::Structure
|
148
|
+
end
|
149
|
+
|
150
|
+
# A summary of the agreement, including top-level attributes (for
|
151
|
+
# example, the agreement ID, version, proposer, and acceptor).
|
152
|
+
#
|
153
|
+
# @!attribute [rw] acceptance_time
|
154
|
+
# The date and time that the agreement was accepted.
|
155
|
+
# @return [Time]
|
156
|
+
#
|
157
|
+
# @!attribute [rw] acceptor
|
158
|
+
# Details of the party accepting the agreement terms. This is commonly
|
159
|
+
# the buyer for `PurchaseAgreement.`
|
160
|
+
# @return [Types::Acceptor]
|
161
|
+
#
|
162
|
+
# @!attribute [rw] agreement_id
|
163
|
+
# The unique identifier of the agreement.
|
164
|
+
# @return [String]
|
165
|
+
#
|
166
|
+
# @!attribute [rw] agreement_type
|
167
|
+
# The type of agreement. Values are `PurchaseAgreement` or
|
168
|
+
# `VendorInsightsAgreement`.
|
169
|
+
# @return [String]
|
170
|
+
#
|
171
|
+
# @!attribute [rw] end_time
|
172
|
+
# The date and time when the agreement ends. The field is `null` for
|
173
|
+
# pay-as-you-go agreements, which don’t have end dates.
|
174
|
+
# @return [Time]
|
175
|
+
#
|
176
|
+
# @!attribute [rw] proposal_summary
|
177
|
+
# A summary of the proposal
|
178
|
+
# @return [Types::ProposalSummary]
|
179
|
+
#
|
180
|
+
# @!attribute [rw] proposer
|
181
|
+
# Details of the party proposing the agreement terms, most commonly
|
182
|
+
# the seller for `PurchaseAgreement`.
|
183
|
+
# @return [Types::Proposer]
|
184
|
+
#
|
185
|
+
# @!attribute [rw] start_time
|
186
|
+
# The date and time when the agreement starts.
|
187
|
+
# @return [Time]
|
188
|
+
#
|
189
|
+
# @!attribute [rw] status
|
190
|
+
# The current status of the agreement.
|
191
|
+
# @return [String]
|
192
|
+
#
|
193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/AgreementViewSummary AWS API Documentation
|
194
|
+
#
|
195
|
+
class AgreementViewSummary < Struct.new(
|
196
|
+
:acceptance_time,
|
197
|
+
:acceptor,
|
198
|
+
:agreement_id,
|
199
|
+
:agreement_type,
|
200
|
+
:end_time,
|
201
|
+
:proposal_summary,
|
202
|
+
:proposer,
|
203
|
+
:start_time,
|
204
|
+
:status)
|
205
|
+
SENSITIVE = []
|
206
|
+
include Aws::Structure
|
207
|
+
end
|
208
|
+
|
209
|
+
# Enables you and your customers to move your existing agreements to AWS
|
210
|
+
# Marketplace. The customer won't be charged for product usage in AWS
|
211
|
+
# Marketplace because they already paid for the product outside of AWS
|
212
|
+
# Marketplace.
|
213
|
+
#
|
214
|
+
# @!attribute [rw] type
|
215
|
+
# Type of the term being updated.
|
216
|
+
# @return [String]
|
217
|
+
#
|
218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ByolPricingTerm AWS API Documentation
|
219
|
+
#
|
220
|
+
class ByolPricingTerm < Struct.new(
|
221
|
+
:type)
|
222
|
+
SENSITIVE = []
|
223
|
+
include Aws::Structure
|
224
|
+
end
|
225
|
+
|
226
|
+
# Defines a prepaid payment model that allows buyers to configure the
|
227
|
+
# entitlements they want to purchase and the duration.
|
228
|
+
#
|
229
|
+
# @!attribute [rw] configuration
|
230
|
+
# Additional parameters specified by the acceptor while accepting the
|
231
|
+
# term.
|
232
|
+
# @return [Types::ConfigurableUpfrontPricingTermConfiguration]
|
233
|
+
#
|
234
|
+
# @!attribute [rw] currency_code
|
235
|
+
# Defines the currency for the prices mentioned in the term.
|
236
|
+
# @return [String]
|
237
|
+
#
|
238
|
+
# @!attribute [rw] rate_cards
|
239
|
+
# A rate card defines the per unit rates for product dimensions.
|
240
|
+
# @return [Array<Types::ConfigurableUpfrontRateCardItem>]
|
241
|
+
#
|
242
|
+
# @!attribute [rw] type
|
243
|
+
# Category of selector.
|
244
|
+
# @return [String]
|
245
|
+
#
|
246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ConfigurableUpfrontPricingTerm AWS API Documentation
|
247
|
+
#
|
248
|
+
class ConfigurableUpfrontPricingTerm < Struct.new(
|
249
|
+
:configuration,
|
250
|
+
:currency_code,
|
251
|
+
:rate_cards,
|
252
|
+
:type)
|
253
|
+
SENSITIVE = []
|
254
|
+
include Aws::Structure
|
255
|
+
end
|
256
|
+
|
257
|
+
# Defines a prepaid payment model that allows buyers to configure the
|
258
|
+
# entitlements they want to purchase and the duration.
|
259
|
+
#
|
260
|
+
# @!attribute [rw] dimensions
|
261
|
+
# Defines the dimensions that the acceptor has purchased from the
|
262
|
+
# overall set of dimensions presented in the rate card.
|
263
|
+
# @return [Array<Types::Dimension>]
|
264
|
+
#
|
265
|
+
# @!attribute [rw] selector_value
|
266
|
+
# Defines the length of time for which the particular
|
267
|
+
# pricing/dimension is being purchased by the acceptor.
|
268
|
+
# @return [String]
|
269
|
+
#
|
270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ConfigurableUpfrontPricingTermConfiguration AWS API Documentation
|
271
|
+
#
|
272
|
+
class ConfigurableUpfrontPricingTermConfiguration < Struct.new(
|
273
|
+
:dimensions,
|
274
|
+
:selector_value)
|
275
|
+
SENSITIVE = []
|
276
|
+
include Aws::Structure
|
277
|
+
end
|
278
|
+
|
279
|
+
# Within the prepaid payment model defined under
|
280
|
+
# `ConfigurableUpfrontPricingTerm`, the `RateCardItem` defines all the
|
281
|
+
# various rate cards (including pricing and dimensions) that have been
|
282
|
+
# proposed.
|
283
|
+
#
|
284
|
+
# @!attribute [rw] constraints
|
285
|
+
# Defines limits on how the term can be configured by acceptors.
|
286
|
+
# @return [Types::Constraints]
|
287
|
+
#
|
288
|
+
# @!attribute [rw] rate_card
|
289
|
+
# Defines the per unit rates for product dimensions.
|
290
|
+
# @return [Array<Types::RateCardItem>]
|
291
|
+
#
|
292
|
+
# @!attribute [rw] selector
|
293
|
+
# Differentiates between the mutually exclusive rate cards in the same
|
294
|
+
# pricing term to be selected by the buyer.
|
295
|
+
# @return [Types::Selector]
|
296
|
+
#
|
297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ConfigurableUpfrontRateCardItem AWS API Documentation
|
298
|
+
#
|
299
|
+
class ConfigurableUpfrontRateCardItem < Struct.new(
|
300
|
+
:constraints,
|
301
|
+
:rate_card,
|
302
|
+
:selector)
|
303
|
+
SENSITIVE = []
|
304
|
+
include Aws::Structure
|
305
|
+
end
|
306
|
+
|
307
|
+
# Defines limits on how the term can be configured by acceptors.
|
308
|
+
#
|
309
|
+
# @!attribute [rw] multiple_dimension_selection
|
310
|
+
# Determines if buyers are allowed to select multiple dimensions in
|
311
|
+
# the rate card. The possible values are `Allowed` and `Disallowed`.
|
312
|
+
# The default value is `Allowed`.
|
313
|
+
# @return [String]
|
314
|
+
#
|
315
|
+
# @!attribute [rw] quantity_configuration
|
316
|
+
# Determines if acceptors are allowed to configure quantity for each
|
317
|
+
# dimension in rate card. The possible values are `Allowed` and
|
318
|
+
# `Disallowed`. The default value is `Allowed`.
|
319
|
+
# @return [String]
|
320
|
+
#
|
321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Constraints AWS API Documentation
|
322
|
+
#
|
323
|
+
class Constraints < Struct.new(
|
324
|
+
:multiple_dimension_selection,
|
325
|
+
:quantity_configuration)
|
326
|
+
SENSITIVE = []
|
327
|
+
include Aws::Structure
|
328
|
+
end
|
329
|
+
|
330
|
+
# @!attribute [rw] agreement_id
|
331
|
+
# The unique identifier of the agreement.
|
332
|
+
# @return [String]
|
333
|
+
#
|
334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/DescribeAgreementInput AWS API Documentation
|
335
|
+
#
|
336
|
+
class DescribeAgreementInput < Struct.new(
|
337
|
+
:agreement_id)
|
338
|
+
SENSITIVE = []
|
339
|
+
include Aws::Structure
|
340
|
+
end
|
341
|
+
|
342
|
+
# @!attribute [rw] acceptance_time
|
343
|
+
# The date and time the offer was accepted or the agreement was
|
344
|
+
# created.
|
345
|
+
#
|
346
|
+
# <note markdown="1"> `AcceptanceTime` and `StartTime` can differ for future dated
|
347
|
+
# agreements (FDAs).
|
348
|
+
#
|
349
|
+
# </note>
|
350
|
+
# @return [Time]
|
351
|
+
#
|
352
|
+
# @!attribute [rw] acceptor
|
353
|
+
# The details of the party accepting the agreement terms. This is
|
354
|
+
# commonly the buyer for `PurchaseAgreement`.
|
355
|
+
# @return [Types::Acceptor]
|
356
|
+
#
|
357
|
+
# @!attribute [rw] agreement_id
|
358
|
+
# The unique identifier of the agreement.
|
359
|
+
# @return [String]
|
360
|
+
#
|
361
|
+
# @!attribute [rw] agreement_type
|
362
|
+
# The type of agreement. Values are `PurchaseAgreement` or
|
363
|
+
# `VendorInsightsAgreement`.
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] end_time
|
367
|
+
# The date and time when the agreement ends. The field is `null` for
|
368
|
+
# pay-as-you-go agreements, which don’t have end dates.
|
369
|
+
# @return [Time]
|
370
|
+
#
|
371
|
+
# @!attribute [rw] estimated_charges
|
372
|
+
# The estimated cost of the agreement.
|
373
|
+
# @return [Types::EstimatedCharges]
|
374
|
+
#
|
375
|
+
# @!attribute [rw] proposal_summary
|
376
|
+
# A summary of the proposal received from the proposer.
|
377
|
+
# @return [Types::ProposalSummary]
|
378
|
+
#
|
379
|
+
# @!attribute [rw] proposer
|
380
|
+
# The details of the party proposing the agreement terms. This is
|
381
|
+
# commonly the seller for `PurchaseAgreement`.
|
382
|
+
# @return [Types::Proposer]
|
383
|
+
#
|
384
|
+
# @!attribute [rw] start_time
|
385
|
+
# The date and time when the agreement starts.
|
386
|
+
# @return [Time]
|
387
|
+
#
|
388
|
+
# @!attribute [rw] status
|
389
|
+
# The current status of the agreement.
|
390
|
+
#
|
391
|
+
# Statuses include:
|
392
|
+
#
|
393
|
+
# * `ACTIVE` – The terms of the agreement are active.
|
394
|
+
#
|
395
|
+
# * `ARCHIVED` – The agreement ended without a specified reason.
|
396
|
+
#
|
397
|
+
# * `CANCELLED` – The acceptor ended the agreement before the defined
|
398
|
+
# end date.
|
399
|
+
#
|
400
|
+
# * `EXPIRED` – The agreement ended on the defined end date.
|
401
|
+
#
|
402
|
+
# * `RENEWED` – The agreement was renewed into a new agreement (for
|
403
|
+
# example, an auto-renewal).
|
404
|
+
#
|
405
|
+
# * `REPLACED` – The agreement was replaced using an agreement
|
406
|
+
# replacement offer.
|
407
|
+
#
|
408
|
+
# * `ROLLED_BACK` (Only applicable to inactive agreement revisions) –
|
409
|
+
# The agreement revision has been rolled back because of an error.
|
410
|
+
# An earlier revision is now active.
|
411
|
+
#
|
412
|
+
# * `SUPERCEDED` (Only applicable to inactive agreement revisions) –
|
413
|
+
# The agreement revision is no longer active and another agreement
|
414
|
+
# revision is now active.
|
415
|
+
#
|
416
|
+
# * `TERMINATED` – The agreement ended before the defined end date
|
417
|
+
# because of an AWS termination (for example, a payment failure).
|
418
|
+
# @return [String]
|
419
|
+
#
|
420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/DescribeAgreementOutput AWS API Documentation
|
421
|
+
#
|
422
|
+
class DescribeAgreementOutput < Struct.new(
|
423
|
+
:acceptance_time,
|
424
|
+
:acceptor,
|
425
|
+
:agreement_id,
|
426
|
+
:agreement_type,
|
427
|
+
:end_time,
|
428
|
+
:estimated_charges,
|
429
|
+
:proposal_summary,
|
430
|
+
:proposer,
|
431
|
+
:start_time,
|
432
|
+
:status)
|
433
|
+
SENSITIVE = []
|
434
|
+
include Aws::Structure
|
435
|
+
end
|
436
|
+
|
437
|
+
# Defines the dimensions that the acceptor has purchased from the
|
438
|
+
# overall set of dimensions presented in the rate card.
|
439
|
+
#
|
440
|
+
# @!attribute [rw] dimension_key
|
441
|
+
# The name of key value of the dimension.
|
442
|
+
# @return [String]
|
443
|
+
#
|
444
|
+
# @!attribute [rw] dimension_value
|
445
|
+
# The number of units of the dimension the acceptor has purchased.
|
446
|
+
#
|
447
|
+
# <note markdown="1"> For Agreements with `ConfigurableUpfrontPricingTerm`, the `RateCard`
|
448
|
+
# section will define the prices and dimensions defined by the seller
|
449
|
+
# (proposer), whereas the `Configuration` section will define the
|
450
|
+
# actual dimensions, prices, and units the buyer has chosen to accept.
|
451
|
+
#
|
452
|
+
# </note>
|
453
|
+
# @return [Integer]
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Dimension AWS API Documentation
|
456
|
+
#
|
457
|
+
class Dimension < Struct.new(
|
458
|
+
:dimension_key,
|
459
|
+
:dimension_value)
|
460
|
+
SENSITIVE = []
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
464
|
+
# Includes the list of references to legal resources proposed by the
|
465
|
+
# proposer to the acceptor. Each `DocumentItem` refers to an individual
|
466
|
+
# reference.
|
467
|
+
#
|
468
|
+
# @!attribute [rw] type
|
469
|
+
# Category of the document. Document types include:
|
470
|
+
#
|
471
|
+
# * `CustomEula` – A custom EULA provided by you as seller. A URL for
|
472
|
+
# a EULA stored in an accessible Amazon S3 bucket is required for
|
473
|
+
# this document type.
|
474
|
+
#
|
475
|
+
# * `CustomDsa` – A custom Data Subscription Agreement (DSA) provided
|
476
|
+
# by you as seller. A URL for a DSA stored in an accessible Amazon
|
477
|
+
# S3 bucket is required for this document type.
|
478
|
+
#
|
479
|
+
# * `StandardEula` – The Standard Contract for AWS Marketplace (SCMP).
|
480
|
+
# For more information about SCMP, see the AWS Marketplace Seller
|
481
|
+
# Guide. You don’t provide a URL for this type because it’s managed
|
482
|
+
# by AWS Marketplace.
|
483
|
+
#
|
484
|
+
# * `StandardDsa` – DSA for AWS Marketplace. For more information
|
485
|
+
# about the DSA, see the AWS Data Exchange User Guide. You don’t
|
486
|
+
# provide a URL for this type because it’s managed by AWS
|
487
|
+
# Marketplace.
|
488
|
+
# @return [String]
|
489
|
+
#
|
490
|
+
# @!attribute [rw] url
|
491
|
+
# A URL to the legal document for buyers to read. Required when `Type`
|
492
|
+
# is `CustomEula`.
|
493
|
+
# @return [String]
|
494
|
+
#
|
495
|
+
# @!attribute [rw] version
|
496
|
+
# Version of standard contracts provided by AWS Marketplace. Required
|
497
|
+
# when Type is `StandardEula` or `StandardDsa`.
|
498
|
+
# @return [String]
|
499
|
+
#
|
500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/DocumentItem AWS API Documentation
|
501
|
+
#
|
502
|
+
class DocumentItem < Struct.new(
|
503
|
+
:type,
|
504
|
+
:url,
|
505
|
+
:version)
|
506
|
+
SENSITIVE = []
|
507
|
+
include Aws::Structure
|
508
|
+
end
|
509
|
+
|
510
|
+
# Estimated cost of the agreement.
|
511
|
+
#
|
512
|
+
# @!attribute [rw] agreement_value
|
513
|
+
# The total known amount customer has to pay across the lifecycle of
|
514
|
+
# the agreement.
|
515
|
+
#
|
516
|
+
# <note markdown="1"> This is the total contract value if accepted terms contain
|
517
|
+
# `ConfigurableUpfrontPricingTerm` or `FixedUpfrontPricingTerm`. In
|
518
|
+
# the case of pure contract pricing, this will be the total value of
|
519
|
+
# the contract. In the case of contracts with consumption pricing,
|
520
|
+
# this will only include the committed value and not include any
|
521
|
+
# overages that occur.
|
522
|
+
#
|
523
|
+
# If the accepted terms contain `PaymentScheduleTerm`, it will be the
|
524
|
+
# total payment schedule amount. This occurs when flexible payment
|
525
|
+
# schedule is used, and is the sum of all invoice charges in the
|
526
|
+
# payment schedule.
|
527
|
+
#
|
528
|
+
# In case a customer has amended an agreement, by purchasing more
|
529
|
+
# units of any dimension, this will include both the original cost as
|
530
|
+
# well as the added cost incurred due to addition of new units.
|
531
|
+
#
|
532
|
+
# This is `0` if the accepted terms contain `UsageBasedPricingTerm`
|
533
|
+
# without `ConfigurableUpfrontPricingTerm` or `RecurringPaymentTerm`.
|
534
|
+
# This occurs for usage-based pricing (such as SaaS metered or
|
535
|
+
# AMI/container hourly or monthly), because the exact usage is not
|
536
|
+
# known upfront.
|
537
|
+
#
|
538
|
+
# </note>
|
539
|
+
# @return [String]
|
540
|
+
#
|
541
|
+
# @!attribute [rw] currency_code
|
542
|
+
# Defines the currency code for the charge.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/EstimatedCharges AWS API Documentation
|
546
|
+
#
|
547
|
+
class EstimatedCharges < Struct.new(
|
548
|
+
:agreement_value,
|
549
|
+
:currency_code)
|
550
|
+
SENSITIVE = []
|
551
|
+
include Aws::Structure
|
552
|
+
end
|
553
|
+
|
554
|
+
# The filter name and value pair that is used to return a more specific
|
555
|
+
# list of results. Filters can be used to match a set of resources by
|
556
|
+
# various criteria, such as `offerId` or `productId`.
|
557
|
+
#
|
558
|
+
# @!attribute [rw] name
|
559
|
+
# The name of the filter.
|
560
|
+
# @return [String]
|
561
|
+
#
|
562
|
+
# @!attribute [rw] values
|
563
|
+
# The filter value.
|
564
|
+
# @return [Array<String>]
|
565
|
+
#
|
566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Filter AWS API Documentation
|
567
|
+
#
|
568
|
+
class Filter < Struct.new(
|
569
|
+
:name,
|
570
|
+
:values)
|
571
|
+
SENSITIVE = []
|
572
|
+
include Aws::Structure
|
573
|
+
end
|
574
|
+
|
575
|
+
# Defines a prepaid pricing model where the customers are charged a
|
576
|
+
# fixed upfront amount.
|
577
|
+
#
|
578
|
+
# @!attribute [rw] currency_code
|
579
|
+
# Defines the currency for the prices mentioned in this term.
|
580
|
+
# @return [String]
|
581
|
+
#
|
582
|
+
# @!attribute [rw] duration
|
583
|
+
# Contract duration for the terms.
|
584
|
+
# @return [String]
|
585
|
+
#
|
586
|
+
# @!attribute [rw] grants
|
587
|
+
# Entitlements granted to the acceptor of fixed upfront as part of
|
588
|
+
# agreement execution.
|
589
|
+
# @return [Array<Types::GrantItem>]
|
590
|
+
#
|
591
|
+
# @!attribute [rw] price
|
592
|
+
# Fixed amount to be charged to the customer when this term is
|
593
|
+
# accepted.
|
594
|
+
# @return [String]
|
595
|
+
#
|
596
|
+
# @!attribute [rw] type
|
597
|
+
# Category of the term being updated.
|
598
|
+
# @return [String]
|
599
|
+
#
|
600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/FixedUpfrontPricingTerm AWS API Documentation
|
601
|
+
#
|
602
|
+
class FixedUpfrontPricingTerm < Struct.new(
|
603
|
+
:currency_code,
|
604
|
+
:duration,
|
605
|
+
:grants,
|
606
|
+
:price,
|
607
|
+
:type)
|
608
|
+
SENSITIVE = []
|
609
|
+
include Aws::Structure
|
610
|
+
end
|
611
|
+
|
612
|
+
# Defines a short-term free pricing model where the buyers aren’t
|
613
|
+
# charged anything within a specified limit.
|
614
|
+
#
|
615
|
+
# @!attribute [rw] duration
|
616
|
+
# Duration of the free trial period (5–31 days).
|
617
|
+
# @return [String]
|
618
|
+
#
|
619
|
+
# @!attribute [rw] grants
|
620
|
+
# Entitlements granted to the acceptor of a free trial as part of an
|
621
|
+
# agreement execution.
|
622
|
+
# @return [Array<Types::GrantItem>]
|
623
|
+
#
|
624
|
+
# @!attribute [rw] type
|
625
|
+
# Category of the term.
|
626
|
+
# @return [String]
|
627
|
+
#
|
628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/FreeTrialPricingTerm AWS API Documentation
|
629
|
+
#
|
630
|
+
class FreeTrialPricingTerm < Struct.new(
|
631
|
+
:duration,
|
632
|
+
:grants,
|
633
|
+
:type)
|
634
|
+
SENSITIVE = []
|
635
|
+
include Aws::Structure
|
636
|
+
end
|
637
|
+
|
638
|
+
# @!attribute [rw] agreement_id
|
639
|
+
# The unique identifier of the agreement.
|
640
|
+
# @return [String]
|
641
|
+
#
|
642
|
+
# @!attribute [rw] max_results
|
643
|
+
# The maximum number of agreements to return in the response.
|
644
|
+
# @return [Integer]
|
645
|
+
#
|
646
|
+
# @!attribute [rw] next_token
|
647
|
+
# A token to specify where to start pagination
|
648
|
+
# @return [String]
|
649
|
+
#
|
650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/GetAgreementTermsInput AWS API Documentation
|
651
|
+
#
|
652
|
+
class GetAgreementTermsInput < Struct.new(
|
653
|
+
:agreement_id,
|
654
|
+
:max_results,
|
655
|
+
:next_token)
|
656
|
+
SENSITIVE = []
|
657
|
+
include Aws::Structure
|
658
|
+
end
|
659
|
+
|
660
|
+
# @!attribute [rw] accepted_terms
|
661
|
+
# A subset of terms proposed by the proposer that have been accepted
|
662
|
+
# by the acceptor as part of the agreement creation.
|
663
|
+
# @return [Array<Types::AcceptedTerm>]
|
664
|
+
#
|
665
|
+
# @!attribute [rw] next_token
|
666
|
+
# A token to specify where to start pagination
|
667
|
+
# @return [String]
|
668
|
+
#
|
669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/GetAgreementTermsOutput AWS API Documentation
|
670
|
+
#
|
671
|
+
class GetAgreementTermsOutput < Struct.new(
|
672
|
+
:accepted_terms,
|
673
|
+
:next_token)
|
674
|
+
SENSITIVE = []
|
675
|
+
include Aws::Structure
|
676
|
+
end
|
677
|
+
|
678
|
+
# Entitlements granted to the acceptor of fixed upfront as part of
|
679
|
+
# agreement execution.
|
680
|
+
#
|
681
|
+
# @!attribute [rw] dimension_key
|
682
|
+
# Unique dimension key defined in the product document. Dimensions
|
683
|
+
# represent categories of capacity in a product and are specified when
|
684
|
+
# the product is listed in AWS Marketplace.
|
685
|
+
# @return [String]
|
686
|
+
#
|
687
|
+
# @!attribute [rw] max_quantity
|
688
|
+
# Maximum amount of capacity that the buyer can be entitled to the
|
689
|
+
# given dimension of the product. If `MaxQuantity` is not provided,
|
690
|
+
# the buyer will be able to use an unlimited amount of the given
|
691
|
+
# dimension.
|
692
|
+
# @return [Integer]
|
693
|
+
#
|
694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/GrantItem AWS API Documentation
|
695
|
+
#
|
696
|
+
class GrantItem < Struct.new(
|
697
|
+
:dimension_key,
|
698
|
+
:max_quantity)
|
699
|
+
SENSITIVE = []
|
700
|
+
include Aws::Structure
|
701
|
+
end
|
702
|
+
|
703
|
+
# Unexpected error during processing of request.
|
704
|
+
#
|
705
|
+
# @!attribute [rw] message
|
706
|
+
# @return [String]
|
707
|
+
#
|
708
|
+
# @!attribute [rw] request_id
|
709
|
+
# The unique identifier for the error.
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/InternalServerException AWS API Documentation
|
713
|
+
#
|
714
|
+
class InternalServerException < Struct.new(
|
715
|
+
:message,
|
716
|
+
:request_id)
|
717
|
+
SENSITIVE = []
|
718
|
+
include Aws::Structure
|
719
|
+
end
|
720
|
+
|
721
|
+
# Defines the list of text agreements proposed to the acceptors. An
|
722
|
+
# example is the end user license agreement (EULA).
|
723
|
+
#
|
724
|
+
# @!attribute [rw] documents
|
725
|
+
# List of references to legal resources proposed to the buyers. An
|
726
|
+
# example is the EULA.
|
727
|
+
# @return [Array<Types::DocumentItem>]
|
728
|
+
#
|
729
|
+
# @!attribute [rw] type
|
730
|
+
# Category of the term being updated.
|
731
|
+
# @return [String]
|
732
|
+
#
|
733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/LegalTerm AWS API Documentation
|
734
|
+
#
|
735
|
+
class LegalTerm < Struct.new(
|
736
|
+
:documents,
|
737
|
+
:type)
|
738
|
+
SENSITIVE = []
|
739
|
+
include Aws::Structure
|
740
|
+
end
|
741
|
+
|
742
|
+
# Defines an installment-based pricing model where customers are charged
|
743
|
+
# a fixed price on different dates during the agreement validity period.
|
744
|
+
# This is used most commonly for flexible payment schedule pricing.
|
745
|
+
#
|
746
|
+
# @!attribute [rw] currency_code
|
747
|
+
# Defines the currency for the prices mentioned in the term.
|
748
|
+
# @return [String]
|
749
|
+
#
|
750
|
+
# @!attribute [rw] schedule
|
751
|
+
# List of the payment schedule where each element defines one
|
752
|
+
# installment of payment. It contains the information necessary for
|
753
|
+
# calculating the price.
|
754
|
+
# @return [Array<Types::ScheduleItem>]
|
755
|
+
#
|
756
|
+
# @!attribute [rw] type
|
757
|
+
# Type of the term.
|
758
|
+
# @return [String]
|
759
|
+
#
|
760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/PaymentScheduleTerm AWS API Documentation
|
761
|
+
#
|
762
|
+
class PaymentScheduleTerm < Struct.new(
|
763
|
+
:currency_code,
|
764
|
+
:schedule,
|
765
|
+
:type)
|
766
|
+
SENSITIVE = []
|
767
|
+
include Aws::Structure
|
768
|
+
end
|
769
|
+
|
770
|
+
# A summary of the proposal received from the proposer.
|
771
|
+
#
|
772
|
+
# @!attribute [rw] offer_id
|
773
|
+
# The unique identifier of the offer in AWS Marketplace.
|
774
|
+
# @return [String]
|
775
|
+
#
|
776
|
+
# @!attribute [rw] resources
|
777
|
+
# The list of resources involved in the agreement.
|
778
|
+
# @return [Array<Types::Resource>]
|
779
|
+
#
|
780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ProposalSummary AWS API Documentation
|
781
|
+
#
|
782
|
+
class ProposalSummary < Struct.new(
|
783
|
+
:offer_id,
|
784
|
+
:resources)
|
785
|
+
SENSITIVE = []
|
786
|
+
include Aws::Structure
|
787
|
+
end
|
788
|
+
|
789
|
+
# Details of the party proposing the agreement terms,. This is commonly
|
790
|
+
# the seller for `PurchaseAgreement`.
|
791
|
+
#
|
792
|
+
# @!attribute [rw] account_id
|
793
|
+
# The AWS account ID of the proposer.
|
794
|
+
# @return [String]
|
795
|
+
#
|
796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Proposer AWS API Documentation
|
797
|
+
#
|
798
|
+
class Proposer < Struct.new(
|
799
|
+
:account_id)
|
800
|
+
SENSITIVE = []
|
801
|
+
include Aws::Structure
|
802
|
+
end
|
803
|
+
|
804
|
+
# Defines the per unit rates for each individual product dimension.
|
805
|
+
#
|
806
|
+
# @!attribute [rw] dimension_key
|
807
|
+
# Dimension for which the given entitlement applies. Dimensions
|
808
|
+
# represent categories of capacity in a product and are specified when
|
809
|
+
# the product is listed in AWS Marketplace.
|
810
|
+
# @return [String]
|
811
|
+
#
|
812
|
+
# @!attribute [rw] price
|
813
|
+
# Per unit price for the product dimension that’s used for calculating
|
814
|
+
# the amount to be charged.
|
815
|
+
# @return [String]
|
816
|
+
#
|
817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/RateCardItem AWS API Documentation
|
818
|
+
#
|
819
|
+
class RateCardItem < Struct.new(
|
820
|
+
:dimension_key,
|
821
|
+
:price)
|
822
|
+
SENSITIVE = []
|
823
|
+
include Aws::Structure
|
824
|
+
end
|
825
|
+
|
826
|
+
# Defines a pricing model where customers are charged a fixed recurring
|
827
|
+
# price at the end of each billing period.
|
828
|
+
#
|
829
|
+
# @!attribute [rw] billing_period
|
830
|
+
# Defines the recurrence at which buyers are charged.
|
831
|
+
# @return [String]
|
832
|
+
#
|
833
|
+
# @!attribute [rw] currency_code
|
834
|
+
# Defines the currency for the prices mentioned in this term.
|
835
|
+
# @return [String]
|
836
|
+
#
|
837
|
+
# @!attribute [rw] price
|
838
|
+
# Amount charged to the buyer every billing period.
|
839
|
+
# @return [String]
|
840
|
+
#
|
841
|
+
# @!attribute [rw] type
|
842
|
+
# Type of the term being updated.
|
843
|
+
# @return [String]
|
844
|
+
#
|
845
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/RecurringPaymentTerm AWS API Documentation
|
846
|
+
#
|
847
|
+
class RecurringPaymentTerm < Struct.new(
|
848
|
+
:billing_period,
|
849
|
+
:currency_code,
|
850
|
+
:price,
|
851
|
+
:type)
|
852
|
+
SENSITIVE = []
|
853
|
+
include Aws::Structure
|
854
|
+
end
|
855
|
+
|
856
|
+
# Defines that on graceful expiration of the agreement (when the
|
857
|
+
# agreement ends on its pre-defined end date), a new agreement will be
|
858
|
+
# created using the accepted terms on the existing agreement. In other
|
859
|
+
# words, the agreement will be renewed. The presence of `RenewalTerm` in
|
860
|
+
# the offer document means that auto-renewal is allowed. Buyers will
|
861
|
+
# have the option to accept or decline auto-renewal at the offer
|
862
|
+
# acceptance/agreement creation. Buyers can also change this flag from
|
863
|
+
# `True` to `False` or `False` to `True` at anytime during the
|
864
|
+
# agreement's lifecycle.
|
865
|
+
#
|
866
|
+
# @!attribute [rw] configuration
|
867
|
+
# Additional parameters specified by the acceptor while accepting the
|
868
|
+
# term.
|
869
|
+
# @return [Types::RenewalTermConfiguration]
|
870
|
+
#
|
871
|
+
# @!attribute [rw] type
|
872
|
+
# Category of the term being updated.
|
873
|
+
# @return [String]
|
874
|
+
#
|
875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/RenewalTerm AWS API Documentation
|
876
|
+
#
|
877
|
+
class RenewalTerm < Struct.new(
|
878
|
+
:configuration,
|
879
|
+
:type)
|
880
|
+
SENSITIVE = []
|
881
|
+
include Aws::Structure
|
882
|
+
end
|
883
|
+
|
884
|
+
# Additional parameters specified by the acceptor while accepting the
|
885
|
+
# term.
|
886
|
+
#
|
887
|
+
# @!attribute [rw] enable_auto_renew
|
888
|
+
# Defines whether the acceptor has chosen to auto-renew the agreement
|
889
|
+
# at the end of its lifecycle. Can be set to `True` or `False`.
|
890
|
+
# @return [Boolean]
|
891
|
+
#
|
892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/RenewalTermConfiguration AWS API Documentation
|
893
|
+
#
|
894
|
+
class RenewalTermConfiguration < Struct.new(
|
895
|
+
:enable_auto_renew)
|
896
|
+
SENSITIVE = []
|
897
|
+
include Aws::Structure
|
898
|
+
end
|
899
|
+
|
900
|
+
# The list of resources involved in the agreement.
|
901
|
+
#
|
902
|
+
# @!attribute [rw] id
|
903
|
+
# The unique identifier of the resource.
|
904
|
+
#
|
905
|
+
# <note markdown="1"> We mention the term resource, which is most commonly a product, so a
|
906
|
+
# `resourceId` is also a `productId`.
|
907
|
+
#
|
908
|
+
# </note>
|
909
|
+
# @return [String]
|
910
|
+
#
|
911
|
+
# @!attribute [rw] type
|
912
|
+
# Type of the resource, which is the product. Values include
|
913
|
+
# `SaaSProduct` or `AmiProduct`.
|
914
|
+
# @return [String]
|
915
|
+
#
|
916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Resource AWS API Documentation
|
917
|
+
#
|
918
|
+
class Resource < Struct.new(
|
919
|
+
:id,
|
920
|
+
:type)
|
921
|
+
SENSITIVE = []
|
922
|
+
include Aws::Structure
|
923
|
+
end
|
924
|
+
|
925
|
+
# Request references a resource which does not exist.
|
926
|
+
#
|
927
|
+
# @!attribute [rw] message
|
928
|
+
# @return [String]
|
929
|
+
#
|
930
|
+
# @!attribute [rw] request_id
|
931
|
+
# The unique identifier for the error.
|
932
|
+
# @return [String]
|
933
|
+
#
|
934
|
+
# @!attribute [rw] resource_id
|
935
|
+
# The unique identifier for the resource.
|
936
|
+
# @return [String]
|
937
|
+
#
|
938
|
+
# @!attribute [rw] resource_type
|
939
|
+
# The type of resource.
|
940
|
+
# @return [String]
|
941
|
+
#
|
942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ResourceNotFoundException AWS API Documentation
|
943
|
+
#
|
944
|
+
class ResourceNotFoundException < Struct.new(
|
945
|
+
:message,
|
946
|
+
:request_id,
|
947
|
+
:resource_id,
|
948
|
+
:resource_type)
|
949
|
+
SENSITIVE = []
|
950
|
+
include Aws::Structure
|
951
|
+
end
|
952
|
+
|
953
|
+
# An individual installment of the payment that includes the date and
|
954
|
+
# amount of the charge.
|
955
|
+
#
|
956
|
+
# @!attribute [rw] charge_amount
|
957
|
+
# The price that the customer would pay on the scheduled date
|
958
|
+
# (chargeDate).
|
959
|
+
# @return [String]
|
960
|
+
#
|
961
|
+
# @!attribute [rw] charge_date
|
962
|
+
# The date that the customer would pay the price defined in this
|
963
|
+
# payment schedule term. Invoices are generated on the date provided.
|
964
|
+
# @return [Time]
|
965
|
+
#
|
966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ScheduleItem AWS API Documentation
|
967
|
+
#
|
968
|
+
class ScheduleItem < Struct.new(
|
969
|
+
:charge_amount,
|
970
|
+
:charge_date)
|
971
|
+
SENSITIVE = []
|
972
|
+
include Aws::Structure
|
973
|
+
end
|
974
|
+
|
975
|
+
# @!attribute [rw] catalog
|
976
|
+
# The catalog in which the agreement was created.
|
977
|
+
# @return [String]
|
978
|
+
#
|
979
|
+
# @!attribute [rw] filters
|
980
|
+
# The filter name and value pair used to return a specific list of
|
981
|
+
# results.
|
982
|
+
#
|
983
|
+
# The following filters are supported:
|
984
|
+
#
|
985
|
+
# * `ResourceIdentifier` – The unique identifier of the resource.
|
986
|
+
#
|
987
|
+
# * `ResourceType` – Type of the resource, which is the product
|
988
|
+
# (`AmiProduct`, `ContainerProduct`, or `SaaSProduct`).
|
989
|
+
#
|
990
|
+
# * `PartyType` – The party type (either `Acceptor` or `Proposer`) of
|
991
|
+
# the caller. For agreements where the caller is the proposer, use
|
992
|
+
# the `Proposer` filter. For agreements where the caller is the
|
993
|
+
# acceptor, use the `Acceptor` filter.
|
994
|
+
#
|
995
|
+
# * `AcceptorAccountId` – The AWS account ID of the party accepting
|
996
|
+
# the agreement terms.
|
997
|
+
#
|
998
|
+
# * `OfferId` – The unique identifier of the offer in which the terms
|
999
|
+
# are registered in the agreement token.
|
1000
|
+
#
|
1001
|
+
# * `Status` – The current status of the agreement. Values include
|
1002
|
+
# `ACTIVE`, `ARCHIVED`, `CANCELLED`, `EXPIRED`, `RENEWED`,
|
1003
|
+
# `REPLACED`, and `TERMINATED`.
|
1004
|
+
#
|
1005
|
+
# * `BeforeEndTime` – A date used to filter agreements with a date
|
1006
|
+
# before the `endTime` of an agreement.
|
1007
|
+
#
|
1008
|
+
# * `AfterEndTime` – A date used to filter agreements with a date
|
1009
|
+
# after the `endTime` of an agreement.
|
1010
|
+
#
|
1011
|
+
# * `AgreementType` – The type of agreement. Values include
|
1012
|
+
# `PurchaseAgreement` or `VendorInsightsAgreement`.
|
1013
|
+
# @return [Array<Types::Filter>]
|
1014
|
+
#
|
1015
|
+
# @!attribute [rw] max_results
|
1016
|
+
# The maximum number of agreements to return in the response.
|
1017
|
+
# @return [Integer]
|
1018
|
+
#
|
1019
|
+
# @!attribute [rw] next_token
|
1020
|
+
# A token to specify where to start pagination.
|
1021
|
+
# @return [String]
|
1022
|
+
#
|
1023
|
+
# @!attribute [rw] sort
|
1024
|
+
# An object that contains the `SortBy` and `SortOrder` attributes.
|
1025
|
+
# @return [Types::Sort]
|
1026
|
+
#
|
1027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/SearchAgreementsInput AWS API Documentation
|
1028
|
+
#
|
1029
|
+
class SearchAgreementsInput < Struct.new(
|
1030
|
+
:catalog,
|
1031
|
+
:filters,
|
1032
|
+
:max_results,
|
1033
|
+
:next_token,
|
1034
|
+
:sort)
|
1035
|
+
SENSITIVE = []
|
1036
|
+
include Aws::Structure
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# @!attribute [rw] agreement_view_summaries
|
1040
|
+
# A summary of the agreement, including top-level attributes (for
|
1041
|
+
# example, the agreement ID, version, proposer, and acceptor).
|
1042
|
+
# @return [Array<Types::AgreementViewSummary>]
|
1043
|
+
#
|
1044
|
+
# @!attribute [rw] next_token
|
1045
|
+
# The token used for pagination. The field is `null` if there are no
|
1046
|
+
# more results.
|
1047
|
+
# @return [String]
|
1048
|
+
#
|
1049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/SearchAgreementsOutput AWS API Documentation
|
1050
|
+
#
|
1051
|
+
class SearchAgreementsOutput < Struct.new(
|
1052
|
+
:agreement_view_summaries,
|
1053
|
+
:next_token)
|
1054
|
+
SENSITIVE = []
|
1055
|
+
include Aws::Structure
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
# Differentiates between the mutually exclusive rate cards in the same
|
1059
|
+
# pricing term to be selected by the buyer.
|
1060
|
+
#
|
1061
|
+
# @!attribute [rw] type
|
1062
|
+
# Category of selector.
|
1063
|
+
# @return [String]
|
1064
|
+
#
|
1065
|
+
# @!attribute [rw] value
|
1066
|
+
# Contract duration. This field supports the ISO 8601 format.
|
1067
|
+
# @return [String]
|
1068
|
+
#
|
1069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Selector AWS API Documentation
|
1070
|
+
#
|
1071
|
+
class Selector < Struct.new(
|
1072
|
+
:type,
|
1073
|
+
:value)
|
1074
|
+
SENSITIVE = []
|
1075
|
+
include Aws::Structure
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# An object that contains the `SortBy` and `SortOrder` attributes.
|
1079
|
+
#
|
1080
|
+
# @!attribute [rw] sort_by
|
1081
|
+
# The attribute on which the data is grouped, which can be by
|
1082
|
+
# `StartTime` and `EndTime`. The default value is `EndTime`.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] sort_order
|
1086
|
+
# The sorting order, which can be `ASCENDING` or `DESCENDING`. The
|
1087
|
+
# default value is `DESCENDING`.
|
1088
|
+
# @return [String]
|
1089
|
+
#
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/Sort AWS API Documentation
|
1091
|
+
#
|
1092
|
+
class Sort < Struct.new(
|
1093
|
+
:sort_by,
|
1094
|
+
:sort_order)
|
1095
|
+
SENSITIVE = []
|
1096
|
+
include Aws::Structure
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# Defines the customer support available for the acceptors when they
|
1100
|
+
# purchase the software.
|
1101
|
+
#
|
1102
|
+
# @!attribute [rw] refund_policy
|
1103
|
+
# Free-text field about the refund policy description that will be
|
1104
|
+
# shown to customers as is on the website and console.
|
1105
|
+
# @return [String]
|
1106
|
+
#
|
1107
|
+
# @!attribute [rw] type
|
1108
|
+
# Category of the term being updated.
|
1109
|
+
# @return [String]
|
1110
|
+
#
|
1111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/SupportTerm AWS API Documentation
|
1112
|
+
#
|
1113
|
+
class SupportTerm < Struct.new(
|
1114
|
+
:refund_policy,
|
1115
|
+
:type)
|
1116
|
+
SENSITIVE = []
|
1117
|
+
include Aws::Structure
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# Request was denied due to request throttling.
|
1121
|
+
#
|
1122
|
+
# @!attribute [rw] message
|
1123
|
+
# @return [String]
|
1124
|
+
#
|
1125
|
+
# @!attribute [rw] request_id
|
1126
|
+
# The unique identifier for the error.
|
1127
|
+
# @return [String]
|
1128
|
+
#
|
1129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ThrottlingException AWS API Documentation
|
1130
|
+
#
|
1131
|
+
class ThrottlingException < Struct.new(
|
1132
|
+
:message,
|
1133
|
+
:request_id)
|
1134
|
+
SENSITIVE = []
|
1135
|
+
include Aws::Structure
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
# Defines a usage-based pricing model (typically, pay-as-you-go
|
1139
|
+
# pricing), where the customers are charged based on product usage.
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] currency_code
|
1142
|
+
# Defines the currency for the prices mentioned in the term.
|
1143
|
+
# @return [String]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] rate_cards
|
1146
|
+
# List of rate cards.
|
1147
|
+
# @return [Array<Types::UsageBasedRateCardItem>]
|
1148
|
+
#
|
1149
|
+
# @!attribute [rw] type
|
1150
|
+
# Category of the term.
|
1151
|
+
# @return [String]
|
1152
|
+
#
|
1153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/UsageBasedPricingTerm AWS API Documentation
|
1154
|
+
#
|
1155
|
+
class UsageBasedPricingTerm < Struct.new(
|
1156
|
+
:currency_code,
|
1157
|
+
:rate_cards,
|
1158
|
+
:type)
|
1159
|
+
SENSITIVE = []
|
1160
|
+
include Aws::Structure
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
# Within the pay-as-you-go model defined under `UsageBasedPricingTerm`,
|
1164
|
+
# the `UsageBasedRateCardItem` defines an individual rate for a product
|
1165
|
+
# dimension.
|
1166
|
+
#
|
1167
|
+
# @!attribute [rw] rate_card
|
1168
|
+
# Defines the per unit rates for product dimensions.
|
1169
|
+
# @return [Array<Types::RateCardItem>]
|
1170
|
+
#
|
1171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/UsageBasedRateCardItem AWS API Documentation
|
1172
|
+
#
|
1173
|
+
class UsageBasedRateCardItem < Struct.new(
|
1174
|
+
:rate_card)
|
1175
|
+
SENSITIVE = []
|
1176
|
+
include Aws::Structure
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# The input fails to satisfy the constraints specified by the service.
|
1180
|
+
#
|
1181
|
+
# @!attribute [rw] fields
|
1182
|
+
# The fields associated with the error.
|
1183
|
+
# @return [Array<Types::ValidationExceptionField>]
|
1184
|
+
#
|
1185
|
+
# @!attribute [rw] message
|
1186
|
+
# @return [String]
|
1187
|
+
#
|
1188
|
+
# @!attribute [rw] reason
|
1189
|
+
# The reason associated with the error.
|
1190
|
+
# @return [String]
|
1191
|
+
#
|
1192
|
+
# @!attribute [rw] request_id
|
1193
|
+
# The unique identifier associated with the error.
|
1194
|
+
# @return [String]
|
1195
|
+
#
|
1196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ValidationException AWS API Documentation
|
1197
|
+
#
|
1198
|
+
class ValidationException < Struct.new(
|
1199
|
+
:fields,
|
1200
|
+
:message,
|
1201
|
+
:reason,
|
1202
|
+
:request_id)
|
1203
|
+
SENSITIVE = []
|
1204
|
+
include Aws::Structure
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
# The input fails to satisfy the constraints specified by the service.
|
1208
|
+
#
|
1209
|
+
# @!attribute [rw] message
|
1210
|
+
# See applicable actions.
|
1211
|
+
# @return [String]
|
1212
|
+
#
|
1213
|
+
# @!attribute [rw] name
|
1214
|
+
# The name of the field associated with the error.
|
1215
|
+
# @return [String]
|
1216
|
+
#
|
1217
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ValidationExceptionField AWS API Documentation
|
1218
|
+
#
|
1219
|
+
class ValidationExceptionField < Struct.new(
|
1220
|
+
:message,
|
1221
|
+
:name)
|
1222
|
+
SENSITIVE = []
|
1223
|
+
include Aws::Structure
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# Defines the conditions that will keep an agreement created from this
|
1227
|
+
# offer valid.
|
1228
|
+
#
|
1229
|
+
# @!attribute [rw] agreement_duration
|
1230
|
+
# Defines the duration that the agreement remains active. If
|
1231
|
+
# `AgreementStartDate` isn’t provided, the agreement duration is
|
1232
|
+
# relative to the agreement signature time. The duration is
|
1233
|
+
# represented in the ISO\_8601 format.
|
1234
|
+
# @return [String]
|
1235
|
+
#
|
1236
|
+
# @!attribute [rw] agreement_end_date
|
1237
|
+
# Defines the date when the agreement ends. The agreement ends at
|
1238
|
+
# 23:59:59.999 UTC on the date provided. If `AgreementEndDate` isn’t
|
1239
|
+
# provided, the agreement end date is determined by the validity of
|
1240
|
+
# individual terms.
|
1241
|
+
# @return [Time]
|
1242
|
+
#
|
1243
|
+
# @!attribute [rw] agreement_start_date
|
1244
|
+
# Defines the date when agreement starts. The agreement starts at
|
1245
|
+
# 00:00:00.000 UTC on the date provided. If `AgreementStartDate` isn’t
|
1246
|
+
# provided, the agreement start date is determined based on agreement
|
1247
|
+
# signature time.
|
1248
|
+
# @return [Time]
|
1249
|
+
#
|
1250
|
+
# @!attribute [rw] type
|
1251
|
+
# Category of the term being updated.
|
1252
|
+
# @return [String]
|
1253
|
+
#
|
1254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-agreement-2020-03-01/ValidityTerm AWS API Documentation
|
1255
|
+
#
|
1256
|
+
class ValidityTerm < Struct.new(
|
1257
|
+
:agreement_duration,
|
1258
|
+
:agreement_end_date,
|
1259
|
+
:agreement_start_date,
|
1260
|
+
:type)
|
1261
|
+
SENSITIVE = []
|
1262
|
+
include Aws::Structure
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
end
|
1266
|
+
end
|