start_qualifications_association_task
async
¶
start_qualifications_association_task(
catalog: Catalog,
identifier: PartnerIdentifier,
primary_partner: QualificationsAssociationPartner,
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> StartQualificationsAssociationTaskResponse
Initiates an asynchronous task to associate your partner qualifications with a primary account. You must be a subsidiary of the primary account with an active subsidiary connection. Use GetQualificationsAssociationTask to monitor task progress.
Parameters:
-
catalog(Catalog) –The catalog in which to perform the qualifications association. 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.
-
primary_partner(QualificationsAssociationPartner) –The primary (acquiring) partner's profile and account identifier to associate qualifications with. You must provide at least one of
ProfileIdorAccountId. You cannot specify yourself as the primary partner.
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
2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 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 | |