get_relationship
async
¶
get_relationship(
catalog: Catalog,
program_management_account_identifier: ProgramManagementAccountIdentifier,
identifier: RelationshipIdentifier,
*,
config_overrides: Optional[AsyncPartnerCentralChannelClientConfig] = None,
) -> GetRelationshipResponse
Retrieves details of a specific partner relationship.
Parameters:
-
catalog(Catalog) –The catalog identifier for the relationship.
-
program_management_account_identifier(ProgramManagementAccountIdentifier) –The identifier of the program management account associated with the relationship.
-
identifier(RelationshipIdentifier) –The unique identifier of the relationship to retrieve.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions.
-
InternalServerException–An internal server error occurred while processing the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was throttled due to too many requests being sent in a short period.
-
ValidationException–The request failed validation due to invalid input parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Example for GetRelationship
>>> await client.get_relationship(catalog='AWS', program_management_account_identifier='pma-u8ic702rtzng8', identifier='rs-l9o4fj3b5zb91')
Example for GetRelationship - MANAGED_SERVICES_END_CUSTOMER
>>> await client.get_relationship(catalog='AWS', program_management_account_identifier='pma-abcdef123456g', identifier='rs-abc123def456g')
Source code in docs_src/capo_partnercentral_channel/_services/async_partner_central_channel.py
1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 | |