aws-sdk-marketplaceagreement 1.28.0 → 1.29.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.
@@ -0,0 +1,15 @@
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
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::MarketplaceAgreement
13
+ module Waiters
14
+ end
15
+ end
@@ -49,12 +49,13 @@ module Aws::MarketplaceAgreement
49
49
  end
50
50
  autoload :Client, 'aws-sdk-marketplaceagreement/client'
51
51
  autoload :Errors, 'aws-sdk-marketplaceagreement/errors'
52
+ autoload :Waiters, 'aws-sdk-marketplaceagreement/waiters'
52
53
  autoload :Resource, 'aws-sdk-marketplaceagreement/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-marketplaceagreement/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-marketplaceagreement/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-marketplaceagreement/endpoints'
56
57
 
57
- GEM_VERSION = '1.28.0'
58
+ GEM_VERSION = '1.29.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -81,15 +81,15 @@ module Aws
81
81
 
82
82
  interface _DescribeAgreementResponseSuccess
83
83
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAgreementOutput]
84
- def acceptance_time: () -> ::Time
85
- def acceptor: () -> Types::Acceptor
86
84
  def agreement_id: () -> ::String
87
- def agreement_type: () -> ::String
85
+ def acceptor: () -> Types::Acceptor
86
+ def proposer: () -> Types::Proposer
87
+ def start_time: () -> ::Time
88
88
  def end_time: () -> ::Time
89
+ def acceptance_time: () -> ::Time
90
+ def agreement_type: () -> ::String
89
91
  def estimated_charges: () -> Types::EstimatedCharges
90
92
  def proposal_summary: () -> Types::ProposalSummary
91
- def proposer: () -> Types::Proposer
92
- def start_time: () -> ::Time
93
93
  def status: () -> ("ACTIVE" | "ARCHIVED" | "CANCELLED" | "EXPIRED" | "RENEWED" | "REPLACED" | "ROLLED_BACK" | "SUPERSEDED" | "TERMINATED")
94
94
  end
95
95
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MarketplaceAgreement/Client.html#describe_agreement-instance_method
@@ -125,12 +125,12 @@ module Aws
125
125
  values: Array[::String]?
126
126
  },
127
127
  ],
128
- ?max_results: ::Integer,
129
- ?next_token: ::String,
130
128
  ?sort: {
131
129
  sort_by: ::String?,
132
130
  sort_order: ("ASCENDING" | "DESCENDING")?
133
- }
131
+ },
132
+ ?max_results: ::Integer,
133
+ ?next_token: ::String
134
134
  ) -> _SearchAgreementsResponseSuccess
135
135
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchAgreementsResponseSuccess
136
136
  end
data/sig/errors.rbs CHANGED
@@ -12,28 +12,28 @@ module Aws
12
12
  end
13
13
 
14
14
  class AccessDeniedException < ::Aws::Errors::ServiceError
15
- def message: () -> ::String
16
15
  def request_id: () -> ::String
16
+ def message: () -> ::String
17
17
  end
18
18
  class InternalServerException < ::Aws::Errors::ServiceError
19
- def message: () -> ::String
20
19
  def request_id: () -> ::String
20
+ def message: () -> ::String
21
21
  end
22
22
  class ResourceNotFoundException < ::Aws::Errors::ServiceError
23
- def message: () -> ::String
24
23
  def request_id: () -> ::String
24
+ def message: () -> ::String
25
25
  def resource_id: () -> ::String
26
26
  def resource_type: () -> ::String
27
27
  end
28
28
  class ThrottlingException < ::Aws::Errors::ServiceError
29
- def message: () -> ::String
30
29
  def request_id: () -> ::String
30
+ def message: () -> ::String
31
31
  end
32
32
  class ValidationException < ::Aws::Errors::ServiceError
33
- def fields: () -> ::String
33
+ def request_id: () -> ::String
34
34
  def message: () -> ::String
35
35
  def reason: () -> ::String
36
- def request_id: () -> ::String
36
+ def fields: () -> ::String
37
37
  end
