start_qualifications_disassociation_task
¶
start_qualifications_disassociation_task(
catalog: Catalog,
identifier: PartnerIdentifier,
associated_partner: QualificationsAssociationPartner,
*,
config_overrides: Optional[PartnerCentralAccountClientConfig] = 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/partner_central_account.py
2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 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 | |