list_agreement_payment_requests
async
¶
list_agreement_payment_requests(
party_type: PartyType,
*,
config_overrides: Optional[AsyncMarketplaceAgreementClientConfig] = 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/async_marketplace_agreement.py
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 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 | |