@aws-sdk/client-marketplace-agreement 3.927.0 → 3.929.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.
- package/dist-cjs/index.js +394 -344
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/MarketplaceAgreementClient.js +2 -0
- package/dist-es/commands/DescribeAgreementCommand.js +3 -9
- package/dist-es/commands/GetAgreementTermsCommand.js +3 -9
- package/dist-es/commands/SearchAgreementsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +373 -0
- package/dist-types/MarketplaceAgreementClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +62 -0
- package/dist-types/ts3.4/MarketplaceAgreementClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +67 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_0.js +0 -312
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -29
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -41
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class MarketplaceAgreementClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,12 +110,12 @@ class MarketplaceAgreementClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class MarketplaceAgreementServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let MarketplaceAgreementServiceException$1 = class MarketplaceAgreementServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, MarketplaceAgreementServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
120
|
exports.AcceptedTerm = void 0;
|
|
121
121
|
(function (AcceptedTerm) {
|
|
@@ -145,7 +145,7 @@ exports.AcceptedTerm = void 0;
|
|
|
145
145
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
146
146
|
};
|
|
147
147
|
})(exports.AcceptedTerm || (exports.AcceptedTerm = {}));
|
|
148
|
-
class AccessDeniedException extends MarketplaceAgreementServiceException {
|
|
148
|
+
let AccessDeniedException$1 = class AccessDeniedException extends MarketplaceAgreementServiceException$1 {
|
|
149
149
|
name = "AccessDeniedException";
|
|
150
150
|
$fault = "client";
|
|
151
151
|
requestId;
|
|
@@ -158,7 +158,7 @@ class AccessDeniedException extends MarketplaceAgreementServiceException {
|
|
|
158
158
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
159
159
|
this.requestId = opts.requestId;
|
|
160
160
|
}
|
|
161
|
-
}
|
|
161
|
+
};
|
|
162
162
|
const AgreementStatus = {
|
|
163
163
|
ACTIVE: "ACTIVE",
|
|
164
164
|
ARCHIVED: "ARCHIVED",
|
|
@@ -170,7 +170,7 @@ const AgreementStatus = {
|
|
|
170
170
|
SUPERSEDED: "SUPERSEDED",
|
|
171
171
|
TERMINATED: "TERMINATED",
|
|
172
172
|
};
|
|
173
|
-
class InternalServerException extends MarketplaceAgreementServiceException {
|
|
173
|
+
let InternalServerException$1 = class InternalServerException extends MarketplaceAgreementServiceException$1 {
|
|
174
174
|
name = "InternalServerException";
|
|
175
175
|
$fault = "server";
|
|
176
176
|
requestId;
|
|
@@ -183,11 +183,11 @@ class InternalServerException extends MarketplaceAgreementServiceException {
|
|
|
183
183
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
184
184
|
this.requestId = opts.requestId;
|
|
185
185
|
}
|
|
186
|
-
}
|
|
186
|
+
};
|
|
187
187
|
const ResourceType = {
|
|
188
188
|
AGREEMENT: "Agreement",
|
|
189
189
|
};
|
|
190
|
-
class ResourceNotFoundException extends MarketplaceAgreementServiceException {
|
|
190
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends MarketplaceAgreementServiceException$1 {
|
|
191
191
|
name = "ResourceNotFoundException";
|
|
192
192
|
$fault = "client";
|
|
193
193
|
requestId;
|
|
@@ -204,8 +204,8 @@ class ResourceNotFoundException extends MarketplaceAgreementServiceException {
|
|
|
204
204
|
this.resourceId = opts.resourceId;
|
|
205
205
|
this.resourceType = opts.resourceType;
|
|
206
206
|
}
|
|
207
|
-
}
|
|
208
|
-
class ThrottlingException extends MarketplaceAgreementServiceException {
|
|
207
|
+
};
|
|
208
|
+
let ThrottlingException$1 = class ThrottlingException extends MarketplaceAgreementServiceException$1 {
|
|
209
209
|
name = "ThrottlingException";
|
|
210
210
|
$fault = "client";
|
|
211
211
|
requestId;
|
|
@@ -218,7 +218,7 @@ class ThrottlingException extends MarketplaceAgreementServiceException {
|
|
|
218
218
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
219
219
|
this.requestId = opts.requestId;
|
|
220
220
|
}
|
|
221
|
-
}
|
|
221
|
+
};
|
|
222
222
|
const ValidationExceptionReason = {
|
|
223
223
|
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
224
224
|
INVALID_CATALOG: "INVALID_CATALOG",
|
|
@@ -232,7 +232,7 @@ const ValidationExceptionReason = {
|
|
|
232
232
|
OTHER: "OTHER",
|
|
233
233
|
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
234
234
|
};
|
|
235
|
-
class ValidationException extends MarketplaceAgreementServiceException {
|
|
235
|
+
let ValidationException$1 = class ValidationException extends MarketplaceAgreementServiceException$1 {
|
|
236
236
|
name = "ValidationException";
|
|
237
237
|
$fault = "client";
|
|
238
238
|
requestId;
|
|
@@ -249,330 +249,390 @@ class ValidationException extends MarketplaceAgreementServiceException {
|
|
|
249
249
|
this.reason = opts.reason;
|
|
250
250
|
this.fields = opts.fields;
|
|
251
251
|
}
|
|
252
|
-
}
|
|
252
|
+
};
|
|
253
253
|
const SortOrder = {
|
|
254
254
|
ASCENDING: "ASCENDING",
|
|
255
255
|
DESCENDING: "DESCENDING",
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
const
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
const
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
const
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
const
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
const
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
const
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
const
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
const
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
const
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
const
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
258
|
+
const _A = "Acceptor";
|
|
259
|
+
const _ADE = "AccessDeniedException";
|
|
260
|
+
const _AT = "AcceptedTerm";
|
|
261
|
+
const _ATL = "AcceptedTermList";
|
|
262
|
+
const _AVS = "AgreementViewSummary";
|
|
263
|
+
const _AVSL = "AgreementViewSummaryList";
|
|
264
|
+
const _BPT = "ByolPricingTerm";
|
|
265
|
+
const _C = "Constraints";
|
|
266
|
+
const _CUPT = "ConfigurableUpfrontPricingTerm";
|
|
267
|
+
const _CUPTC = "ConfigurableUpfrontPricingTermConfiguration";
|
|
268
|
+
const _CURCI = "ConfigurableUpfrontRateCardItem";
|
|
269
|
+
const _CURCL = "ConfigurableUpfrontRateCardList";
|
|
270
|
+
const _D = "Dimension";
|
|
271
|
+
const _DA = "DescribeAgreement";
|
|
272
|
+
const _DAI = "DescribeAgreementInput";
|
|
273
|
+
const _DAO = "DescribeAgreementOutput";
|
|
274
|
+
const _DI = "DocumentItem";
|
|
275
|
+
const _DL = "DimensionList";
|
|
276
|
+
const _DLo = "DocumentList";
|
|
277
|
+
const _EC = "EstimatedCharges";
|
|
278
|
+
const _F = "Filter";
|
|
279
|
+
const _FL = "FilterList";
|
|
280
|
+
const _FTPT = "FreeTrialPricingTerm";
|
|
281
|
+
const _FUPT = "FixedUpfrontPricingTerm";
|
|
282
|
+
const _GAT = "GetAgreementTerms";
|
|
283
|
+
const _GATI = "GetAgreementTermsInput";
|
|
284
|
+
const _GATO = "GetAgreementTermsOutput";
|
|
285
|
+
const _GI = "GrantItem";
|
|
286
|
+
const _GL = "GrantList";
|
|
287
|
+
const _ISE = "InternalServerException";
|
|
288
|
+
const _LT = "LegalTerm";
|
|
289
|
+
const _P = "Proposer";
|
|
290
|
+
const _PS = "ProposalSummary";
|
|
291
|
+
const _PST = "PaymentScheduleTerm";
|
|
292
|
+
const _R = "Resource";
|
|
293
|
+
const _RCI = "RateCardItem";
|
|
294
|
+
const _RCL = "RateCardList";
|
|
295
|
+
const _RNFE = "ResourceNotFoundException";
|
|
296
|
+
const _RPT = "RecurringPaymentTerm";
|
|
297
|
+
const _RT = "RenewalTerm";
|
|
298
|
+
const _RTC = "RenewalTermConfiguration";
|
|
299
|
+
const _Re = "Resources";
|
|
300
|
+
const _S = "Selector";
|
|
301
|
+
const _SA = "SearchAgreements";
|
|
302
|
+
const _SAI = "SearchAgreementsInput";
|
|
303
|
+
const _SAO = "SearchAgreementsOutput";
|
|
304
|
+
const _SI = "ScheduleItem";
|
|
305
|
+
const _SL = "ScheduleList";
|
|
306
|
+
const _ST = "SupportTerm";
|
|
307
|
+
const _So = "Sort";
|
|
308
|
+
const _TE = "ThrottlingException";
|
|
309
|
+
const _UBPT = "UsageBasedPricingTerm";
|
|
310
|
+
const _UBRCI = "UsageBasedRateCardItem";
|
|
311
|
+
const _UBRCL = "UsageBasedRateCardList";
|
|
312
|
+
const _VE = "ValidationException";
|
|
313
|
+
const _VEF = "ValidationExceptionField";
|
|
314
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
315
|
+
const _VT = "ValidityTerm";
|
|
316
|
+
const _a = "acceptor";
|
|
317
|
+
const _aD = "agreementDuration";
|
|
318
|
+
const _aED = "agreementEndDate";
|
|
319
|
+
const _aI = "accountId";
|
|
320
|
+
const _aIg = "agreementId";
|
|
321
|
+
const _aSD = "agreementStartDate";
|
|
322
|
+
const _aT = "acceptanceTime";
|
|
323
|
+
const _aTc = "acceptedTerms";
|
|
324
|
+
const _aTg = "agreementType";
|
|
325
|
+
const _aV = "agreementValue";
|
|
326
|
+
const _aVS = "agreementViewSummaries";
|
|
327
|
+
const _bP = "billingPeriod";
|
|
328
|
+
const _bPT = "byolPricingTerm";
|
|
329
|
+
const _c = "client";
|
|
330
|
+
const _cA = "chargeAmount";
|
|
331
|
+
const _cC = "currencyCode";
|
|
332
|
+
const _cD = "chargeDate";
|
|
333
|
+
const _cUPT = "configurableUpfrontPricingTerm";
|
|
334
|
+
const _ca = "catalog";
|
|
335
|
+
const _co = "configuration";
|
|
336
|
+
const _con = "constraints";
|
|
337
|
+
const _d = "dimensions";
|
|
338
|
+
const _dK = "dimensionKey";
|
|
339
|
+
const _dV = "dimensionValue";
|
|
340
|
+
const _do = "documents";
|
|
341
|
+
const _du = "duration";
|
|
342
|
+
const _e = "error";
|
|
343
|
+
const _eAR = "enableAutoRenew";
|
|
344
|
+
const _eC = "estimatedCharges";
|
|
345
|
+
const _eT = "endTime";
|
|
346
|
+
const _f = "filters";
|
|
347
|
+
const _fTPT = "freeTrialPricingTerm";
|
|
348
|
+
const _fUPT = "fixedUpfrontPricingTerm";
|
|
349
|
+
const _fi = "fields";
|
|
350
|
+
const _g = "grants";
|
|
351
|
+
const _hE = "httpError";
|
|
352
|
+
const _i = "id";
|
|
353
|
+
const _lT = "legalTerm";
|
|
354
|
+
const _m = "message";
|
|
355
|
+
const _mDS = "multipleDimensionSelection";
|
|
356
|
+
const _mQ = "maxQuantity";
|
|
357
|
+
const _mR = "maxResults";
|
|
358
|
+
const _n = "name";
|
|
359
|
+
const _nT = "nextToken";
|
|
360
|
+
const _oI = "offerId";
|
|
361
|
+
const _p = "proposer";
|
|
362
|
+
const _pS = "proposalSummary";
|
|
363
|
+
const _pST = "paymentScheduleTerm";
|
|
364
|
+
const _pr = "price";
|
|
365
|
+
const _qC = "quantityConfiguration";
|
|
366
|
+
const _r = "resources";
|
|
367
|
+
const _rC = "rateCards";
|
|
368
|
+
const _rCa = "rateCard";
|
|
369
|
+
const _rI = "requestId";
|
|
370
|
+
const _rIe = "resourceId";
|
|
371
|
+
const _rP = "refundPolicy";
|
|
372
|
+
const _rPT = "recurringPaymentTerm";
|
|
373
|
+
const _rT = "resourceType";
|
|
374
|
+
const _rTe = "renewalTerm";
|
|
375
|
+
const _re = "reason";
|
|
376
|
+
const _s = "status";
|
|
377
|
+
const _sB = "sortBy";
|
|
378
|
+
const _sO = "sortOrder";
|
|
379
|
+
const _sT = "startTime";
|
|
380
|
+
const _sTu = "supportTerm";
|
|
381
|
+
const _sV = "selectorValue";
|
|
382
|
+
const _sc = "schedule";
|
|
383
|
+
const _se = "selector";
|
|
384
|
+
const _ser = "server";
|
|
385
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceagreement";
|
|
386
|
+
const _so = "sort";
|
|
387
|
+
const _t = "type";
|
|
388
|
+
const _u = "url";
|
|
389
|
+
const _uBPT = "usageBasedPricingTerm";
|
|
390
|
+
const _v = "version";
|
|
391
|
+
const _vT = "validityTerm";
|
|
392
|
+
const _va = "values";
|
|
393
|
+
const _val = "value";
|
|
394
|
+
const n0 = "com.amazonaws.marketplaceagreement";
|
|
395
|
+
var Acceptor = [3, n0, _A, 0, [_aI], [0]];
|
|
396
|
+
var AccessDeniedException = [
|
|
397
|
+
-3,
|
|
398
|
+
n0,
|
|
399
|
+
_ADE,
|
|
400
|
+
{
|
|
401
|
+
[_e]: _c,
|
|
402
|
+
[_hE]: 403,
|
|
403
|
+
},
|
|
404
|
+
[_rI, _m],
|
|
405
|
+
[0, 0],
|
|
406
|
+
];
|
|
407
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
408
|
+
var AgreementViewSummary = [
|
|
409
|
+
3,
|
|
410
|
+
n0,
|
|
411
|
+
_AVS,
|
|
412
|
+
0,
|
|
413
|
+
[_aIg, _aT, _sT, _eT, _aTg, _a, _p, _pS, _s],
|
|
414
|
+
[0, 4, 4, 4, 0, () => Acceptor, () => Proposer, () => ProposalSummary, 0],
|
|
415
|
+
];
|
|
416
|
+
var ByolPricingTerm = [3, n0, _BPT, 0, [_t], [0]];
|
|
417
|
+
var ConfigurableUpfrontPricingTerm = [
|
|
418
|
+
3,
|
|
419
|
+
n0,
|
|
420
|
+
_CUPT,
|
|
421
|
+
0,
|
|
422
|
+
[_t, _cC, _rC, _co],
|
|
423
|
+
[0, 0, () => ConfigurableUpfrontRateCardList, () => ConfigurableUpfrontPricingTermConfiguration],
|
|
424
|
+
];
|
|
425
|
+
var ConfigurableUpfrontPricingTermConfiguration = [
|
|
426
|
+
3,
|
|
427
|
+
n0,
|
|
428
|
+
_CUPTC,
|
|
429
|
+
0,
|
|
430
|
+
[_sV, _d],
|
|
431
|
+
[0, () => DimensionList],
|
|
432
|
+
];
|
|
433
|
+
var ConfigurableUpfrontRateCardItem = [
|
|
434
|
+
3,
|
|
435
|
+
n0,
|
|
436
|
+
_CURCI,
|
|
437
|
+
0,
|
|
438
|
+
[_se, _con, _rCa],
|
|
439
|
+
[() => Selector, () => Constraints, () => RateCardList],
|
|
440
|
+
];
|
|
441
|
+
var Constraints = [3, n0, _C, 0, [_mDS, _qC], [0, 0]];
|
|
442
|
+
var DescribeAgreementInput = [3, n0, _DAI, 0, [_aIg], [0]];
|
|
443
|
+
var DescribeAgreementOutput = [
|
|
444
|
+
3,
|
|
445
|
+
n0,
|
|
446
|
+
_DAO,
|
|
447
|
+
0,
|
|
448
|
+
[_aIg, _a, _p, _sT, _eT, _aT, _aTg, _eC, _pS, _s],
|
|
449
|
+
[0, () => Acceptor, () => Proposer, 4, 4, 4, 0, () => EstimatedCharges, () => ProposalSummary, 0],
|
|
450
|
+
];
|
|
451
|
+
var Dimension = [3, n0, _D, 0, [_dK, _dV], [0, 1]];
|
|
452
|
+
var DocumentItem = [3, n0, _DI, 0, [_t, _u, _v], [0, 0, 0]];
|
|
453
|
+
var EstimatedCharges = [3, n0, _EC, 0, [_cC, _aV], [0, 0]];
|
|
454
|
+
var Filter = [3, n0, _F, 0, [_n, _va], [0, 64 | 0]];
|
|
455
|
+
var FixedUpfrontPricingTerm = [
|
|
456
|
+
3,
|
|
457
|
+
n0,
|
|
458
|
+
_FUPT,
|
|
459
|
+
0,
|
|
460
|
+
[_t, _cC, _du, _pr, _g],
|
|
461
|
+
[0, 0, 0, 0, () => GrantList],
|
|
462
|
+
];
|
|
463
|
+
var FreeTrialPricingTerm = [3, n0, _FTPT, 0, [_t, _du, _g], [0, 0, () => GrantList]];
|
|
464
|
+
var GetAgreementTermsInput = [3, n0, _GATI, 0, [_aIg, _mR, _nT], [0, 1, 0]];
|
|
465
|
+
var GetAgreementTermsOutput = [3, n0, _GATO, 0, [_aTc, _nT], [() => AcceptedTermList, 0]];
|
|
466
|
+
var GrantItem = [3, n0, _GI, 0, [_dK, _mQ], [0, 1]];
|
|
467
|
+
var InternalServerException = [
|
|
468
|
+
-3,
|
|
469
|
+
n0,
|
|
470
|
+
_ISE,
|
|
471
|
+
{
|
|
472
|
+
[_e]: _ser,
|
|
473
|
+
[_hE]: 500,
|
|
474
|
+
},
|
|
475
|
+
[_rI, _m],
|
|
476
|
+
[0, 0],
|
|
477
|
+
];
|
|
478
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
479
|
+
var LegalTerm = [3, n0, _LT, 0, [_t, _do], [0, () => DocumentList]];
|
|
480
|
+
var PaymentScheduleTerm = [3, n0, _PST, 0, [_t, _cC, _sc], [0, 0, () => ScheduleList]];
|
|
481
|
+
var ProposalSummary = [3, n0, _PS, 0, [_r, _oI], [() => Resources, 0]];
|
|
482
|
+
var Proposer = [3, n0, _P, 0, [_aI], [0]];
|
|
483
|
+
var RateCardItem = [3, n0, _RCI, 0, [_dK, _pr], [0, 0]];
|
|
484
|
+
var RecurringPaymentTerm = [3, n0, _RPT, 0, [_t, _cC, _bP, _pr], [0, 0, 0, 0]];
|
|
485
|
+
var RenewalTerm = [3, n0, _RT, 0, [_t, _co], [0, () => RenewalTermConfiguration]];
|
|
486
|
+
var RenewalTermConfiguration = [3, n0, _RTC, 0, [_eAR], [2]];
|
|
487
|
+
var Resource = [3, n0, _R, 0, [_i, _t], [0, 0]];
|
|
488
|
+
var ResourceNotFoundException = [
|
|
489
|
+
-3,
|
|
490
|
+
n0,
|
|
491
|
+
_RNFE,
|
|
492
|
+
{
|
|
493
|
+
[_e]: _c,
|
|
494
|
+
[_hE]: 404,
|
|
495
|
+
},
|
|
496
|
+
[_rI, _m, _rIe, _rT],
|
|
497
|
+
[0, 0, 0, 0],
|
|
498
|
+
];
|
|
499
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
500
|
+
var ScheduleItem = [3, n0, _SI, 0, [_cD, _cA], [4, 0]];
|
|
501
|
+
var SearchAgreementsInput = [
|
|
502
|
+
3,
|
|
503
|
+
n0,
|
|
504
|
+
_SAI,
|
|
505
|
+
0,
|
|
506
|
+
[_ca, _f, _so, _mR, _nT],
|
|
507
|
+
[0, () => FilterList, () => Sort, 1, 0],
|
|
508
|
+
];
|
|
509
|
+
var SearchAgreementsOutput = [
|
|
510
|
+
3,
|
|
511
|
+
n0,
|
|
512
|
+
_SAO,
|
|
513
|
+
0,
|
|
514
|
+
[_aVS, _nT],
|
|
515
|
+
[() => AgreementViewSummaryList, 0],
|
|
516
|
+
];
|
|
517
|
+
var Selector = [3, n0, _S, 0, [_t, _val], [0, 0]];
|
|
518
|
+
var Sort = [3, n0, _So, 0, [_sB, _sO], [0, 0]];
|
|
519
|
+
var SupportTerm = [3, n0, _ST, 0, [_t, _rP], [0, 0]];
|
|
520
|
+
var ThrottlingException = [
|
|
521
|
+
-3,
|
|
522
|
+
n0,
|
|
523
|
+
_TE,
|
|
524
|
+
{
|
|
525
|
+
[_e]: _c,
|
|
526
|
+
[_hE]: 429,
|
|
527
|
+
},
|
|
528
|
+
[_rI, _m],
|
|
529
|
+
[0, 0],
|
|
530
|
+
];
|
|
531
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
532
|
+
var UsageBasedPricingTerm = [
|
|
533
|
+
3,
|
|
534
|
+
n0,
|
|
535
|
+
_UBPT,
|
|
536
|
+
0,
|
|
537
|
+
[_t, _cC, _rC],
|
|
538
|
+
[0, 0, () => UsageBasedRateCardList],
|
|
539
|
+
];
|
|
540
|
+
var UsageBasedRateCardItem = [3, n0, _UBRCI, 0, [_rCa], [() => RateCardList]];
|
|
541
|
+
var ValidationException = [
|
|
542
|
+
-3,
|
|
543
|
+
n0,
|
|
544
|
+
_VE,
|
|
545
|
+
{
|
|
546
|
+
[_e]: _c,
|
|
547
|
+
[_hE]: 400,
|
|
548
|
+
},
|
|
549
|
+
[_rI, _m, _re, _fi],
|
|
550
|
+
[0, 0, 0, () => ValidationExceptionFieldList],
|
|
551
|
+
];
|
|
552
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
553
|
+
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
554
|
+
var ValidityTerm = [3, n0, _VT, 0, [_t, _aD, _aSD, _aED], [0, 0, 4, 4]];
|
|
555
|
+
var MarketplaceAgreementServiceException = [
|
|
556
|
+
-3,
|
|
557
|
+
_sm,
|
|
558
|
+
"MarketplaceAgreementServiceException",
|
|
559
|
+
0,
|
|
560
|
+
[],
|
|
561
|
+
[],
|
|
562
|
+
];
|
|
563
|
+
schema.TypeRegistry.for(_sm).registerError(MarketplaceAgreementServiceException, MarketplaceAgreementServiceException$1);
|
|
564
|
+
var AcceptedTermList = [1, n0, _ATL, 0, () => AcceptedTerm];
|
|
565
|
+
var AgreementViewSummaryList = [1, n0, _AVSL, 0, () => AgreementViewSummary];
|
|
566
|
+
var ConfigurableUpfrontRateCardList = [
|
|
567
|
+
1,
|
|
568
|
+
n0,
|
|
569
|
+
_CURCL,
|
|
570
|
+
0,
|
|
571
|
+
() => ConfigurableUpfrontRateCardItem,
|
|
572
|
+
];
|
|
573
|
+
var DimensionList = [1, n0, _DL, 0, () => Dimension];
|
|
574
|
+
var DocumentList = [1, n0, _DLo, 0, () => DocumentItem];
|
|
575
|
+
var FilterList = [1, n0, _FL, 0, () => Filter];
|
|
576
|
+
var GrantList = [1, n0, _GL, 0, () => GrantItem];
|
|
577
|
+
var RateCardList = [1, n0, _RCL, 0, () => RateCardItem];
|
|
578
|
+
var Resources = [1, n0, _Re, 0, () => Resource];
|
|
579
|
+
var ScheduleList = [1, n0, _SL, 0, () => ScheduleItem];
|
|
580
|
+
var UsageBasedRateCardList = [1, n0, _UBRCL, 0, () => UsageBasedRateCardItem];
|
|
581
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
582
|
+
var AcceptedTerm = [
|
|
583
|
+
3,
|
|
584
|
+
n0,
|
|
585
|
+
_AT,
|
|
586
|
+
0,
|
|
587
|
+
[_lT, _sTu, _rTe, _uBPT, _cUPT, _bPT, _rPT, _vT, _pST, _fTPT, _fUPT],
|
|
588
|
+
[
|
|
589
|
+
() => LegalTerm,
|
|
590
|
+
() => SupportTerm,
|
|
591
|
+
() => RenewalTerm,
|
|
592
|
+
() => UsageBasedPricingTerm,
|
|
593
|
+
() => ConfigurableUpfrontPricingTerm,
|
|
594
|
+
() => ByolPricingTerm,
|
|
595
|
+
() => RecurringPaymentTerm,
|
|
596
|
+
() => ValidityTerm,
|
|
597
|
+
() => PaymentScheduleTerm,
|
|
598
|
+
() => FreeTrialPricingTerm,
|
|
599
|
+
() => FixedUpfrontPricingTerm,
|
|
600
|
+
],
|
|
601
|
+
];
|
|
602
|
+
var DescribeAgreement = [
|
|
603
|
+
9,
|
|
604
|
+
n0,
|
|
605
|
+
_DA,
|
|
606
|
+
0,
|
|
607
|
+
() => DescribeAgreementInput,
|
|
608
|
+
() => DescribeAgreementOutput,
|
|
609
|
+
];
|
|
610
|
+
var GetAgreementTerms = [
|
|
611
|
+
9,
|
|
612
|
+
n0,
|
|
613
|
+
_GAT,
|
|
614
|
+
0,
|
|
615
|
+
() => GetAgreementTermsInput,
|
|
616
|
+
() => GetAgreementTermsOutput,
|
|
617
|
+
];
|
|
618
|
+
var SearchAgreements = [
|
|
619
|
+
9,
|
|
620
|
+
n0,
|
|
621
|
+
_SA,
|
|
622
|
+
0,
|
|
623
|
+
() => SearchAgreementsInput,
|
|
624
|
+
() => SearchAgreementsOutput,
|
|
625
|
+
];
|
|
561
626
|
|
|
562
627
|
class DescribeAgreementCommand extends smithyClient.Command
|
|
563
628
|
.classBuilder()
|
|
564
629
|
.ep(commonParams)
|
|
565
630
|
.m(function (Command, cs, config, o) {
|
|
566
|
-
return [
|
|
567
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
568
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
569
|
-
];
|
|
631
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
570
632
|
})
|
|
571
633
|
.s("AWSMPCommerceService_v20200301", "DescribeAgreement", {})
|
|
572
634
|
.n("MarketplaceAgreementClient", "DescribeAgreementCommand")
|
|
573
|
-
.
|
|
574
|
-
.ser(se_DescribeAgreementCommand)
|
|
575
|
-
.de(de_DescribeAgreementCommand)
|
|
635
|
+
.sc(DescribeAgreement)
|
|
576
636
|
.build() {
|
|
577
637
|
}
|
|
578
638
|
|
|
@@ -580,16 +640,11 @@ class GetAgreementTermsCommand extends smithyClient.Command
|
|
|
580
640
|
.classBuilder()
|
|
581
641
|
.ep(commonParams)
|
|
582
642
|
.m(function (Command, cs, config, o) {
|
|
583
|
-
return [
|
|
584
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
585
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
586
|
-
];
|
|
643
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
587
644
|
})
|
|
588
645
|
.s("AWSMPCommerceService_v20200301", "GetAgreementTerms", {})
|
|
589
646
|
.n("MarketplaceAgreementClient", "GetAgreementTermsCommand")
|
|
590
|
-
.
|
|
591
|
-
.ser(se_GetAgreementTermsCommand)
|
|
592
|
-
.de(de_GetAgreementTermsCommand)
|
|
647
|
+
.sc(GetAgreementTerms)
|
|
593
648
|
.build() {
|
|
594
649
|
}
|
|
595
650
|
|
|
@@ -597,16 +652,11 @@ class SearchAgreementsCommand extends smithyClient.Command
|
|
|
597
652
|
.classBuilder()
|
|
598
653
|
.ep(commonParams)
|
|
599
654
|
.m(function (Command, cs, config, o) {
|
|
600
|
-
return [
|
|
601
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
602
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
603
|
-
];
|
|
655
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
604
656
|
})
|
|
605
657
|
.s("AWSMPCommerceService_v20200301", "SearchAgreements", {})
|
|
606
658
|
.n("MarketplaceAgreementClient", "SearchAgreementsCommand")
|
|
607
|
-
.
|
|
608
|
-
.ser(se_SearchAgreementsCommand)
|
|
609
|
-
.de(de_SearchAgreementsCommand)
|
|
659
|
+
.sc(SearchAgreements)
|
|
610
660
|
.build() {
|
|
611
661
|
}
|
|
612
662
|
|
|
@@ -631,20 +681,20 @@ Object.defineProperty(exports, "__Client", {
|
|
|
631
681
|
enumerable: true,
|
|
632
682
|
get: function () { return smithyClient.Client; }
|
|
633
683
|
});
|
|
634
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
684
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
635
685
|
exports.AgreementStatus = AgreementStatus;
|
|
636
686
|
exports.DescribeAgreementCommand = DescribeAgreementCommand;
|
|
637
687
|
exports.GetAgreementTermsCommand = GetAgreementTermsCommand;
|
|
638
|
-
exports.InternalServerException = InternalServerException;
|
|
688
|
+
exports.InternalServerException = InternalServerException$1;
|
|
639
689
|
exports.MarketplaceAgreement = MarketplaceAgreement;
|
|
640
690
|
exports.MarketplaceAgreementClient = MarketplaceAgreementClient;
|
|
641
|
-
exports.MarketplaceAgreementServiceException = MarketplaceAgreementServiceException;
|
|
642
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
691
|
+
exports.MarketplaceAgreementServiceException = MarketplaceAgreementServiceException$1;
|
|
692
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
643
693
|
exports.ResourceType = ResourceType;
|
|
644
694
|
exports.SearchAgreementsCommand = SearchAgreementsCommand;
|
|
645
695
|
exports.SortOrder = SortOrder;
|
|
646
|
-
exports.ThrottlingException = ThrottlingException;
|
|
647
|
-
exports.ValidationException = ValidationException;
|
|
696
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
697
|
+
exports.ValidationException = ValidationException$1;
|
|
648
698
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
649
699
|
exports.paginateGetAgreementTerms = paginateGetAgreementTerms;
|
|
650
700
|
exports.paginateSearchAgreements = paginateSearchAgreements;
|