list_agreement_charges
async
¶
list_agreement_charges(
*,
config_overrides: Optional[AsyncMarketplaceAgreementClientConfig] = 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/async_marketplace_agreement.py
2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 | |