@aws-sdk/client-marketplace-agreement 3.1020.0 → 3.1022.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 +63 -7
- package/dist-cjs/index.js +182 -7
- package/dist-cjs/models/errors.js +20 -20
- package/dist-cjs/schemas/schemas_0.js +268 -27
- package/dist-es/MarketplaceAgreement.js +22 -0
- package/dist-es/commands/BatchCreateBillingAdjustmentRequestCommand.js +16 -0
- package/dist-es/commands/CancelAgreementCancellationRequestCommand.js +16 -0
- package/dist-es/commands/GetAgreementCancellationRequestCommand.js +16 -0
- package/dist-es/commands/GetBillingAdjustmentRequestCommand.js +16 -0
- package/dist-es/commands/ListAgreementCancellationRequestsCommand.js +16 -0
- package/dist-es/commands/ListAgreementInvoiceLineItemsCommand.js +16 -0
- package/dist-es/commands/ListBillingAdjustmentRequestsCommand.js +16 -0
- package/dist-es/commands/SendAgreementCancellationRequestCommand.js +16 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +51 -7
- package/dist-es/models/errors.js +18 -18
- package/dist-es/pagination/ListAgreementCancellationRequestsPaginator.js +4 -0
- package/dist-es/pagination/ListAgreementInvoiceLineItemsPaginator.js +4 -0
- package/dist-es/pagination/ListBillingAdjustmentRequestsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +266 -25
- package/dist-types/MarketplaceAgreement.d.ts +78 -0
- package/dist-types/MarketplaceAgreementClient.d.ts +10 -2
- package/dist-types/commands/BatchCreateBillingAdjustmentRequestCommand.d.ts +142 -0
- package/dist-types/commands/CancelAgreementCancellationRequestCommand.d.ts +125 -0
- package/dist-types/commands/GetAgreementCancellationRequestCommand.d.ts +120 -0
- package/dist-types/commands/GetBillingAdjustmentRequestCommand.d.ts +125 -0
- package/dist-types/commands/ListAgreementCancellationRequestsCommand.d.ts +131 -0
- package/dist-types/commands/ListAgreementInvoiceLineItemsCommand.d.ts +156 -0
- package/dist-types/commands/ListBillingAdjustmentRequestsCommand.d.ts +135 -0
- package/dist-types/commands/SendAgreementCancellationRequestCommand.d.ts +125 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +108 -8
- package/dist-types/models/errors.d.ts +27 -27
- package/dist-types/models/models_0.d.ts +827 -83
- package/dist-types/pagination/ListAgreementCancellationRequestsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgreementInvoiceLineItemsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBillingAdjustmentRequestsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +33 -0
- package/dist-types/ts3.4/MarketplaceAgreement.d.ts +176 -0
- package/dist-types/ts3.4/MarketplaceAgreementClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/BatchCreateBillingAdjustmentRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelAgreementCancellationRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgreementCancellationRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBillingAdjustmentRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgreementCancellationRequestsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgreementInvoiceLineItemsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillingAdjustmentRequestsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendAgreementCancellationRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +66 -9
- package/dist-types/ts3.4/models/errors.d.ts +10 -10
- package/dist-types/ts3.4/models/models_0.d.ts +187 -4
- package/dist-types/ts3.4/pagination/ListAgreementCancellationRequestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgreementInvoiceLineItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBillingAdjustmentRequestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +33 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -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 `ListBillingAdjustmentRequestsCommand`:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
28
|
// ES5 example
|
|
29
|
-
const { MarketplaceAgreementClient,
|
|
29
|
+
const { MarketplaceAgreementClient, ListBillingAdjustmentRequestsCommand } = require("@aws-sdk/client-marketplace-agreement");
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
33
|
// ES6+ example
|
|
34
|
-
import { MarketplaceAgreementClient,
|
|
34
|
+
import { MarketplaceAgreementClient, ListBillingAdjustmentRequestsCommand } 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 ListBillingAdjustmentRequestsCommand(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.listBillingAdjustmentRequests(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
|
+
.listBillingAdjustmentRequests(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.listBillingAdjustmentRequests(params, (err, data) => {
|
|
125
125
|
// process err and data.
|
|
126
126
|
});
|
|
127
127
|
```
|
|
@@ -179,6 +179,20 @@ see LICENSE for more information.
|
|
|
179
179
|
|
|
180
180
|
## Client Commands (Operations List)
|
|
181
181
|
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
BatchCreateBillingAdjustmentRequest
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/BatchCreateBillingAdjustmentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/BatchCreateBillingAdjustmentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/BatchCreateBillingAdjustmentRequestCommandOutput/)
|
|
188
|
+
</details>
|
|
189
|
+
<details>
|
|
190
|
+
<summary>
|
|
191
|
+
CancelAgreementCancellationRequest
|
|
192
|
+
</summary>
|
|
193
|
+
|
|
194
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/CancelAgreementCancellationRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CancelAgreementCancellationRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/CancelAgreementCancellationRequestCommandOutput/)
|
|
195
|
+
</details>
|
|
182
196
|
<details>
|
|
183
197
|
<summary>
|
|
184
198
|
CancelAgreementPaymentRequest
|
|
@@ -195,6 +209,13 @@ DescribeAgreement
|
|
|
195
209
|
</details>
|
|
196
210
|
<details>
|
|
197
211
|
<summary>
|
|
212
|
+
GetAgreementCancellationRequest
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/GetAgreementCancellationRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetAgreementCancellationRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetAgreementCancellationRequestCommandOutput/)
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
198
219
|
GetAgreementPaymentRequest
|
|
199
220
|
</summary>
|
|
200
221
|
|
|
@@ -209,6 +230,27 @@ GetAgreementTerms
|
|
|
209
230
|
</details>
|
|
210
231
|
<details>
|
|
211
232
|
<summary>
|
|
233
|
+
GetBillingAdjustmentRequest
|
|
234
|
+
</summary>
|
|
235
|
+
|
|
236
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/GetBillingAdjustmentRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetBillingAdjustmentRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/GetBillingAdjustmentRequestCommandOutput/)
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
240
|
+
ListAgreementCancellationRequests
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/ListAgreementCancellationRequestsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementCancellationRequestsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementCancellationRequestsCommandOutput/)
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
247
|
+
ListAgreementInvoiceLineItems
|
|
248
|
+
</summary>
|
|
249
|
+
|
|
250
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/ListAgreementInvoiceLineItemsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementInvoiceLineItemsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListAgreementInvoiceLineItemsCommandOutput/)
|
|
251
|
+
</details>
|
|
252
|
+
<details>
|
|
253
|
+
<summary>
|
|
212
254
|
ListAgreementPaymentRequests
|
|
213
255
|
</summary>
|
|
214
256
|
|
|
@@ -216,6 +258,13 @@ ListAgreementPaymentRequests
|
|
|
216
258
|
</details>
|
|
217
259
|
<details>
|
|
218
260
|
<summary>
|
|
261
|
+
ListBillingAdjustmentRequests
|
|
262
|
+
</summary>
|
|
263
|
+
|
|
264
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/ListBillingAdjustmentRequestsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListBillingAdjustmentRequestsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/ListBillingAdjustmentRequestsCommandOutput/)
|
|
265
|
+
</details>
|
|
266
|
+
<details>
|
|
267
|
+
<summary>
|
|
219
268
|
SearchAgreements
|
|
220
269
|
</summary>
|
|
221
270
|
|
|
@@ -223,6 +272,13 @@ SearchAgreements
|
|
|
223
272
|
</details>
|
|
224
273
|
<details>
|
|
225
274
|
<summary>
|
|
275
|
+
SendAgreementCancellationRequest
|
|
276
|
+
</summary>
|
|
277
|
+
|
|
278
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/marketplace-agreement/command/SendAgreementCancellationRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SendAgreementCancellationRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-marketplace-agreement/Interface/SendAgreementCancellationRequestCommandOutput/)
|
|
279
|
+
</details>
|
|
280
|
+
<details>
|
|
281
|
+
<summary>
|
|
226
282
|
SendAgreementPaymentRequest
|
|
227
283
|
</summary>
|
|
228
284
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -113,6 +113,30 @@ class MarketplaceAgreementClient extends smithyClient.Client {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
class BatchCreateBillingAdjustmentRequestCommand 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", "BatchCreateBillingAdjustmentRequest", {})
|
|
123
|
+
.n("MarketplaceAgreementClient", "BatchCreateBillingAdjustmentRequestCommand")
|
|
124
|
+
.sc(schemas_0.BatchCreateBillingAdjustmentRequest$)
|
|
125
|
+
.build() {
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
class CancelAgreementCancellationRequestCommand 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", "CancelAgreementCancellationRequest", {})
|
|
135
|
+
.n("MarketplaceAgreementClient", "CancelAgreementCancellationRequestCommand")
|
|
136
|
+
.sc(schemas_0.CancelAgreementCancellationRequest$)
|
|
137
|
+
.build() {
|
|
138
|
+
}
|
|
139
|
+
|
|
116
140
|
class CancelAgreementPaymentRequestCommand extends smithyClient.Command
|
|
117
141
|
.classBuilder()
|
|
118
142
|
.ep(commonParams)
|
|
@@ -137,6 +161,18 @@ class DescribeAgreementCommand extends smithyClient.Command
|
|
|
137
161
|
.build() {
|
|
138
162
|
}
|
|
139
163
|
|
|
164
|
+
class GetAgreementCancellationRequestCommand extends smithyClient.Command
|
|
165
|
+
.classBuilder()
|
|
166
|
+
.ep(commonParams)
|
|
167
|
+
.m(function (Command, cs, config, o) {
|
|
168
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
169
|
+
})
|
|
170
|
+
.s("AWSMPCommerceService_v20200301", "GetAgreementCancellationRequest", {})
|
|
171
|
+
.n("MarketplaceAgreementClient", "GetAgreementCancellationRequestCommand")
|
|
172
|
+
.sc(schemas_0.GetAgreementCancellationRequest$)
|
|
173
|
+
.build() {
|
|
174
|
+
}
|
|
175
|
+
|
|
140
176
|
class GetAgreementPaymentRequestCommand extends smithyClient.Command
|
|
141
177
|
.classBuilder()
|
|
142
178
|
.ep(commonParams)
|
|
@@ -161,6 +197,42 @@ class GetAgreementTermsCommand extends smithyClient.Command
|
|
|
161
197
|
.build() {
|
|
162
198
|
}
|
|
163
199
|
|
|
200
|
+
class GetBillingAdjustmentRequestCommand 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", "GetBillingAdjustmentRequest", {})
|
|
207
|
+
.n("MarketplaceAgreementClient", "GetBillingAdjustmentRequestCommand")
|
|
208
|
+
.sc(schemas_0.GetBillingAdjustmentRequest$)
|
|
209
|
+
.build() {
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
class ListAgreementCancellationRequestsCommand extends smithyClient.Command
|
|
213
|
+
.classBuilder()
|
|
214
|
+
.ep(commonParams)
|
|
215
|
+
.m(function (Command, cs, config, o) {
|
|
216
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
217
|
+
})
|
|
218
|
+
.s("AWSMPCommerceService_v20200301", "ListAgreementCancellationRequests", {})
|
|
219
|
+
.n("MarketplaceAgreementClient", "ListAgreementCancellationRequestsCommand")
|
|
220
|
+
.sc(schemas_0.ListAgreementCancellationRequests$)
|
|
221
|
+
.build() {
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
class ListAgreementInvoiceLineItemsCommand extends smithyClient.Command
|
|
225
|
+
.classBuilder()
|
|
226
|
+
.ep(commonParams)
|
|
227
|
+
.m(function (Command, cs, config, o) {
|
|
228
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
229
|
+
})
|
|
230
|
+
.s("AWSMPCommerceService_v20200301", "ListAgreementInvoiceLineItems", {})
|
|
231
|
+
.n("MarketplaceAgreementClient", "ListAgreementInvoiceLineItemsCommand")
|
|
232
|
+
.sc(schemas_0.ListAgreementInvoiceLineItems$)
|
|
233
|
+
.build() {
|
|
234
|
+
}
|
|
235
|
+
|
|
164
236
|
class ListAgreementPaymentRequestsCommand extends smithyClient.Command
|
|
165
237
|
.classBuilder()
|
|
166
238
|
.ep(commonParams)
|
|
@@ -173,6 +245,18 @@ class ListAgreementPaymentRequestsCommand extends smithyClient.Command
|
|
|
173
245
|
.build() {
|
|
174
246
|
}
|
|
175
247
|
|
|
248
|
+
class ListBillingAdjustmentRequestsCommand extends smithyClient.Command
|
|
249
|
+
.classBuilder()
|
|
250
|
+
.ep(commonParams)
|
|
251
|
+
.m(function (Command, cs, config, o) {
|
|
252
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
253
|
+
})
|
|
254
|
+
.s("AWSMPCommerceService_v20200301", "ListBillingAdjustmentRequests", {})
|
|
255
|
+
.n("MarketplaceAgreementClient", "ListBillingAdjustmentRequestsCommand")
|
|
256
|
+
.sc(schemas_0.ListBillingAdjustmentRequests$)
|
|
257
|
+
.build() {
|
|
258
|
+
}
|
|
259
|
+
|
|
176
260
|
class SearchAgreementsCommand extends smithyClient.Command
|
|
177
261
|
.classBuilder()
|
|
178
262
|
.ep(commonParams)
|
|
@@ -185,6 +269,18 @@ class SearchAgreementsCommand extends smithyClient.Command
|
|
|
185
269
|
.build() {
|
|
186
270
|
}
|
|
187
271
|
|
|
272
|
+
class SendAgreementCancellationRequestCommand extends smithyClient.Command
|
|
273
|
+
.classBuilder()
|
|
274
|
+
.ep(commonParams)
|
|
275
|
+
.m(function (Command, cs, config, o) {
|
|
276
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
277
|
+
})
|
|
278
|
+
.s("AWSMPCommerceService_v20200301", "SendAgreementCancellationRequest", {})
|
|
279
|
+
.n("MarketplaceAgreementClient", "SendAgreementCancellationRequestCommand")
|
|
280
|
+
.sc(schemas_0.SendAgreementCancellationRequest$)
|
|
281
|
+
.build() {
|
|
282
|
+
}
|
|
283
|
+
|
|
188
284
|
class SendAgreementPaymentRequestCommand extends smithyClient.Command
|
|
189
285
|
.classBuilder()
|
|
190
286
|
.ep(commonParams)
|
|
@@ -199,22 +295,39 @@ class SendAgreementPaymentRequestCommand extends smithyClient.Command
|
|
|
199
295
|
|
|
200
296
|
const paginateGetAgreementTerms = core.createPaginator(MarketplaceAgreementClient, GetAgreementTermsCommand, "nextToken", "nextToken", "maxResults");
|
|
201
297
|
|
|
298
|
+
const paginateListAgreementCancellationRequests = core.createPaginator(MarketplaceAgreementClient, ListAgreementCancellationRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
299
|
+
|
|
300
|
+
const paginateListAgreementInvoiceLineItems = core.createPaginator(MarketplaceAgreementClient, ListAgreementInvoiceLineItemsCommand, "nextToken", "nextToken", "maxResults");
|
|
301
|
+
|
|
202
302
|
const paginateListAgreementPaymentRequests = core.createPaginator(MarketplaceAgreementClient, ListAgreementPaymentRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
203
303
|
|
|
304
|
+
const paginateListBillingAdjustmentRequests = core.createPaginator(MarketplaceAgreementClient, ListBillingAdjustmentRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
305
|
+
|
|
204
306
|
const paginateSearchAgreements = core.createPaginator(MarketplaceAgreementClient, SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
|
|
205
307
|
|
|
206
308
|
const commands = {
|
|
309
|
+
BatchCreateBillingAdjustmentRequestCommand,
|
|
310
|
+
CancelAgreementCancellationRequestCommand,
|
|
207
311
|
CancelAgreementPaymentRequestCommand,
|
|
208
312
|
DescribeAgreementCommand,
|
|
313
|
+
GetAgreementCancellationRequestCommand,
|
|
209
314
|
GetAgreementPaymentRequestCommand,
|
|
210
315
|
GetAgreementTermsCommand,
|
|
316
|
+
GetBillingAdjustmentRequestCommand,
|
|
317
|
+
ListAgreementCancellationRequestsCommand,
|
|
318
|
+
ListAgreementInvoiceLineItemsCommand,
|
|
211
319
|
ListAgreementPaymentRequestsCommand,
|
|
320
|
+
ListBillingAdjustmentRequestsCommand,
|
|
212
321
|
SearchAgreementsCommand,
|
|
322
|
+
SendAgreementCancellationRequestCommand,
|
|
213
323
|
SendAgreementPaymentRequestCommand,
|
|
214
324
|
};
|
|
215
325
|
const paginators = {
|
|
216
326
|
paginateGetAgreementTerms,
|
|
327
|
+
paginateListAgreementCancellationRequests,
|
|
328
|
+
paginateListAgreementInvoiceLineItems,
|
|
217
329
|
paginateListAgreementPaymentRequests,
|
|
330
|
+
paginateListBillingAdjustmentRequests,
|
|
218
331
|
paginateSearchAgreements,
|
|
219
332
|
};
|
|
220
333
|
class MarketplaceAgreement extends MarketplaceAgreementClient {
|
|
@@ -225,6 +338,27 @@ const PaymentRequestApprovalStrategy = {
|
|
|
225
338
|
AUTO_APPROVE_ON_EXPIRATION: "AUTO_APPROVE_ON_EXPIRATION",
|
|
226
339
|
WAIT_FOR_APPROVAL: "WAIT_FOR_APPROVAL",
|
|
227
340
|
};
|
|
341
|
+
const AgreementCancellationRequestReasonCode = {
|
|
342
|
+
ALTERNATIVE_PROCUREMENT_CHANNEL: "ALTERNATIVE_PROCUREMENT_CHANNEL",
|
|
343
|
+
BUYER_DISSATISFACTION: "BUYER_DISSATISFACTION",
|
|
344
|
+
INCORRECT_TERMS_ACCEPTED: "INCORRECT_TERMS_ACCEPTED",
|
|
345
|
+
OTHER: "OTHER",
|
|
346
|
+
PRODUCT_DISCONTINUED: "PRODUCT_DISCONTINUED",
|
|
347
|
+
REPLACING_AGREEMENT: "REPLACING_AGREEMENT",
|
|
348
|
+
TEST_AGREEMENT: "TEST_AGREEMENT",
|
|
349
|
+
UNINTENDED_RENEWAL: "UNINTENDED_RENEWAL",
|
|
350
|
+
};
|
|
351
|
+
const AgreementCancellationRequestStatus = {
|
|
352
|
+
APPROVED: "APPROVED",
|
|
353
|
+
CANCELLED: "CANCELLED",
|
|
354
|
+
PENDING_APPROVAL: "PENDING_APPROVAL",
|
|
355
|
+
REJECTED: "REJECTED",
|
|
356
|
+
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
357
|
+
};
|
|
358
|
+
const InvoiceType = {
|
|
359
|
+
CREDIT_MEMO: "CREDIT_MEMO",
|
|
360
|
+
INVOICE: "INVOICE",
|
|
361
|
+
};
|
|
228
362
|
const AgreementStatus = {
|
|
229
363
|
ACTIVE: "ACTIVE",
|
|
230
364
|
ARCHIVED: "ARCHIVED",
|
|
@@ -236,13 +370,20 @@ const AgreementStatus = {
|
|
|
236
370
|
SUPERSEDED: "SUPERSEDED",
|
|
237
371
|
TERMINATED: "TERMINATED",
|
|
238
372
|
};
|
|
239
|
-
const
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
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",
|
|
246
387
|
};
|
|
247
388
|
const ResourceType = {
|
|
248
389
|
AGREEMENT: "Agreement",
|
|
@@ -275,6 +416,22 @@ const ValidationExceptionReason = {
|
|
|
275
416
|
OTHER: "OTHER",
|
|
276
417
|
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
277
418
|
};
|
|
419
|
+
const PaymentRequestStatus = {
|
|
420
|
+
APPROVED: "APPROVED",
|
|
421
|
+
CANCELLED: "CANCELLED",
|
|
422
|
+
PENDING_APPROVAL: "PENDING_APPROVAL",
|
|
423
|
+
REJECTED: "REJECTED",
|
|
424
|
+
VALIDATING: "VALIDATING",
|
|
425
|
+
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
426
|
+
};
|
|
427
|
+
const BillingAdjustmentStatus = {
|
|
428
|
+
COMPLETED: "COMPLETED",
|
|
429
|
+
PENDING: "PENDING",
|
|
430
|
+
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
431
|
+
};
|
|
432
|
+
const LineItemGroupBy = {
|
|
433
|
+
INVOICE_ID: "INVOICE_ID",
|
|
434
|
+
};
|
|
278
435
|
const SortOrder = {
|
|
279
436
|
ASCENDING: "ASCENDING",
|
|
280
437
|
DESCENDING: "DESCENDING",
|
|
@@ -283,23 +440,41 @@ const SortOrder = {
|
|
|
283
440
|
exports.$Command = smithyClient.Command;
|
|
284
441
|
exports.__Client = smithyClient.Client;
|
|
285
442
|
exports.MarketplaceAgreementServiceException = MarketplaceAgreementServiceException.MarketplaceAgreementServiceException;
|
|
443
|
+
exports.AgreementCancellationRequestReasonCode = AgreementCancellationRequestReasonCode;
|
|
444
|
+
exports.AgreementCancellationRequestStatus = AgreementCancellationRequestStatus;
|
|
286
445
|
exports.AgreementStatus = AgreementStatus;
|
|
446
|
+
exports.BatchCreateBillingAdjustmentRequestCommand = BatchCreateBillingAdjustmentRequestCommand;
|
|
447
|
+
exports.BillingAdjustmentErrorCode = BillingAdjustmentErrorCode;
|
|
448
|
+
exports.BillingAdjustmentReasonCode = BillingAdjustmentReasonCode;
|
|
449
|
+
exports.BillingAdjustmentStatus = BillingAdjustmentStatus;
|
|
450
|
+
exports.CancelAgreementCancellationRequestCommand = CancelAgreementCancellationRequestCommand;
|
|
287
451
|
exports.CancelAgreementPaymentRequestCommand = CancelAgreementPaymentRequestCommand;
|
|
288
452
|
exports.DescribeAgreementCommand = DescribeAgreementCommand;
|
|
453
|
+
exports.GetAgreementCancellationRequestCommand = GetAgreementCancellationRequestCommand;
|
|
289
454
|
exports.GetAgreementPaymentRequestCommand = GetAgreementPaymentRequestCommand;
|
|
290
455
|
exports.GetAgreementTermsCommand = GetAgreementTermsCommand;
|
|
456
|
+
exports.GetBillingAdjustmentRequestCommand = GetBillingAdjustmentRequestCommand;
|
|
457
|
+
exports.InvoiceType = InvoiceType;
|
|
458
|
+
exports.LineItemGroupBy = LineItemGroupBy;
|
|
459
|
+
exports.ListAgreementCancellationRequestsCommand = ListAgreementCancellationRequestsCommand;
|
|
460
|
+
exports.ListAgreementInvoiceLineItemsCommand = ListAgreementInvoiceLineItemsCommand;
|
|
291
461
|
exports.ListAgreementPaymentRequestsCommand = ListAgreementPaymentRequestsCommand;
|
|
462
|
+
exports.ListBillingAdjustmentRequestsCommand = ListBillingAdjustmentRequestsCommand;
|
|
292
463
|
exports.MarketplaceAgreement = MarketplaceAgreement;
|
|
293
464
|
exports.MarketplaceAgreementClient = MarketplaceAgreementClient;
|
|
294
465
|
exports.PaymentRequestApprovalStrategy = PaymentRequestApprovalStrategy;
|
|
295
466
|
exports.PaymentRequestStatus = PaymentRequestStatus;
|
|
296
467
|
exports.ResourceType = ResourceType;
|
|
297
468
|
exports.SearchAgreementsCommand = SearchAgreementsCommand;
|
|
469
|
+
exports.SendAgreementCancellationRequestCommand = SendAgreementCancellationRequestCommand;
|
|
298
470
|
exports.SendAgreementPaymentRequestCommand = SendAgreementPaymentRequestCommand;
|
|
299
471
|
exports.SortOrder = SortOrder;
|
|
300
472
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
301
473
|
exports.paginateGetAgreementTerms = paginateGetAgreementTerms;
|
|
474
|
+
exports.paginateListAgreementCancellationRequests = paginateListAgreementCancellationRequests;
|
|
475
|
+
exports.paginateListAgreementInvoiceLineItems = paginateListAgreementInvoiceLineItems;
|
|
302
476
|
exports.paginateListAgreementPaymentRequests = paginateListAgreementPaymentRequests;
|
|
477
|
+
exports.paginateListBillingAdjustmentRequests = paginateListBillingAdjustmentRequests;
|
|
303
478
|
exports.paginateSearchAgreements = paginateSearchAgreements;
|
|
304
479
|
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
305
480
|
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const MarketplaceAgreementServiceException_1 = require("./MarketplaceAgreementServiceException");
|
|
5
5
|
class AccessDeniedException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -51,25 +51,6 @@ class InternalServerException extends MarketplaceAgreementServiceException_1.Mar
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
exports.InternalServerException = InternalServerException;
|
|
54
|
-
class ResourceNotFoundException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
55
|
-
name = "ResourceNotFoundException";
|
|
56
|
-
$fault = "client";
|
|
57
|
-
requestId;
|
|
58
|
-
resourceId;
|
|
59
|
-
resourceType;
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "ResourceNotFoundException",
|
|
63
|
-
$fault: "client",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
67
|
-
this.requestId = opts.requestId;
|
|
68
|
-
this.resourceId = opts.resourceId;
|
|
69
|
-
this.resourceType = opts.resourceType;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
73
54
|
class ThrottlingException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
74
55
|
name = "ThrottlingException";
|
|
75
56
|
$fault = "client";
|
|
@@ -104,3 +85,22 @@ class ValidationException extends MarketplaceAgreementServiceException_1.Marketp
|
|
|
104
85
|
}
|
|
105
86
|
}
|
|
106
87
|
exports.ValidationException = ValidationException;
|
|
88
|
+
class ResourceNotFoundException extends MarketplaceAgreementServiceException_1.MarketplaceAgreementServiceException {
|
|
89
|
+
name = "ResourceNotFoundException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
requestId;
|
|
92
|
+
resourceId;
|
|
93
|
+
resourceType;
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ResourceNotFoundException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
101
|
+
this.requestId = opts.requestId;
|
|
102
|
+
this.resourceId = opts.resourceId;
|
|
103
|
+
this.resourceType = opts.resourceType;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|