list_agreement_charges
¶
list_agreement_charges(
*,
config_overrides: Optional[MarketplaceAgreementClientConfig] = None,
catalog: Optional[Catalog] = None,
agreement_id: Optional[ResourceId] = None,
agreement_type: Optional[AgreementType] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListAgreementChargesOutput
Allows acceptors to view charges and purchase orders that are associated with an agreement. The response includes details about all charges regardless of whether a purchase order is linked to each charge.
Parameters:
-
catalog(Optional[Catalog], default:None) –The catalog in which the charges were created.
-
agreement_id(Optional[ResourceId], default:None) –The unique identifier of the agreement.
-
agreement_type(Optional[AgreementType], default:None) –Filter to retrieve charges of a specific agreement type (for example,
PurchaseAgreement). -
max_results(Optional[MaxResults], default:None) –The maximum number of charges to return in the response.
-
next_token(Optional[NextToken], default:None) –A token to specify where to start pagination.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–Unexpected error during processing of request.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_marketplace_agreement/_services/marketplace_agreement.py
1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 | |