@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.
- package/dist-cjs/index.js +22 -566
- package/dist-cjs/models/MarketplaceAgreementServiceException.js +12 -0
- package/dist-cjs/models/errors.js +87 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +434 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +51 -45
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const MarketplaceAgreementServiceException_1 = require("./MarketplaceAgreementServiceException");
|
|
5
|
+
class AccessDeniedException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
requestId;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.requestId = opts.requestId;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class InternalServerException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
21
|
+
name = "InternalServerException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
requestId;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InternalServerException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
31
|
+
this.requestId = opts.requestId;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.InternalServerException = InternalServerException;
|
|
35
|
+
class ResourceNotFoundException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
36
|
+
name = "ResourceNotFoundException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
requestId;
|
|
39
|
+
resourceId;
|
|
40
|
+
resourceType;
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ResourceNotFoundException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
48
|
+
this.requestId = opts.requestId;
|
|
49
|
+
this.resourceId = opts.resourceId;
|
|
50
|
+
this.resourceType = opts.resourceType;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
54
|
+
class ThrottlingException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
55
|
+
name = "ThrottlingException";
|
|
56
|
+
$fault = "client";
|
|
57
|
+
requestId;
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "ThrottlingException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
65
|
+
this.requestId = opts.requestId;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.ThrottlingException = ThrottlingException;
|
|
69
|
+
class ValidationException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
70
|
+
name = "ValidationException";
|
|
71
|
+
$fault = "client";
|
|
72
|
+
requestId;
|
|
73
|
+
reason;
|
|
74
|
+
fields;
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ValidationException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
82
|
+
this.requestId = opts.requestId;
|
|
83
|
+
this.reason = opts.reason;
|
|
84
|
+
this.fields = opts.fields;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.ValidationException = ValidationException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2020-03-01",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.marketplaceagreement",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2020-03-01",
|
|
33
35
|
serviceTarget: "AWSMPCommerceService_v20200301",
|
|
34
36
|
},
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchAgreements$ = exports.GetAgreementTerms$ = exports.DescribeAgreement$ = exports.AcceptedTerm$ = exports.VariablePaymentTermConfiguration$ = exports.VariablePaymentTerm$ = exports.ValidityTerm$ = exports.ValidationExceptionField$ = exports.UsageBasedRateCardItem$ = exports.UsageBasedPricingTerm$ = exports.SupportTerm$ = exports.Sort$ = exports.Selector$ = exports.SearchAgreementsOutput$ = exports.SearchAgreementsInput$ = exports.ScheduleItem$ = exports.Resource$ = exports.RenewalTermConfiguration$ = exports.RenewalTerm$ = exports.RecurringPaymentTerm$ = exports.RateCardItem$ = exports.Proposer$ = exports.ProposalSummary$ = exports.PaymentScheduleTerm$ = exports.LegalTerm$ = exports.GrantItem$ = exports.GetAgreementTermsOutput$ = exports.GetAgreementTermsInput$ = exports.FreeTrialPricingTerm$ = exports.FixedUpfrontPricingTerm$ = exports.Filter$ = exports.EstimatedCharges$ = exports.DocumentItem$ = exports.Dimension$ = exports.DescribeAgreementOutput$ = exports.DescribeAgreementInput$ = exports.Constraints$ = exports.ConfigurableUpfrontRateCardItem$ = exports.ConfigurableUpfrontPricingTermConfiguration$ = exports.ConfigurableUpfrontPricingTerm$ = exports.ByolPricingTerm$ = exports.AgreementViewSummary$ = exports.Acceptor$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.MarketplaceAgreementServiceException$ = void 0;
|
|
4
|
+
const _A = "Acceptor";
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _AT = "AcceptedTerm";
|
|
7
|
+
const _ATL = "AcceptedTermList";
|
|
8
|
+
const _AVS = "AgreementViewSummary";
|
|
9
|
+
const _AVSL = "AgreementViewSummaryList";
|
|
10
|
+
const _BPT = "ByolPricingTerm";
|
|
11
|
+
const _C = "Constraints";
|
|
12
|
+
const _CUPT = "ConfigurableUpfrontPricingTerm";
|
|
13
|
+
const _CUPTC = "ConfigurableUpfrontPricingTermConfiguration";
|
|
14
|
+
const _CURCI = "ConfigurableUpfrontRateCardItem";
|
|
15
|
+
const _CURCL = "ConfigurableUpfrontRateCardList";
|
|
16
|
+
const _D = "Dimension";
|
|
17
|
+
const _DA = "DescribeAgreement";
|
|
18
|
+
const _DAI = "DescribeAgreementInput";
|
|
19
|
+
const _DAO = "DescribeAgreementOutput";
|
|
20
|
+
const _DI = "DocumentItem";
|
|
21
|
+
const _DL = "DimensionList";
|
|
22
|
+
const _DLo = "DocumentList";
|
|
23
|
+
const _EC = "EstimatedCharges";
|
|
24
|
+
const _F = "Filter";
|
|
25
|
+
const _FL = "FilterList";
|
|
26
|
+
const _FTPT = "FreeTrialPricingTerm";
|
|
27
|
+
const _FUPT = "FixedUpfrontPricingTerm";
|
|
28
|
+
const _GAT = "GetAgreementTerms";
|
|
29
|
+
const _GATI = "GetAgreementTermsInput";
|
|
30
|
+
const _GATO = "GetAgreementTermsOutput";
|
|
31
|
+
const _GI = "GrantItem";
|
|
32
|
+
const _GL = "GrantList";
|
|
33
|
+
const _ISE = "InternalServerException";
|
|
34
|
+
const _LT = "LegalTerm";
|
|
35
|
+
const _P = "Proposer";
|
|
36
|
+
const _PS = "ProposalSummary";
|
|
37
|
+
const _PST = "PaymentScheduleTerm";
|
|
38
|
+
const _R = "Resource";
|
|
39
|
+
const _RCI = "RateCardItem";
|
|
40
|
+
const _RCL = "RateCardList";
|
|
41
|
+
const _RNFE = "ResourceNotFoundException";
|
|
42
|
+
const _RPT = "RecurringPaymentTerm";
|
|
43
|
+
const _RT = "RenewalTerm";
|
|
44
|
+
const _RTC = "RenewalTermConfiguration";
|
|
45
|
+
const _Re = "Resources";
|
|
46
|
+
const _S = "Selector";
|
|
47
|
+
const _SA = "SearchAgreements";
|
|
48
|
+
const _SAI = "SearchAgreementsInput";
|
|
49
|
+
const _SAO = "SearchAgreementsOutput";
|
|
50
|
+
const _SI = "ScheduleItem";
|
|
51
|
+
const _SL = "ScheduleList";
|
|
52
|
+
const _ST = "SupportTerm";
|
|
53
|
+
const _So = "Sort";
|
|
54
|
+
const _TE = "ThrottlingException";
|
|
55
|
+
const _UBPT = "UsageBasedPricingTerm";
|
|
56
|
+
const _UBRCI = "UsageBasedRateCardItem";
|
|
57
|
+
const _UBRCL = "UsageBasedRateCardList";
|
|
58
|
+
const _VE = "ValidationException";
|
|
59
|
+
const _VEF = "ValidationExceptionField";
|
|
60
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
61
|
+
const _VPT = "VariablePaymentTerm";
|
|
62
|
+
const _VPTC = "VariablePaymentTermConfiguration";
|
|
63
|
+
const _VT = "ValidityTerm";
|
|
64
|
+
const _a = "acceptor";
|
|
65
|
+
const _aD = "agreementDuration";
|
|
66
|
+
const _aED = "agreementEndDate";
|
|
67
|
+
const _aI = "accountId";
|
|
68
|
+
const _aIg = "agreementId";
|
|
69
|
+
const _aSD = "agreementStartDate";
|
|
70
|
+
const _aT = "acceptanceTime";
|
|
71
|
+
const _aTc = "acceptedTerms";
|
|
72
|
+
const _aTg = "agreementType";
|
|
73
|
+
const _aV = "agreementValue";
|
|
74
|
+
const _aVS = "agreementViewSummaries";
|
|
75
|
+
const _bP = "billingPeriod";
|
|
76
|
+
const _bPT = "byolPricingTerm";
|
|
77
|
+
const _c = "client";
|
|
78
|
+
const _cA = "chargeAmount";
|
|
79
|
+
const _cC = "currencyCode";
|
|
80
|
+
const _cD = "chargeDate";
|
|
81
|
+
const _cUPT = "configurableUpfrontPricingTerm";
|
|
82
|
+
const _ca = "catalog";
|
|
83
|
+
const _co = "configuration";
|
|
84
|
+
const _con = "constraints";
|
|
85
|
+
const _d = "dimensions";
|
|
86
|
+
const _dK = "dimensionKey";
|
|
87
|
+
const _dV = "dimensionValue";
|
|
88
|
+
const _do = "documents";
|
|
89
|
+
const _du = "duration";
|
|
90
|
+
const _e = "error";
|
|
91
|
+
const _eAR = "enableAutoRenew";
|
|
92
|
+
const _eC = "estimatedCharges";
|
|
93
|
+
const _eD = "expirationDuration";
|
|
94
|
+
const _eT = "endTime";
|
|
95
|
+
const _f = "fields";
|
|
96
|
+
const _fTPT = "freeTrialPricingTerm";
|
|
97
|
+
const _fUPT = "fixedUpfrontPricingTerm";
|
|
98
|
+
const _fi = "filters";
|
|
99
|
+
const _g = "grants";
|
|
100
|
+
const _hE = "httpError";
|
|
101
|
+
const _i = "id";
|
|
102
|
+
const _lT = "legalTerm";
|
|
103
|
+
const _m = "message";
|
|
104
|
+
const _mDS = "multipleDimensionSelection";
|
|
105
|
+
const _mQ = "maxQuantity";
|
|
106
|
+
const _mR = "maxResults";
|
|
107
|
+
const _mTCA = "maxTotalChargeAmount";
|
|
108
|
+
const _n = "name";
|
|
109
|
+
const _nT = "nextToken";
|
|
110
|
+
const _oI = "offerId";
|
|
111
|
+
const _oSI = "offerSetId";
|
|
112
|
+
const _p = "proposer";
|
|
113
|
+
const _pRAS = "paymentRequestApprovalStrategy";
|
|
114
|
+
const _pS = "proposalSummary";
|
|
115
|
+
const _pST = "paymentScheduleTerm";
|
|
116
|
+
const _pr = "price";
|
|
117
|
+
const _qC = "quantityConfiguration";
|
|
118
|
+
const _r = "reason";
|
|
119
|
+
const _rC = "rateCards";
|
|
120
|
+
const _rCa = "rateCard";
|
|
121
|
+
const _rI = "requestId";
|
|
122
|
+
const _rIe = "resourceId";
|
|
123
|
+
const _rP = "refundPolicy";
|
|
124
|
+
const _rPT = "recurringPaymentTerm";
|
|
125
|
+
const _rT = "resourceType";
|
|
126
|
+
const _rTe = "renewalTerm";
|
|
127
|
+
const _re = "resources";
|
|
128
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceagreement";
|
|
129
|
+
const _sB = "sortBy";
|
|
130
|
+
const _sO = "sortOrder";
|
|
131
|
+
const _sT = "startTime";
|
|
132
|
+
const _sTu = "supportTerm";
|
|
133
|
+
const _sV = "selectorValue";
|
|
134
|
+
const _sc = "schedule";
|
|
135
|
+
const _se = "server";
|
|
136
|
+
const _sel = "selector";
|
|
137
|
+
const _so = "sort";
|
|
138
|
+
const _st = "status";
|
|
139
|
+
const _t = "type";
|
|
140
|
+
const _u = "url";
|
|
141
|
+
const _uBPT = "usageBasedPricingTerm";
|
|
142
|
+
const _v = "version";
|
|
143
|
+
const _vPT = "variablePaymentTerm";
|
|
144
|
+
const _vT = "validityTerm";
|
|
145
|
+
const _va = "values";
|
|
146
|
+
const _val = "value";
|
|
147
|
+
const n0 = "com.amazonaws.marketplaceagreement";
|
|
148
|
+
const schema_1 = require("@smithy/core/schema");
|
|
149
|
+
const errors_1 = require("../models/errors");
|
|
150
|
+
const MarketplaceAgreementServiceException_1 = require("../models/MarketplaceAgreementServiceException");
|
|
151
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
152
|
+
exports.MarketplaceAgreementServiceException$ = [-3, _s, "MarketplaceAgreementServiceException", 0, [], []];
|
|
153
|
+
_s_registry.registerError(exports.MarketplaceAgreementServiceException$, MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException);
|
|
154
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
155
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
156
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
157
|
+
[_rI, _m],
|
|
158
|
+
[0, 0]
|
|
159
|
+
];
|
|
160
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
161
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
162
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
163
|
+
[_rI, _m],
|
|
164
|
+
[0, 0]
|
|
165
|
+
];
|
|
166
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
167
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
168
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
169
|
+
[_rI, _m, _rIe, _rT],
|
|
170
|
+
[0, 0, 0, 0]
|
|
171
|
+
];
|
|
172
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
173
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
174
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
175
|
+
[_rI, _m],
|
|
176
|
+
[0, 0]
|
|
177
|
+
];
|
|
178
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
179
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
180
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
181
|
+
[_rI, _m, _r, _f],
|
|
182
|
+
[0, 0, 0, () => ValidationExceptionFieldList]
|
|
183
|
+
];
|
|
184
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
185
|
+
exports.errorTypeRegistries = [
|
|
186
|
+
_s_registry,
|
|
187
|
+
n0_registry,
|
|
188
|
+
];
|
|
189
|
+
exports.Acceptor$ = [3, n0, _A,
|
|
190
|
+
0,
|
|
191
|
+
[_aI],
|
|
192
|
+
[0]
|
|
193
|
+
];
|
|
194
|
+
exports.AgreementViewSummary$ = [3, n0, _AVS,
|
|
195
|
+
0,
|
|
196
|
+
[_aIg, _aT, _sT, _eT, _aTg, _a, _p, _pS, _st],
|
|
197
|
+
[0, 4, 4, 4, 0, () => exports.Acceptor$, () => exports.Proposer$, () => exports.ProposalSummary$, 0]
|
|
198
|
+
];
|
|
199
|
+
exports.ByolPricingTerm$ = [3, n0, _BPT,
|
|
200
|
+
0,
|
|
201
|
+
[_t],
|
|
202
|
+
[0]
|
|
203
|
+
];
|
|
204
|
+
exports.ConfigurableUpfrontPricingTerm$ = [3, n0, _CUPT,
|
|
205
|
+
0,
|
|
206
|
+
[_t, _cC, _rC, _co],
|
|
207
|
+
[0, 0, () => ConfigurableUpfrontRateCardList, () => exports.ConfigurableUpfrontPricingTermConfiguration$]
|
|
208
|
+
];
|
|
209
|
+
exports.ConfigurableUpfrontPricingTermConfiguration$ = [3, n0, _CUPTC,
|
|
210
|
+
0,
|
|
211
|
+
[_sV, _d],
|
|
212
|
+
[0, () => DimensionList], 2
|
|
213
|
+
];
|
|
214
|
+
exports.ConfigurableUpfrontRateCardItem$ = [3, n0, _CURCI,
|
|
215
|
+
0,
|
|
216
|
+
[_sel, _con, _rCa],
|
|
217
|
+
[() => exports.Selector$, () => exports.Constraints$, () => RateCardList]
|
|
218
|
+
];
|
|
219
|
+
exports.Constraints$ = [3, n0, _C,
|
|
220
|
+
0,
|
|
221
|
+
[_mDS, _qC],
|
|
222
|
+
[0, 0]
|
|
223
|
+
];
|
|
224
|
+
exports.DescribeAgreementInput$ = [3, n0, _DAI,
|
|
225
|
+
0,
|
|
226
|
+
[_aIg],
|
|
227
|
+
[0], 1
|
|
228
|
+
];
|
|
229
|
+
exports.DescribeAgreementOutput$ = [3, n0, _DAO,
|
|
230
|
+
0,
|
|
231
|
+
[_aIg, _a, _p, _sT, _eT, _aT, _aTg, _eC, _pS, _st],
|
|
232
|
+
[0, () => exports.Acceptor$, () => exports.Proposer$, 4, 4, 4, 0, () => exports.EstimatedCharges$, () => exports.ProposalSummary$, 0]
|
|
233
|
+
];
|
|
234
|
+
exports.Dimension$ = [3, n0, _D,
|
|
235
|
+
0,
|
|
236
|
+
[_dK, _dV],
|
|
237
|
+
[0, 1], 2
|
|
238
|
+
];
|
|
239
|
+
exports.DocumentItem$ = [3, n0, _DI,
|
|
240
|
+
0,
|
|
241
|
+
[_t, _u, _v],
|
|
242
|
+
[0, 0, 0]
|
|
243
|
+
];
|
|
244
|
+
exports.EstimatedCharges$ = [3, n0, _EC,
|
|
245
|
+
0,
|
|
246
|
+
[_cC, _aV],
|
|
247
|
+
[0, 0]
|
|
248
|
+
];
|
|
249
|
+
exports.Filter$ = [3, n0, _F,
|
|
250
|
+
0,
|
|
251
|
+
[_n, _va],
|
|
252
|
+
[0, 64 | 0]
|
|
253
|
+
];
|
|
254
|
+
exports.FixedUpfrontPricingTerm$ = [3, n0, _FUPT,
|
|
255
|
+
0,
|
|
256
|
+
[_t, _cC, _du, _pr, _g],
|
|
257
|
+
[0, 0, 0, 0, () => GrantList]
|
|
258
|
+
];
|
|
259
|
+
exports.FreeTrialPricingTerm$ = [3, n0, _FTPT,
|
|
260
|
+
0,
|
|
261
|
+
[_t, _du, _g],
|
|
262
|
+
[0, 0, () => GrantList]
|
|
263
|
+
];
|
|
264
|
+
exports.GetAgreementTermsInput$ = [3, n0, _GATI,
|
|
265
|
+
0,
|
|
266
|
+
[_aIg, _mR, _nT],
|
|
267
|
+
[0, 1, 0], 1
|
|
268
|
+
];
|
|
269
|
+
exports.GetAgreementTermsOutput$ = [3, n0, _GATO,
|
|
270
|
+
0,
|
|
271
|
+
[_aTc, _nT],
|
|
272
|
+
[() => AcceptedTermList, 0]
|
|
273
|
+
];
|
|
274
|
+
exports.GrantItem$ = [3, n0, _GI,
|
|
275
|
+
0,
|
|
276
|
+
[_dK, _mQ],
|
|
277
|
+
[0, 1]
|
|
278
|
+
];
|
|
279
|
+
exports.LegalTerm$ = [3, n0, _LT,
|
|
280
|
+
0,
|
|
281
|
+
[_t, _do],
|
|
282
|
+
[0, () => DocumentList]
|
|
283
|
+
];
|
|
284
|
+
exports.PaymentScheduleTerm$ = [3, n0, _PST,
|
|
285
|
+
0,
|
|
286
|
+
[_t, _cC, _sc],
|
|
287
|
+
[0, 0, () => ScheduleList]
|
|
288
|
+
];
|
|
289
|
+
exports.ProposalSummary$ = [3, n0, _PS,
|
|
290
|
+
0,
|
|
291
|
+
[_re, _oI, _oSI],
|
|
292
|
+
[() => Resources, 0, 0]
|
|
293
|
+
];
|
|
294
|
+
exports.Proposer$ = [3, n0, _P,
|
|
295
|
+
0,
|
|
296
|
+
[_aI],
|
|
297
|
+
[0]
|
|
298
|
+
];
|
|
299
|
+
exports.RateCardItem$ = [3, n0, _RCI,
|
|
300
|
+
0,
|
|
301
|
+
[_dK, _pr],
|
|
302
|
+
[0, 0]
|
|
303
|
+
];
|
|
304
|
+
exports.RecurringPaymentTerm$ = [3, n0, _RPT,
|
|
305
|
+
0,
|
|
306
|
+
[_t, _cC, _bP, _pr],
|
|
307
|
+
[0, 0, 0, 0]
|
|
308
|
+
];
|
|
309
|
+
exports.RenewalTerm$ = [3, n0, _RT,
|
|
310
|
+
0,
|
|
311
|
+
[_t, _co],
|
|
312
|
+
[0, () => exports.RenewalTermConfiguration$]
|
|
313
|
+
];
|
|
314
|
+
exports.RenewalTermConfiguration$ = [3, n0, _RTC,
|
|
315
|
+
0,
|
|
316
|
+
[_eAR],
|
|
317
|
+
[2], 1
|
|
318
|
+
];
|
|
319
|
+
exports.Resource$ = [3, n0, _R,
|
|
320
|
+
0,
|
|
321
|
+
[_i, _t],
|
|
322
|
+
[0, 0]
|
|
323
|
+
];
|
|
324
|
+
exports.ScheduleItem$ = [3, n0, _SI,
|
|
325
|
+
0,
|
|
326
|
+
[_cD, _cA],
|
|
327
|
+
[4, 0]
|
|
328
|
+
];
|
|
329
|
+
exports.SearchAgreementsInput$ = [3, n0, _SAI,
|
|
330
|
+
0,
|
|
331
|
+
[_ca, _fi, _so, _mR, _nT],
|
|
332
|
+
[0, () => FilterList, () => exports.Sort$, 1, 0]
|
|
333
|
+
];
|
|
334
|
+
exports.SearchAgreementsOutput$ = [3, n0, _SAO,
|
|
335
|
+
0,
|
|
336
|
+
[_aVS, _nT],
|
|
337
|
+
[() => AgreementViewSummaryList, 0]
|
|
338
|
+
];
|
|
339
|
+
exports.Selector$ = [3, n0, _S,
|
|
340
|
+
0,
|
|
341
|
+
[_t, _val],
|
|
342
|
+
[0, 0]
|
|
343
|
+
];
|
|
344
|
+
exports.Sort$ = [3, n0, _So,
|
|
345
|
+
0,
|
|
346
|
+
[_sB, _sO],
|
|
347
|
+
[0, 0]
|
|
348
|
+
];
|
|
349
|
+
exports.SupportTerm$ = [3, n0, _ST,
|
|
350
|
+
0,
|
|
351
|
+
[_t, _rP],
|
|
352
|
+
[0, 0]
|
|
353
|
+
];
|
|
354
|
+
exports.UsageBasedPricingTerm$ = [3, n0, _UBPT,
|
|
355
|
+
0,
|
|
356
|
+
[_t, _cC, _rC],
|
|
357
|
+
[0, 0, () => UsageBasedRateCardList]
|
|
358
|
+
];
|
|
359
|
+
exports.UsageBasedRateCardItem$ = [3, n0, _UBRCI,
|
|
360
|
+
0,
|
|
361
|
+
[_rCa],
|
|
362
|
+
[() => RateCardList]
|
|
363
|
+
];
|
|
364
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
365
|
+
0,
|
|
366
|
+
[_n, _m],
|
|
367
|
+
[0, 0], 2
|
|
368
|
+
];
|
|
369
|
+
exports.ValidityTerm$ = [3, n0, _VT,
|
|
370
|
+
0,
|
|
371
|
+
[_t, _aD, _aSD, _aED],
|
|
372
|
+
[0, 0, 4, 4]
|
|
373
|
+
];
|
|
374
|
+
exports.VariablePaymentTerm$ = [3, n0, _VPT,
|
|
375
|
+
0,
|
|
376
|
+
[_t, _cC, _mTCA, _co],
|
|
377
|
+
[0, 0, 0, () => exports.VariablePaymentTermConfiguration$]
|
|
378
|
+
];
|
|
379
|
+
exports.VariablePaymentTermConfiguration$ = [3, n0, _VPTC,
|
|
380
|
+
0,
|
|
381
|
+
[_pRAS, _eD],
|
|
382
|
+
[0, 0], 1
|
|
383
|
+
];
|
|
384
|
+
var AcceptedTermList = [1, n0, _ATL,
|
|
385
|
+
0, () => exports.AcceptedTerm$
|
|
386
|
+
];
|
|
387
|
+
var AgreementViewSummaryList = [1, n0, _AVSL,
|
|
388
|
+
0, () => exports.AgreementViewSummary$
|
|
389
|
+
];
|
|
390
|
+
var ConfigurableUpfrontRateCardList = [1, n0, _CURCL,
|
|
391
|
+
0, () => exports.ConfigurableUpfrontRateCardItem$
|
|
392
|
+
];
|
|
393
|
+
var DimensionList = [1, n0, _DL,
|
|
394
|
+
0, () => exports.Dimension$
|
|
395
|
+
];
|
|
396
|
+
var DocumentList = [1, n0, _DLo,
|
|
397
|
+
0, () => exports.DocumentItem$
|
|
398
|
+
];
|
|
399
|
+
var FilterList = [1, n0, _FL,
|
|
400
|
+
0, () => exports.Filter$
|
|
401
|
+
];
|
|
402
|
+
var FilterValueList = 64 | 0;
|
|
403
|
+
var GrantList = [1, n0, _GL,
|
|
404
|
+
0, () => exports.GrantItem$
|
|
405
|
+
];
|
|
406
|
+
var RateCardList = [1, n0, _RCL,
|
|
407
|
+
0, () => exports.RateCardItem$
|
|
408
|
+
];
|
|
409
|
+
var Resources = [1, n0, _Re,
|
|
410
|
+
0, () => exports.Resource$
|
|
411
|
+
];
|
|
412
|
+
var ScheduleList = [1, n0, _SL,
|
|
413
|
+
0, () => exports.ScheduleItem$
|
|
414
|
+
];
|
|
415
|
+
var UsageBasedRateCardList = [1, n0, _UBRCL,
|
|
416
|
+
0, () => exports.UsageBasedRateCardItem$
|
|
417
|
+
];
|
|
418
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
419
|
+
0, () => exports.ValidationExceptionField$
|
|
420
|
+
];
|
|
421
|
+
exports.AcceptedTerm$ = [4, n0, _AT,
|
|
422
|
+
0,
|
|
423
|
+
[_lT, _sTu, _rTe, _uBPT, _cUPT, _bPT, _rPT, _vT, _pST, _fTPT, _fUPT, _vPT],
|
|
424
|
+
[() => exports.LegalTerm$, () => exports.SupportTerm$, () => exports.RenewalTerm$, () => exports.UsageBasedPricingTerm$, () => exports.ConfigurableUpfrontPricingTerm$, () => exports.ByolPricingTerm$, () => exports.RecurringPaymentTerm$, () => exports.ValidityTerm$, () => exports.PaymentScheduleTerm$, () => exports.FreeTrialPricingTerm$, () => exports.FixedUpfrontPricingTerm$, () => exports.VariablePaymentTerm$]
|
|
425
|
+
];
|
|
426
|
+
exports.DescribeAgreement$ = [9, n0, _DA,
|
|
427
|
+
0, () => exports.DescribeAgreementInput$, () => exports.DescribeAgreementOutput$
|
|
428
|
+
];
|
|
429
|
+
exports.GetAgreementTerms$ = [9, n0, _GAT,
|
|
430
|
+
0, () => exports.GetAgreementTermsInput$, () => exports.GetAgreementTermsOutput$
|
|
431
|
+
];
|
|
432
|
+
exports.SearchAgreements$ = [9, n0, _SA,
|
|
433
|
+
0, () => exports.SearchAgreementsInput$, () => exports.SearchAgreementsOutput$
|
|
434
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultMarketplaceAgreementHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2020-03-01",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.marketplaceagreement",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2020-03-01",
|
|
30
32
|
serviceTarget: "AWSMPCommerceService_v20200301",
|
|
31
33
|
},
|