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
1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 | |