@aws-sdk/client-marketplace-agreement 3.987.0 → 3.989.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.
@@ -89,10 +89,10 @@ const _eAR = "enableAutoRenew";
89
89
  const _eC = "estimatedCharges";
90
90
  const _eD = "expirationDuration";
91
91
  const _eT = "endTime";
92
- const _f = "filters";
92
+ const _f = "fields";
93
93
  const _fTPT = "freeTrialPricingTerm";
94
94
  const _fUPT = "fixedUpfrontPricingTerm";
95
- const _fi = "fields";
95
+ const _fi = "filters";
96
96
  const _g = "grants";
97
97
  const _hE = "httpError";
98
98
  const _i = "id";
@@ -112,7 +112,7 @@ const _pS = "proposalSummary";
112
112
  const _pST = "paymentScheduleTerm";
113
113
  const _pr = "price";
114
114
  const _qC = "quantityConfiguration";
115
- const _r = "resources";
115
+ const _r = "reason";
116
116
  const _rC = "rateCards";
117
117
  const _rCa = "rateCard";
118
118
  const _rI = "requestId";
@@ -121,18 +121,18 @@ const _rP = "refundPolicy";
121
121
  const _rPT = "recurringPaymentTerm";
122
122
  const _rT = "resourceType";
123
123
  const _rTe = "renewalTerm";
124
- const _re = "reason";
125
- const _s = "status";
124
+ const _re = "resources";
125
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceagreement";
126
126
  const _sB = "sortBy";
127
127
  const _sO = "sortOrder";
128
128
  const _sT = "startTime";
129
129
  const _sTu = "supportTerm";
130
130
  const _sV = "selectorValue";
131
131
  const _sc = "schedule";
132
- const _se = "selector";
133
- const _ser = "server";
134
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceagreement";
132
+ const _se = "server";
133
+ const _sel = "selector";
135
134
  const _so = "sort";
135
+ const _st = "status";
136
136
  const _t = "type";
137
137
  const _u = "url";
138
138
  const _uBPT = "usageBasedPricingTerm";
@@ -145,20 +145,52 @@ const n0 = "com.amazonaws.marketplaceagreement";
145
145
  import { TypeRegistry } from "@smithy/core/schema";
146
146
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
147
147
  import { MarketplaceAgreementServiceException } from "../models/MarketplaceAgreementServiceException";
148
- export var Acceptor$ = [3, n0, _A,
149
- 0,
150
- [_aI],
151
- [0]
152
- ];
148
+ const _s_registry = TypeRegistry.for(_s);
149
+ export var MarketplaceAgreementServiceException$ = [-3, _s, "MarketplaceAgreementServiceException", 0, [], []];
150
+ _s_registry.registerError(MarketplaceAgreementServiceException$, MarketplaceAgreementServiceException);
151
+ const n0_registry = TypeRegistry.for(n0);
153
152
  export var AccessDeniedException$ = [-3, n0, _ADE,
154
153
  { [_e]: _c, [_hE]: 403 },
155
154
  [_rI, _m],
156
155
  [0, 0]
157
156
  ];
158
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
157
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
158
+ export var InternalServerException$ = [-3, n0, _ISE,
159
+ { [_e]: _se, [_hE]: 500 },
160
+ [_rI, _m],
161
+ [0, 0]
162
+ ];
163
+ n0_registry.registerError(InternalServerException$, InternalServerException);
164
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
165
+ { [_e]: _c, [_hE]: 404 },
166
+ [_rI, _m, _rIe, _rT],
167
+ [0, 0, 0, 0]
168
+ ];
169
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
170
+ export var ThrottlingException$ = [-3, n0, _TE,
171
+ { [_e]: _c, [_hE]: 429 },
172
+ [_rI, _m],
173
+ [0, 0]
174
+ ];
175
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
176
+ export var ValidationException$ = [-3, n0, _VE,
177
+ { [_e]: _c, [_hE]: 400 },
178
+ [_rI, _m, _r, _f],
179
+ [0, 0, 0, () => ValidationExceptionFieldList]
180
+ ];
181
+ n0_registry.registerError(ValidationException$, ValidationException);
182
+ export const errorTypeRegistries = [
183
+ _s_registry,
184
+ n0_registry,
185
+ ];
186
+ export var Acceptor$ = [3, n0, _A,
187
+ 0,
188
+ [_aI],
189
+ [0]
190
+ ];
159
191
  export var AgreementViewSummary$ = [3, n0, _AVS,
160
192
  0,
161
- [_aIg, _aT, _sT, _eT, _aTg, _a, _p, _pS, _s],
193
+ [_aIg, _aT, _sT, _eT, _aTg, _a, _p, _pS, _st],
162
194
  [0, 4, 4, 4, 0, () => Acceptor$, () => Proposer$, () => ProposalSummary$, 0]
163
195
  ];
