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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-marketplaceagreement/client.rb +157 -101
- data/lib/aws-sdk-marketplaceagreement/client_api.rb +73 -53
- data/lib/aws-sdk-marketplaceagreement/errors.rb +20 -20
- data/lib/aws-sdk-marketplaceagreement/types.rb +336 -267
- data/lib/aws-sdk-marketplaceagreement/waiters.rb +15 -0
- data/lib/aws-sdk-marketplaceagreement.rb +2 -1
- data/sig/client.rbs +8 -8
- data/sig/errors.rbs +6 -6
- data/sig/types.rbs +71 -53
- metadata +4 -3
|
@@ -53,11 +53,14 @@ module Aws::MarketplaceAgreement
|
|
|
53
53
|
GetAgreementTermsOutput = Shapes::StructureShape.new(name: 'GetAgreementTermsOutput')
|
|
54
54
|
GrantItem = Shapes::StructureShape.new(name: 'GrantItem')
|
|
55
55
|
GrantList = Shapes::ListShape.new(name: 'GrantList')
|
|
56
|
+
ISO8601Duration = Shapes::StringShape.new(name: 'ISO8601Duration')
|
|
56
57
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
57
58
|
LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
|
|
58
59
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
59
60
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
60
61
|
OfferId = Shapes::StringShape.new(name: 'OfferId')
|
|
62
|
+
OfferSetId = Shapes::StringShape.new(name: 'OfferSetId')
|
|
63
|
+
PaymentRequestApprovalStrategy = Shapes::StringShape.new(name: 'PaymentRequestApprovalStrategy')
|
|
61
64
|
PaymentScheduleTerm = Shapes::StructureShape.new(name: 'PaymentScheduleTerm')
|
|
62
65
|
PositiveIntegerWithDefaultValueOne = Shapes::IntegerShape.new(name: 'PositiveIntegerWithDefaultValueOne')
|
|
63
66
|
ProposalSummary = Shapes::StructureShape.new(name: 'ProposalSummary')
|
|
@@ -93,31 +96,35 @@ module Aws::MarketplaceAgreement
|
|
|
93
96
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
|
94
97
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
|
95
98
|
ValidityTerm = Shapes::StructureShape.new(name: 'ValidityTerm')
|
|
99
|
+
VariablePaymentTerm = Shapes::StructureShape.new(name: 'VariablePaymentTerm')
|
|
100
|
+
VariablePaymentTermConfiguration = Shapes::StructureShape.new(name: 'VariablePaymentTermConfiguration')
|
|
96
101
|
ZeroValueInteger = Shapes::IntegerShape.new(name: 'ZeroValueInteger')
|
|
97
102
|
|
|
98
|
-
AcceptedTerm.add_member(:byol_pricing_term, Shapes::ShapeRef.new(shape: ByolPricingTerm, location_name: "byolPricingTerm"))
|
|
99
|
-
AcceptedTerm.add_member(:configurable_upfront_pricing_term, Shapes::ShapeRef.new(shape: ConfigurableUpfrontPricingTerm, location_name: "configurableUpfrontPricingTerm"))
|
|
100
|
-
AcceptedTerm.add_member(:fixed_upfront_pricing_term, Shapes::ShapeRef.new(shape: FixedUpfrontPricingTerm, location_name: "fixedUpfrontPricingTerm"))
|
|
101
|
-
AcceptedTerm.add_member(:free_trial_pricing_term, Shapes::ShapeRef.new(shape: FreeTrialPricingTerm, location_name: "freeTrialPricingTerm"))
|
|
102
103
|
AcceptedTerm.add_member(:legal_term, Shapes::ShapeRef.new(shape: LegalTerm, location_name: "legalTerm"))
|
|
103
|
-
AcceptedTerm.add_member(:payment_schedule_term, Shapes::ShapeRef.new(shape: PaymentScheduleTerm, location_name: "paymentScheduleTerm"))
|
|
104
|
-
AcceptedTerm.add_member(:recurring_payment_term, Shapes::ShapeRef.new(shape: RecurringPaymentTerm, location_name: "recurringPaymentTerm"))
|
|
105
|
-
AcceptedTerm.add_member(:renewal_term, Shapes::ShapeRef.new(shape: RenewalTerm, location_name: "renewalTerm"))
|
|
106
104
|
AcceptedTerm.add_member(:support_term, Shapes::ShapeRef.new(shape: SupportTerm, location_name: "supportTerm"))
|
|
105
|
+
AcceptedTerm.add_member(:renewal_term, Shapes::ShapeRef.new(shape: RenewalTerm, location_name: "renewalTerm"))
|
|
107
106
|
AcceptedTerm.add_member(:usage_based_pricing_term, Shapes::ShapeRef.new(shape: UsageBasedPricingTerm, location_name: "usageBasedPricingTerm"))
|
|
107
|
+
AcceptedTerm.add_member(:configurable_upfront_pricing_term, Shapes::ShapeRef.new(shape: ConfigurableUpfrontPricingTerm, location_name: "configurableUpfrontPricingTerm"))
|
|
108
|
+
AcceptedTerm.add_member(:byol_pricing_term, Shapes::ShapeRef.new(shape: ByolPricingTerm, location_name: "byolPricingTerm"))
|
|
109
|
+
AcceptedTerm.add_member(:recurring_payment_term, Shapes::ShapeRef.new(shape: RecurringPaymentTerm, location_name: "recurringPaymentTerm"))
|
|
108
110
|
AcceptedTerm.add_member(:validity_term, Shapes::ShapeRef.new(shape: ValidityTerm, location_name: "validityTerm"))
|
|
111
|
+
AcceptedTerm.add_member(:payment_schedule_term, Shapes::ShapeRef.new(shape: PaymentScheduleTerm, location_name: "paymentScheduleTerm"))
|
|
112
|
+
AcceptedTerm.add_member(:free_trial_pricing_term, Shapes::ShapeRef.new(shape: FreeTrialPricingTerm, location_name: "freeTrialPricingTerm"))
|
|
113
|
+
AcceptedTerm.add_member(:fixed_upfront_pricing_term, Shapes::ShapeRef.new(shape: FixedUpfrontPricingTerm, location_name: "fixedUpfrontPricingTerm"))
|
|
114
|
+
AcceptedTerm.add_member(:variable_payment_term, Shapes::ShapeRef.new(shape: VariablePaymentTerm, location_name: "variablePaymentTerm"))
|
|
109
115
|
AcceptedTerm.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
110
|
-
AcceptedTerm.add_member_subclass(:byol_pricing_term, Types::AcceptedTerm::ByolPricingTerm)
|
|
111
|
-
AcceptedTerm.add_member_subclass(:configurable_upfront_pricing_term, Types::AcceptedTerm::ConfigurableUpfrontPricingTerm)
|
|
112
|
-
AcceptedTerm.add_member_subclass(:fixed_upfront_pricing_term, Types::AcceptedTerm::FixedUpfrontPricingTerm)
|
|
113
|
-
AcceptedTerm.add_member_subclass(:free_trial_pricing_term, Types::AcceptedTerm::FreeTrialPricingTerm)
|
|
114
116
|
AcceptedTerm.add_member_subclass(:legal_term, Types::AcceptedTerm::LegalTerm)
|
|
115
|
-
AcceptedTerm.add_member_subclass(:payment_schedule_term, Types::AcceptedTerm::PaymentScheduleTerm)
|
|
116
|
-
AcceptedTerm.add_member_subclass(:recurring_payment_term, Types::AcceptedTerm::RecurringPaymentTerm)
|
|
117
|
-
AcceptedTerm.add_member_subclass(:renewal_term, Types::AcceptedTerm::RenewalTerm)
|
|
118
117
|
AcceptedTerm.add_member_subclass(:support_term, Types::AcceptedTerm::SupportTerm)
|
|
118
|
+
AcceptedTerm.add_member_subclass(:renewal_term, Types::AcceptedTerm::RenewalTerm)
|
|
119
119
|
AcceptedTerm.add_member_subclass(:usage_based_pricing_term, Types::AcceptedTerm::UsageBasedPricingTerm)
|
|
120
|
+
AcceptedTerm.add_member_subclass(:configurable_upfront_pricing_term, Types::AcceptedTerm::ConfigurableUpfrontPricingTerm)
|
|
121
|
+
AcceptedTerm.add_member_subclass(:byol_pricing_term, Types::AcceptedTerm::ByolPricingTerm)
|
|
122
|
+
AcceptedTerm.add_member_subclass(:recurring_payment_term, Types::AcceptedTerm::RecurringPaymentTerm)
|
|
120
123
|
AcceptedTerm.add_member_subclass(:validity_term, Types::AcceptedTerm::ValidityTerm)
|
|
124
|
+
AcceptedTerm.add_member_subclass(:payment_schedule_term, Types::AcceptedTerm::PaymentScheduleTerm)
|
|
125
|
+
AcceptedTerm.add_member_subclass(:free_trial_pricing_term, Types::AcceptedTerm::FreeTrialPricingTerm)
|
|
126
|
+
AcceptedTerm.add_member_subclass(:fixed_upfront_pricing_term, Types::AcceptedTerm::FixedUpfrontPricingTerm)
|
|
127
|
+
AcceptedTerm.add_member_subclass(:variable_payment_term, Types::AcceptedTerm::VariablePaymentTerm)
|
|
121
128
|
AcceptedTerm.add_member_subclass(:unknown, Types::AcceptedTerm::Unknown)
|
|
122
129
|
AcceptedTerm.struct_class = Types::AcceptedTerm
|
|
123
130
|
|
|
@@ -126,18 +133,18 @@ module Aws::MarketplaceAgreement
|
|
|
126
133
|
Acceptor.add_member(:account_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "accountId"))
|
|
127
134
|
Acceptor.struct_class = Types::Acceptor
|
|
128
135
|
|
|
129
|
-
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
130
136
|
AccessDeniedException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "requestId"))
|
|
137
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
131
138
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
132
139
|
|
|
133
|
-
AgreementViewSummary.add_member(:acceptance_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "acceptanceTime"))
|
|
134
|
-
AgreementViewSummary.add_member(:acceptor, Shapes::ShapeRef.new(shape: Acceptor, location_name: "acceptor"))
|
|
135
140
|
AgreementViewSummary.add_member(:agreement_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "agreementId"))
|
|
136
|
-
AgreementViewSummary.add_member(:
|
|
141
|
+
AgreementViewSummary.add_member(:acceptance_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "acceptanceTime"))
|
|
142
|
+
AgreementViewSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
|
137
143
|
AgreementViewSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
|
138
|
-
AgreementViewSummary.add_member(:
|
|
144
|
+
AgreementViewSummary.add_member(:agreement_type, Shapes::ShapeRef.new(shape: AgreementType, location_name: "agreementType"))
|
|
145
|
+
AgreementViewSummary.add_member(:acceptor, Shapes::ShapeRef.new(shape: Acceptor, location_name: "acceptor"))
|
|
139
146
|
AgreementViewSummary.add_member(:proposer, Shapes::ShapeRef.new(shape: Proposer, location_name: "proposer"))
|
|
140
|
-
AgreementViewSummary.add_member(:
|
|
147
|
+
AgreementViewSummary.add_member(:proposal_summary, Shapes::ShapeRef.new(shape: ProposalSummary, location_name: "proposalSummary"))
|
|
141
148
|
AgreementViewSummary.add_member(:status, Shapes::ShapeRef.new(shape: AgreementStatus, location_name: "status"))
|
|
142
149
|
AgreementViewSummary.struct_class = Types::AgreementViewSummary
|
|
143
150
|
|
|
@@ -146,19 +153,19 @@ module Aws::MarketplaceAgreement
|
|
|
146
153
|
ByolPricingTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
147
154
|
ByolPricingTerm.struct_class = Types::ByolPricingTerm
|
|
148
155
|
|
|
149
|
-
ConfigurableUpfrontPricingTerm.add_member(:
|
|
156
|
+
ConfigurableUpfrontPricingTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
150
157
|
ConfigurableUpfrontPricingTerm.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
|
|
151
158
|
ConfigurableUpfrontPricingTerm.add_member(:rate_cards, Shapes::ShapeRef.new(shape: ConfigurableUpfrontRateCardList, location_name: "rateCards"))
|
|
152
|
-
ConfigurableUpfrontPricingTerm.add_member(:
|
|
159
|
+
ConfigurableUpfrontPricingTerm.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurableUpfrontPricingTermConfiguration, location_name: "configuration"))
|
|
153
160
|
ConfigurableUpfrontPricingTerm.struct_class = Types::ConfigurableUpfrontPricingTerm
|
|
154
161
|
|
|
155
|
-
ConfigurableUpfrontPricingTermConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionList, required: true, location_name: "dimensions"))
|
|
156
162
|
ConfigurableUpfrontPricingTermConfiguration.add_member(:selector_value, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "selectorValue"))
|
|
163
|
+
ConfigurableUpfrontPricingTermConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionList, required: true, location_name: "dimensions"))
|
|
157
164
|
ConfigurableUpfrontPricingTermConfiguration.struct_class = Types::ConfigurableUpfrontPricingTermConfiguration
|
|
158
165
|
|
|
166
|
+
ConfigurableUpfrontRateCardItem.add_member(:selector, Shapes::ShapeRef.new(shape: Selector, location_name: "selector"))
|
|
159
167
|
ConfigurableUpfrontRateCardItem.add_member(:constraints, Shapes::ShapeRef.new(shape: Constraints, location_name: "constraints"))
|
|
160
168
|
ConfigurableUpfrontRateCardItem.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCardList, location_name: "rateCard"))
|
|
161
|
-
ConfigurableUpfrontRateCardItem.add_member(:selector, Shapes::ShapeRef.new(shape: Selector, location_name: "selector"))
|
|
162
169
|
ConfigurableUpfrontRateCardItem.struct_class = Types::ConfigurableUpfrontRateCardItem
|
|
163
170
|
|
|
164
171
|
ConfigurableUpfrontRateCardList.member = Shapes::ShapeRef.new(shape: ConfigurableUpfrontRateCardItem)
|
|
@@ -170,15 +177,15 @@ module Aws::MarketplaceAgreement
|
|
|
170
177
|
DescribeAgreementInput.add_member(:agreement_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "agreementId"))
|
|
171
178
|
DescribeAgreementInput.struct_class = Types::DescribeAgreementInput
|
|
172
179
|
|
|
173
|
-
DescribeAgreementOutput.add_member(:acceptance_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "acceptanceTime"))
|
|
174
|
-
DescribeAgreementOutput.add_member(:acceptor, Shapes::ShapeRef.new(shape: Acceptor, location_name: "acceptor"))
|
|
175
180
|
DescribeAgreementOutput.add_member(:agreement_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "agreementId"))
|
|
176
|
-
DescribeAgreementOutput.add_member(:
|
|
181
|
+
DescribeAgreementOutput.add_member(:acceptor, Shapes::ShapeRef.new(shape: Acceptor, location_name: "acceptor"))
|
|
182
|
+
DescribeAgreementOutput.add_member(:proposer, Shapes::ShapeRef.new(shape: Proposer, location_name: "proposer"))
|
|
183
|
+
DescribeAgreementOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
|
177
184
|
DescribeAgreementOutput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
|
185
|
+
DescribeAgreementOutput.add_member(:acceptance_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "acceptanceTime"))
|
|
186
|
+
DescribeAgreementOutput.add_member(:agreement_type, Shapes::ShapeRef.new(shape: AgreementType, location_name: "agreementType"))
|
|
178
187
|
DescribeAgreementOutput.add_member(:estimated_charges, Shapes::ShapeRef.new(shape: EstimatedCharges, location_name: "estimatedCharges"))
|
|
179
188
|
DescribeAgreementOutput.add_member(:proposal_summary, Shapes::ShapeRef.new(shape: ProposalSummary, location_name: "proposalSummary"))
|
|
180
|
-
DescribeAgreementOutput.add_member(:proposer, Shapes::ShapeRef.new(shape: Proposer, location_name: "proposer"))
|
|
181
|
-
DescribeAgreementOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
|
182
189
|
DescribeAgreementOutput.add_member(:status, Shapes::ShapeRef.new(shape: AgreementStatus, location_name: "status"))
|
|
183
190
|
DescribeAgreementOutput.struct_class = Types::DescribeAgreementOutput
|
|
184
191
|
|
|
@@ -195,8 +202,8 @@ module Aws::MarketplaceAgreement
|
|
|
195
202
|
|
|
196
203
|
DocumentList.member = Shapes::ShapeRef.new(shape: DocumentItem)
|
|
197
204
|
|
|
198
|
-
EstimatedCharges.add_member(:agreement_value, Shapes::ShapeRef.new(shape: BoundedString, location_name: "agreementValue"))
|
|
199
205
|
EstimatedCharges.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
|
|
206
|
+
EstimatedCharges.add_member(:agreement_value, Shapes::ShapeRef.new(shape: BoundedString, location_name: "agreementValue"))
|
|
200
207
|
EstimatedCharges.struct_class = Types::EstimatedCharges
|
|
201
208
|
|
|
202
209
|
Filter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "name"))
|
|
@@ -207,16 +214,16 @@ module Aws::MarketplaceAgreement
|
|
|
207
214
|
|
|
208
215
|
FilterValueList.member = Shapes::ShapeRef.new(shape: FilterValue)
|
|
209
216
|
|
|
217
|
+
FixedUpfrontPricingTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
210
218
|
FixedUpfrontPricingTerm.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
|
|
211
219
|
FixedUpfrontPricingTerm.add_member(:duration, Shapes::ShapeRef.new(shape: BoundedString, location_name: "duration"))
|
|
212
|
-
FixedUpfrontPricingTerm.add_member(:grants, Shapes::ShapeRef.new(shape: GrantList, location_name: "grants"))
|
|
213
220
|
FixedUpfrontPricingTerm.add_member(:price, Shapes::ShapeRef.new(shape: BoundedString, location_name: "price"))
|
|
214
|
-
FixedUpfrontPricingTerm.add_member(:
|
|
221
|
+
FixedUpfrontPricingTerm.add_member(:grants, Shapes::ShapeRef.new(shape: GrantList, location_name: "grants"))
|
|
215
222
|
FixedUpfrontPricingTerm.struct_class = Types::FixedUpfrontPricingTerm
|
|
216
223
|
|
|
224
|
+
FreeTrialPricingTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
217
225
|
FreeTrialPricingTerm.add_member(:duration, Shapes::ShapeRef.new(shape: BoundedString, location_name: "duration"))
|
|
218
226
|
FreeTrialPricingTerm.add_member(:grants, Shapes::ShapeRef.new(shape: GrantList, location_name: "grants"))
|
|
219
|
-
FreeTrialPricingTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
220
227
|
FreeTrialPricingTerm.struct_class = Types::FreeTrialPricingTerm
|
|
221
228
|
|
|
222
229
|
GetAgreementTermsInput.add_member(:agreement_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "agreementId"))
|
|
@@ -234,21 +241,22 @@ module Aws::MarketplaceAgreement
|
|
|
234
241
|
|
|
235
242
|
GrantList.member = Shapes::ShapeRef.new(shape: GrantItem)
|
|
236
243
|
|
|
237
|
-
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
238
244
|
InternalServerException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "requestId"))
|
|
245
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
239
246
|
InternalServerException.struct_class = Types::InternalServerException
|
|
240
247
|
|
|
241
|
-
LegalTerm.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentList, location_name: "documents"))
|
|
242
248
|
LegalTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
249
|
+
LegalTerm.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentList, location_name: "documents"))
|
|
243
250
|
LegalTerm.struct_class = Types::LegalTerm
|
|
244
251
|
|
|
252
|
+
PaymentScheduleTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
245
253
|
PaymentScheduleTerm.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
|
|
246
254
|
PaymentScheduleTerm.add_member(:schedule, Shapes::ShapeRef.new(shape: ScheduleList, location_name: "schedule"))
|
|
247
|
-
PaymentScheduleTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
248
255
|
PaymentScheduleTerm.struct_class = Types::PaymentScheduleTerm
|
|
249
256
|
|
|
250
|
-
ProposalSummary.add_member(:offer_id, Shapes::ShapeRef.new(shape: OfferId, location_name: "offerId"))
|
|
251
257
|
ProposalSummary.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "resources"))
|
|
258
|
+
ProposalSummary.add_member(:offer_id, Shapes::ShapeRef.new(shape: OfferId, location_name: "offerId"))
|
|
259
|
+
ProposalSummary.add_member(:offer_set_id, Shapes::ShapeRef.new(shape: OfferSetId, location_name: "offerSetId"))
|
|
252
260
|
ProposalSummary.struct_class = Types::ProposalSummary
|
|
253
261
|
|
|
254
262
|
Proposer.add_member(:account_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "accountId"))
|
|
@@ -260,14 +268,14 @@ module Aws::MarketplaceAgreement
|
|
|
260
268
|
|
|
261
269
|
RateCardList.member = Shapes::ShapeRef.new(shape: RateCardItem)
|
|
262
270
|
|
|
263
|
-
RecurringPaymentTerm.add_member(:
|
|
271
|
+
RecurringPaymentTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
264
272
|
RecurringPaymentTerm.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
|
|
273
|
+
RecurringPaymentTerm.add_member(:billing_period, Shapes::ShapeRef.new(shape: BoundedString, location_name: "billingPeriod"))
|
|
265
274
|
RecurringPaymentTerm.add_member(:price, Shapes::ShapeRef.new(shape: BoundedString, location_name: "price"))
|
|
266
|
-
RecurringPaymentTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
267
275
|
RecurringPaymentTerm.struct_class = Types::RecurringPaymentTerm
|
|
268
276
|
|
|
269
|
-
RenewalTerm.add_member(:configuration, Shapes::ShapeRef.new(shape: RenewalTermConfiguration, location_name: "configuration"))
|
|
270
277
|
RenewalTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
278
|
+
RenewalTerm.add_member(:configuration, Shapes::ShapeRef.new(shape: RenewalTermConfiguration, location_name: "configuration"))
|
|
271
279
|
RenewalTerm.struct_class = Types::RenewalTerm
|
|
272
280
|
|
|
273
281
|
RenewalTermConfiguration.add_member(:enable_auto_renew, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enableAutoRenew"))
|
|
@@ -277,25 +285,25 @@ module Aws::MarketplaceAgreement
|
|
|
277
285
|
Resource.add_member(:type, Shapes::ShapeRef.new(shape: AgreementResourceType, location_name: "type"))
|
|
278
286
|
Resource.struct_class = Types::Resource
|
|
279
287
|
|
|
280
|
-
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
281
288
|
ResourceNotFoundException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "requestId"))
|
|
289
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
282
290
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
|
|
283
291
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
|
284
292
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
285
293
|
|
|
286
294
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
|
287
295
|
|
|
288
|
-
ScheduleItem.add_member(:charge_amount, Shapes::ShapeRef.new(shape: BoundedString, location_name: "chargeAmount"))
|
|
289
296
|
ScheduleItem.add_member(:charge_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "chargeDate"))
|
|
297
|
+
ScheduleItem.add_member(:charge_amount, Shapes::ShapeRef.new(shape: BoundedString, location_name: "chargeAmount"))
|
|
290
298
|
ScheduleItem.struct_class = Types::ScheduleItem
|
|
291
299
|
|
|
292
300
|
ScheduleList.member = Shapes::ShapeRef.new(shape: ScheduleItem)
|
|
293
301
|
|
|
294
302
|
SearchAgreementsInput.add_member(:catalog, Shapes::ShapeRef.new(shape: Catalog, location_name: "catalog"))
|
|
295
303
|
SearchAgreementsInput.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "filters"))
|
|
304
|
+
SearchAgreementsInput.add_member(:sort, Shapes::ShapeRef.new(shape: Sort, location_name: "sort"))
|
|
296
305
|
SearchAgreementsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
|
297
306
|
SearchAgreementsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
298
|
-
SearchAgreementsInput.add_member(:sort, Shapes::ShapeRef.new(shape: Sort, location_name: "sort"))
|
|
299
307
|
SearchAgreementsInput.struct_class = Types::SearchAgreementsInput
|
|
300
308
|
|
|
301
309
|
SearchAgreementsOutput.add_member(:agreement_view_summaries, Shapes::ShapeRef.new(shape: AgreementViewSummaryList, location_name: "agreementViewSummaries"))
|
|
@@ -310,17 +318,17 @@ module Aws::MarketplaceAgreement
|
|
|
310
318
|
Sort.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
|
|
311
319
|
Sort.struct_class = Types::Sort
|
|
312
320
|
|
|
313
|
-
SupportTerm.add_member(:refund_policy, Shapes::ShapeRef.new(shape: BoundedString, location_name: "refundPolicy"))
|
|
314
321
|
SupportTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
322
|
+
SupportTerm.add_member(:refund_policy, Shapes::ShapeRef.new(shape: BoundedString, location_name: "refundPolicy"))
|
|
315
323
|
SupportTerm.struct_class = Types::SupportTerm
|
|
316
324
|
|
|
317
|
-
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
318
325
|
ThrottlingException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "requestId"))
|
|
326
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
319
327
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
320
328
|
|
|
329
|
+
UsageBasedPricingTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
321
330
|
UsageBasedPricingTerm.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
|
|
322
331
|
UsageBasedPricingTerm.add_member(:rate_cards, Shapes::ShapeRef.new(shape: UsageBasedRateCardList, location_name: "rateCards"))
|
|
323
|
-
UsageBasedPricingTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
324
332
|
UsageBasedPricingTerm.struct_class = Types::UsageBasedPricingTerm
|
|
325
333
|
|
|
326
334
|
UsageBasedRateCardItem.add_member(:rate_card, Shapes::ShapeRef.new(shape: RateCardList, location_name: "rateCard"))
|
|
@@ -328,24 +336,34 @@ module Aws::MarketplaceAgreement
|
|
|
328
336
|
|
|
329
337
|
UsageBasedRateCardList.member = Shapes::ShapeRef.new(shape: UsageBasedRateCardItem)
|
|
330
338
|
|
|
331
|
-
ValidationException.add_member(:
|
|
339
|
+
ValidationException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "requestId"))
|
|
332
340
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
333
341
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
|
|
334
|
-
ValidationException.add_member(:
|
|
342
|
+
ValidationException.add_member(:fields, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fields"))
|
|
335
343
|
ValidationException.struct_class = Types::ValidationException
|
|
336
344
|
|
|
337
|
-
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "message"))
|
|
338
345
|
ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "name"))
|
|
346
|
+
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: BoundedString, required: true, location_name: "message"))
|
|
339
347
|
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
|
340
348
|
|
|
341
349
|
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
|
342
350
|
|
|
351
|
+
ValidityTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
343
352
|
ValidityTerm.add_member(:agreement_duration, Shapes::ShapeRef.new(shape: BoundedString, location_name: "agreementDuration"))
|
|
344
|
-
ValidityTerm.add_member(:agreement_end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "agreementEndDate"))
|
|
345
353
|
ValidityTerm.add_member(:agreement_start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "agreementStartDate"))
|
|
346
|
-
ValidityTerm.add_member(:
|
|
354
|
+
ValidityTerm.add_member(:agreement_end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "agreementEndDate"))
|
|
347
355
|
ValidityTerm.struct_class = Types::ValidityTerm
|
|
348
356
|
|
|
357
|
+
VariablePaymentTerm.add_member(:type, Shapes::ShapeRef.new(shape: UnversionedTermType, location_name: "type"))
|
|
358
|
+
VariablePaymentTerm.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
|
|
359
|
+
VariablePaymentTerm.add_member(:max_total_charge_amount, Shapes::ShapeRef.new(shape: BoundedString, location_name: "maxTotalChargeAmount"))
|
|
360
|
+
VariablePaymentTerm.add_member(:configuration, Shapes::ShapeRef.new(shape: VariablePaymentTermConfiguration, location_name: "configuration"))
|
|
361
|
+
VariablePaymentTerm.struct_class = Types::VariablePaymentTerm
|
|
362
|
+
|
|
363
|
+
VariablePaymentTermConfiguration.add_member(:payment_request_approval_strategy, Shapes::ShapeRef.new(shape: PaymentRequestApprovalStrategy, required: true, location_name: "paymentRequestApprovalStrategy"))
|
|
364
|
+
VariablePaymentTermConfiguration.add_member(:expiration_duration, Shapes::ShapeRef.new(shape: ISO8601Duration, location_name: "expirationDuration"))
|
|
365
|
+
VariablePaymentTermConfiguration.struct_class = Types::VariablePaymentTermConfiguration
|
|
366
|
+
|
|
349
367
|
|
|
350
368
|
# @api private
|
|
351
369
|
API = Seahorse::Model::Api.new.tap do |api|
|
|
@@ -354,9 +372,11 @@ module Aws::MarketplaceAgreement
|
|
|
354
372
|
|
|
355
373
|
api.metadata = {
|
|
356
374
|
"apiVersion" => "2020-03-01",
|
|
375
|
+
"auth" => ["aws.auth#sigv4"],
|
|
357
376
|
"endpointPrefix" => "agreement-marketplace",
|
|
358
377
|
"jsonVersion" => "1.0",
|
|
359
378
|
"protocol" => "json",
|
|
379
|
+
"protocols" => ["json"],
|
|
360
380
|
"serviceAbbreviation" => "Agreement Service",
|
|
361
381
|
"serviceFullName" => "AWS Marketplace Agreement Service",
|
|
362
382
|
"serviceId" => "Marketplace Agreement",
|
|
@@ -374,8 +394,8 @@ module Aws::MarketplaceAgreement
|
|
|
374
394
|
o.output = Shapes::ShapeRef.new(shape: DescribeAgreementOutput)
|
|
375
395
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
376
396
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
377
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
378
397
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
379
399
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
380
400
|
end)
|
|
381
401
|
|
|
@@ -387,8 +407,8 @@ module Aws::MarketplaceAgreement
|
|
|
387
407
|
o.output = Shapes::ShapeRef.new(shape: GetAgreementTermsOutput)
|
|
388
408
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
389
409
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
390
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
391
410
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
392
412
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
393
413
|
o[:pager] = Aws::Pager.new(
|
|
394
414
|
limit_key: "max_results",
|
|
@@ -49,13 +49,13 @@ module Aws::MarketplaceAgreement
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# @return [String]
|
|
52
|
-
def
|
|
53
|
-
@
|
|
52
|
+
def request_id
|
|
53
|
+
@data[:request_id]
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
# @return [String]
|
|
57
|
-
def
|
|
58
|
-
@data[:
|
|
57
|
+
def message
|
|
58
|
+
@message || @data[:message]
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
|
|
@@ -69,13 +69,13 @@ module Aws::MarketplaceAgreement
|
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
# @return [String]
|
|
72
|
-
def
|
|
73
|
-
@
|
|
72
|
+
def request_id
|
|
73
|
+
@data[:request_id]
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
# @return [String]
|
|
77
|
-
def
|
|
78
|
-
@data[:
|
|
77
|
+
def message
|
|
78
|
+
@message || @data[:message]
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
@@ -89,13 +89,13 @@ module Aws::MarketplaceAgreement
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
# @return [String]
|
|
92
|
-
def
|
|
93
|
-
@
|
|
92
|
+
def request_id
|
|
93
|
+
@data[:request_id]
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
# @return [String]
|
|
97
|
-
def
|
|
98
|
-
@data[:
|
|
97
|
+
def message
|
|
98
|
+
@message || @data[:message]
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# @return [String]
|
|
@@ -119,13 +119,13 @@ module Aws::MarketplaceAgreement
|
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
# @return [String]
|
|
122
|
-
def
|
|
123
|
-
@
|
|
122
|
+
def request_id
|
|
123
|
+
@data[:request_id]
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
# @return [String]
|
|
127
|
-
def
|
|
128
|
-
@data[:
|
|
127
|
+
def message
|
|
128
|
+
@message || @data[:message]
|
|
129
129
|
end
|
|
130
130
|
end
|
|
131
131
|
|
|
@@ -139,8 +139,8 @@ module Aws::MarketplaceAgreement
|
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
# @return [String]
|
|
142
|
-
def
|
|
143
|
-
@data[:
|
|
142
|
+
def request_id
|
|
143
|
+
@data[:request_id]
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
# @return [String]
|
|
@@ -154,8 +154,8 @@ module Aws::MarketplaceAgreement
|
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
# @return [String]
|
|
157
|
-
def
|
|
158
|
-
@data[:
|
|
157
|
+
def fields
|
|
158
|
+
@data[:fields]
|
|
159
159
|
end
|
|
160
160
|
end
|
|
161
161
|
|