@aws-sdk/client-marketplace-agreement 3.463.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.
Files changed (99) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +249 -0
  3. package/dist-cjs/MarketplaceAgreement.js +17 -0
  4. package/dist-cjs/MarketplaceAgreementClient.js +43 -0
  5. package/dist-cjs/commands/DescribeAgreementCommand.js +51 -0
  6. package/dist-cjs/commands/GetAgreementTermsCommand.js +51 -0
  7. package/dist-cjs/commands/SearchAgreementsCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +6 -0
  9. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  10. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  11. package/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist-cjs/extensionConfiguration.js +2 -0
  13. package/dist-cjs/index.js +12 -0
  14. package/dist-cjs/models/MarketplaceAgreementServiceException.js +12 -0
  15. package/dist-cjs/models/index.js +4 -0
  16. package/dist-cjs/models/models_0.js +137 -0
  17. package/dist-cjs/pagination/GetAgreementTermsPaginator.js +29 -0
  18. package/dist-cjs/pagination/Interfaces.js +2 -0
  19. package/dist-cjs/pagination/SearchAgreementsPaginator.js +29 -0
  20. package/dist-cjs/pagination/index.js +6 -0
  21. package/dist-cjs/protocols/Aws_json1_0.js +420 -0
  22. package/dist-cjs/runtimeConfig.browser.js +39 -0
  23. package/dist-cjs/runtimeConfig.js +50 -0
  24. package/dist-cjs/runtimeConfig.native.js +15 -0
  25. package/dist-cjs/runtimeConfig.shared.js +24 -0
  26. package/dist-cjs/runtimeExtensions.js +22 -0
  27. package/dist-es/MarketplaceAgreement.js +13 -0
  28. package/dist-es/MarketplaceAgreementClient.js +39 -0
  29. package/dist-es/commands/DescribeAgreementCommand.js +47 -0
  30. package/dist-es/commands/GetAgreementTermsCommand.js +47 -0
  31. package/dist-es/commands/SearchAgreementsCommand.js +47 -0
  32. package/dist-es/commands/index.js +3 -0
  33. package/dist-es/endpoint/EndpointParameters.js +8 -0
  34. package/dist-es/endpoint/endpointResolver.js +8 -0
  35. package/dist-es/endpoint/ruleset.js +4 -0
  36. package/dist-es/extensionConfiguration.js +1 -0
  37. package/dist-es/index.js +7 -0
  38. package/dist-es/models/MarketplaceAgreementServiceException.js +8 -0
  39. package/dist-es/models/index.js +1 -0
  40. package/dist-es/models/models_0.js +129 -0
  41. package/dist-es/pagination/GetAgreementTermsPaginator.js +25 -0
  42. package/dist-es/pagination/Interfaces.js +1 -0
  43. package/dist-es/pagination/SearchAgreementsPaginator.js +25 -0
  44. package/dist-es/pagination/index.js +3 -0
  45. package/dist-es/protocols/Aws_json1_0.js +411 -0
  46. package/dist-es/runtimeConfig.browser.js +34 -0
  47. package/dist-es/runtimeConfig.js +45 -0
  48. package/dist-es/runtimeConfig.native.js +11 -0
  49. package/dist-es/runtimeConfig.shared.js +20 -0
  50. package/dist-es/runtimeExtensions.js +18 -0
  51. package/dist-types/MarketplaceAgreement.d.ts +51 -0
  52. package/dist-types/MarketplaceAgreementClient.d.ts +192 -0
  53. package/dist-types/commands/DescribeAgreementCommand.d.ts +112 -0
  54. package/dist-types/commands/GetAgreementTermsCommand.d.ts +235 -0
  55. package/dist-types/commands/SearchAgreementsCommand.d.ts +213 -0
  56. package/dist-types/commands/index.d.ts +3 -0
  57. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  58. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  59. package/dist-types/endpoint/ruleset.d.ts +2 -0
  60. package/dist-types/extensionConfiguration.d.ts +8 -0
  61. package/dist-types/index.d.ts +35 -0
  62. package/dist-types/models/MarketplaceAgreementServiceException.d.ts +13 -0
  63. package/dist-types/models/index.d.ts +1 -0
  64. package/dist-types/models/models_0.d.ts +1350 -0
  65. package/dist-types/pagination/GetAgreementTermsPaginator.d.ts +7 -0
  66. package/dist-types/pagination/Interfaces.d.ts +8 -0
  67. package/dist-types/pagination/SearchAgreementsPaginator.d.ts +7 -0
  68. package/dist-types/pagination/index.d.ts +3 -0
  69. package/dist-types/protocols/Aws_json1_0.d.ts +29 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  71. package/dist-types/runtimeConfig.d.ts +46 -0
  72. package/dist-types/runtimeConfig.native.d.ts +45 -0
  73. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  74. package/dist-types/runtimeExtensions.d.ts +17 -0
  75. package/dist-types/ts3.4/MarketplaceAgreement.d.ts +58 -0
  76. package/dist-types/ts3.4/MarketplaceAgreementClient.d.ts +139 -0
  77. package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +38 -0
  78. package/dist-types/ts3.4/commands/GetAgreementTermsCommand.d.ts +38 -0
  79. package/dist-types/ts3.4/commands/SearchAgreementsCommand.d.ts +38 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  81. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  82. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  83. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  84. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  85. package/dist-types/ts3.4/index.d.ts +10 -0
  86. package/dist-types/ts3.4/models/MarketplaceAgreementServiceException.d.ts +8 -0
  87. package/dist-types/ts3.4/models/index.d.ts +1 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +458 -0
  89. package/dist-types/ts3.4/pagination/GetAgreementTermsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  91. package/dist-types/ts3.4/pagination/SearchAgreementsPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  93. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +41 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  98. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  99. package/package.json +102 -0
