@aws-sdk/client-marketplace-agreement 3.1041.0 → 3.1043.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 +78 -8
- package/dist-cjs/index.js +289 -33
- package/dist-cjs/models/errors.js +33 -8
- package/dist-cjs/schemas/schemas_0.js +370 -68
- package/dist-es/MarketplaceAgreement.js +24 -0
- package/dist-es/commands/AcceptAgreementCancellationRequestCommand.js +16 -0
- package/dist-es/commands/AcceptAgreementPaymentRequestCommand.js +16 -0
- package/dist-es/commands/AcceptAgreementRequestCommand.js +16 -0
- package/dist-es/commands/CancelAgreementCommand.js +16 -0
- package/dist-es/commands/CreateAgreementRequestCommand.js +16 -0
- package/dist-es/commands/GetAgreementEntitlementsCommand.js +16 -0
- package/dist-es/commands/ListAgreementChargesCommand.js +16 -0
- package/dist-es/commands/RejectAgreementCancellationRequestCommand.js +16 -0
- package/dist-es/commands/RejectAgreementPaymentRequestCommand.js +16 -0
- package/dist-es/commands/UpdatePurchaseOrdersCommand.js +16 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/enums.js +135 -33
- package/dist-es/models/errors.js +30 -6
- package/dist-es/pagination/GetAgreementEntitlementsPaginator.js +4 -0
- package/dist-es/pagination/ListAgreementChargesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +368 -67
- package/dist-types/MarketplaceAgreement.d.ts +86 -1
- package/dist-types/MarketplaceAgreementClient.d.ts +13 -3
- package/dist-types/commands/AcceptAgreementCancellationRequestCommand.d.ts +99 -0
- package/dist-types/commands/AcceptAgreementPaymentRequestCommand.d.ts +102 -0
- package/dist-types/commands/AcceptAgreementRequestCommand.d.ts +100 -0
- package/dist-types/commands/BatchCreateBillingAdjustmentRequestCommand.d.ts +2 -2
- package/dist-types/commands/CancelAgreementCancellationRequestCommand.d.ts +1 -1
- package/dist-types/commands/CancelAgreementCommand.d.ts +90 -0
- package/dist-types/commands/CancelAgreementPaymentRequestCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgreementRequestCommand.d.ts +171 -0
- package/dist-types/commands/GetAgreementCancellationRequestCommand.d.ts +1 -1
- package/dist-types/commands/GetAgreementEntitlementsCommand.d.ts +104 -0
- package/dist-types/commands/GetAgreementTermsCommand.d.ts +12 -0
- package/dist-types/commands/GetBillingAdjustmentRequestCommand.d.ts +1 -1
- package/dist-types/commands/ListAgreementCancellationRequestsCommand.d.ts +1 -1
- package/dist-types/commands/ListAgreementChargesCommand.d.ts +102 -0
- package/dist-types/commands/ListAgreementInvoiceLineItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListBillingAdjustmentRequestsCommand.d.ts +1 -1
- package/dist-types/commands/RejectAgreementCancellationRequestCommand.d.ts +101 -0
- package/dist-types/commands/RejectAgreementPaymentRequestCommand.d.ts +103 -0
- package/dist-types/commands/SearchAgreementsCommand.d.ts +1 -1
- package/dist-types/commands/SendAgreementCancellationRequestCommand.d.ts +1 -1
- package/dist-types/commands/SendAgreementPaymentRequestCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePurchaseOrdersCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +201 -51
- package/dist-types/models/errors.d.ts +54 -12
- package/dist-types/models/models_0.d.ts +919 -70
- package/dist-types/pagination/GetAgreementEntitlementsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgreementChargesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +42 -0
- package/dist-types/ts3.4/MarketplaceAgreement.d.ts +197 -0
- package/dist-types/ts3.4/MarketplaceAgreementClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/AcceptAgreementCancellationRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AcceptAgreementPaymentRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AcceptAgreementRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelAgreementCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateAgreementRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgreementEntitlementsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgreementChargesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectAgreementCancellationRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectAgreementPaymentRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePurchaseOrdersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +153 -42
- package/dist-types/ts3.4/models/errors.d.ts +22 -5
- package/dist-types/ts3.4/models/models_0.d.ts +237 -7
- package/dist-types/ts3.4/pagination/GetAgreementEntitlementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgreementChargesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +42 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +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> <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>
|
|
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 and buyers manage their product-related agreements, including listing, searching, creating, 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>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
|
@@ -22,16 +22,16 @@ To install this package, use the CLI of your favorite package manager:
|
|
|
22
22
|
|
|
23
23
|
The AWS SDK is modulized by clients and commands.
|
|
24
24
|
To send a request, you only need to import the `MarketplaceAgreementClient` and
|
|
25
|
-
the commands you need, for example `
|
|
25
|
+
the commands you need, for example `ListAgreementChargesCommand`:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
28
|
// ES5 example
|
|
29
|
-
const { MarketplaceAgreementClient,
|
|
29
|
+
const { MarketplaceAgreementClient, ListAgreementChargesCommand } = require("@aws-sdk/client-marketplace-agreement");
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
33
|
// ES6+ example
|
|
34
|
-
import { MarketplaceAgreementClient,
|
|
34
|
+
import { MarketplaceAgreementClient, ListAgreementChargesCommand } from "@aws-sdk/client-marketplace-agreement";
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Usage
|
|
@@ -48,7 +48,7 @@ To send a request:
|
|
|
48
48
|
const client = new MarketplaceAgreementClient({ region: "REGION" });
|
|
49
49
|
|
|
50
50
|
const params = { /** input parameters */ };
|
|
51
|
-
const command = new
|
|
51
|
+
const command = new ListAgreementChargesCommand(params);
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
#### Async/await
|
|
@@ -104,7 +104,7 @@ const client = new MarketplaceAgreement({ region: "REGION" });
|
|
|
104
104
|
|
|
105
105
|
// async/await.
|
|
106
106
|
try {
|
|
107
|
-
const data = await client.
|
|
107
|
+
const data = await client.listAgreementCharges(params);
|
|
108
108
|
// process data.
|
|
109
109
|
} catch (error) {
|
|
110
110
|
// error handling.
|
|
@@ -112,7 +112,7 @@ try {
|
|
|
112
112
|
|
|
113
113
|
// Promises.
|
|
114
114
|
client
|
|
115
|
-
.
|
|
115
|
+
.listAgreementCharges(params)
|
|
116
116
|
.then((data) => {
|
|
117
117
|
// process data.
|
|
118
118
|
})
|
|
@@ -121,7 +121,7 @@ client
|
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
// callbacks (not recommended).
|
|
124
|
-
client.
|
|
124
|
+
client.listAgreementCharges(params, (err, data) => {
|
|
125
125
|
// process err and data.
|
|
126
126
|
});
|
|
127
127
|
```
|
|
@@ -179,6 +179,27 @@ see LICENSE for more information.
|
|
|
179
179
|
|
|
180
180
|
## Client Commands (Operations List)
|
|
181
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
AcceptAgreementCancellationRequest
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/AcceptAgreementCancellationRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/AcceptAgreementCancellationRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/AcceptAgreementCancellationRequestCommandOutput/)
|
|
188
|
+
</details>
|
|
189
|
+
<details>
|
|
190
|
+
<summary>
|
|
191
|
+
AcceptAgreementPaymentRequest
|
|
192
|
+
</summary>
|
|
193
|
+
|
|
194
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/AcceptAgreementPaymentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/AcceptAgreementPaymentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/AcceptAgreementPaymentRequestCommandOutput/)
|
|
195
|
+
</details>
|
|
196
|
+
<details>
|
|
197
|
+
<summary>
|
|
198
|
+
AcceptAgreementRequest
|
|
199
|
+
</summary>
|
|
200
|
+
|
|
201
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/AcceptAgreementRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/AcceptAgreementRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/AcceptAgreementRequestCommandOutput/)
|
|
202
|
+
</details>
|
|
182
203
|
<details>
|
|
183
204
|
<summary>
|
|
184
205
|
BatchCreateBillingAdjustmentRequest
|
|
@@ -188,6 +209,13 @@ BatchCreateBillingAdjustmentRequest
|
|
|
188
209
|
</details>
|
|
189
210
|
<details>
|
|
190
211
|
<summary>
|
|
212
|
+
CancelAgreement
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/CancelAgreementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CancelAgreementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CancelAgreementCommandOutput/)
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
191
219
|
CancelAgreementCancellationRequest
|
|
192
220
|
</summary>
|
|
193
221
|
|
|
@@ -202,6 +230,13 @@ CancelAgreementPaymentRequest
|
|
|
202
230
|
</details>
|
|
203
231
|
<details>
|
|
204
232
|
<summary>
|
|
233
|
+
CreateAgreementRequest
|
|
234
|
+
</summary>
|
|
235
|
+
|
|
236
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/CreateAgreementRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CreateAgreementRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CreateAgreementRequestCommandOutput/)
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
205
240
|
DescribeAgreement
|
|
206
241
|
</summary>
|
|
207
242
|
|
|
@@ -216,6 +251,13 @@ GetAgreementCancellationRequest
|
|
|
216
251
|
</details>
|
|
217
252
|
<details>
|
|
218
253
|
<summary>
|
|
254
|
+
GetAgreementEntitlements
|
|
255
|
+
</summary>
|
|
256
|
+
|
|
257
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/GetAgreementEntitlementsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetAgreementEntitlementsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetAgreementEntitlementsCommandOutput/)
|
|
258
|
+
</details>
|
|
259
|
+
<details>
|
|
260
|
+
<summary>
|
|
219
261
|
GetAgreementPaymentRequest
|
|
220
262
|
</summary>
|
|
221
263
|
|
|
@@ -244,6 +286,13 @@ ListAgreementCancellationRequests
|
|
|
244
286
|
</details>
|
|
245
287
|
<details>
|
|
246
288
|
<summary>
|
|
289
|
+
ListAgreementCharges
|
|
290
|
+
</summary>
|
|
291
|
+
|
|
292
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/ListAgreementChargesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementChargesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementChargesCommandOutput/)
|
|
293
|
+
</details>
|
|
294
|
+
<details>
|
|
295
|
+
<summary>
|
|
247
296
|
ListAgreementInvoiceLineItems
|
|
248
297
|
</summary>
|
|
249
298
|
|
|
@@ -265,6 +314,20 @@ ListBillingAdjustmentRequests
|
|
|
265
314
|
</details>
|
|
266
315
|
<details>
|
|
267
316
|
<summary>
|
|
317
|
+
RejectAgreementCancellationRequest
|
|
318
|
+
</summary>
|
|
319
|
+
|
|
320
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/RejectAgreementCancellationRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/RejectAgreementCancellationRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/RejectAgreementCancellationRequestCommandOutput/)
|
|
321
|
+
</details>
|
|
322
|
+
<details>
|
|
323
|
+
<summary>
|
|
324
|
+
RejectAgreementPaymentRequest
|
|
325
|
+
</summary>
|
|
326
|
+
|
|
327
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/RejectAgreementPaymentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/RejectAgreementPaymentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/RejectAgreementPaymentRequestCommandOutput/)
|
|
328
|
+
</details>
|
|
329
|
+
<details>
|
|
330
|
+
<summary>
|
|
268
331
|
SearchAgreements
|
|
269
332
|
</summary>
|
|
270
333
|
|
|
@@ -284,3 +347,10 @@ SendAgreementPaymentRequest
|
|
|
284
347
|
|
|
285
348
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/SendAgreementPaymentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SendAgreementPaymentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SendAgreementPaymentRequestCommandOutput/)
|
|
286
349
|
</details>
|
|
350
|
+
<details>
|
|
351
|
+
<summary>
|
|
352
|
+
UpdatePurchaseOrders
|
|
353
|
+
</summary>
|
|
354
|
+
|
|
355
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/UpdatePurchaseOrdersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/UpdatePurchaseOrdersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/UpdatePurchaseOrdersCommandOutput/)
|
|
356
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -113,6 +113,42 @@ class MarketplaceAgreementClient extends smithyClient.Client {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
class AcceptAgreementCancellationRequestCommand extends smithyClient.Command
|
|
117
|
+
.classBuilder()
|
|
118
|
+
.ep(commonParams)
|
|
119
|
+
.m(function (Command, cs, config, o) {
|
|
120
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
121
|
+
})
|
|
122
|
+
.s("AWSMPCommerceService_v20200301", "AcceptAgreementCancellationRequest", {})
|
|
123
|
+
.n("MarketplaceAgreementClient", "AcceptAgreementCancellationRequestCommand")
|
|
124
|
+
.sc(schemas_0.AcceptAgreementCancellationRequest$)
|
|
125
|
+
.build() {
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
class AcceptAgreementPaymentRequestCommand extends smithyClient.Command
|
|
129
|
+
.classBuilder()
|
|
130
|
+
.ep(commonParams)
|
|
131
|
+
.m(function (Command, cs, config, o) {
|
|
132
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
133
|
+
})
|
|
134
|
+
.s("AWSMPCommerceService_v20200301", "AcceptAgreementPaymentRequest", {})
|
|
135
|
+
.n("MarketplaceAgreementClient", "AcceptAgreementPaymentRequestCommand")
|
|
136
|
+
.sc(schemas_0.AcceptAgreementPaymentRequest$)
|
|
137
|
+
.build() {
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class AcceptAgreementRequestCommand extends smithyClient.Command
|
|
141
|
+
.classBuilder()
|
|
142
|
+
.ep(commonParams)
|
|
143
|
+
.m(function (Command, cs, config, o) {
|
|
144
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
145
|
+
})
|
|
146
|
+
.s("AWSMPCommerceService_v20200301", "AcceptAgreementRequest", {})
|
|
147
|
+
.n("MarketplaceAgreementClient", "AcceptAgreementRequestCommand")
|
|
148
|
+
.sc(schemas_0.AcceptAgreementRequest$)
|
|
149
|
+
.build() {
|
|
150
|
+
}
|
|
151
|
+
|
|
116
152
|
class BatchCreateBillingAdjustmentRequestCommand extends smithyClient.Command
|
|
117
153
|
.classBuilder()
|
|
118
154
|
.ep(commonParams)
|
|
@@ -137,6 +173,18 @@ class CancelAgreementCancellationRequestCommand extends smithyClient.Command
|
|
|
137
173
|
.build() {
|
|
138
174
|
}
|
|
139
175
|
|
|
176
|
+
class CancelAgreementCommand extends smithyClient.Command
|
|
177
|
+
.classBuilder()
|
|
178
|
+
.ep(commonParams)
|
|
179
|
+
.m(function (Command, cs, config, o) {
|
|
180
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
181
|
+
})
|
|
182
|
+
.s("AWSMPCommerceService_v20200301", "CancelAgreement", {})
|
|
183
|
+
.n("MarketplaceAgreementClient", "CancelAgreementCommand")
|
|
184
|
+
.sc(schemas_0.CancelAgreement$)
|
|
185
|
+
.build() {
|
|
186
|
+
}
|
|
187
|
+
|
|
140
188
|
class CancelAgreementPaymentRequestCommand extends smithyClient.Command
|
|
141
189
|
.classBuilder()
|
|
142
190
|
.ep(commonParams)
|
|
@@ -149,6 +197,18 @@ class CancelAgreementPaymentRequestCommand extends smithyClient.Command
|
|
|
149
197
|
.build() {
|
|
150
198
|
}
|
|
151
199
|
|
|
200
|
+
class CreateAgreementRequestCommand extends smithyClient.Command
|
|
201
|
+
.classBuilder()
|
|
202
|
+
.ep(commonParams)
|
|
203
|
+
.m(function (Command, cs, config, o) {
|
|
204
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
205
|
+
})
|
|
206
|
+
.s("AWSMPCommerceService_v20200301", "CreateAgreementRequest", {})
|
|
207
|
+
.n("MarketplaceAgreementClient", "CreateAgreementRequestCommand")
|
|
208
|
+
.sc(schemas_0.CreateAgreementRequest$)
|
|
209
|
+
.build() {
|
|
210
|
+
}
|
|
211
|
+
|
|
152
212
|
class DescribeAgreementCommand extends smithyClient.Command
|
|
153
213
|
.classBuilder()
|
|
154
214
|
.ep(commonParams)
|
|
@@ -173,6 +233,18 @@ class GetAgreementCancellationRequestCommand extends smithyClient.Command
|
|
|
173
233
|
.build() {
|
|
174
234
|
}
|
|
175
235
|
|
|
236
|
+
class GetAgreementEntitlementsCommand extends smithyClient.Command
|
|
237
|
+
.classBuilder()
|
|
238
|
+
.ep(commonParams)
|
|
239
|
+
.m(function (Command, cs, config, o) {
|
|
240
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
241
|
+
})
|
|
242
|
+
.s("AWSMPCommerceService_v20200301", "GetAgreementEntitlements", {})
|
|
243
|
+
.n("MarketplaceAgreementClient", "GetAgreementEntitlementsCommand")
|
|
244
|
+
.sc(schemas_0.GetAgreementEntitlements$)
|
|
245
|
+
.build() {
|
|
246
|
+
}
|
|
247
|
+
|
|
176
248
|
class GetAgreementPaymentRequestCommand extends smithyClient.Command
|
|
177
249
|
.classBuilder()
|
|
178
250
|
.ep(commonParams)
|
|
@@ -221,6 +293,18 @@ class ListAgreementCancellationRequestsCommand extends smithyClient.Command
|
|
|
221
293
|
.build() {
|
|
222
294
|
}
|
|
223
295
|
|
|
296
|
+
class ListAgreementChargesCommand extends smithyClient.Command
|
|
297
|
+
.classBuilder()
|
|
298
|
+
.ep(commonParams)
|
|
299
|
+
.m(function (Command, cs, config, o) {
|
|
300
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
301
|
+
})
|
|
302
|
+
.s("AWSMPCommerceService_v20200301", "ListAgreementCharges", {})
|
|
303
|
+
.n("MarketplaceAgreementClient", "ListAgreementChargesCommand")
|
|
304
|
+
.sc(schemas_0.ListAgreementCharges$)
|
|
305
|
+
.build() {
|
|
306
|
+
}
|
|
307
|
+
|
|
224
308
|
class ListAgreementInvoiceLineItemsCommand extends smithyClient.Command
|
|
225
309
|
.classBuilder()
|
|
226
310
|
.ep(commonParams)
|
|
@@ -257,6 +341,30 @@ class ListBillingAdjustmentRequestsCommand extends smithyClient.Command
|
|
|
257
341
|
.build() {
|
|
258
342
|
}
|
|
259
343
|
|
|
344
|
+
class RejectAgreementCancellationRequestCommand extends smithyClient.Command
|
|
345
|
+
.classBuilder()
|
|
346
|
+
.ep(commonParams)
|
|
347
|
+
.m(function (Command, cs, config, o) {
|
|
348
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
349
|
+
})
|
|
350
|
+
.s("AWSMPCommerceService_v20200301", "RejectAgreementCancellationRequest", {})
|
|
351
|
+
.n("MarketplaceAgreementClient", "RejectAgreementCancellationRequestCommand")
|
|
352
|
+
.sc(schemas_0.RejectAgreementCancellationRequest$)
|
|
353
|
+
.build() {
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
class RejectAgreementPaymentRequestCommand extends smithyClient.Command
|
|
357
|
+
.classBuilder()
|
|
358
|
+
.ep(commonParams)
|
|
359
|
+
.m(function (Command, cs, config, o) {
|
|
360
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
361
|
+
})
|
|
362
|
+
.s("AWSMPCommerceService_v20200301", "RejectAgreementPaymentRequest", {})
|
|
363
|
+
.n("MarketplaceAgreementClient", "RejectAgreementPaymentRequestCommand")
|
|
364
|
+
.sc(schemas_0.RejectAgreementPaymentRequest$)
|
|
365
|
+
.build() {
|
|
366
|
+
}
|
|
367
|
+
|
|
260
368
|
class SearchAgreementsCommand extends smithyClient.Command
|
|
261
369
|
.classBuilder()
|
|
262
370
|
.ep(commonParams)
|
|
@@ -293,10 +401,26 @@ class SendAgreementPaymentRequestCommand extends smithyClient.Command
|
|
|
293
401
|
.build() {
|
|
294
402
|
}
|
|
295
403
|
|
|
404
|
+
class UpdatePurchaseOrdersCommand extends smithyClient.Command
|
|
405
|
+
.classBuilder()
|
|
406
|
+
.ep(commonParams)
|
|
407
|
+
.m(function (Command, cs, config, o) {
|
|
408
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
409
|
+
})
|
|
410
|
+
.s("AWSMPCommerceService_v20200301", "UpdatePurchaseOrders", {})
|
|
411
|
+
.n("MarketplaceAgreementClient", "UpdatePurchaseOrdersCommand")
|
|
412
|
+
.sc(schemas_0.UpdatePurchaseOrders$)
|
|
413
|
+
.build() {
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
const paginateGetAgreementEntitlements = core.createPaginator(MarketplaceAgreementClient, GetAgreementEntitlementsCommand, "nextToken", "nextToken", "maxResults");
|
|
417
|
+
|
|
296
418
|
const paginateGetAgreementTerms = core.createPaginator(MarketplaceAgreementClient, GetAgreementTermsCommand, "nextToken", "nextToken", "maxResults");
|
|
297
419
|
|
|
298
420
|
const paginateListAgreementCancellationRequests = core.createPaginator(MarketplaceAgreementClient, ListAgreementCancellationRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
299
421
|
|
|
422
|
+
const paginateListAgreementCharges = core.createPaginator(MarketplaceAgreementClient, ListAgreementChargesCommand, "nextToken", "nextToken", "maxResults");
|
|
423
|
+
|
|
300
424
|
const paginateListAgreementInvoiceLineItems = core.createPaginator(MarketplaceAgreementClient, ListAgreementInvoiceLineItemsCommand, "nextToken", "nextToken", "maxResults");
|
|
301
425
|
|
|
302
426
|
const paginateListAgreementPaymentRequests = core.createPaginator(MarketplaceAgreementClient, ListAgreementPaymentRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -306,25 +430,37 @@ const paginateListBillingAdjustmentRequests = core.createPaginator(MarketplaceAg
|
|
|
306
430
|
const paginateSearchAgreements = core.createPaginator(MarketplaceAgreementClient, SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
|
|
307
431
|
|
|
308
432
|
const commands = {
|
|
433
|
+
AcceptAgreementCancellationRequestCommand,
|
|
434
|
+
AcceptAgreementPaymentRequestCommand,
|
|
435
|
+
AcceptAgreementRequestCommand,
|
|
309
436
|
BatchCreateBillingAdjustmentRequestCommand,
|
|
437
|
+
CancelAgreementCommand,
|
|
310
438
|
CancelAgreementCancellationRequestCommand,
|
|
311
439
|
CancelAgreementPaymentRequestCommand,
|
|
440
|
+
CreateAgreementRequestCommand,
|
|
312
441
|
DescribeAgreementCommand,
|
|
313
442
|
GetAgreementCancellationRequestCommand,
|
|
443
|
+
GetAgreementEntitlementsCommand,
|
|
314
444
|
GetAgreementPaymentRequestCommand,
|
|
315
445
|
GetAgreementTermsCommand,
|
|
316
446
|
GetBillingAdjustmentRequestCommand,
|
|
317
447
|
ListAgreementCancellationRequestsCommand,
|
|
448
|
+
ListAgreementChargesCommand,
|
|
318
449
|
ListAgreementInvoiceLineItemsCommand,
|
|
319
450
|
ListAgreementPaymentRequestsCommand,
|
|
320
451
|
ListBillingAdjustmentRequestsCommand,
|
|
452
|
+
RejectAgreementCancellationRequestCommand,
|
|
453
|
+
RejectAgreementPaymentRequestCommand,
|
|
321
454
|
SearchAgreementsCommand,
|
|
322
455
|
SendAgreementCancellationRequestCommand,
|
|
323
456
|
SendAgreementPaymentRequestCommand,
|
|
457
|
+
UpdatePurchaseOrdersCommand,
|
|
324
458
|
};
|
|
325
459
|
const paginators = {
|
|
460
|
+
paginateGetAgreementEntitlements,
|
|
326
461
|
paginateGetAgreementTerms,
|
|
327
462
|
paginateListAgreementCancellationRequests,
|
|
463
|
+
paginateListAgreementCharges,
|
|
328
464
|
paginateListAgreementInvoiceLineItems,
|
|
329
465
|
paginateListAgreementPaymentRequests,
|
|
330
466
|
paginateListBillingAdjustmentRequests,
|
|
@@ -334,10 +470,6 @@ class MarketplaceAgreement extends MarketplaceAgreementClient {
|
|
|
334
470
|
}
|
|
335
471
|
smithyClient.createAggregatedClient(commands, MarketplaceAgreement, { paginators });
|
|
336
472
|
|
|
337
|
-
const PaymentRequestApprovalStrategy = {
|
|
338
|
-
AUTO_APPROVE_ON_EXPIRATION: "AUTO_APPROVE_ON_EXPIRATION",
|
|
339
|
-
WAIT_FOR_APPROVAL: "WAIT_FOR_APPROVAL",
|
|
340
|
-
};
|
|
341
473
|
const AgreementCancellationRequestReasonCode = {
|
|
342
474
|
ALTERNATIVE_PROCUREMENT_CHANNEL: "ALTERNATIVE_PROCUREMENT_CHANNEL",
|
|
343
475
|
BUYER_DISSATISFACTION: "BUYER_DISSATISFACTION",
|
|
@@ -355,65 +487,105 @@ const AgreementCancellationRequestStatus = {
|
|
|
355
487
|
REJECTED: "REJECTED",
|
|
356
488
|
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
357
489
|
};
|
|
358
|
-
const
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
ARCHIVED: "ARCHIVED",
|
|
365
|
-
CANCELLED: "CANCELLED",
|
|
366
|
-
EXPIRED: "EXPIRED",
|
|
367
|
-
RENEWED: "RENEWED",
|
|
368
|
-
REPLACED: "REPLACED",
|
|
369
|
-
ROLLED_BACK: "ROLLED_BACK",
|
|
370
|
-
SUPERSEDED: "SUPERSEDED",
|
|
371
|
-
TERMINATED: "TERMINATED",
|
|
372
|
-
};
|
|
373
|
-
const BillingAdjustmentReasonCode = {
|
|
374
|
-
ALTERNATIVE_PROCUREMENT_CHANNEL: "ALTERNATIVE_PROCUREMENT_CHANNEL",
|
|
375
|
-
BUYER_DISSATISFACTION: "BUYER_DISSATISFACTION",
|
|
376
|
-
INCORRECT_METERING: "INCORRECT_METERING",
|
|
377
|
-
INCORRECT_TERMS_ACCEPTED: "INCORRECT_TERMS_ACCEPTED",
|
|
378
|
-
OTHER: "OTHER",
|
|
379
|
-
TEST_ENVIRONMENT_CHARGES: "TEST_ENVIRONMENT_CHARGES",
|
|
380
|
-
UNINTENDED_RENEWAL: "UNINTENDED_RENEWAL",
|
|
381
|
-
};
|
|
382
|
-
const BillingAdjustmentErrorCode = {
|
|
383
|
-
CONFLICT_EXCEPTION: "CONFLICT_EXCEPTION",
|
|
384
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
385
|
-
RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
|
|
386
|
-
VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
|
|
490
|
+
const AccessDeniedExceptionReason = {
|
|
491
|
+
DENIED_BY_PRIVATE_MARKETPLACE_POLICY: "DENIED_BY_PRIVATE_MARKETPLACE_POLICY",
|
|
492
|
+
FAILED_KYC_COMPLIANCE: "FAILED_KYC_COMPLIANCE",
|
|
493
|
+
INVALID_ACCESS: "INVALID_ACCESS",
|
|
494
|
+
INVALID_ACCOUNT_STATE: "INVALID_ACCOUNT_STATE",
|
|
495
|
+
MISSING_MFA: "MISSING_MFA",
|
|
387
496
|
};
|
|
388
497
|
const ResourceType = {
|
|
389
498
|
AGREEMENT: "Agreement",
|
|
499
|
+
AGREEMENT_CANCELLATION_REQUEST: "AgreementCancellationRequest",
|
|
500
|
+
AGREEMENT_PROPOSAL: "AgreementProposal",
|
|
501
|
+
AGREEMENT_REQUEST: "AgreementRequest",
|
|
502
|
+
BILLING_ADJUSTMENT_REQUEST: "BillingAdjustmentRequest",
|
|
390
503
|
CHARGE: "Charge",
|
|
504
|
+
INVOICE: "Invoice",
|
|
391
505
|
PAYMENT_REQUEST: "PaymentRequest",
|
|
392
506
|
};
|
|
393
507
|
const ValidationExceptionReason = {
|
|
508
|
+
BILLING_ADJUSTMENTS_LIMIT_EXCEEDED: "BILLING_ADJUSTMENTS_LIMIT_EXCEEDED",
|
|
509
|
+
DUPLICATE_AGREEMENT_IN_ORGANIZATION: "DUPLICATE_AGREEMENT_IN_ORGANIZATION",
|
|
510
|
+
DUPLICATE_CHARGES: "DUPLICATE_CHARGES",
|
|
511
|
+
EXCEEDED_MAXIMUM_ADJUSTMENT_AMOUNT: "EXCEEDED_MAXIMUM_ADJUSTMENT_AMOUNT",
|
|
512
|
+
EXPIRED_AGREEMENT_PROPOSAL: "EXPIRED_AGREEMENT_PROPOSAL",
|
|
513
|
+
INACTIVE_AGREEMENT: "INACTIVE_AGREEMENT",
|
|
514
|
+
INCOMPATIBLE_TERMS: "INCOMPATIBLE_TERMS",
|
|
515
|
+
INVALID_ADJUSTMENT_AMOUNT: "INVALID_ADJUSTMENT_AMOUNT",
|
|
516
|
+
INVALID_AGREEMENT_CANCELLATION_REQUEST_ID: "INVALID_AGREEMENT_CANCELLATION_REQUEST_ID",
|
|
394
517
|
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
518
|
+
INVALID_AGREEMENT_PROPOSAL_IDENTIFIER: "INVALID_AGREEMENT_PROPOSAL_IDENTIFIER",
|
|
519
|
+
INVALID_AGREEMENT_REQUEST_ID: "INVALID_AGREEMENT_REQUEST_ID",
|
|
520
|
+
INVALID_AGREEMENT_TYPE: "INVALID_AGREEMENT_TYPE",
|
|
395
521
|
INVALID_CATALOG: "INVALID_CATALOG",
|
|
396
522
|
INVALID_CHARGE_AMOUNT: "INVALID_CHARGE_AMOUNT",
|
|
523
|
+
INVALID_CHARGE_ID: "INVALID_CHARGE_ID",
|
|
524
|
+
INVALID_CHARGE_REVISION: "INVALID_CHARGE_REVISION",
|
|
525
|
+
INVALID_CLIENT_TOKEN: "INVALID_CLIENT_TOKEN",
|
|
526
|
+
INVALID_CURRENCY_CODE: "INVALID_CURRENCY_CODE",
|
|
397
527
|
INVALID_DESCRIPTION: "INVALID_DESCRIPTION",
|
|
528
|
+
INVALID_FILTERS: "INVALID_FILTERS",
|
|
398
529
|
INVALID_FILTER_NAME: "INVALID_FILTER_NAME",
|
|
399
530
|
INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES",
|
|
531
|
+
INVALID_INCREMENTAL_CHARGE: "INVALID_INCREMENTAL_CHARGE",
|
|
532
|
+
INVALID_INTENT: "INVALID_INTENT",
|
|
533
|
+
INVALID_INVOICE_ADJUSTMENT_PERIOD: "INVALID_INVOICE_ADJUSTMENT_PERIOD",
|
|
400
534
|
INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS",
|
|
401
535
|
INVALID_NAME: "INVALID_NAME",
|
|
402
536
|
INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN",
|
|
403
537
|
INVALID_PARTY_TYPE: "INVALID_PARTY_TYPE",
|
|
404
538
|
INVALID_PAYMENT_REQUEST_ID: "INVALID_PAYMENT_REQUEST_ID",
|
|
405
539
|
INVALID_PAYMENT_REQUEST_STATUS: "INVALID_PAYMENT_REQUEST_STATUS",
|
|
540
|
+
INVALID_PURCHASE_ORDERS: "INVALID_PURCHASE_ORDERS",
|
|
541
|
+
INVALID_PURCHASE_ORDER_REFERENCE: "INVALID_PURCHASE_ORDER_REFERENCE",
|
|
542
|
+
INVALID_REASON: "INVALID_REASON",
|
|
543
|
+
INVALID_REASON_CODE: "INVALID_REASON_CODE",
|
|
406
544
|
INVALID_REJECTION_REASON: "INVALID_REJECTION_REASON",
|
|
545
|
+
INVALID_REQUESTED_TERMS: "INVALID_REQUESTED_TERMS",
|
|
546
|
+
INVALID_REQUESTED_TERM_CONFIGURATION: "INVALID_REQUESTED_TERM_CONFIGURATION",
|
|
547
|
+
INVALID_REQUESTED_TERM_ID: "INVALID_REQUESTED_TERM_ID",
|
|
407
548
|
INVALID_SORT_BY: "INVALID_SORT_BY",
|
|
408
549
|
INVALID_SORT_ORDER: "INVALID_SORT_ORDER",
|
|
550
|
+
INVALID_SOURCE_AGREEMENT_IDENTIFIER: "INVALID_SOURCE_AGREEMENT_IDENTIFIER",
|
|
551
|
+
INVALID_STATUS: "INVALID_STATUS",
|
|
409
552
|
INVALID_TERM_ID: "INVALID_TERM_ID",
|
|
553
|
+
MISSING_ACCOUNT_ADDRESS: "MISSING_ACCOUNT_ADDRESS",
|
|
554
|
+
MISSING_ADJUSTMENT_AMOUNT: "MISSING_ADJUSTMENT_AMOUNT",
|
|
555
|
+
MISSING_AGREEMENT_CANCELLATION_REQUEST_ID: "MISSING_AGREEMENT_CANCELLATION_REQUEST_ID",
|
|
410
556
|
MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID",
|
|
557
|
+
MISSING_AGREEMENT_PROPOSAL_IDENTIFIER: "MISSING_AGREEMENT_PROPOSAL_IDENTIFIER",
|
|
558
|
+
MISSING_AGREEMENT_REQUEST_ID: "MISSING_AGREEMENT_REQUEST_ID",
|
|
559
|
+
MISSING_BILLING_ADJUSTMENTS: "MISSING_BILLING_ADJUSTMENTS",
|
|
560
|
+
MISSING_BILLING_ADJUSTMENT_REQUEST_ENTRY: "MISSING_BILLING_ADJUSTMENT_REQUEST_ENTRY",
|
|
411
561
|
MISSING_CHARGE_AMOUNT: "MISSING_CHARGE_AMOUNT",
|
|
562
|
+
MISSING_CHARGE_ID: "MISSING_CHARGE_ID",
|
|
563
|
+
MISSING_CHARGE_REVISION: "MISSING_CHARGE_REVISION",
|
|
564
|
+
MISSING_CURRENCY_CODE: "MISSING_CURRENCY_CODE",
|
|
565
|
+
MISSING_DESCRIPTION: "MISSING_DESCRIPTION",
|
|
566
|
+
MISSING_FILTER_NAME: "MISSING_FILTER_NAME",
|
|
567
|
+
MISSING_FILTER_VALUES: "MISSING_FILTER_VALUES",
|
|
568
|
+
MISSING_INTENT: "MISSING_INTENT",
|
|
569
|
+
MISSING_INVOICE_ID: "MISSING_INVOICE_ID",
|
|
570
|
+
MISSING_MANDATORY_TERMS: "MISSING_MANDATORY_TERMS",
|
|
412
571
|
MISSING_NAME: "MISSING_NAME",
|
|
413
572
|
MISSING_PARTY_TYPE: "MISSING_PARTY_TYPE",
|
|
414
573
|
MISSING_PAYMENT_REQUEST_ID: "MISSING_PAYMENT_REQUEST_ID",
|
|
574
|
+
MISSING_PURCHASE_ORDERS: "MISSING_PURCHASE_ORDERS",
|
|
575
|
+
MISSING_PURCHASE_ORDER_REFERENCE: "MISSING_PURCHASE_ORDER_REFERENCE",
|
|
576
|
+
MISSING_REASON: "MISSING_REASON",
|
|
577
|
+
MISSING_REASON_CODE: "MISSING_REASON_CODE",
|
|
578
|
+
MISSING_REQUESTED_TERMS: "MISSING_REQUESTED_TERMS",
|
|
579
|
+
MISSING_REQUESTED_TERM_CONFIGURATION: "MISSING_REQUESTED_TERM_CONFIGURATION",
|
|
580
|
+
MISSING_REQUESTED_TERM_ID: "MISSING_REQUESTED_TERM_ID",
|
|
581
|
+
MISSING_SOURCE_AGREEMENT_IDENTIFIER: "MISSING_SOURCE_AGREEMENT_IDENTIFIER",
|
|
415
582
|
MISSING_TERM_ID: "MISSING_TERM_ID",
|
|
583
|
+
MISSING_USAGE_AGREEMENT: "MISSING_USAGE_AGREEMENT",
|
|
584
|
+
MULTIPLE_AGREEMENT_IDS: "MULTIPLE_AGREEMENT_IDS",
|
|
416
585
|
OTHER: "OTHER",
|
|
586
|
+
SUPERSEDED_AGREEMENT_PROPOSAL: "SUPERSEDED_AGREEMENT_PROPOSAL",
|
|
587
|
+
UNSUPPORTED_ACCOUNT_PLAN: "UNSUPPORTED_ACCOUNT_PLAN",
|
|
588
|
+
UNSUPPORTED_ACTION: "UNSUPPORTED_ACTION",
|
|
417
589
|
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
418
590
|
};
|
|
419
591
|
const PaymentRequestStatus = {
|
|
@@ -424,6 +596,72 @@ const PaymentRequestStatus = {
|
|
|
424
596
|
VALIDATING: "VALIDATING",
|
|
425
597
|
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
426
598
|
};
|
|
599
|
+
const PaymentRequestApprovalStrategy = {
|
|
600
|
+
AUTO_APPROVE_ON_EXPIRATION: "AUTO_APPROVE_ON_EXPIRATION",
|
|
601
|
+
WAIT_FOR_APPROVAL: "WAIT_FOR_APPROVAL",
|
|
602
|
+
};
|
|
603
|
+
const AgreementEntitlementStatus = {
|
|
604
|
+
DEPROVISIONED: "DEPROVISIONED",
|
|
605
|
+
FAILED: "FAILED",
|
|
606
|
+
PENDING: "PENDING",
|
|
607
|
+
PROVISIONED: "PROVISIONED",
|
|
608
|
+
SCHEDULED: "SCHEDULED",
|
|
609
|
+
};
|
|
610
|
+
const AgreementEntitlementStatusReasonCode = {
|
|
611
|
+
ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED",
|
|
612
|
+
AGREEMENT_ACTIVE: "AGREEMENT_ACTIVE",
|
|
613
|
+
AGREEMENT_INACTIVE: "AGREEMENT_INACTIVE",
|
|
614
|
+
FUTURE_START_DATE: "FUTURE_START_DATE",
|
|
615
|
+
INCOMPATIBLE_CURRENCY: "INCOMPATIBLE_CURRENCY",
|
|
616
|
+
INVALID_PAYMENT_INSTRUMENT: "INVALID_PAYMENT_INSTRUMENT",
|
|
617
|
+
PRODUCT_RESTRICTED: "PRODUCT_RESTRICTED",
|
|
618
|
+
PROVISIONING_IN_PROGRESS: "PROVISIONING_IN_PROGRESS",
|
|
619
|
+
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
620
|
+
};
|
|
621
|
+
const InvoiceType = {
|
|
622
|
+
CREDIT_MEMO: "CREDIT_MEMO",
|
|
623
|
+
INVOICE: "INVOICE",
|
|
624
|
+
};
|
|
625
|
+
const AgreementStatus = {
|
|
626
|
+
ACTIVE: "ACTIVE",
|
|
627
|
+
ARCHIVED: "ARCHIVED",
|
|
628
|
+
CANCELLED: "CANCELLED",
|
|
629
|
+
EXPIRED: "EXPIRED",
|
|
630
|
+
RENEWED: "RENEWED",
|
|
631
|
+
REPLACED: "REPLACED",
|
|
632
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
633
|
+
SUPERSEDED: "SUPERSEDED",
|
|
634
|
+
TERMINATED: "TERMINATED",
|
|
635
|
+
};
|
|
636
|
+
const BillingAdjustmentReasonCode = {
|
|
637
|
+
ALTERNATIVE_PROCUREMENT_CHANNEL: "ALTERNATIVE_PROCUREMENT_CHANNEL",
|
|
638
|
+
BUYER_DISSATISFACTION: "BUYER_DISSATISFACTION",
|
|
639
|
+
INCORRECT_METERING: "INCORRECT_METERING",
|
|
640
|
+
INCORRECT_TERMS_ACCEPTED: "INCORRECT_TERMS_ACCEPTED",
|
|
641
|
+
OTHER: "OTHER",
|
|
642
|
+
TEST_ENVIRONMENT_CHARGES: "TEST_ENVIRONMENT_CHARGES",
|
|
643
|
+
UNINTENDED_RENEWAL: "UNINTENDED_RENEWAL",
|
|
644
|
+
};
|
|
645
|
+
const BillingAdjustmentErrorCode = {
|
|
646
|
+
CONFLICT_EXCEPTION: "CONFLICT_EXCEPTION",
|
|
647
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
648
|
+
RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
|
|
649
|
+
VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
|
|
650
|
+
};
|
|
651
|
+
const Intent = {
|
|
652
|
+
AMEND: "AMEND",
|
|
653
|
+
NEW: "NEW",
|
|
654
|
+
REPLACE: "REPLACE",
|
|
655
|
+
};
|
|
656
|
+
const TaxEstimation = {
|
|
657
|
+
DISABLED: "DISABLED",
|
|
658
|
+
ENABLED: "ENABLED",
|
|
659
|
+
};
|
|
660
|
+
const Timing = {
|
|
661
|
+
BILLING_PERIOD: "BILLING_PERIOD",
|
|
662
|
+
ON_ACCEPTANCE: "ON_ACCEPTANCE",
|
|
663
|
+
SCHEDULED: "SCHEDULED",
|
|
664
|
+
};
|
|
427
665
|
const BillingAdjustmentStatus = {
|
|
428
666
|
COMPLETED: "COMPLETED",
|
|
429
667
|
PENDING: "PENDING",
|
|
@@ -440,23 +678,34 @@ const SortOrder = {
|
|
|
440
678
|
exports.$Command = smithyClient.Command;
|
|
441
679
|
exports.__Client = smithyClient.Client;
|
|
442
680
|
exports.MarketplaceAgreementServiceException = MarketplaceAgreementServiceException.MarketplaceAgreementServiceException;
|
|
681
|
+
exports.AcceptAgreementCancellationRequestCommand = AcceptAgreementCancellationRequestCommand;
|
|
682
|
+
exports.AcceptAgreementPaymentRequestCommand = AcceptAgreementPaymentRequestCommand;
|
|
683
|
+
exports.AcceptAgreementRequestCommand = AcceptAgreementRequestCommand;
|
|
684
|
+
exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
|
|
443
685
|
exports.AgreementCancellationRequestReasonCode = AgreementCancellationRequestReasonCode;
|
|
444
686
|
exports.AgreementCancellationRequestStatus = AgreementCancellationRequestStatus;
|
|
687
|
+
exports.AgreementEntitlementStatus = AgreementEntitlementStatus;
|
|
688
|
+
exports.AgreementEntitlementStatusReasonCode = AgreementEntitlementStatusReasonCode;
|
|
445
689
|
exports.AgreementStatus = AgreementStatus;
|
|
446
690
|
exports.BatchCreateBillingAdjustmentRequestCommand = BatchCreateBillingAdjustmentRequestCommand;
|
|
447
691
|
exports.BillingAdjustmentErrorCode = BillingAdjustmentErrorCode;
|
|
448
692
|
exports.BillingAdjustmentReasonCode = BillingAdjustmentReasonCode;
|
|
449
693
|
exports.BillingAdjustmentStatus = BillingAdjustmentStatus;
|
|
450
694
|
exports.CancelAgreementCancellationRequestCommand = CancelAgreementCancellationRequestCommand;
|
|
695
|
+
exports.CancelAgreementCommand = CancelAgreementCommand;
|
|
451
696
|
exports.CancelAgreementPaymentRequestCommand = CancelAgreementPaymentRequestCommand;
|
|
697
|
+
exports.CreateAgreementRequestCommand = CreateAgreementRequestCommand;
|
|
452
698
|
exports.DescribeAgreementCommand = DescribeAgreementCommand;
|
|
453
699
|
exports.GetAgreementCancellationRequestCommand = GetAgreementCancellationRequestCommand;
|
|
700
|
+
exports.GetAgreementEntitlementsCommand = GetAgreementEntitlementsCommand;
|
|
454
701
|
exports.GetAgreementPaymentRequestCommand = GetAgreementPaymentRequestCommand;
|
|
455
702
|
exports.GetAgreementTermsCommand = GetAgreementTermsCommand;
|
|
456
703
|
exports.GetBillingAdjustmentRequestCommand = GetBillingAdjustmentRequestCommand;
|
|
704
|
+
exports.Intent = Intent;
|
|
457
705
|
exports.InvoiceType = InvoiceType;
|
|
458
706
|
exports.LineItemGroupBy = LineItemGroupBy;
|
|
459
707
|
exports.ListAgreementCancellationRequestsCommand = ListAgreementCancellationRequestsCommand;
|
|
708
|
+
exports.ListAgreementChargesCommand = ListAgreementChargesCommand;
|
|
460
709
|
exports.ListAgreementInvoiceLineItemsCommand = ListAgreementInvoiceLineItemsCommand;
|
|
461
710
|
exports.ListAgreementPaymentRequestsCommand = ListAgreementPaymentRequestsCommand;
|
|
462
711
|
exports.ListBillingAdjustmentRequestsCommand = ListBillingAdjustmentRequestsCommand;
|
|
@@ -464,14 +713,21 @@ exports.MarketplaceAgreement = MarketplaceAgreement;
|
|
|
464
713
|
exports.MarketplaceAgreementClient = MarketplaceAgreementClient;
|
|
465
714
|
exports.PaymentRequestApprovalStrategy = PaymentRequestApprovalStrategy;
|
|
466
715
|
exports.PaymentRequestStatus = PaymentRequestStatus;
|
|
716
|
+
exports.RejectAgreementCancellationRequestCommand = RejectAgreementCancellationRequestCommand;
|
|
717
|
+
exports.RejectAgreementPaymentRequestCommand = RejectAgreementPaymentRequestCommand;
|
|
467
718
|
exports.ResourceType = ResourceType;
|
|
468
719
|
exports.SearchAgreementsCommand = SearchAgreementsCommand;
|
|
469
720
|
exports.SendAgreementCancellationRequestCommand = SendAgreementCancellationRequestCommand;
|
|
470
721
|
exports.SendAgreementPaymentRequestCommand = SendAgreementPaymentRequestCommand;
|
|
471
722
|
exports.SortOrder = SortOrder;
|
|
723
|
+
exports.TaxEstimation = TaxEstimation;
|
|
724
|
+
exports.Timing = Timing;
|
|
725
|
+
exports.UpdatePurchaseOrdersCommand = UpdatePurchaseOrdersCommand;
|
|
472
726
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
727
|
+
exports.paginateGetAgreementEntitlements = paginateGetAgreementEntitlements;
|
|
473
728
|
exports.paginateGetAgreementTerms = paginateGetAgreementTerms;
|
|
474
729
|
exports.paginateListAgreementCancellationRequests = paginateListAgreementCancellationRequests;
|
|
730
|
+
exports.paginateListAgreementCharges = paginateListAgreementCharges;
|
|
475
731
|
exports.paginateListAgreementInvoiceLineItems = paginateListAgreementInvoiceLineItems;
|
|
476
732
|
exports.paginateListAgreementPaymentRequests = paginateListAgreementPaymentRequests;
|
|
477
733
|
exports.paginateListBillingAdjustmentRequests = paginateListBillingAdjustmentRequests;
|