@aws-sdk/client-marketplace-agreement 3.940.0 → 3.943.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/README.md +1 -21
- package/dist-cjs/index.js +24 -2
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +19 -2
- package/dist-types/MarketplaceAgreement.d.ts +1 -21
- package/dist-types/MarketplaceAgreementClient.d.ts +1 -21
- package/dist-types/commands/DescribeAgreementCommand.d.ts +1 -0
- package/dist-types/commands/GetAgreementTermsCommand.d.ts +10 -30
- package/dist-types/commands/SearchAgreementsCommand.d.ts +2 -90
- package/dist-types/index.d.ts +1 -21
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +134 -274
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,27 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript MarketplaceAgreement Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p>
|
|
10
|
-
<p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and
|
|
11
|
-
Access Management (IAM) policies and roles are set up. The user must have the required
|
|
12
|
-
policies/permissions that allow them to carry out the actions in AWS:</p>
|
|
13
|
-
<ul>
|
|
14
|
-
<li>
|
|
15
|
-
<p>
|
|
16
|
-
<code>DescribeAgreement</code> – Grants permission to users to obtain detailed
|
|
17
|
-
meta data about any of their agreements.</p>
|
|
18
|
-
</li>
|
|
19
|
-
<li>
|
|
20
|
-
<p>
|
|
21
|
-
<code>GetAgreementTerms</code> – Grants permission to users to obtain details
|
|
22
|
-
about the terms of an agreement.</p>
|
|
23
|
-
</li>
|
|
24
|
-
<li>
|
|
25
|
-
<p>
|
|
26
|
-
<code>SearchAgreements</code> – Grants permission to users to search through all
|
|
27
|
-
their agreements.</p>
|
|
28
|
-
</li>
|
|
29
|
-
</ul>
|
|
9
|
+
<p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p> <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and Access Management (IAM) policies and roles are set up. The user must have the required policies/permissions that allow them to carry out the actions in AWS:</p> <ul> <li> <p> <code>DescribeAgreement</code> – Grants permission to users to obtain detailed meta data about any of their agreements.</p> </li> <li> <p> <code>GetAgreementTerms</code> – Grants permission to users to obtain details about the terms of an agreement.</p> </li> <li> <p> <code>SearchAgreements</code> – Grants permission to users to search through all their agreements.</p> </li> </ul>
|
|
30
10
|
|
|
31
11
|
## Installing
|
|
32
12
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -253,6 +253,8 @@ const _UBRCL = "UsageBasedRateCardList";
|
|
|
253
253
|
const _VE = "ValidationException";
|
|
254
254
|
const _VEF = "ValidationExceptionField";
|
|
255
255
|
const _VEFL = "ValidationExceptionFieldList";
|
|
256
|
+
const _VPT = "VariablePaymentTerm";
|
|
257
|
+
const _VPTC = "VariablePaymentTermConfiguration";
|
|
256
258
|
const _VT = "ValidityTerm";
|
|
257
259
|
const _a = "acceptor";
|
|
258
260
|
const _aD = "agreementDuration";
|
|
@@ -283,6 +285,7 @@ const _du = "duration";
|
|
|
283
285
|
const _e = "error";
|
|
284
286
|
const _eAR = "enableAutoRenew";
|
|
285
287
|
const _eC = "estimatedCharges";
|
|
288
|
+
const _eD = "expirationDuration";
|
|
286
289
|
const _eT = "endTime";
|
|
287
290
|
const _f = "filters";
|
|
288
291
|
const _fTPT = "freeTrialPricingTerm";
|
|
@@ -296,10 +299,13 @@ const _m = "message";
|
|
|
296
299
|
const _mDS = "multipleDimensionSelection";
|
|
297
300
|
const _mQ = "maxQuantity";
|
|
298
301
|
const _mR = "maxResults";
|
|
302
|
+
const _mTCA = "maxTotalChargeAmount";
|
|
299
303
|
const _n = "name";
|
|
300
304
|
const _nT = "nextToken";
|
|
301
305
|
const _oI = "offerId";
|
|
306
|
+
const _oSI = "offerSetId";
|
|
302
307
|
const _p = "proposer";
|
|
308
|
+
const _pRAS = "paymentRequestApprovalStrategy";
|
|
303
309
|
const _pS = "proposalSummary";
|
|
304
310
|
const _pST = "paymentScheduleTerm";
|
|
305
311
|
const _pr = "price";
|
|
@@ -329,6 +335,7 @@ const _t = "type";
|
|
|
329
335
|
const _u = "url";
|
|
330
336
|
const _uBPT = "usageBasedPricingTerm";
|
|
331
337
|
const _v = "version";
|
|
338
|
+
const _vPT = "variablePaymentTerm";
|
|
332
339
|
const _vT = "validityTerm";
|
|
333
340
|
const _va = "values";
|
|
334
341
|
const _val = "value";
|
|
@@ -419,7 +426,7 @@ var InternalServerException = [
|
|
|
419
426
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
420
427
|
var LegalTerm = [3, n0, _LT, 0, [_t, _do], [0, () => DocumentList]];
|
|
421
428
|
var PaymentScheduleTerm = [3, n0, _PST, 0, [_t, _cC, _sc], [0, 0, () => ScheduleList]];
|
|
422
|
-
var ProposalSummary = [3, n0, _PS, 0, [_r, _oI], [() => Resources, 0]];
|
|
429
|
+
var ProposalSummary = [3, n0, _PS, 0, [_r, _oI, _oSI], [() => Resources, 0, 0]];
|
|
423
430
|
var Proposer = [3, n0, _P, 0, [_aI], [0]];
|
|
424
431
|
var RateCardItem = [3, n0, _RCI, 0, [_dK, _pr], [0, 0]];
|
|
425
432
|
var RecurringPaymentTerm = [3, n0, _RPT, 0, [_t, _cC, _bP, _pr], [0, 0, 0, 0]];
|
|
@@ -493,6 +500,15 @@ var ValidationException = [
|
|
|
493
500
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
494
501
|
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
495
502
|
var ValidityTerm = [3, n0, _VT, 0, [_t, _aD, _aSD, _aED], [0, 0, 4, 4]];
|
|
503
|
+
var VariablePaymentTerm = [
|
|
504
|
+
3,
|
|
505
|
+
n0,
|
|
506
|
+
_VPT,
|
|
507
|
+
0,
|
|
508
|
+
[_t, _cC, _mTCA, _co],
|
|
509
|
+
[0, 0, 0, () => VariablePaymentTermConfiguration],
|
|
510
|
+
];
|
|
511
|
+
var VariablePaymentTermConfiguration = [3, n0, _VPTC, 0, [_pRAS, _eD], [0, 0]];
|
|
496
512
|
var MarketplaceAgreementServiceException = [
|
|
497
513
|
-3,
|
|
498
514
|
_sm,
|
|
@@ -525,7 +541,7 @@ var AcceptedTerm = [
|
|
|
525
541
|
n0,
|
|
526
542
|
_AT,
|
|
527
543
|
0,
|
|
528
|
-
[_lT, _sTu, _rTe, _uBPT, _cUPT, _bPT, _rPT, _vT, _pST, _fTPT, _fUPT],
|
|
544
|
+
[_lT, _sTu, _rTe, _uBPT, _cUPT, _bPT, _rPT, _vT, _pST, _fTPT, _fUPT, _vPT],
|
|
529
545
|
[
|
|
530
546
|
() => LegalTerm,
|
|
531
547
|
() => SupportTerm,
|
|
@@ -538,6 +554,7 @@ var AcceptedTerm = [
|
|
|
538
554
|
() => PaymentScheduleTerm,
|
|
539
555
|
() => FreeTrialPricingTerm,
|
|
540
556
|
() => FixedUpfrontPricingTerm,
|
|
557
|
+
() => VariablePaymentTerm,
|
|
541
558
|
],
|
|
542
559
|
];
|
|
543
560
|
var DescribeAgreement = [
|
|
@@ -614,6 +631,10 @@ const paginateGetAgreementTerms = core.createPaginator(MarketplaceAgreementClien
|
|
|
614
631
|
|
|
615
632
|
const paginateSearchAgreements = core.createPaginator(MarketplaceAgreementClient, SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
|
|
616
633
|
|
|
634
|
+
const PaymentRequestApprovalStrategy = {
|
|
635
|
+
AUTO_APPROVE_ON_EXPIRATION: "AUTO_APPROVE_ON_EXPIRATION",
|
|
636
|
+
WAIT_FOR_APPROVAL: "WAIT_FOR_APPROVAL",
|
|
637
|
+
};
|
|
617
638
|
const AgreementStatus = {
|
|
618
639
|
ACTIVE: "ACTIVE",
|
|
619
640
|
ARCHIVED: "ARCHIVED",
|
|
@@ -662,6 +683,7 @@ exports.InternalServerException = InternalServerException$1;
|
|
|
662
683
|
exports.MarketplaceAgreement = MarketplaceAgreement;
|
|
663
684
|
exports.MarketplaceAgreementClient = MarketplaceAgreementClient;
|
|
664
685
|
exports.MarketplaceAgreementServiceException = MarketplaceAgreementServiceException$1;
|
|
686
|
+
exports.PaymentRequestApprovalStrategy = PaymentRequestApprovalStrategy;
|
|
665
687
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
666
688
|
exports.ResourceType = ResourceType;
|
|
667
689
|
exports.SearchAgreementsCommand = SearchAgreementsCommand;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -55,6 +55,8 @@ const _UBRCL = "UsageBasedRateCardList";
|
|
|
55
55
|
const _VE = "ValidationException";
|
|
56
56
|
const _VEF = "ValidationExceptionField";
|
|
57
57
|
const _VEFL = "ValidationExceptionFieldList";
|
|
58
|
+
const _VPT = "VariablePaymentTerm";
|
|
59
|
+
const _VPTC = "VariablePaymentTermConfiguration";
|
|
58
60
|
const _VT = "ValidityTerm";
|
|
59
61
|
const _a = "acceptor";
|
|
60
62
|
const _aD = "agreementDuration";
|
|
@@ -85,6 +87,7 @@ const _du = "duration";
|
|
|
85
87
|
const _e = "error";
|
|
86
88
|
const _eAR = "enableAutoRenew";
|
|
87
89
|
const _eC = "estimatedCharges";
|
|
90
|
+
const _eD = "expirationDuration";
|
|
88
91
|
const _eT = "endTime";
|
|
89
92
|
const _f = "filters";
|
|
90
93
|
const _fTPT = "freeTrialPricingTerm";
|
|
@@ -98,10 +101,13 @@ const _m = "message";
|
|
|
98
101
|
const _mDS = "multipleDimensionSelection";
|
|
99
102
|
const _mQ = "maxQuantity";
|
|
100
103
|
const _mR = "maxResults";
|
|
104
|
+
const _mTCA = "maxTotalChargeAmount";
|
|
101
105
|
const _n = "name";
|
|
102
106
|
const _nT = "nextToken";
|
|
103
107
|
const _oI = "offerId";
|
|
108
|
+
const _oSI = "offerSetId";
|
|
104
109
|
const _p = "proposer";
|
|
110
|
+
const _pRAS = "paymentRequestApprovalStrategy";
|
|
105
111
|
const _pS = "proposalSummary";
|
|
106
112
|
const _pST = "paymentScheduleTerm";
|
|
107
113
|
const _pr = "price";
|
|
@@ -131,6 +137,7 @@ const _t = "type";
|
|
|
131
137
|
const _u = "url";
|
|
132
138
|
const _uBPT = "usageBasedPricingTerm";
|
|
133
139
|
const _v = "version";
|
|
140
|
+
const _vPT = "variablePaymentTerm";
|
|
134
141
|
const _vT = "validityTerm";
|
|
135
142
|
const _va = "values";
|
|
136
143
|
const _val = "value";
|
|
@@ -224,7 +231,7 @@ export var InternalServerException = [
|
|
|
224
231
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
225
232
|
export var LegalTerm = [3, n0, _LT, 0, [_t, _do], [0, () => DocumentList]];
|
|
226
233
|
export var PaymentScheduleTerm = [3, n0, _PST, 0, [_t, _cC, _sc], [0, 0, () => ScheduleList]];
|
|
227
|
-
export var ProposalSummary = [3, n0, _PS, 0, [_r, _oI], [() => Resources, 0]];
|
|
234
|
+
export var ProposalSummary = [3, n0, _PS, 0, [_r, _oI, _oSI], [() => Resources, 0, 0]];
|
|
228
235
|
export var Proposer = [3, n0, _P, 0, [_aI], [0]];
|
|
229
236
|
export var RateCardItem = [3, n0, _RCI, 0, [_dK, _pr], [0, 0]];
|
|
230
237
|
export var RecurringPaymentTerm = [3, n0, _RPT, 0, [_t, _cC, _bP, _pr], [0, 0, 0, 0]];
|
|
@@ -298,6 +305,15 @@ export var ValidationException = [
|
|
|
298
305
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
299
306
|
export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
300
307
|
export var ValidityTerm = [3, n0, _VT, 0, [_t, _aD, _aSD, _aED], [0, 0, 4, 4]];
|
|
308
|
+
export var VariablePaymentTerm = [
|
|
309
|
+
3,
|
|
310
|
+
n0,
|
|
311
|
+
_VPT,
|
|
312
|
+
0,
|
|
313
|
+
[_t, _cC, _mTCA, _co],
|
|
314
|
+
[0, 0, 0, () => VariablePaymentTermConfiguration],
|
|
315
|
+
];
|
|
316
|
+
export var VariablePaymentTermConfiguration = [3, n0, _VPTC, 0, [_pRAS, _eD], [0, 0]];
|
|
301
317
|
export var __Unit = "unit";
|
|
302
318
|
export var MarketplaceAgreementServiceException = [
|
|
303
319
|
-3,
|
|
@@ -332,7 +348,7 @@ export var AcceptedTerm = [
|
|
|
332
348
|
n0,
|
|
333
349
|
_AT,
|
|
334
350
|
0,
|
|
335
|
-
[_lT, _sTu, _rTe, _uBPT, _cUPT, _bPT, _rPT, _vT, _pST, _fTPT, _fUPT],
|
|
351
|
+
[_lT, _sTu, _rTe, _uBPT, _cUPT, _bPT, _rPT, _vT, _pST, _fTPT, _fUPT, _vPT],
|
|
336
352
|
[
|
|
337
353
|
() => LegalTerm,
|
|
338
354
|
() => SupportTerm,
|
|
@@ -345,6 +361,7 @@ export var AcceptedTerm = [
|
|
|
345
361
|
() => PaymentScheduleTerm,
|
|
346
362
|
() => FreeTrialPricingTerm,
|
|
347
363
|
() => FixedUpfrontPricingTerm,
|
|
364
|
+
() => VariablePaymentTerm,
|
|
348
365
|
],
|
|
349
366
|
];
|
|
350
367
|
export var DescribeAgreement = [
|
|
@@ -25,27 +25,7 @@ export interface MarketplaceAgreement {
|
|
|
25
25
|
searchAgreements(args: SearchAgreementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAgreementsCommandOutput) => void): void;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p>
|
|
29
|
-
* <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and
|
|
30
|
-
* Access Management (IAM) policies and roles are set up. The user must have the required
|
|
31
|
-
* policies/permissions that allow them to carry out the actions in AWS:</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>DescribeAgreement</code> – Grants permission to users to obtain detailed
|
|
36
|
-
* meta data about any of their agreements.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <code>GetAgreementTerms</code> – Grants permission to users to obtain details
|
|
41
|
-
* about the terms of an agreement.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
* <code>SearchAgreements</code> – Grants permission to users to search through all
|
|
46
|
-
* their agreements.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
28
|
+
* <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p> <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and Access Management (IAM) policies and roles are set up. The user must have the required policies/permissions that allow them to carry out the actions in AWS:</p> <ul> <li> <p> <code>DescribeAgreement</code> – Grants permission to users to obtain detailed meta data about any of their agreements.</p> </li> <li> <p> <code>GetAgreementTerms</code> – Grants permission to users to obtain details about the terms of an agreement.</p> </li> <li> <p> <code>SearchAgreements</code> – Grants permission to users to search through all their agreements.</p> </li> </ul>
|
|
49
29
|
* @public
|
|
50
30
|
*/
|
|
51
31
|
export declare class MarketplaceAgreement extends MarketplaceAgreementClient implements MarketplaceAgreement {
|
|
@@ -181,27 +181,7 @@ export type MarketplaceAgreementClientResolvedConfigType = __SmithyResolvedConfi
|
|
|
181
181
|
export interface MarketplaceAgreementClientResolvedConfig extends MarketplaceAgreementClientResolvedConfigType {
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
|
-
* <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p>
|
|
185
|
-
* <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and
|
|
186
|
-
* Access Management (IAM) policies and roles are set up. The user must have the required
|
|
187
|
-
* policies/permissions that allow them to carry out the actions in AWS:</p>
|
|
188
|
-
* <ul>
|
|
189
|
-
* <li>
|
|
190
|
-
* <p>
|
|
191
|
-
* <code>DescribeAgreement</code> – Grants permission to users to obtain detailed
|
|
192
|
-
* meta data about any of their agreements.</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* <li>
|
|
195
|
-
* <p>
|
|
196
|
-
* <code>GetAgreementTerms</code> – Grants permission to users to obtain details
|
|
197
|
-
* about the terms of an agreement.</p>
|
|
198
|
-
* </li>
|
|
199
|
-
* <li>
|
|
200
|
-
* <p>
|
|
201
|
-
* <code>SearchAgreements</code> – Grants permission to users to search through all
|
|
202
|
-
* their agreements.</p>
|
|
203
|
-
* </li>
|
|
204
|
-
* </ul>
|
|
184
|
+
* <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p> <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and Access Management (IAM) policies and roles are set up. The user must have the required policies/permissions that allow them to carry out the actions in AWS:</p> <ul> <li> <p> <code>DescribeAgreement</code> – Grants permission to users to obtain detailed meta data about any of their agreements.</p> </li> <li> <p> <code>GetAgreementTerms</code> – Grants permission to users to obtain details about the terms of an agreement.</p> </li> <li> <p> <code>SearchAgreements</code> – Grants permission to users to search through all their agreements.</p> </li> </ul>
|
|
205
185
|
* @public
|
|
206
186
|
*/
|
|
207
187
|
export declare class MarketplaceAgreementClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MarketplaceAgreementClientResolvedConfig> {
|
|
@@ -65,6 +65,7 @@ declare const DescribeAgreementCommand_base: {
|
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
67
|
* // offerId: "STRING_VALUE",
|
|
68
|
+
* // offerSetId: "STRING_VALUE",
|
|
68
69
|
* // },
|
|
69
70
|
* // status: "ACTIVE" || "ARCHIVED" || "CANCELLED" || "EXPIRED" || "RENEWED" || "REPLACED" || "ROLLED_BACK" || "SUPERSEDED" || "TERMINATED",
|
|
70
71
|
* // };
|
|
@@ -27,36 +27,7 @@ declare const GetAgreementTermsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Obtains details about the terms in an agreement that you participated in as proposer or
|
|
31
|
-
* acceptor.</p>
|
|
32
|
-
* <p>The details include:</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <code>TermType</code> – The type of term, such as <code>LegalTerm</code>,
|
|
37
|
-
* <code>RenewalTerm</code>, or <code>ConfigurableUpfrontPricingTerm</code>.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>TermID</code> – The ID of the particular term, which is common between offer
|
|
42
|
-
* and agreement.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <code>TermPayload</code> – The key information contained in the term, such as the
|
|
47
|
-
* EULA for <code>LegalTerm</code> or pricing and dimensions for various pricing terms,
|
|
48
|
-
* such as <code>ConfigurableUpfrontPricingTerm</code> or
|
|
49
|
-
* <code>UsageBasedPricingTerm</code>.</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
* <ul>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>
|
|
55
|
-
* <code>Configuration</code> – The buyer/acceptor's selection at the time of
|
|
56
|
-
* agreement creation, such as the number of units purchased for a dimension or setting
|
|
57
|
-
* the <code>EnableAutoRenew</code> flag.</p>
|
|
58
|
-
* </li>
|
|
59
|
-
* </ul>
|
|
30
|
+
* <p>Obtains details about the terms in an agreement that you participated in as proposer or acceptor.</p> <p>The details include:</p> <ul> <li> <p> <code>TermType</code> – The type of term, such as <code>LegalTerm</code>, <code>RenewalTerm</code>, or <code>ConfigurableUpfrontPricingTerm</code>.</p> </li> <li> <p> <code>TermID</code> – The ID of the particular term, which is common between offer and agreement.</p> </li> <li> <p> <code>TermPayload</code> – The key information contained in the term, such as the EULA for <code>LegalTerm</code> or pricing and dimensions for various pricing terms, such as <code>ConfigurableUpfrontPricingTerm</code> or <code>UsageBasedPricingTerm</code>.</p> </li> </ul> <ul> <li> <p> <code>Configuration</code> – The buyer/acceptor's selection at the time of agreement creation, such as the number of units purchased for a dimension or setting the <code>EnableAutoRenew</code> flag.</p> </li> </ul>
|
|
60
31
|
* @example
|
|
61
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
62
33
|
* ```javascript
|
|
@@ -187,6 +158,15 @@ declare const GetAgreementTermsCommand_base: {
|
|
|
187
158
|
* // },
|
|
188
159
|
* // ],
|
|
189
160
|
* // },
|
|
161
|
+
* // variablePaymentTerm: { // VariablePaymentTerm
|
|
162
|
+
* // type: "STRING_VALUE",
|
|
163
|
+
* // currencyCode: "STRING_VALUE",
|
|
164
|
+
* // maxTotalChargeAmount: "STRING_VALUE",
|
|
165
|
+
* // configuration: { // VariablePaymentTermConfiguration
|
|
166
|
+
* // paymentRequestApprovalStrategy: "AUTO_APPROVE_ON_EXPIRATION" || "WAIT_FOR_APPROVAL", // required
|
|
167
|
+
* // expirationDuration: "STRING_VALUE",
|
|
168
|
+
* // },
|
|
169
|
+
* // },
|
|
190
170
|
* // },
|
|
191
171
|
* // ],
|
|
192
172
|
* // nextToken: "STRING_VALUE",
|
|
@@ -27,96 +27,7 @@ declare const SearchAgreementsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Searches across all agreements that a proposer
|
|
31
|
-
* <p>The following filter combinations are supported:</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
36
|
-
* <code>ResourceIdentifier</code>
|
|
37
|
-
* </p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
42
|
-
* <code>OfferId</code>
|
|
43
|
-
* </p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
48
|
-
* <code>AcceptorAccountId</code>
|
|
49
|
-
* </p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>
|
|
53
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
54
|
-
* <code>Status</code>
|
|
55
|
-
* </p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>
|
|
59
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
60
|
-
* <code>ResourceIdentifier</code> + <code>Status</code>
|
|
61
|
-
* </p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>
|
|
65
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
66
|
-
* <code>OfferId</code> + <code>Status</code>
|
|
67
|
-
* </p>
|
|
68
|
-
* </li>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>
|
|
71
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
72
|
-
* <code>AcceptorAccountId</code> + <code>Status</code>
|
|
73
|
-
* </p>
|
|
74
|
-
* </li>
|
|
75
|
-
* <li>
|
|
76
|
-
* <p>
|
|
77
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
78
|
-
* <code>ResourceType</code> + <code>Status</code>
|
|
79
|
-
* </p>
|
|
80
|
-
* </li>
|
|
81
|
-
* <li>
|
|
82
|
-
* <p>
|
|
83
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
84
|
-
* <code>AcceptorAccountId</code> + <code>ResourceType</code> +
|
|
85
|
-
* <code>Status</code>
|
|
86
|
-
* </p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>
|
|
90
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
91
|
-
* <code>AcceptorAccountId</code> + <code>OfferId</code>
|
|
92
|
-
* </p>
|
|
93
|
-
* </li>
|
|
94
|
-
* <li>
|
|
95
|
-
* <p>
|
|
96
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
97
|
-
* <code>AcceptorAccountId</code> + <code>OfferId</code> + <code>Status</code>
|
|
98
|
-
* </p>
|
|
99
|
-
* </li>
|
|
100
|
-
* <li>
|
|
101
|
-
* <p>
|
|
102
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
103
|
-
* <code>AcceptorAccountId</code> + <code>ResourceIdentifier</code>
|
|
104
|
-
* </p>
|
|
105
|
-
* </li>
|
|
106
|
-
* <li>
|
|
107
|
-
* <p>
|
|
108
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
109
|
-
* <code>AcceptorAccountId</code> + <code>ResourceIdentifier</code> +
|
|
110
|
-
* <code>Status</code>
|
|
111
|
-
* </p>
|
|
112
|
-
* </li>
|
|
113
|
-
* <li>
|
|
114
|
-
* <p>
|
|
115
|
-
* <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> +
|
|
116
|
-
* <code>AcceptorAccountId</code> + <code>ResourceType</code>
|
|
117
|
-
* </p>
|
|
118
|
-
* </li>
|
|
119
|
-
* </ul>
|
|
30
|
+
* <p>Searches across all agreements that a proposer has in AWS Marketplace. The search returns a list of agreements with basic agreement information.</p> <p>The following filter combinations are supported when the <code>PartyType</code> is <code>Proposer</code>:</p> <ul> <li> <p> <code>AgreementType</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceType</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceType</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceType</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceType</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>OfferId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>OfferId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>OfferId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>OfferId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceType</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceType</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceType</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceType</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> </ul> <note> <p> To filter by <code>EndTime</code>, you can use either <code>BeforeEndTime</code> or <code>AfterEndTime</code>. Only <code>EndTime</code> is supported for sorting.</p> </note>
|
|
120
31
|
* @example
|
|
121
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
122
33
|
* ```javascript
|
|
@@ -166,6 +77,7 @@ declare const SearchAgreementsCommand_base: {
|
|
|
166
77
|
* // },
|
|
167
78
|
* // ],
|
|
168
79
|
* // offerId: "STRING_VALUE",
|
|
80
|
+
* // offerSetId: "STRING_VALUE",
|
|
169
81
|
* // },
|
|
170
82
|
* // status: "ACTIVE" || "ARCHIVED" || "CANCELLED" || "EXPIRED" || "RENEWED" || "REPLACED" || "ROLLED_BACK" || "SUPERSEDED" || "TERMINATED",
|
|
171
83
|
* // },
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p>
|
|
3
|
-
* <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and
|
|
4
|
-
* Access Management (IAM) policies and roles are set up. The user must have the required
|
|
5
|
-
* policies/permissions that allow them to carry out the actions in AWS:</p>
|
|
6
|
-
* <ul>
|
|
7
|
-
* <li>
|
|
8
|
-
* <p>
|
|
9
|
-
* <code>DescribeAgreement</code> – Grants permission to users to obtain detailed
|
|
10
|
-
* meta data about any of their agreements.</p>
|
|
11
|
-
* </li>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>
|
|
14
|
-
* <code>GetAgreementTerms</code> – Grants permission to users to obtain details
|
|
15
|
-
* about the terms of an agreement.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* <code>SearchAgreements</code> – Grants permission to users to search through all
|
|
20
|
-
* their agreements.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
2
|
+
* <p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p> <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and Access Management (IAM) policies and roles are set up. The user must have the required policies/permissions that allow them to carry out the actions in AWS:</p> <ul> <li> <p> <code>DescribeAgreement</code> – Grants permission to users to obtain detailed meta data about any of their agreements.</p> </li> <li> <p> <code>GetAgreementTerms</code> – Grants permission to users to obtain details about the terms of an agreement.</p> </li> <li> <p> <code>SearchAgreements</code> – Grants permission to users to search through all their agreements.</p> </li> </ul>
|
|
23
3
|
*
|
|
24
4
|
* @packageDocumentation
|
|
25
5
|
*/
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const PaymentRequestApprovalStrategy: {
|
|
6
|
+
readonly AUTO_APPROVE_ON_EXPIRATION: "AUTO_APPROVE_ON_EXPIRATION";
|
|
7
|
+
readonly WAIT_FOR_APPROVAL: "WAIT_FOR_APPROVAL";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type PaymentRequestApprovalStrategy = (typeof PaymentRequestApprovalStrategy)[keyof typeof PaymentRequestApprovalStrategy];
|
|
1
13
|
/**
|
|
2
14
|
* @public
|
|
3
15
|
* @enum
|