38
38
  end
39
39
  end
data/sig/types.rbs CHANGED
@@ -9,41 +9,44 @@ module Aws::MarketplaceAgreement
9
9
  module Types
10
10
 
11
11
  class AcceptedTerm
12
- attr_accessor byol_pricing_term: Types::ByolPricingTerm
13
- attr_accessor configurable_upfront_pricing_term: Types::ConfigurableUpfrontPricingTerm
14
- attr_accessor fixed_upfront_pricing_term: Types::FixedUpfrontPricingTerm
15
- attr_accessor free_trial_pricing_term: Types::FreeTrialPricingTerm
16
12
  attr_accessor legal_term: Types::LegalTerm
17
- attr_accessor payment_schedule_term: Types::PaymentScheduleTerm
18
- attr_accessor recurring_payment_term: Types::RecurringPaymentTerm
19
- attr_accessor renewal_term: Types::RenewalTerm
20
13
  attr_accessor support_term: Types::SupportTerm
14
+ attr_accessor renewal_term: Types::RenewalTerm
21
15
  attr_accessor usage_based_pricing_term: Types::UsageBasedPricingTerm
16
+ attr_accessor configurable_upfront_pricing_term: Types::ConfigurableUpfrontPricingTerm
17
+ attr_accessor byol_pricing_term: Types::ByolPricingTerm
18
+ attr_accessor recurring_payment_term: Types::RecurringPaymentTerm
22
19
  attr_accessor validity_term: Types::ValidityTerm
20
+ attr_accessor payment_schedule_term: Types::PaymentScheduleTerm
21
+ attr_accessor free_trial_pricing_term: Types::FreeTrialPricingTerm
22
+ attr_accessor fixed_upfront_pricing_term: Types::FixedUpfrontPricingTerm
23
+ attr_accessor variable_payment_term: Types::VariablePaymentTerm
23
24
  attr_accessor unknown: untyped
24
25
  SENSITIVE: []
25
26
 
26
- class ByolPricingTerm < AcceptedTerm
27
+ class LegalTerm < AcceptedTerm
27
28
  end
28
- class ConfigurableUpfrontPricingTerm < AcceptedTerm
29
+ class SupportTerm < AcceptedTerm
29
30
  end
30
- class FixedUpfrontPricingTerm < AcceptedTerm
31
+ class RenewalTerm < AcceptedTerm
31
32
  end
32
- class FreeTrialPricingTerm < AcceptedTerm
33
+ class UsageBasedPricingTerm < AcceptedTerm
33
34
  end
34
- class LegalTerm < AcceptedTerm
35
+ class ConfigurableUpfrontPricingTerm < AcceptedTerm
35
36
  end
36
- class PaymentScheduleTerm < AcceptedTerm
37
+ class ByolPricingTerm < AcceptedTerm
37
38
  end
38
39
  class RecurringPaymentTerm < AcceptedTerm
39
40
  end
40
- class RenewalTerm < AcceptedTerm
41
+ class ValidityTerm < AcceptedTerm
41
42
  end
42
- class SupportTerm < AcceptedTerm
43
+ class PaymentScheduleTerm < AcceptedTerm
43
44
  end
44
- class UsageBasedPricingTerm < AcceptedTerm
45
+ class FreeTrialPricingTerm < AcceptedTerm
45
46
  end
46
- class ValidityTerm < AcceptedTerm
47
+ class FixedUpfrontPricingTerm < AcceptedTerm
48
+ end
49
+ class VariablePaymentTerm < AcceptedTerm
47
50
  end
48
51
  class Unknown < AcceptedTerm
49
52
  end
@@ -55,20 +58,20 @@ module Aws::MarketplaceAgreement
55
58
  end
56
59
 
57
60
  class AccessDeniedException
58
- attr_accessor message: ::String
59
61
  attr_accessor request_id: ::String
62
+ attr_accessor message: ::String
60
63
  SENSITIVE: []
61
64
  end
62
65
 
63
66
  class AgreementViewSummary
