start_qualifications_disassociation_task
async
¶
start_qualifications_disassociation_task(
catalog: Catalog,
identifier: PartnerIdentifier,
associated_partner: QualificationsAssociationPartner,
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> StartQualificationsDisassociationTaskResponse
Initiates an asynchronous task to disassociate your partner qualifications from a primary account. You must currently be associated and cannot disassociate if you are the primary partner. Use GetQualificationsDisassociationTask to monitor task progress.
Parameters:
-
catalog(Catalog) –The catalog in which to perform the qualifications disassociation. Valid values:
AWS,Sandbox. -
identifier(PartnerIdentifier) –Your partner identifier. You can provide either a partner ID (for example,
partner-abc123) or a partner ARN. You must own this identifier. -
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
associated_partner(QualificationsAssociationPartner) –The primary partner's profile and account identifier that you are currently associated with and will disassociate from. You must provide at least one of
ProfileIdorAccountId. The specified partner must match your current primary association.
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
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 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 | |