164
196
  export var ByolPricingTerm$ = [3, n0, _BPT,
@@ -178,7 +210,7 @@ export var ConfigurableUpfrontPricingTermConfiguration$ = [3, n0, _CUPTC,
178
210
  ];
179
211
  export var ConfigurableUpfrontRateCardItem$ = [3, n0, _CURCI,
180
212
  0,
181
- [_se, _con, _rCa],
213
+ [_sel, _con, _rCa],
182
214
  [() => Selector$, () => Constraints$, () => RateCardList]
183
215
  ];
184
216
  export var Constraints$ = [3, n0, _C,
@@ -193,7 +225,7 @@ export var DescribeAgreementInput$ = [3, n0, _DAI,
193
225
  ];
194
226
  export var DescribeAgreementOutput$ = [3, n0, _DAO,
195
227
  0,
196
- [_aIg, _a, _p, _sT, _eT, _aT, _aTg, _eC, _pS, _s],
228
+ [_aIg, _a, _p, _sT, _eT, _aT, _aTg, _eC, _pS, _st],
197
229
  [0, () => Acceptor$, () => Proposer$, 4, 4, 4, 0, () => EstimatedCharges$, () => ProposalSummary$, 0]
198
230
  ];
199
231
  export var Dimension$ = [3, n0, _D,
@@ -241,12 +273,6 @@ export var GrantItem$ = [3, n0, _GI,
241
273
  [_dK, _mQ],
242
274
  [0, 1]
243
275
  ];
244
- export var InternalServerException$ = [-3, n0, _ISE,
245
- { [_e]: _ser, [_hE]: 500 },
246
- [_rI, _m],
247
- [0, 0]
248
- ];
249
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
250
276
  export var LegalTerm$ = [3, n0, _LT,
251
277
  0,
252
278
  [_t, _do],
@@ -259,7 +285,7 @@ export var PaymentScheduleTerm$ = [3, n0, _PST,
259
285
  ];
260
286
  export var ProposalSummary$ = [3, n0, _PS,
261
287
  0,
262
- [_r, _oI, _oSI],
288
+ [_re, _oI, _oSI],
263
289
  [() => Resources, 0, 0]
264
290
  ];
265
291
  export var Proposer$ = [3, n0, _P,
@@ -292,12 +318,6 @@ export var Resource$ = [3, n0, _R,
292
318
  [_i, _t],
293
319
  [0, 0]
294
320
  ];
295
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
296
- { [_e]: _c, [_hE]: 404 },
297
- [_rI, _m, _rIe, _rT],
298
- [0, 0, 0, 0]
299
- ];
300
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
301
321
  export var ScheduleItem$ = [3, n0, _SI,
302
322
  0,
303
323
  [_cD, _cA],
@@ -305,7 +325,7 @@ export var ScheduleItem$ = [3, n0, _SI,
305
325
  ];
306
326
  export var SearchAgreementsInput$ = [3, n0, _SAI,
307
327
  0,
308
- [_ca, _f, _so, _mR, _nT],
328
+ [_ca, _fi, _so, _mR, _nT],
309
329
  [0, () => FilterList, () => Sort$, 1, 0]
310
330
  ];
311
331
  export var SearchAgreementsOutput$ = [3, n0, _SAO,
@@ -328,12 +348,6 @@ export var SupportTerm$ = [3, n0, _ST,
328
348
  [_t, _rP],
329
349
  [0, 0]
330
350
  ];
331
- export var ThrottlingException$ = [-3, n0, _TE,
332
- { [_e]: _c, [_hE]: 429 },
333
- [_rI, _m],
334
- [0, 0]
335
- ];
336
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
337
351
  export var UsageBasedPricingTerm$ = [3, n0, _UBPT,
338
352
  0,
339
353
  [_t, _cC, _rC],
@@ -344,12 +358,6 @@ export var UsageBasedRateCardItem$ = [3, n0, _UBRCI,
344
358
  [_rCa],
345
359
  [() => RateCardList]
346
360
  ];
347
- export var ValidationException$ = [-3, n0, _VE,
348
- { [_e]: _c, [_hE]: 400 },
349
- [_rI, _m, _re, _fi],
350
- [0, 0, 0, () => ValidationExceptionFieldList]
351
- ];
352
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
353
361
  export var ValidationExceptionField$ = [3, n0, _VEF,
354
362
  0,
355
363
  [_n, _m],
@@ -370,8 +378,6 @@ export var VariablePaymentTermConfiguration$ = [3, n0, _VPTC,
370
378
  [_pRAS, _eD],
371
379
  [0, 0], 1
372
380
  ];
373
- export var MarketplaceAgreementServiceException$ = [-3, _sm, "MarketplaceAgreementServiceException", 0, [], []];
374
- TypeRegistry.for(_sm).registerError(MarketplaceAgreementServiceException$, MarketplaceAgreementServiceException);
375
381
  var AcceptedTermList = [1, n0, _ATL,
376
382
  0, () => AcceptedTerm$
377
383
  ];
@@ -1,6 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
2
- export declare var Acceptor$: StaticStructureSchema;
3
+ export declare var MarketplaceAgreementServiceException$: StaticErrorSchema;
3
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ThrottlingException$: StaticErrorSchema;
8
+ export declare var ValidationException$: StaticErrorSchema;
9
+ /**
10
+ * TypeRegistry instances containing modeled errors.
11
+ * @internal
12
+ *
13
+ */
14
+ export declare const errorTypeRegistries: TypeRegistry[];
15
+ export declare var Acceptor$: StaticStructureSchema;
4
16
  export declare var AgreementViewSummary$: StaticStructureSchema;
5
17
  export declare var ByolPricingTerm$: StaticStructureSchema;
6
18
  export declare var ConfigurableUpfrontPricingTerm$: StaticStructureSchema;
@@ -18,7 +30,6 @@ export declare var FreeTrialPricingTerm$: StaticStructureSchema;
18
30
  export declare var GetAgreementTermsInput$: StaticStructureSchema;
19
31
  export declare var GetAgreementTermsOutput$: StaticStructureSchema;
20
32
  export declare var GrantItem$: StaticStructureSchema;
21
- export declare var InternalServerException$: StaticErrorSchema;
22
33
  export declare var LegalTerm$: StaticStructureSchema;
23
34
  export declare var PaymentScheduleTerm$: StaticStructureSchema;
24
35
  export declare var ProposalSummary$: StaticStructureSchema;
@@ -28,22 +39,18 @@ export declare var RecurringPaymentTerm$: StaticStructureSchema;
28
39
  export declare var RenewalTerm$: StaticStructureSchema;
29
40
  export declare var RenewalTermConfiguration$: StaticStructureSchema;
30
41
  export declare var Resource$: StaticStructureSchema;
31
- export declare var ResourceNotFoundException$: StaticErrorSchema;
32
42
  export declare var ScheduleItem$: StaticStructureSchema;
33
43
  export declare var SearchAgreementsInput$: StaticStructureSchema;
34
44
  export declare var SearchAgreementsOutput$: StaticStructureSchema;
35
45
  export declare var Selector$: StaticStructureSchema;
36
46
  export declare var Sort$: StaticStructureSchema;
37
47
  export declare var SupportTerm$: StaticStructureSchema;
38
- export declare var ThrottlingException$: StaticErrorSchema;
39
48
  export declare var UsageBasedPricingTerm$: StaticStructureSchema;
40
49
  export declare var UsageBasedRateCardItem$: StaticStructureSchema;
41
- export declare var ValidationException$: StaticErrorSchema;
42
50
  export declare var ValidationExceptionField$: StaticStructureSchema;
43
51
  export declare var ValidityTerm$: StaticStructureSchema;
44
52
  export declare var VariablePaymentTerm$: StaticStructureSchema;
45
53
  export declare var VariablePaymentTermConfiguration$: StaticStructureSchema;
46
- export declare var MarketplaceAgreementServiceException$: StaticErrorSchema;
47
54
  export declare var AcceptedTerm$: StaticUnionSchema;
48
55
  export declare var DescribeAgreement$: StaticOperationSchema;
49
56
  export declare var GetAgreementTerms$: StaticOperationSchema;
@@ -1,11 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
7
- export declare var Acceptor$: StaticStructureSchema;
8
+ export declare var MarketplaceAgreementServiceException$: StaticErrorSchema;
8
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
15
+ export declare var Acceptor$: StaticStructureSchema;
9
16
  export declare var AgreementViewSummary$: StaticStructureSchema;
10
17
  export declare var ByolPricingTerm$: StaticStructureSchema;
11
18
  export declare var ConfigurableUpfrontPricingTerm$: StaticStructureSchema;
@@ -23,7 +30,6 @@ export declare var FreeTrialPricingTerm$: StaticStructureSchema;
23
30
  export declare var GetAgreementTermsInput$: StaticStructureSchema;
24
31
  export declare var GetAgreementTermsOutput$: StaticStructureSchema;
25
32
  export declare var GrantItem$: StaticStructureSchema;
26
- export declare var InternalServerException$: StaticErrorSchema;
27
33
  export declare var LegalTerm$: StaticStructureSchema;
28
34
  export declare var PaymentScheduleTerm$: StaticStructureSchema;
29
35
  export declare var ProposalSummary$: StaticStructureSchema;
@@ -33,22 +39,18 @@ export declare var RecurringPaymentTerm$: StaticStructureSchema;
33
39
  export declare var RenewalTerm$: StaticStructureSchema;
34
40
  export declare var RenewalTermConfiguration$: StaticStructureSchema;
35
41
  export declare var Resource$: StaticStructureSchema;
36
- export declare var ResourceNotFoundException$: StaticErrorSchema;
37
42
  export declare var ScheduleItem$: StaticStructureSchema;
38
43
  export declare var SearchAgreementsInput$: StaticStructureSchema;
39
44
  export declare var SearchAgreementsOutput$: StaticStructureSchema;
40
45
  export declare var Selector$: StaticStructureSchema;
41
46
  export declare var Sort$: StaticStructureSchema;
42
47
  export declare var SupportTerm$: StaticStructureSchema;
43
- export declare var ThrottlingException$: StaticErrorSchema;
44
48
  export declare var UsageBasedPricingTerm$: StaticStructureSchema;
45
49
  export declare var UsageBasedRateCardItem$: StaticStructureSchema;
46
- export declare var ValidationException$: StaticErrorSchema;
47
50
  export declare var ValidationExceptionField$: StaticStructureSchema;
48
51
  export declare var ValidityTerm$: StaticStructureSchema;
49
52
  export declare var VariablePaymentTerm$: StaticStructureSchema;
50
53
  export declare var VariablePaymentTermConfiguration$: StaticStructureSchema;
51
- export declare var MarketplaceAgreementServiceException$: StaticErrorSchema;
52
54
  export declare var AcceptedTerm$: StaticUnionSchema;
53
55
  export declare var DescribeAgreement$: StaticOperationSchema;
54
56
  export declare var GetAgreementTerms$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-agreement",
3
3
  "description": "AWS SDK for JavaScript Marketplace Agreement Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-marketplace-agreement",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",