64
- attr_accessor acceptance_time: ::Time
65
- attr_accessor acceptor: Types::Acceptor
66
67
  attr_accessor agreement_id: ::String
67
- attr_accessor agreement_type: ::String
68
+ attr_accessor acceptance_time: ::Time
69
+ attr_accessor start_time: ::Time
68
70
  attr_accessor end_time: ::Time
69
- attr_accessor proposal_summary: Types::ProposalSummary
71
+ attr_accessor agreement_type: ::String
72
+ attr_accessor acceptor: Types::Acceptor
70
73
  attr_accessor proposer: Types::Proposer
71
- attr_accessor start_time: ::Time
74
+ attr_accessor proposal_summary: Types::ProposalSummary
72
75
  attr_accessor status: ("ACTIVE" | "ARCHIVED" | "CANCELLED" | "EXPIRED" | "RENEWED" | "REPLACED" | "ROLLED_BACK" | "SUPERSEDED" | "TERMINATED")
73
76
  SENSITIVE: []
74
77
  end
@@ -79,23 +82,23 @@ module Aws::MarketplaceAgreement
79
82
  end
80
83
 
81
84
  class ConfigurableUpfrontPricingTerm
82
- attr_accessor configuration: Types::ConfigurableUpfrontPricingTermConfiguration
85
+ attr_accessor type: ::String
83
86
  attr_accessor currency_code: ::String
84
87
  attr_accessor rate_cards: ::Array[Types::ConfigurableUpfrontRateCardItem]
85
- attr_accessor type: ::String
88
+ attr_accessor configuration: Types::ConfigurableUpfrontPricingTermConfiguration
86
89
  SENSITIVE: []
87
90
  end
88
91
 
89
92
  class ConfigurableUpfrontPricingTermConfiguration
90
- attr_accessor dimensions: ::Array[Types::Dimension]
91
93
  attr_accessor selector_value: ::String
94
+ attr_accessor dimensions: ::Array[Types::Dimension]
92
95
  SENSITIVE: []
93
96
  end
94
97
 
95
98
  class ConfigurableUpfrontRateCardItem
99
+ attr_accessor selector: Types::Selector
96
100
  attr_accessor constraints: Types::Constraints
97
101
  attr_accessor rate_card: ::Array[Types::RateCardItem]
98
- attr_accessor selector: Types::Selector
99
102
  SENSITIVE: []
100
103
  end
101
104
 
@@ -111,15 +114,15 @@ module Aws::MarketplaceAgreement
111
114
  end
112
115
 
113
116
  class DescribeAgreementOutput
114
- attr_accessor acceptance_time: ::Time
115
- attr_accessor acceptor: Types::Acceptor
116
117
  attr_accessor agreement_id: ::String
117
- attr_accessor agreement_type: ::String
118
+ attr_accessor acceptor: Types::Acceptor
119
+ attr_accessor proposer: Types::Proposer
120
+ attr_accessor start_time: ::Time
118
121
  attr_accessor end_time: ::Time
122
+ attr_accessor acceptance_time: ::Time
123
+ attr_accessor agreement_type: ::String
119
124
  attr_accessor estimated_charges: Types::EstimatedCharges
120
125
  attr_accessor proposal_summary: Types::ProposalSummary
121
- attr_accessor proposer: Types::Proposer
122
- attr_accessor start_time: ::Time
123
126
  attr_accessor status: ("ACTIVE" | "ARCHIVED" | "CANCELLED" | "EXPIRED" | "RENEWED" | "REPLACED" | "ROLLED_BACK" | "SUPERSEDED" | "TERMINATED")
124
127
  SENSITIVE: []
125
128
  end
@@ -138,8 +141,8 @@ module Aws::MarketplaceAgreement
138
141
  end
139
142
 
140
143
  class EstimatedCharges
141
- attr_accessor agreement_value: ::String
142
144
  attr_accessor currency_code: ::String
145
+ attr_accessor agreement_value: ::String
143
146
  SENSITIVE: []
144
147
  end
145
148
 
