update_relationship
async
¶
update_relationship(
catalog: Catalog,
identifier: RelationshipIdentifier,
program_management_account_identifier: ProgramManagementAccountIdentifier,
*,
config_overrides: Optional[AsyncPartnerCentralChannelClientConfig] = None,
revision: Optional[Revision] = None,
display_name: Optional[RelationshipDisplayName] = None,
requested_support_plan: Optional[SupportPlan] = None,
) -> UpdateRelationshipResponse
Updates the properties of a partner relationship.
Parameters:
-
catalog(Catalog) –The catalog identifier for the relationship.
-
identifier(RelationshipIdentifier) –The unique identifier of the relationship to update.
-
program_management_account_identifier(ProgramManagementAccountIdentifier) –The identifier of the program management account associated with the relationship.
-
revision(Optional[Revision], default:None) –The current revision number of the relationship.
-
display_name(Optional[RelationshipDisplayName], default:None) –The new display name for the relationship.
-
requested_support_plan(Optional[SupportPlan], default:None) –The updated support plan for the relationship. Applies only to billing transfer relationships.
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.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Example for UpdateRelationship
>>> await client.update_relationship(catalog='AWS', program_management_account_identifier='pma-u8ic702rtzng8', identifier='rs-l9o4fj3b5zb91', revision='3', display_name='TestDisplayName')
Source code in docs_src/capo_partnercentral_channel/_services/async_partner_central_channel.py
1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 | |