PartnerCentralAccountAPI / Client / start_qualifications_disassociation_task

start_qualifications_disassociation_task

PartnerCentralAccountAPI.Client.start_qualifications_disassociation_task(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.start_qualifications_disassociation_task(
    Catalog='string',
    Identifier='string',
    ClientToken='string',
    AssociatedPartner={
        'ProfileId': 'string',
        'AccountId': 'string'
    }
)
Parameters:
  • Catalog (string) –

    [REQUIRED]

    The catalog in which to perform the qualifications disassociation. Valid values: AWS, Sandbox.

  • Identifier (string) –

    [REQUIRED]

    Your partner identifier. You can provide either a partner ID (for example, partner-abc123) or a partner ARN. You must own this identifier.

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

  • AssociatedPartner (dict) –

    [REQUIRED]

    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 ProfileId or AccountId. The specified partner must match your current primary association.

    • ProfileId (string) –

      The unique identifier for the partner profile, in the format pprofile-*. Required in requests if AccountId is not provided.

    • AccountId (string) –

      The 12-digit AWS account ID linked to the partner profile. Required in requests if ProfileId is not provided.

Return type:

dict

Returns:

Response Syntax

{
    'Catalog': 'string',
    'Arn': 'string',
    'Id': 'string',
    'TaskId': 'string',
    'Status': 'IN_PROGRESS'|'SUCCEEDED',
    'AssociatedPartner': {
        'ProfileId': 'string',
        'AccountId': 'string'
    },
    'StartedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • Catalog (string) –

      The catalog identifier echoed from the request.

    • Arn (string) –

      The Amazon Resource Name (ARN) that uniquely identifies your partner resource.

    • Id (string) –

      Your unique partner identifier in the AWS Partner Network.

    • TaskId (string) –

      The unique identifier of the started qualifications disassociation task, in the format pqdtask-[a-z2-7]{13}.

    • Status (string) –

      The current status of the qualifications disassociation task. The initial value is IN_PROGRESS.

    • AssociatedPartner (dict) –

      The resolved primary partner’s profile and account identifiers that the task is disassociating qualifications from.

      • ProfileId (string) –

        The unique identifier for the partner profile, in the format pprofile-*. Required in requests if AccountId is not provided.

      • AccountId (string) –

        The 12-digit AWS account ID linked to the partner profile. Required in requests if ProfileId is not provided.

    • StartedAt (datetime) –

      The timestamp when the qualifications disassociation task started, in ISO 8601 format.

Exceptions

  • PartnerCentralAccountAPI.Client.exceptions.ResourceNotFoundException

  • PartnerCentralAccountAPI.Client.exceptions.AccessDeniedException

  • PartnerCentralAccountAPI.Client.exceptions.ConflictException

  • PartnerCentralAccountAPI.Client.exceptions.ThrottlingException

  • PartnerCentralAccountAPI.Client.exceptions.ValidationException

  • PartnerCentralAccountAPI.Client.exceptions.InternalServerException