@@ -150,18 +153,18 @@ module Aws::MarketplaceAgreement
150
153
  end
151
154
 
152
155
  class FixedUpfrontPricingTerm
156
+ attr_accessor type: ::String
153
157
  attr_accessor currency_code: ::String
154
158
  attr_accessor duration: ::String
155
- attr_accessor grants: ::Array[Types::GrantItem]
156
159
  attr_accessor price: ::String
157
- attr_accessor type: ::String
160
+ attr_accessor grants: ::Array[Types::GrantItem]
158
161
  SENSITIVE: []
159
162
  end
160
163
 
161
164
  class FreeTrialPricingTerm
165
+ attr_accessor type: ::String
162
166
  attr_accessor duration: ::String
163
167
  attr_accessor grants: ::Array[Types::GrantItem]
164
- attr_accessor type: ::String
165
168
  SENSITIVE: []
166
169
  end
167
170
 
@@ -185,27 +188,28 @@ module Aws::MarketplaceAgreement
185
188
  end
186
189
 
187
190
  class InternalServerException
188
- attr_accessor message: ::String
189
191
  attr_accessor request_id: ::String
192
+ attr_accessor message: ::String
190
193
  SENSITIVE: []
191
194
  end
192
195
 
193
196
  class LegalTerm
194
- attr_accessor documents: ::Array[Types::DocumentItem]
195
197
  attr_accessor type: ::String
198
+ attr_accessor documents: ::Array[Types::DocumentItem]
196
199
  SENSITIVE: []
197
200
  end
198
201
 
199
202
  class PaymentScheduleTerm
203
+ attr_accessor type: ::String
200
204
  attr_accessor currency_code: ::String
201
205
  attr_accessor schedule: ::Array[Types::ScheduleItem]
202
- attr_accessor type: ::String
203
206
  SENSITIVE: []
204
207
  end
205
208
 
206
209
  class ProposalSummary
207
- attr_accessor offer_id: ::String
208
210
  attr_accessor resources: ::Array[Types::Resource]
211
+ attr_accessor offer_id: ::String
212
+ attr_accessor offer_set_id: ::String
209
213
  SENSITIVE: []
210
214
  end
211
215
 
@@ -221,16 +225,16 @@ module Aws::MarketplaceAgreement
221
225
  end
222
226
 
223
227
  class RecurringPaymentTerm
224
- attr_accessor billing_period: ::String
228
+ attr_accessor type: ::String
225
229
  attr_accessor currency_code: ::String
230
+ attr_accessor billing_period: ::String
226
231
  attr_accessor price: ::String
227
- attr_accessor type: ::String
228
232
  SENSITIVE: []
229
233
  end
230
234
 
231
235
  class RenewalTerm
232
- attr_accessor configuration: Types::RenewalTermConfiguration
233
236
  attr_accessor type: ::String
237
+ attr_accessor configuration: Types::RenewalTermConfiguration
234
238
  SENSITIVE: []
235
239
  end
236
240
 
@@ -246,25 +250,25 @@ module Aws::MarketplaceAgreement
246
250
  end
247
251
 
248
252
  class ResourceNotFoundException
249
- attr_accessor message: ::String
250
253
  attr_accessor request_id: ::String
254
+ attr_accessor message: ::String
251
255
  attr_accessor resource_id: ::String
252
256
  attr_accessor resource_type: ("Agreement")
253
257
  SENSITIVE: []
254
258
  end
255
259
 
256
260
  class ScheduleItem
257
- attr_accessor charge_amount: ::String
258
261
  attr_accessor charge_date: ::Time
262
+ attr_accessor charge_amount: ::String
259
263
  SENSITIVE: []
260
264
  end
261
265
 
262
266
  class SearchAgreementsInput
263
267
  attr_accessor catalog: ::String
264
268
  attr_accessor filters: ::Array[Types::Filter]
269
+ attr_accessor sort: Types::Sort
265
270
  attr_accessor max_results: ::Integer
266
271
  attr_accessor next_token: ::String