@@ -0,0 +1,458 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
3
+ export interface ByolPricingTerm {
4
+ type?: string;
5
+ }
6
+ export interface Dimension {
7
+ dimensionKey: string | undefined;
8
+ dimensionValue: number | undefined;
9
+ }
10
+ export interface ConfigurableUpfrontPricingTermConfiguration {
11
+ selectorValue: string | undefined;
12
+ dimensions: Dimension[] | undefined;
13
+ }
14
+ export interface Constraints {
15
+ multipleDimensionSelection?: string;
16
+ quantityConfiguration?: string;
17
+ }
18
+ export interface RateCardItem {
19
+ dimensionKey?: string;
20
+ price?: string;
21
+ }
22
+ export interface Selector {
23
+ type?: string;
24
+ value?: string;
25
+ }
26
+ export interface ConfigurableUpfrontRateCardItem {
27
+ selector?: Selector;
28
+ constraints?: Constraints;
29
+ rateCard?: RateCardItem[];
30
+ }
31
+ export interface ConfigurableUpfrontPricingTerm {
32
+ type?: string;
33
+ currencyCode?: string;
34
+ rateCards?: ConfigurableUpfrontRateCardItem[];
35
+ configuration?: ConfigurableUpfrontPricingTermConfiguration;
36
+ }
37
+ export interface GrantItem {
38
+ dimensionKey?: string;
39
+ maxQuantity?: number;
40
+ }
41
+ export interface FixedUpfrontPricingTerm {
42
+ type?: string;
43
+ currencyCode?: string;
44
+ duration?: string;
45
+ price?: string;
46
+ grants?: GrantItem[];
47
+ }
48
+ export interface FreeTrialPricingTerm {
49
+ type?: string;
50
+ duration?: string;
51
+ grants?: GrantItem[];
52
+ }
53
+ export interface DocumentItem {
54
+ type?: string;
55
+ url?: string;
56
+ version?: string;
57
+ }
58
+ export interface LegalTerm {
59
+ type?: string;
60
+ documents?: DocumentItem[];
61
+ }
62
+ export interface ScheduleItem {
63
+ chargeDate?: Date;
64
+ chargeAmount?: string;
65
+ }
66
+ export interface PaymentScheduleTerm {
67
+ type?: string;
68
+ currencyCode?: string;
69
+ schedule?: ScheduleItem[];
70
+ }
71
+ export interface RecurringPaymentTerm {
72
+ type?: string;
73
+ currencyCode?: string;
74
+ billingPeriod?: string;
75
+ price?: string;
76
+ }
77
+ export interface RenewalTermConfiguration {
78
+ enableAutoRenew: boolean | undefined;
79
+ }
80
+ export interface RenewalTerm {
81
+ type?: string;
82
+ configuration?: RenewalTermConfiguration;
83
+ }
84
+ export interface SupportTerm {
85
+ type?: string;
86
+ refundPolicy?: string;
87
+ }
88
+ export interface UsageBasedRateCardItem {
89
+ rateCard?: RateCardItem[];
90
+ }
91
+ export interface UsageBasedPricingTerm {
92
+ type?: string;
93
+ currencyCode?: string;
94
+ rateCards?: UsageBasedRateCardItem[];
95
+ }
96
+ export interface ValidityTerm {
97
+ type?: string;
98
+ agreementDuration?: string;
99
+ agreementStartDate?: Date;
100
+ agreementEndDate?: Date;
101
+ }
102
+ export type AcceptedTerm =
103
+ | AcceptedTerm.ByolPricingTermMember
104
+ | AcceptedTerm.ConfigurableUpfrontPricingTermMember
105
+ | AcceptedTerm.FixedUpfrontPricingTermMember
106
+ | AcceptedTerm.FreeTrialPricingTermMember
107
+ | AcceptedTerm.LegalTermMember
108
+ | AcceptedTerm.PaymentScheduleTermMember
109
+ | AcceptedTerm.RecurringPaymentTermMember
110
+ | AcceptedTerm.RenewalTermMember
111
+ | AcceptedTerm.SupportTermMember
112
+ | AcceptedTerm.UsageBasedPricingTermMember
113
+ | AcceptedTerm.ValidityTermMember
114
+ | AcceptedTerm.$UnknownMember;
115
+ export declare namespace AcceptedTerm {
116
+ interface LegalTermMember {
117
+ legalTerm: LegalTerm;
118
+ supportTerm?: never;
119
+ renewalTerm?: never;
120
+ usageBasedPricingTerm?: never;
121
+ configurableUpfrontPricingTerm?: never;
122
+ byolPricingTerm?: never;
123
+ recurringPaymentTerm?: never;
124
+ validityTerm?: never;
125
+ paymentScheduleTerm?: never;
126
+ freeTrialPricingTerm?: never;
127
+ fixedUpfrontPricingTerm?: never;
128
+ $unknown?: never;
129
+ }
130
+ interface SupportTermMember {
131
+ legalTerm?: never;
132
+ supportTerm: SupportTerm;
133
+ renewalTerm?: never;
134
+ usageBasedPricingTerm?: never;
135
+ configurableUpfrontPricingTerm?: never;
136
+ byolPricingTerm?: never;
137
+ recurringPaymentTerm?: never;
138
+ validityTerm?: never;
139
+ paymentScheduleTerm?: never;
140
+ freeTrialPricingTerm?: never;
141
+ fixedUpfrontPricingTerm?: never;
142
+ $unknown?: never;
143
+ }
144
+ interface RenewalTermMember {
145
+ legalTerm?: never;
146
+ supportTerm?: never;
147
+ renewalTerm: RenewalTerm;
148
+ usageBasedPricingTerm?: never;
149
+ configurableUpfrontPricingTerm?: never;
150
+ byolPricingTerm?: never;
151
+ recurringPaymentTerm?: never;
152
+ validityTerm?: never;
153
+ paymentScheduleTerm?: never;
154
+ freeTrialPricingTerm?: never;
155
+ fixedUpfrontPricingTerm?: never;
156
+ $unknown?: never;
157
+ }
158
+ interface UsageBasedPricingTermMember {
159
+ legalTerm?: never;
160
+ supportTerm?: never;
161
+ renewalTerm?: never;
162
+ usageBasedPricingTerm: UsageBasedPricingTerm;
163
+ configurableUpfrontPricingTerm?: never;
164
+ byolPricingTerm?: never;
165
+ recurringPaymentTerm?: never;
166
+ validityTerm?: never;
167
+ paymentScheduleTerm?: never;
168
+ freeTrialPricingTerm?: never;
169
+ fixedUpfrontPricingTerm?: never;
170
+ $unknown?: never;
171
+ }
172
+ interface ConfigurableUpfrontPricingTermMember {
173
+ legalTerm?: never;
174
+ supportTerm?: never;
175
+ renewalTerm?: never;
176
+ usageBasedPricingTerm?: never;
177
+ configurableUpfrontPricingTerm: ConfigurableUpfrontPricingTerm;
178
+ byolPricingTerm?: never;
179
+ recurringPaymentTerm?: never;
180
+ validityTerm?: never;
181
+ paymentScheduleTerm?: never;
182
+ freeTrialPricingTerm?: never;
183
+ fixedUpfrontPricingTerm?: never;
184
+ $unknown?: never;
185
+ }
186
+ interface ByolPricingTermMember {
187
+ legalTerm?: never;
188
+ supportTerm?: never;
189
+ renewalTerm?: never;
190
+ usageBasedPricingTerm?: never;
191
+ configurableUpfrontPricingTerm?: never;
192
+ byolPricingTerm: ByolPricingTerm;
193
+ recurringPaymentTerm?: never;
194
+ validityTerm?: never;
195
+ paymentScheduleTerm?: never;
196
+ freeTrialPricingTerm?: never;
197
+ fixedUpfrontPricingTerm?: never;
198
+ $unknown?: never;
199
+ }
200
+ interface RecurringPaymentTermMember {
201
+ legalTerm?: never;
202
+ supportTerm?: never;
203
+ renewalTerm?: never;
204
+ usageBasedPricingTerm?: never;
205
+ configurableUpfrontPricingTerm?: never;
206
+ byolPricingTerm?: never;
207
+ recurringPaymentTerm: RecurringPaymentTerm;
208
+ validityTerm?: never;
209
+ paymentScheduleTerm?: never;
210
+ freeTrialPricingTerm?: never;
211
+ fixedUpfrontPricingTerm?: never;
212
+ $unknown?: never;
213
+ }
214
+ interface ValidityTermMember {
215
+ legalTerm?: never;
216
+ supportTerm?: never;
217
+ renewalTerm?: never;
218
+ usageBasedPricingTerm?: never;
219
+ configurableUpfrontPricingTerm?: never;
220
+ byolPricingTerm?: never;
221
+ recurringPaymentTerm?: never;
222
+ validityTerm: ValidityTerm;
223
+ paymentScheduleTerm?: never;
224
+ freeTrialPricingTerm?: never;
225
+ fixedUpfrontPricingTerm?: never;
226
+ $unknown?: never;
227
+ }
228
+ interface PaymentScheduleTermMember {
229
+ legalTerm?: never;
230
+ supportTerm?: never;
231
+ renewalTerm?: never;
232
+ usageBasedPricingTerm?: never;
233
+ configurableUpfrontPricingTerm?: never;
234
+ byolPricingTerm?: never;
235
+ recurringPaymentTerm?: never;
236
+ validityTerm?: never;
237
+ paymentScheduleTerm: PaymentScheduleTerm;
238
+ freeTrialPricingTerm?: never;
239
+ fixedUpfrontPricingTerm?: never;
240
+ $unknown?: never;
241
+ }
242
+ interface FreeTrialPricingTermMember {
243
+ legalTerm?: never;
244
+ supportTerm?: never;
245
+ renewalTerm?: never;
246
+ usageBasedPricingTerm?: never;
247
+ configurableUpfrontPricingTerm?: never;
248
+ byolPricingTerm?: never;
249
+ recurringPaymentTerm?: never;
250
+ validityTerm?: never;
251
+ paymentScheduleTerm?: never;
252
+ freeTrialPricingTerm: FreeTrialPricingTerm;
253
+ fixedUpfrontPricingTerm?: never;
254
+ $unknown?: never;
255
+ }
256
+ interface FixedUpfrontPricingTermMember {
257
+ legalTerm?: never;
258
+ supportTerm?: never;
259
+ renewalTerm?: never;
260
+ usageBasedPricingTerm?: never;
261
+ configurableUpfrontPricingTerm?: never;
262
+ byolPricingTerm?: never;
263
+ recurringPaymentTerm?: never;
264
+ validityTerm?: never;
265
+ paymentScheduleTerm?: never;
266
+ freeTrialPricingTerm?: never;
267
+ fixedUpfrontPricingTerm: FixedUpfrontPricingTerm;
268
+ $unknown?: never;
269
+ }
270
+ interface $UnknownMember {
271
+ legalTerm?: never;
272
+ supportTerm?: never;
273
+ renewalTerm?: never;
274
+ usageBasedPricingTerm?: never;
275
+ configurableUpfrontPricingTerm?: never;
276
+ byolPricingTerm?: never;
277
+ recurringPaymentTerm?: never;
278
+ validityTerm?: never;
279
+ paymentScheduleTerm?: never;
280
+ freeTrialPricingTerm?: never;
281
+ fixedUpfrontPricingTerm?: never;
282
+ $unknown: [string, any];
283
+ }
284
+ interface Visitor<T> {
285
+ legalTerm: (value: LegalTerm) => T;
286
+ supportTerm: (value: SupportTerm) => T;
287
+ renewalTerm: (value: RenewalTerm) => T;
288
+ usageBasedPricingTerm: (value: UsageBasedPricingTerm) => T;
289
+ configurableUpfrontPricingTerm: (
290
+ value: ConfigurableUpfrontPricingTerm
291
+ ) => T;
292
+ byolPricingTerm: (value: ByolPricingTerm) => T;
293
+ recurringPaymentTerm: (value: RecurringPaymentTerm) => T;
294
+ validityTerm: (value: ValidityTerm) => T;
295
+ paymentScheduleTerm: (value: PaymentScheduleTerm) => T;
296
+ freeTrialPricingTerm: (value: FreeTrialPricingTerm) => T;
297
+ fixedUpfrontPricingTerm: (value: FixedUpfrontPricingTerm) => T;
298
+ _: (name: string, value: any) => T;
299
+ }
300
+ const visit: <T>(value: AcceptedTerm, visitor: Visitor<T>) => T;
301
+ }
302
+ export interface Acceptor {
303
+ accountId?: string;
304
+ }
305
+ export declare class AccessDeniedException extends __BaseException {
306
+ readonly name: "AccessDeniedException";
307
+ readonly $fault: "client";
308
+ requestId?: string;
309
+ constructor(
310
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
311
+ );
312
+ }
313
+ export declare const AgreementStatus: {
314
+ readonly ACTIVE: "ACTIVE";
315
+ readonly ARCHIVED: "ARCHIVED";
316
+ readonly CANCELLED: "CANCELLED";
317
+ readonly EXPIRED: "EXPIRED";
318
+ readonly RENEWED: "RENEWED";
319
+ readonly REPLACED: "REPLACED";
320
+ readonly ROLLED_BACK: "ROLLED_BACK";
321
+ readonly SUPERSEDED: "SUPERSEDED";
322
+ readonly TERMINATED: "TERMINATED";
323
+ };
324
+ export type AgreementStatus =
325
+ (typeof AgreementStatus)[keyof typeof AgreementStatus];
326
+ export interface Resource {
327
+ id?: string;
328
+ type?: string;
329
+ }
330
+ export interface ProposalSummary {
331
+ resources?: Resource[];
332
+ offerId?: string;
333
+ }
334
+ export interface Proposer {
335
+ accountId?: string;
336
+ }
337
+ export interface AgreementViewSummary {
338
+ agreementId?: string;
339
+ acceptanceTime?: Date;
340
+ startTime?: Date;
341
+ endTime?: Date;
342
+ agreementType?: string;
343
+ acceptor?: Acceptor;
344
+ proposer?: Proposer;
345
+ proposalSummary?: ProposalSummary;
346
+ status?: AgreementStatus;
347
+ }
348
+ export interface DescribeAgreementInput {
349
+ agreementId: string | undefined;
350
+ }
351
+ export interface EstimatedCharges {
352
+ currencyCode?: string;
353
+ agreementValue?: string;
354
+ }
355
+ export interface DescribeAgreementOutput {
356
+ agreementId?: string;
357
+ acceptor?: Acceptor;
358
+ proposer?: Proposer;
359
+ startTime?: Date;
360
+ endTime?: Date;
361
+ acceptanceTime?: Date;
362
+ agreementType?: string;
363
+ estimatedCharges?: EstimatedCharges;
364
+ proposalSummary?: ProposalSummary;
365
+ status?: AgreementStatus;
366
+ }
367
+ export declare class InternalServerException extends __BaseException {
368
+ readonly name: "InternalServerException";
369
+ readonly $fault: "server";
370
+ requestId?: string;
371
+ constructor(
372
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
373
+ );
374
+ }
375
+ export declare const ResourceType: {
376
+ readonly AGREEMENT: "Agreement";
377
+ };
378
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
379
+ export declare class ResourceNotFoundException extends __BaseException {
380
+ readonly name: "ResourceNotFoundException";
381
+ readonly $fault: "client";
382
+ requestId?: string;
383
+ resourceId?: string;
384
+ resourceType?: ResourceType;
385
+ constructor(
386
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
387
+ );
388
+ }
389
+ export declare class ThrottlingException extends __BaseException {
390
+ readonly name: "ThrottlingException";
391
+ readonly $fault: "client";
392
+ requestId?: string;
393
+ constructor(
394
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
395
+ );
396
+ }
397
+ export interface ValidationExceptionField {
398
+ name: string | undefined;
399
+ message: string | undefined;
400
+ }
401
+ export declare const ValidationExceptionReason: {
402
+ readonly INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID";
403
+ readonly INVALID_CATALOG: "INVALID_CATALOG";
404
+ readonly INVALID_FILTER_NAME: "INVALID_FILTER_NAME";
405
+ readonly INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES";
406
+ readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
407
+ readonly INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN";
408
+ readonly INVALID_SORT_BY: "INVALID_SORT_BY";
409
+ readonly INVALID_SORT_ORDER: "INVALID_SORT_ORDER";
410
+ readonly MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID";
411
+ readonly OTHER: "OTHER";
412
+ readonly UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS";
413
+ };
414
+ export type ValidationExceptionReason =
415
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
416
+ export declare class ValidationException extends __BaseException {
417
+ readonly name: "ValidationException";
418
+ readonly $fault: "client";
419
+ requestId?: string;
420
+ reason?: ValidationExceptionReason;
421
+ fields?: ValidationExceptionField[];
422
+ constructor(
423
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
424
+ );
425
+ }
426
+ export interface GetAgreementTermsInput {
427
+ agreementId: string | undefined;
428
+ maxResults?: number;
429
+ nextToken?: string;
430
+ }
431
+ export interface GetAgreementTermsOutput {
432
+ acceptedTerms?: AcceptedTerm[];
433
+ nextToken?: string;
434
+ }
435
+ export interface Filter {
436
+ name?: string;
437
+ values?: string[];
438
+ }
439
+ export declare const SortOrder: {
440
+ readonly ASCENDING: "ASCENDING";
441
+ readonly DESCENDING: "DESCENDING";
442
+ };
443
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
444
+ export interface Sort {
445
+ sortBy?: string;
446
+ sortOrder?: SortOrder;
447
+ }
448
+ export interface SearchAgreementsInput {
449
+ catalog?: string;
450
+ filters?: Filter[];
451
+ sort?: Sort;
452
+ maxResults?: number;
453
+ nextToken?: string;
454
+ }
455
+ export interface SearchAgreementsOutput {
456
+ agreementViewSummaries?: AgreementViewSummary[];
457
+ nextToken?: string;
458
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetAgreementTermsCommandInput,
4
+ GetAgreementTermsCommandOutput,
5
+ } from "../commands/GetAgreementTermsCommand";
6
+ import { MarketplaceAgreementPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateGetAgreementTerms(
8
+ config: MarketplaceAgreementPaginationConfiguration,
9
+ input: GetAgreementTermsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<GetAgreementTermsCommandOutput>;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { MarketplaceAgreementClient } from "../MarketplaceAgreementClient";
3
+ export interface MarketplaceAgreementPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: MarketplaceAgreementClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchAgreementsCommandInput,
4
+ SearchAgreementsCommandOutput,
5
+ } from "../commands/SearchAgreementsCommand";
6
+ import { MarketplaceAgreementPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateSearchAgreements(
8
+ config: MarketplaceAgreementPaginationConfiguration,
9
+ input: SearchAgreementsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<SearchAgreementsCommandOutput>;
@@ -0,0 +1,3 @@
1
+ export * from "./GetAgreementTermsPaginator";
2
+ export * from "./Interfaces";
3
+ export * from "./SearchAgreementsPaginator";
@@ -0,0 +1,41 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ DescribeAgreementCommandInput,
8
+ DescribeAgreementCommandOutput,
9
+ } from "../commands/DescribeAgreementCommand";
10
+ import {
11
+ GetAgreementTermsCommandInput,
12
+ GetAgreementTermsCommandOutput,
13
+ } from "../commands/GetAgreementTermsCommand";
14
+ import {
15
+ SearchAgreementsCommandInput,
16
+ SearchAgreementsCommandOutput,
17
+ } from "../commands/SearchAgreementsCommand";
18
+ export declare const se_DescribeAgreementCommand: (
19
+ input: DescribeAgreementCommandInput,
20
+ context: __SerdeContext
21
+ ) => Promise<__HttpRequest>;
22
+ export declare const se_GetAgreementTermsCommand: (
23
+ input: GetAgreementTermsCommandInput,
24
+ context: __SerdeContext
25
+ ) => Promise<__HttpRequest>;
26
+ export declare const se_SearchAgreementsCommand: (
27
+ input: SearchAgreementsCommandInput,
28
+ context: __SerdeContext
29
+ ) => Promise<__HttpRequest>;
30
+ export declare const de_DescribeAgreementCommand: (
31
+ output: __HttpResponse,
32
+ context: __SerdeContext
33
+ ) => Promise<DescribeAgreementCommandOutput>;
34
+ export declare const de_GetAgreementTermsCommand: (
35
+ output: __HttpResponse,
36
+ context: __SerdeContext
37
+ ) => Promise<GetAgreementTermsCommandOutput>;
38
+ export declare const de_SearchAgreementsCommand: (
39
+ output: __HttpResponse,
40
+ context: __SerdeContext
41
+ ) => Promise<SearchAgreementsCommandOutput>;
@@ -0,0 +1,99 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { MarketplaceAgreementClientConfig } from "./MarketplaceAgreementClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: MarketplaceAgreementClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ input: any
13
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
14
+ defaultUserAgentProvider: import("@smithy/types").Provider<
15
+ import("@smithy/types").UserAgent
16
+ >;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | (import("@smithy/types").RequestHandler<
21
+ any,
22
+ any,
23
+ import("@smithy/types").HttpHandlerOptions
24
+ > &
25
+ import("@smithy/types").RequestHandler<
26
+ import("@smithy/protocol-http").HttpRequest,
27
+ import("@smithy/protocol-http").HttpResponse,
28
+ import("@smithy/types").HttpHandlerOptions
29
+ > & {
30
+ updateHttpClientConfig(key: never, value: never): void;
31
+ httpHandlerConfigs(): {};
32
+ })
33
+ | RequestHandler;
34
+ retryMode: string | import("@smithy/types").Provider<string>;
35
+ sha256: import("@smithy/types").HashConstructor;
36
+ streamCollector: import("@smithy/types").StreamCollector;
37
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
38
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
39
+ apiVersion: string;
40
+ urlParser: import("@smithy/types").UrlParser;
41
+ base64Decoder: import("@smithy/types").Decoder;
42
+ base64Encoder: import("@smithy/types").Encoder;
43
+ utf8Decoder: import("@smithy/types").Decoder;
44
+ utf8Encoder: import("@smithy/types").Encoder;
45
+ disableHostPrefix: boolean;
46
+ serviceId: string;
47
+ logger: import("@smithy/types").Logger;
48
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
49
+ endpoint?:
50
+ | ((
51
+ | string
52
+ | import("@smithy/types").Endpoint
53
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
54
+ | import("@smithy/types").EndpointV2
55
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
+ ) &
57
+ (
58
+ | string
59
+ | import("@smithy/types").Provider<string>
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ))
65
+ | undefined;
66
+ endpointProvider: (
67
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
68
+ context?: {
69
+ logger?: import("@smithy/types").Logger | undefined;
70
+ }
71
+ ) => import("@smithy/types").EndpointV2;
72
+ tls?: boolean | undefined;
73
+ retryStrategy?:
74
+ | import("@smithy/types").RetryStrategy
75
+ | import("@smithy/types").RetryStrategyV2
76
+ | undefined;
77
+ credentials?:
78
+ | import("@smithy/types").AwsCredentialIdentity
79
+ | import("@smithy/types").Provider<
80
+ import("@smithy/types").AwsCredentialIdentity
81
+ >
82
+ | undefined;
83
+ signer?:
84
+ | import("@smithy/types").RequestSigner
85
+ | ((
86
+ authScheme?: import("@smithy/types").AuthScheme | undefined
87
+ ) => Promise<import("@smithy/types").RequestSigner>)
88
+ | undefined;
89
+ signingEscapePath?: boolean | undefined;
90
+ systemClockOffset?: number | undefined;
91
+ signingRegion?: string | undefined;
92
+ signerConstructor?:
93
+ | (new (
94
+ options: import("@smithy/signature-v4").SignatureV4Init &
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit
96
+ ) => import("@smithy/types").RequestSigner)
97
+ | undefined;
98
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
99
+ };