list_agreement_payment_requests
¶
list_agreement_payment_requests(
party_type: PartyType,
*,
config_overrides: Optional[MarketplaceAgreementClientConfig] = None,
agreement_type: Optional[AgreementType] = None,
catalog: Optional[Catalog] = None,
agreement_id: Optional[AgreementId] = None,
status: Optional[PaymentRequestStatus] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListAgreementPaymentRequestsOutput
Lists payment requests available to you as a seller or buyer. Both sellers (proposers) and buyers (acceptors) can use this operation to find payment requests by specifying their party type and applying optional parameters.
PartyType is a required parameter. A ValidationException is returned if PartyType is not provided. Pagination is supported through maxResults (1-50, default 50) and nextToken parameters.
Parameters:
-
party_type(PartyType) –The party type for the payment requests. Required parameter. Use
Proposerto list payment requests where you are the seller, orAcceptorto list payment requests where you are the buyer. -
agreement_type(Optional[AgreementType], default:None) –An optional parameter to list payment requests by agreement type (e.g.,
PurchaseAgreement). -
catalog(Optional[Catalog], default:None) –An optional parameter to list payment requests by catalog (e.g.,
AWSMarketplace). -
agreement_id(Optional[AgreementId], default:None) –An optional parameter to list payment requests for a specific agreement.
-
status(Optional[PaymentRequestStatus], default:None) –An optional parameter to list payment requests by status. Valid values include
VALIDATING,VALIDATION_FAILED,PENDING_APPROVAL,APPROVED,REJECTED, andCANCELLED. -
max_results(Optional[MaxResults], default:None) –The maximum number of payment requests to return in a single response (1-50). Default is 50.
-
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
2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 | |