267
- attr_accessor sort: Types::Sort
268
272
  SENSITIVE: []
269
273
  end
270
274
 
@@ -287,21 +291,21 @@ module Aws::MarketplaceAgreement
287
291
  end
288
292
 
289
293
  class SupportTerm
290
- attr_accessor refund_policy: ::String
291
294
  attr_accessor type: ::String
295
+ attr_accessor refund_policy: ::String
292
296
  SENSITIVE: []
293
297
  end
294
298
 
295
299
  class ThrottlingException
296
- attr_accessor message: ::String
297
300
  attr_accessor request_id: ::String
301
+ attr_accessor message: ::String
298
302
  SENSITIVE: []
299
303
  end
300
304
 
301
305
  class UsageBasedPricingTerm
306
+ attr_accessor type: ::String
302
307
  attr_accessor currency_code: ::String
303
308
  attr_accessor rate_cards: ::Array[Types::UsageBasedRateCardItem]
304
- attr_accessor type: ::String
305
309
  SENSITIVE: []
306
310
  end
307
311
 
@@ -311,24 +315,38 @@ module Aws::MarketplaceAgreement
311
315
  end
312
316
 
313
317
  class ValidationException
314
- attr_accessor fields: ::Array[Types::ValidationExceptionField]
318
+ attr_accessor request_id: ::String
315
319
  attr_accessor message: ::String
316
320
  attr_accessor reason: ("INVALID_AGREEMENT_ID" | "MISSING_AGREEMENT_ID" | "INVALID_CATALOG" | "INVALID_FILTER_NAME" | "INVALID_FILTER_VALUES" | "INVALID_SORT_BY" | "INVALID_SORT_ORDER" | "INVALID_NEXT_TOKEN" | "INVALID_MAX_RESULTS" | "UNSUPPORTED_FILTERS" | "OTHER")
317
- attr_accessor request_id: ::String
321
+ attr_accessor fields: ::Array[Types::ValidationExceptionField]
318
322
  SENSITIVE: []
319
323
  end
320
324
 
321
325
  class ValidationExceptionField
322
- attr_accessor message: ::String
323
326
  attr_accessor name: ::String
327
+ attr_accessor message: ::String
324
328
  SENSITIVE: []
325
329
  end
326
330
 
327
331
  class ValidityTerm
332
+ attr_accessor type: ::String
328
333
  attr_accessor agreement_duration: ::String
329
- attr_accessor agreement_end_date: ::Time
330
334
  attr_accessor agreement_start_date: ::Time
335
+ attr_accessor agreement_end_date: ::Time
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class VariablePaymentTerm
331
340
  attr_accessor type: ::String
341
+ attr_accessor currency_code: ::String
342
+ attr_accessor max_total_charge_amount: ::String
343
+ attr_accessor configuration: Types::VariablePaymentTermConfiguration
344
+ SENSITIVE: []
345
+ end
346
+
347
+ class VariablePaymentTermConfiguration
348
+ attr_accessor payment_request_approval_strategy: ("AUTO_APPROVE_ON_EXPIRATION" | "WAIT_FOR_APPROVAL")
349
+ attr_accessor expiration_duration: ::String
332
350
  SENSITIVE: []
333
351
  end
334
352
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-marketplaceagreement
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '1.1'
38
+ version: '1.5'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: '1.1'
45
+ version: '1.5'
46
46
  description: Official AWS Ruby gem for AWS Marketplace Agreement Service (Agreement
47
47
  Service). This gem is part of the AWS SDK for Ruby.
48
48
  email:
@@ -65,6 +65,7 @@ files:
65
65
  - lib/aws-sdk-marketplaceagreement/plugins/endpoints.rb
66
66
  - lib/aws-sdk-marketplaceagreement/resource.rb
67
67
  - lib/aws-sdk-marketplaceagreement/types.rb
68
+ - lib/aws-sdk-marketplaceagreement/waiters.rb
68
69
  - sig/client.rbs
69
70
  - sig/errors.rbs
70
71
  - sig/resource.rbs