cancel_profile_update_task
async
¶
cancel_profile_update_task(
catalog: Catalog,
identifier: PartnerIdentifier,
task_id: ProfileTaskId,
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> CancelProfileUpdateTaskResponse
Cancels an in-progress profile update task, stopping any pending changes to the partner profile.
Parameters:
-
catalog(Catalog) –The catalog identifier for the partner account.
-
identifier(PartnerIdentifier) –The unique identifier of the partner account.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
task_id(ProfileTaskId) –The unique identifier of the profile update task to cancel.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
-
InternalServerException–An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
-
ResourceNotFoundException–The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
-
ThrottlingException–The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
-
ValidationException–The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_account/_services/async_partner_central_account.py
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 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 | |